/* ===== Design Tokens ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f7fb;
    --bg-tertiary: #e8edf5;
    --text-primary: #0f1419;
    --text-secondary: #536471;
    --accent: #00c8e0;
    --accent-hover: #00a5bb;
    --accent-glow: rgba(0, 200, 224, 0.15);
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.92);
    --hero-img-bg: #ffffff;
    --tag-bg: rgba(0, 200, 224, 0.08);
    --tag-text: #00899b;
    --gradient: linear-gradient(135deg, #00c8e0 0%, #0090d9 50%, #6366f1 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --font-mono: 'JetBrains Mono', monospace;
    --success: #10b981;
    --warning: #f59e0b;
}

[data-theme="dark"] {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent: #22d3ee;
    --accent-hover: #67e8f9;
    --accent-glow: rgba(34, 211, 238, 0.12);
    --card-bg: rgba(30, 41, 59, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(11, 15, 25, 0.92);
    --hero-img-bg: rgba(255, 255, 255, 0.95);
    --tag-bg: rgba(34, 211, 238, 0.1);
    --tag-text: #67e8f9;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    transition: box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.45rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.25rem;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    max-width: 1140px;
    margin: 0 auto;
    padding: 7rem 1.5rem 3rem;
    gap: 3rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: var(--tag-bg);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-glow);
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero .subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 200, 224, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 224, 0.35);
    color: #fff;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    background: var(--hero-img-bg);
    border-radius: 50%;
    padding: 16px;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.12));
    position: relative;
    z-index: 1;
}

/* ===== Stats Bar ===== */
.stats-bar {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 200, 224, 0.3);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 1rem auto 1.5rem;
    background: var(--tag-bg);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Wizard Container ===== */
.wizard-container {
    max-width: 768px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.wizard-progress {
    padding: 2rem 3rem 1rem;
    border-bottom: 1px solid var(--card-border);
}

.progress-track {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.wizard-body {
    padding: 2.5rem 3rem;
    min-height: 350px;
    position: relative;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.question-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.option-card {
    border: 2px solid var(--card-border);
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: var(--text-primary);
}

.option-card:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.option-card.selected {
    border-color: var(--accent);
    background: var(--tag-bg);
    box-shadow: 0 0 0 1px var(--accent);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.option-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    border-top: 1px solid var(--card-border);
    background: var(--bg-secondary);
}

/* ===== Offer Container ===== */
.offer-container,
.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
}

.offer-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.offer-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.offer-badge {
    display: inline-block;
    background: var(--tag-bg);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.offer-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.offer-breakdown {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.breakdown-item:last-child {
    margin-bottom: 0;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--card-border);
    font-weight: 700;
    font-size: 1.1rem;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    justify-content: center;
}

/* ===== Confirmation Container ===== */
.confirmation-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirmation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 2rem;
}

.shipping-instructions {
    text-align: left;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.instruction-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.instruction-item:last-child {
    margin-bottom: 0;
}

.instruction-num {
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.instruction-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.instruction-item p {
    margin: 0;
    font-size: 0.9rem;
}

.confirmation-form {
    text-align: left;
}

.email-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.email-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

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

.faq-question[aria-expanded="true"]+.faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.cta-image {
    width: 200px;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    margin-bottom: 0.5rem;
}

.cta-text p {
    margin-bottom: 1.5rem;
}

.cta-text .cta-group {
    justify-content: flex-start;
}

/* ===== Footer ===== */
footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image img {
        max-width: 60%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .wizard-container {
        margin: 0 1rem;
    }

    .wizard-progress {
        padding: 1.5rem 1.5rem 1rem;
    }

    .wizard-body {
        padding: 2rem 1.5rem;
    }

    .wizard-nav {
        padding: 1.5rem;
    }

    .offer-card,
    .confirmation-card {
        padding: 2rem 1.5rem;
    }

    .email-input-group {
        flex-direction: column;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-image {
        width: 150px;
    }

    .cta-text .cta-group {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
}