/* CSS Variables - Target Color System */
:root {
    --background: #fafaf8;
    --foreground: #1a1a1a;
    --card: #ffffff;
    --primary: #cc0000;
    --primary-foreground: #ffffff;
    --muted: #eeeae7;
    --muted-foreground: #6b6b6b;
    --border-color: rgba(26, 26, 26, 0.1);
    --radius: 12px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

body {
    background-color: var(--background);
    color: var(--foreground);
}

a {
    text-decoration: none;
    color: inherit;
}

.accent {
    color: var(--primary);
}

/* Main Layout */
.page {
    min-height: 100vh;
    background-color: var(--background);
}

.container {
    max-width: 576px;
    margin: 0 auto;
    padding: 40px 16px;
}

/* Logo + Brand */
.brand {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.target-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 64px;
    border-radius: 9999px;
    background-color: var(--primary);
}

.target-logo-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    border-radius: 9999px;
    background-color: var(--background);
}

.target-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    width: 28px;
    border-radius: 9999px;
    background-color: var(--primary);
}

.target-logo-dot {
    height: 10px;
    width: 10px;
    border-radius: 9999px;
    background-color: var(--background);
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
}

/* Heading + Progress */
.header-section {
    margin-bottom: 32px;
}

.main-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.progress-track {
    margin-top: 20px;
    height: 12px;
    width: 100%;
    background-color: var(--muted);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 40%;
    background-color: var(--primary);
    border-radius: 9999px;
}

/* Steps */
.steps-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--card);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    flex-shrink: 0;
    border-radius: 9999px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 16px;
}

.step-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.step-item--active .step-text {
    color: var(--primary);
}

/* CTA Button */
.cta-button {
    width: 100%;
    height: 56px;
    margin-bottom: 12px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
}

.cta-button:hover,
.cta-button:active {
    background-color: var(--primary);
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.3);
    transform: none;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--muted-foreground);
}

.clock-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.countdown-time {
    font-weight: 600;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

/* Divider */
.divider {
    margin-bottom: 32px;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 16px;
}

.faq-title {
    margin-bottom: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--card);
    overflow: hidden;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.faq-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.faq-item.open .faq-answer-wrap {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer {
    padding: 0 16px 16px 44px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    font-size: 12px;
    color: var(--muted-foreground);
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--foreground);
}

.footer-separator {
    margin: 0 6px;
}

.footer-copy {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted-foreground);
}

/* Social Proof Toast */
.toast {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

.toast-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.toast-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.toast-sub {
    font-size: 12px;
    color: var(--muted-foreground);
}

.toast-sub .accent {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 32px 12px;
    }

    .main-heading {
        font-size: 24px;
    }

    .cta-button {
        height: 52px;
        font-size: 16px;
    }

    .toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
