/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #CC0000;
    --primary-yellow: #E60023;
    --primary-yellow-hover: #B8001C;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border-gray: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(204, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(204, 0, 0, 0.1), 0 2px 4px -1px rgba(204, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(204, 0, 0, 0.1), 0 4px 6px -2px rgba(204, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(204, 0, 0, 0.1), 0 10px 10px -5px rgba(204, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Social Proof Banner */
.social-proof-banner {
    background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
    color: white;
    padding: 0.625rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(204, 0, 0, 0.2);
}

.social-proof-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-proof-icon {
    font-size: 0.875rem;
    font-weight: 700;
}

.social-proof-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.social-proof-text strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Header */
.header {
    padding: 1.5rem 0 0.75rem;
    background-color: var(--bg-white);
    z-index: 30;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
}

.logo-img {
    width: 8rem;
    height: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(204, 0, 0, 0.05) 0%, var(--bg-white) 100%);
    text-align: center;
}

.hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-balance: auto;
}

.hero-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    max-width: 20rem;
    margin: 0 auto;
    line-height: 1.5;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Section Title */
.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

/* Steps Section */
.steps-section {
    padding: 2rem 0;
    background-color: var(--bg-white);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 24rem;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.step-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.step-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    padding: 1.5rem 0 3rem;
    text-align: center;
    background-color: var(--bg-white);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 24rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
    background-color: var(--bg-gray);
}

.faq-container {
    max-width: 24rem;
    margin: 0 auto;
    background-color: var(--bg-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border-gray);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(204, 0, 0, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1rem 0.875rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 1rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-gray);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-blue);
    font-size: 0.6875rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: var(--border-gray);
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 20rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-gray);
    padding: 0.75rem;
    z-index: 50;
    animation: slideUp 0.3s ease-out;
    transition: var(--transition);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.notification-close {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--text-gray);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding-right: 1.25rem;
}

.notification-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(204, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.notification-text {
    flex: 1;
    min-width: 0;
}

.notification-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.notification-action {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0.125rem 0 0;
    line-height: 1.2;
}

.notification-time {
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 0.125rem;
    line-height: 1.2;
}

/* Responsive Overrides */
@media (min-width: 640px) {
    .notification {
        left: 50%;
        transform: translateX(-50%);
        bottom: 1.5rem;
        max-width: 20rem;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translate(-50%, 100%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    .notification.hidden {
        transform: translate(-50%, 100%);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 28rem;
    }

    .section-title {
        font-size: 1.125rem;
    }

    .step-item {
        padding: 1rem;
    }

    .step-number {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
    }

    .step-text {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1.125rem;
        padding: 1rem 1.5rem;
    }

    .faq-question {
        font-size: 0.875rem;
        padding: 1rem;
    }

    .faq-answer p {
        font-size: 0.875rem;
        padding: 0 1rem 1rem;
    }
}

/* Focus States */
.cta-button:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F9FAFB;
        --text-gray: #D1D5DB;
        --text-light: #9CA3AF;
        --bg-white: #111827;
        --bg-gray: #1F2937;
        --border-gray: #374151;
    }

    .notification {
        background-color: #1F2937;
        border-color: #374151;
    }
}