/* 
    DeepVedic - AI-Powered Vedic Astrology
    Color Palette:
    - Deep Space: #0a0b1e
    - Royal Gold: #d4af37
    - Soft Gold: #f9e29c
    - Text White: #e0e0e0
    - Accent Purple: #2d1b4e
*/

:root {
    --bg-deep: #0a0b1e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --gold: #d4af37;
    --gold-bright: #f9e29c;
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
    --accent: #4a3080;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold { color: var(--gold); }
.gold-glow {
    color: var(--gold-bright);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Background Stars */
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1b3a 0%, #0a0b1e 100%);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(10, 11, 30, 0.95);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 30px;
    color: var(--gold);
}

.logo-text {
    font-size: 30px;
    color: #fff;
    letter-spacing: 1px;
}

.nav-tagline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
    .nav-tagline { display: block; }
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--bg-deep);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--gold-bright);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-dim);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styling */
.hero-form-wrapper {
    background: rgba(20, 22, 45, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.hero-form-wrapper--mode-selector {
    max-width: 980px;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(15, 19, 40, 0.92) 0%, rgba(11, 14, 32, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Homepage mode selector mirrored from the Flask app */
.mode-selector {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mode-selector-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.mode-selector-subheading {
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
    color: rgba(224, 224, 224, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mode-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    padding: 28px;
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(28, 34, 65, 0.96) 0%, rgba(15, 19, 37, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    color: inherit;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 40%, rgba(124, 92, 255, 0.08));
    opacity: 0.75;
    pointer-events: none;
}

.mode-card:hover {
    border-color: var(--gold);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
    background: linear-gradient(180deg, rgba(34, 42, 78, 0.98) 0%, rgba(16, 21, 42, 0.95) 100%);
    transform: translateY(-4px);
}

.mode-card-icon {
    font-size: 2.6rem;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.mode-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.mode-card-kicker {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f0ba7c;
    font-weight: 700;
}

.mode-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    display: block;
}

.mode-card-desc {
    font-size: 0.92rem;
    color: rgba(224, 224, 224, 0.76);
    line-height: 1.65;
    display: block;
}

.mode-card-arrow {
    font-size: 1.8rem;
    color: #f0ba7c;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity .15s, transform .15s;
    position: relative;
    z-index: 1;
}

.mode-card:hover .mode-card-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.mode-selector-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.mode-selector-note span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(224, 224, 224, 0.86);
    font-size: 0.82rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-form-wrapper--mode-selector {
        padding: 22px;
    }

    .mode-cards {
        grid-template-columns: 1fr;
    }

    .mode-card {
        min-height: unset;
        padding: 22px;
    }

    .mode-selector-subheading {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

.form-header {
    margin-bottom: 30px;
}

.form-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-dim);
    font-size: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}

.field-hint {
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
}

.cta-button {
    width: 100%;
    margin-top: 30px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.form-trust {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: var(--text-dim);
}

/* Processing State */
.processing-state {
    display: none;
    padding: 40px 0;
}

.processing-animation {
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.ring-1 { width: 60px; height: 60px; animation: rotate 4s linear infinite; }
.ring-2 { width: 100px; height: 100px; animation: rotate 8s linear infinite reverse; }
.ring-3 { width: 140px; height: 140px; animation: rotate 12s linear infinite; }

.orbit-planet {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold);
    position: absolute;
    offset-path: path('M 70 0 A 70 70 0 1 1 69.99 0');
    animation: orbit 3s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.processing-steps {
    text-align: left;
    max-width: 400px;
    margin: 30px auto 0;
}

.step {
    margin-bottom: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.step.active { opacity: 1; color: #fff; }
.step-check { color: var(--gold); visibility: hidden; }
.step.completed .step-check { visibility: visible; }

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 15px;
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--gold-bright);
    text-align: center;
}

/* USP Section */
.usp {
    background: rgba(45, 27, 78, 0.2);
}

.usp-pillars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .usp-pillars {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.pillar {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--gold);
}

.pillar-connector {
    font-size: 30px;
    color: var(--gold);
    opacity: 0.5;
    padding-top: 40px;
}

@media (max-width: 991px) {
    .pillar-connector {
        padding-top: 0;
        padding-bottom: 0;
        margin: 0;
    }
}

.usp-quote {
    max-width: 800px;
    margin: 80px auto 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold-bright);
}

/* How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0;
    }
}

.step-card {
    background: linear-gradient(135deg, rgba(74, 48, 128, 0.3) 0%, rgba(20, 22, 45, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-visual {
    margin: 30px 0 25px;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-emoji {
    font-size: 36px;
}

.step-card h3 {
    font-size: 20px;
    color: var(--gold-bright);
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.step-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
}

.step-arrow {
    color: var(--gold);
    font-size: 40px;
    opacity: 0.4;
    display: none;
    align-self: center;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .step-arrow {
        display: flex;
    }
}

@media (max-width: 767px) {
    .step-card {
        margin-bottom: 40px;
    }
    
    .step-card:last-of-type {
        margin-bottom: 0;
    }
}

/* Accuracy Section */
.accuracy-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .accuracy-content { grid-template-columns: 1.2fr 0.8fr; }
}

.accuracy-list {
    list-style: none;
    margin: 30px 0;
}

.accuracy-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.list-icon {
    color: var(--gold);
    font-weight: 700;
}

.accuracy-chart {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(20, 22, 45, 0.4) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chart-comparison {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 60px;
    height: 280px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 60px;
}

.chart-bar {
    width: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, rgba(80, 80, 100, 0.4), rgba(120, 120, 140, 0.3));
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    min-height: 10px;
}

.bar-deepvedic .bar-fill {
    background: linear-gradient(to top, #8B6914 0%, var(--gold) 40%, var(--gold-bright) 100%);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.6);
}

.bar-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dim);
    text-align: center;
    padding-top: 15px;
    position: absolute;
    bottom: -55px;
    width: 100%;
}

.bar-deepvedic .bar-label {
    color: var(--gold-bright);
}

.chart-caption {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Proof / Testimonials */
.social-proof {
    background: rgba(45, 27, 78, 0.15);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(30, 32, 60, 0.6) 0%, rgba(20, 22, 45, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 100px;
    font-family: 'Playfair Display', serif;
    color: rgba(212, 175, 55, 0.08);
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 3px;
}

.testimonial-author span {
    color: var(--text-dim);
    font-size: 13px;
}

/* Stats Section */
.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(74, 48, 128, 0.2) 0%, rgba(20, 22, 45, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
}

@media (max-width: 992px) {
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .proof-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.stat {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: rgba(212, 175, 55, 0.2);
}

@media (max-width: 992px) {
    .stat:not(:last-child)::after {
        display: none;
    }
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-bright);
    display: inline;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stat-label {
    display: block;
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

summary {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-weight: 600;
}

summary::-webkit-details-marker { display: none; }

.faq-toggle {
    color: var(--gold);
    font-size: 24px;
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-dim);
}

.faq-answer p { margin-bottom: 15px; }

/* Footer */
.main-footer {
    background: #050612;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand { grid-column: span 2; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 400px;
    margin-top: 15px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-dim);
    font-size: 13px;
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    display: none; /* Hidden to prevent layout issues */
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    margin: 10px auto 0;
    border: 2px solid var(--gold);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
    0%, 100% { opacity: 0; top: 5px; }
    50% { opacity: 1; top: 12px; }
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.theme-label {
    font-size: 13px;
    color: var(--text-dim);
}

.theme-toggle {
    position: relative;
    width: 70px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--gold);
}

.theme-icon {
    font-size: 16px;
    z-index: 1;
    transition: opacity 0.3s;
}

.theme-icon.sun { opacity: 0.4; }
.theme-icon.moon { opacity: 1; }

.toggle-slider {
    position: absolute;
    right: 4px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 100px; }
    .hero-form-wrapper { padding: 25px; }
    .nav-container { padding: 0 20px; }
    .nav-cta { padding: 6px 10px; font-size: 12px; }
}

/* ========================================
   LIGHT MODE STYLES
   ======================================== */
body.light-mode {
    --bg-deep: #f5f3f0;
    --bg-card: rgba(0, 0, 0, 0.04);
    --gold: #8a6508;
    --gold-bright: #7a5a00;
    --text: #111111;
    --text-dim: #1f2937;
}

body.light-mode #starsCanvas {
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e4dd 100%);
}

body.light-mode .main-nav.scrolled {
    background: rgba(245, 243, 240, 0.95);
    border-bottom-color: rgba(184, 134, 11, 0.2);
}

body.light-mode .logo-text {
    color: #1a1a1a;
}

body.light-mode .hero-headline {
    color: #1a1a1a;
}

body.light-mode .gold-glow {
    color: var(--gold);
    text-shadow: none;
}

body.light-mode .hero-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(184, 134, 11, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

body.light-mode .hero-form-wrapper--mode-selector {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 35%),
        radial-gradient(circle at top right, rgba(199, 210, 254, 0.6), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248, 244, 237, 0.98) 100%);
    border-color: rgba(184, 134, 11, 0.18);
    box-shadow: 0 24px 60px rgba(88, 62, 10, 0.12);
}

body.light-mode .mode-selector-heading {
    color: #1a1a1a;
}

body.light-mode .mode-selector-subheading {
    color: #5b6473;
}

body.light-mode .mode-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247, 242, 234, 0.98) 100%);
    border-color: rgba(184, 134, 11, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.light-mode .mode-card::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.10), transparent 45%, rgba(148, 163, 184, 0.12));
}

