/* CSS Variables - Color System */
:root {
    --background: #fafaf8;
    --foreground: #1a1a1a;
    --primary: #0071ce;
    --primary-hover: #005ea6;
    --accent: #FFC220;
    --muted-foreground: #747474;
    --border-color: rgba(26, 26, 26, 0.1);
    --radius: 8px;
}

/* 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;
}

/* Main Layout */
main {
    min-height: 100vh;
    background-color: var(--background);
    padding: 32px 16px;
}

.container {
    max-width: 448px;
    margin: 0 auto;
}

/* Logo Section */
.logo-section {
    margin-bottom: 32px;
    text-align: center;
}

.logo-container {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.walmart-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.walmart-spark {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.gift-card-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
}

/* Steps Header */
.steps-header {
    margin-bottom: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.4;
}

/* Steps Box */
.steps-box {
    margin-bottom: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    background-color: #ffffff;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.step-text {
    font-size: 16px;
    color: var(--foreground);
    line-height: 1.5;
}

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

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

.cta-button:active {
    background-color: var(--primary);
    transform: none;
}

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

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

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

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

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

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

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

.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;
}

/* Responsive Design */
@media (max-width: 480px) {
    main {
        padding: 24px 12px;
    }

    .container {
        max-width: 100%;
    }

    .walmart-text {
        font-size: 28px;
    }

    .gift-card-amount {
        font-size: 20px;
    }

    .steps-header {
        font-size: 18px;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section,
.steps-header,
.steps-box,
.cta-button,
.faq-section {
    animation: fadeIn 0.5s ease-out;
}

.logo-section { animation-delay: 0.1s; }
.steps-header { animation-delay: 0.2s; }
.steps-box { animation-delay: 0.3s; }
.cta-button { animation-delay: 0.4s; }
.faq-section { animation-delay: 0.5s; }
