/* --- Variables & Reset --- */
:root {
    --primary-orange: #FF6600;
    --dark-navy: #0A1128;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --card-border: #EDF2F7;
    --step-bg: #0B1221;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

section { scroll-margin-top: 70px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Global Link Styling --- */
/* Makes all links inside paragraphs Orange and Bold */
main p a {
    color: #FF6600;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 102, 0, 0.3);
    transition: all 0.2s ease;
}

main p a:hover {
    color: #cc5200;
    border-bottom: 1px solid #cc5200;
}

/* --- Typography --- */
.serif-title { 
    font-family: 'DM Serif Display', serif;
    font-weight: 400; 
}

.main-title { 
    font-size: 2.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem; /* Matches paragraph spacing */
    line-height: 1.2;
}
.main-title span { color: var(--primary-orange); }

.sub-headline { 
    font-weight: 700; 
    letter-spacing: 0.15em; 
    font-size: 0.75rem; 
    color: #64748b; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
}

/* --- Sales Copy Spacing (Standardized) --- */
.letter p, .protocol p, .not-for-you p {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}
.letter .dateline { margin-bottom: 2.5rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; }
.letter h2 { font-size: 2.5rem; margin-bottom: 25px; color: var(--dark-navy); }
.quote-box { background: #f8fafc; padding: 35px; border-left: 4px solid var(--primary-orange); margin: 30px auto; font-style: italic; font-size: 1.5rem; line-height: 1.4; color: #1e293b; max-width: 700px; }


/* --- Header & Navigation --- */
header {
    padding: 10px 0; border-bottom: 1px solid #eee;
    position: sticky; top: 0; background: white; z-index: 100;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    flex: 1; font-weight: 700; font-size: 0.9rem; 
    display: flex; align-items: center; gap: 8px; 
    text-decoration: none; color: inherit;
}
.logo-box { background: var(--primary-orange); color: white; padding: 2px 6px; border-radius: 2px; font-size: 0.75rem; font-weight: 800; }

.nav-links { flex: 2; display: flex; justify-content: center; gap: 25px; list-style: none; }
.nav-links a { text-decoration: none; color: #64748b; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary-orange); }

.header-cta { flex: 1; display: flex; justify-content: flex-end; }
.btn-header { background: var(--primary-orange); color: white; padding: 8px 14px; border-radius: 4px; text-decoration: none; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Hero --- */
.hero { padding: 40px 0; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1.2; }
.hero-content .label { color: var(--primary-orange); font-weight: 700; font-size: 0.65rem; display: block; margin-bottom: 10px; letter-spacing: 0.1em; }
.hero h1 { font-size: 3.2rem; line-height: 1.05; margin-bottom: 20px; text-transform: uppercase; color: var(--dark-navy); }
.hero h1 span { color: var(--primary-orange); }
.hero p { font-size: 1.05rem; margin-bottom: 30px; color: #475569; font-weight: 300; max-width: 500px; }
.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.badge { position: absolute; bottom: -15px; right: -10px; background: white; padding: 12px 18px; border-radius: 4px; border-bottom: 3px solid var(--primary-orange); box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.badge .val { font-size: 1.1rem; font-weight: 700; color: var(--primary-orange); display: block; }
.badge .label { font-size: 0.55rem; font-weight: 700; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.05em; }

.btn-large { background: var(--primary-orange); color: white; padding: 16px 32px; border-radius: 4px; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; display: inline-block; transition: background 0.2s; border: none; cursor: pointer; }
.btn-large:hover { background-color: #e65c00; }
.btn-glow { box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4); width: 100%; max-width: 400px; display: inline-block; text-align: center; }

/* --- Science Section --- */
.science {
    background-color: #0B1221;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 24px 24px;
    color: white; padding: 80px 0;
}
.science-title { font-size: 3rem; line-height: 1.1; text-transform: uppercase; margin-bottom: 15px; color: white !important; }
.science-title span { color: var(--primary-orange); }
.title-divider { width: 40px; height: 3px; background: var(--primary-orange); margin-bottom: 50px; }

/* Grid Fixes */
.science-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.science-left p { font-size: 1rem; color: #cbd5e1; margin-bottom: 20px; line-height: 1.7; font-weight: 300; }

.highlight-box-v2 { border-left: 2px solid var(--primary-orange); padding-left: 20px; margin: 30px 0; font-weight: 600; font-size: 1.05rem; color: white; }

/* The "Discovery" Box Alignment */
.kicker-card { 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 12px; 
    padding: 30px; 
    margin-top: 0; /* Aligns with text column */
    margin-bottom: 50px; /* Gap below */
}
.kicker-label { color: var(--primary-orange); font-weight: 700; font-size: 0.7rem; display: block; margin-bottom: 15px; letter-spacing: 0.1em; }

/* Science Right Column Text */
.science-card-v2 p { margin-bottom: 20px; line-height: 1.6; color: #cbd5e1; font-size: 0.95rem; }
.science-card-v2 h3 { margin-bottom: 15px !important; color: white; }

.stat-card-v2 { background: rgba(10, 17, 40, 0.7); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 40px; text-align: center; }
.big-stat { font-size: 4.5rem; font-weight: 700; line-height: 1; margin-bottom: 5px; color: white; }
.stat-sub { color: var(--primary-orange); font-weight: 700; letter-spacing: 0.1em; font-size: 0.75rem; margin-bottom: 20px; }
.serif-quote-small { font-style: italic; font-size: 1.2rem; color: #94a3b8; line-height: 1.4; }


/* --- LIST STYLES (Custom Bullets) --- */

/* 1. Square Orange Bullets (Centered & Aligned) */
.ov-text-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.ov-text-list li {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}
.ov-text-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background-color: #FF6600;
    border-radius: 1px;
    transform: translateY(-2px);
}

/* 2. Numbered List (Big Orange Numbers) */
.ov-numbered-list {
    list-style: none;
    counter-reset: ov-counter;
    padding: 0;
    max-width: 700px;
    margin: 30px auto;
}
.ov-numbered-list li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left; /* Overrides centered sections */
}
.ov-numbered-list li::before {
    counter-increment: ov-counter;
    content: counter(ov-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -6px;
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: #FF6600;
    line-height: 1;
}
.ov-numbered-list li strong {
    display: block;
    color: #0A1128;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

/* 3. Checkmark List (Horizontal) */
.feature-row {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.feature-row li {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-row span { color: #FF6600; font-size: 1.1rem; }

/* 4. Choice List (Hard Way / Smart Way) */
.choice-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 650px;
    text-align: left;
}
.choice-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}
.choice-hard { color: #64748b; }
.choice-hard strong { display: block; color: #94a3b8; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.choice-hard::before {
    content: '01';
    position: absolute; left: 0; top: 2px;
    font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: #334155; line-height: 1;
}
.choice-smart { color: #ffffff; }
.choice-smart strong { display: block; color: #FF6600; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.choice-smart::before {
    content: '02';
    position: absolute; left: 0; top: 2px;
    font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: #FF6600; line-height: 1;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.4); 
}


/* --- Protocol Section --- */
.protocol { padding: 80px 0 0 0; text-align: center; }
.protocol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 50px auto; max-width: 1100px; }
.p-card { padding: 40px 30px; border: 1px solid var(--card-border); border-radius: 8px; text-align: left; }
.p-card .icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.p-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark-navy); }
.p-card p { margin-bottom: 0; font-size: 0.9rem; max-width: 100%; }


/* --- THE "STEPS BOX" (Important Layout Logic) --- */

/* DEFAULT: Side-by-Side (For Homepage Calculator) */
.steps-box {
    background: #0B1221;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 60px;
    margin: 60px auto;
    max-width: 1100px;
    display: flex;           /* Flexbox for columns */
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: white;
}
.steps-box .step-col { flex: 1; width: 50%; padding: 0; }

/* OVERRIDE: Centered Single Column (For Order / Light Therapy Page) */
#order.steps-box {
    display: block;
    max-width: 900px;
    text-align: center;
    padding: 60px 40px;
}
#order .step-col {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    flex: none;
}

.step-heading { font-size: 2rem; margin-bottom: 20px; color: white; text-transform: uppercase; font-weight: 700; }
.step-desc { font-size: 1.1rem; color: #94a3b8; margin-bottom: 40px; }
.check-list li { display: flex; align-items: center; margin-bottom: 15px; font-weight: 600; font-size: 0.9rem; list-style: none; }
.check-circle { width: 18px; height: 18px; background: var(--primary-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.check-circle svg { width: 10px; height: 10px; }


/* --- Guarantee Badge Styles --- */
.guarantee-badge {
    background: rgba(255, 102, 0, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}
.g-icon { font-size: 2.5rem; }
.guarantee-badge h4 { color: #FF6600; margin-bottom: 15px; font-size: 1.3rem; letter-spacing: 0.05em; }
.guarantee-badge p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; }
.guarantee-badge p:last-child { margin-bottom: 0; }
.guarantee-badge strong { color: white; font-weight: 700; }
.g-footer { color: white !important; font-weight: 800; text-transform: uppercase; font-size: 0.9rem !important; letter-spacing: 0.05em; margin-top: 20px; }

/* Centered Fine Print with Glow */
.fine-print {
    margin-top: 30px;
    display: block;
    width: 100%;
    text-align: center !important;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5), 0 0 20px rgba(255, 102, 0, 0.3);
    opacity: 0.9;
}


/* --- Rejection/Footer --- */
.not-for-you { padding: 40px 0; text-align: center; }
.not-for-you h2 { margin-bottom: 25px; color: var(--dark-navy); }
.closing-call { margin-top: 40px; }
.final-cta { margin-top: 40px; }

footer { background: #050a18; padding: 60px 0; color: #64748b; text-align: center; font-size: 0.75rem; }
.footer-logo { color: white; font-weight: 700; margin-bottom: 20px; font-size: 0.9rem; }
footer .footer-nav { margin: 20px 0; font-size: 0.9rem; }
footer .footer-nav a { color: #94a3b8; text-decoration: none; transition: color 0.3s ease; font-weight: 500; }
footer .footer-nav a:hover { color: #ffffff; text-decoration: underline; }
footer .separator { color: #475569; margin: 0 10px; }
footer .copyright { color: #64748b; font-size: 0.8rem; margin-top: 10px; }

/* --- Modal UI --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 17, 40, 0.98); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 15px; }
.modal-content { background: white; width: 100%; max-width: 580px; padding: 60px 40px; border-radius: 8px; position: relative; max-height: 95vh; overflow-y: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.close-modal { position: absolute; top: 25px; right: 25px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #cbd5e0; }
.quiz-input { width: 100%; padding: 18px; border: 1px solid #EDF2F7; border-radius: 4px; margin-bottom: 15px; font-size: 1rem; font-family: 'Poppins'; }
.btn-assessment { background: var(--primary-orange); color: white; padding: 20px 52px; border-radius: 4px; border: none; font-weight: 700; font-size: 0.85rem; cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em; display: inline-block; }


/* --- Responsiveness --- */
@media (max-width: 1024px) { .nav-links { display: none; } }

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-image { order: -1; width: 100%; max-width: 400px; }
    .hero h1 { font-size: 2.5rem; }
    .science-grid, .protocol-grid { grid-template-columns: 1fr; }
    
    /* Stack steps box on mobile for both pages */
    .steps-box, #order.steps-box { display: block; padding: 40px 20px; }
    .steps-box .step-col, #order .step-col { width: 100%; margin-bottom: 40px; }
    
    .modal-content { padding: 50px 20px; }
}

@media (max-width: 600px) {
    .logo { font-size: 0.8rem; }
    .btn-header { padding: 6px 10px; font-size: 0.55rem; }
    .guarantee-badge { flex-direction: column; text-align: center; }
    .feature-row { gap: 15px; flex-direction: column; }
    footer .footer-nav { display: flex; flex-direction: column; gap: 10px; }
    footer .separator { display: none; }
    /* --- HEADER FIXES (Paste inside the mobile media query) --- */

    /* 1. Force Logo to stay on one line */
    .logo {
        white-space: nowrap !important; /* Stop the line break */
        font-size: 0.75rem !important;  /* Slightly smaller text */
        flex-shrink: 0;                 /* Prevent it from being squashed */
        max-width: 60%;                 /* Leave room for the button */
    }

    /* 2. Resize the "OV" Orange Box */
    .logo-box {
        padding: 2px 5px !important;
        font-size: 0.65rem !important;
        margin-right: 6px !important;
    }

    /* 3. Tame the "Start Activation" Button */
    /* Make it smaller so it doesn't push the logo onto a new line */
    .btn-header {
        padding: 6px 8px !important;
        font-size: 0.6rem !important;
        letter-spacing: 0;
    }
}

/* --- FORCE OVERRIDES --- */
/* Force the Discovery Box text to always be big/white/serif */
.kicker-card p, 
.kicker-card .serif-quote {
    font-family: 'DM Serif Display', serif !important;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
}

/* --- MISSING QUIZ / MODAL INTERNALS --- */

/* The Play Button Icon */
.play-circle { 
    width: 68px; 
    height: 68px; 
    background: #FFF4EE; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary-orange); 
    margin: 0 auto 30px; 
}
.play-circle svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-orange);
    stroke: none;
    margin-left: 4px; /* Optical adjustment for play triangle */
}

/* Modal Typography */
#modal-intro { text-align: center; }

.modal-title { 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    color: var(--dark-navy); 
    text-align: center; 
    font-family: 'DM Serif Display', serif;
}

.intro-subtitle { 
    color: #475569; 
    font-size: 1.05rem; 
    line-height: 1.5; 
    margin: 0 auto 40px; 
    max-width: 440px; 
    font-weight: 300; 
    text-align: center; 
}

/* Quiz Progress Bar & Header */
.quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.step-text { color: var(--primary-orange); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.15em; }
.progress-container-mini { width: 100px; height: 4px; background: #EDF2F7; border-radius: 10px; }
.progress-bar { height: 100%; background: var(--primary-orange); border-radius: 10px; width: 0%; transition: 0.3s; }

/* Quiz Questions */
.question-title { font-size: 1.8rem; margin-bottom: 12px; color: var(--dark-navy); text-align: left; font-family: 'DM Serif Display', serif; }
.question-context { font-size: 0.95rem; margin-bottom: 35px; font-weight: 300; line-height: 1.6; color: #475569; text-align: left; }

/* Quiz Option Cards (The Buttons) */
.option-card { 
    display: flex; 
    align-items: center; 
    width: 100%; 
    background: white; 
    border: 1px solid #EDF2F7; 
    border-radius: 4px; 
    padding: 20px; 
    margin-bottom: 12px; 
    cursor: pointer; 
    transition: 0.2s; 
    text-align: left; 
}
.option-card:hover { border-color: var(--primary-orange); background: #FFFBF9; transform: translateX(3px); }

.option-letter { 
    width: 34px; 
    height: 34px; 
    border: 1px solid #EDF2F7; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 18px; 
    font-weight: 700; 
    color: #CBD5E0; 
    flex-shrink: 0; 
    font-family: 'Poppins', sans-serif; 
    font-size: 0.75rem; 
}
.option-text { font-weight: 500; color: var(--dark-navy); font-size: 0.9rem; line-height: 1.4; }

/* Active State for Options */
.option-card.selected { border-color: var(--primary-orange); background: #FFF4EE; }
.option-card.selected .option-letter { background: var(--primary-orange); color: white; border-color: var(--primary-orange); }

/* --- RESULT SCORE CARD STYLING --- */
.score-display-box {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
}

.score-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #64748b; /* Slate Gray */
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.score-value {
    font-family: 'DM Serif Display', serif; /* Your Brand Font */
    font-size: 5rem; /* HUGE text */
    line-height: 1;
    color: #FF6600; /* Brand Orange */
    display: block;
}

.score-total {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #cbd5e1; /* Light gray */
    font-weight: 400;
}