body.light-mode .mode-card:hover {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(251, 247, 240, 1) 100%);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.12);
}

body.light-mode .mode-card-icon {
    background: linear-gradient(180deg, rgba(212,175,55,0.14), rgba(255,255,255,0.8));
    border-color: rgba(184, 134, 11, 0.12);
}

body.light-mode .mode-card-kicker,
body.light-mode .mode-card-arrow {
    color: #c6652f;
}

body.light-mode .mode-card-title {
    color: #101828;
}

body.light-mode .mode-card-desc {
    color: #2d3748;
}

body.light-mode .hero-subheadline {
    color: #2d3748;
}

body.light-mode .section-subtitle {
    color: #2d3748;
}

body.light-mode .benefit-card p {
    color: #2d3748;
}

body.light-mode .pillar p {
    color: #2d3748;
}

body.light-mode .step-card p {
    color: #374151;
}

body.light-mode .accuracy-text p,
body.light-mode .accuracy-list li,
body.light-mode .accuracy-footer {
    color: #2d3748;
}

body.light-mode .faq-answer {
    color: #2d3748;
}

body.light-mode .mode-selector-note span {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(184, 134, 11, 0.10);
    color: #4b5563;
}

body.light-mode .form-title {
    color: #1a1a1a;
}

body.light-mode .cta-button {
    background: #d4af37;
    color: #000;
    text-decoration: none;
}

.cta-button-large {
    text-decoration: none;
}

body.light-mode input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode input:focus {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

body.light-mode input::placeholder {
    color: #999;
}

body.light-mode .section-title {
    color: #1a1a1a;
}

body.light-mode .benefit-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .benefit-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .benefit-card h3 {
    color: var(--gold);
}

body.light-mode .usp {
    background: rgba(184, 134, 11, 0.08);
}

body.light-mode .pillar h3 {
    color: #1a1a1a;
}

body.light-mode .usp-quote blockquote {
    color: var(--gold);
}

body.light-mode .step-card {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-color: rgba(184, 134, 11, 0.2);
}

body.light-mode .step-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .step-card h3 {
    color: var(--gold);
}

body.light-mode .accuracy-chart {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-color: rgba(184, 134, 11, 0.2);
}

body.light-mode .social-proof {
    background: rgba(184, 134, 11, 0.05);
}

body.light-mode .testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .testimonial-card::before {
    color: rgba(184, 134, 11, 0.1);
}

body.light-mode .testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .testimonial-text {
    color: #333;
}

body.light-mode .testimonial-author strong {
    color: #1a1a1a;
}

body.light-mode .proof-stats {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: rgba(184, 134, 11, 0.2);
}

body.light-mode .stat-number {
    color: var(--gold);
    text-shadow: none;
}

body.light-mode .faq-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode summary {
    color: #1a1a1a;
}

body.light-mode .main-footer {
    background: #eae6df;
    border-top-color: rgba(184, 134, 11, 0.2);
}

body.light-mode .footer-links h4 {
    color: #1a1a1a;
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.08);
}

body.light-mode .theme-icon.sun { opacity: 1; }
body.light-mode .theme-icon.moon { opacity: 0.4; }

body.light-mode .toggle-slider {
    right: auto;
    left: 4px;
}
