/* =============================================
   COMPOSER FORGE — COMPOSITION LEVEL 1 COHORT
   composition-level1.composerforge.com
   Adapted from founding member launch page CSS
   ============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white:      #ffffff;
    --bg-off:        #f7f8fc;
    --bg-subtle:     #f0f2f8;
    --bg-tint:       #eef1fb;

    --border:        #e2e6f0;
    --border-mid:    #d0d6e8;

    --accent:        #667eea;
    --accent-dark:   #4a5fd4;
    --accent-light:  #8b9bf7;
    --accent-dim:    rgba(102, 126, 234, 0.10);
    --accent-glow:   rgba(102, 126, 234, 0.20);

    --gold:          #b8860b;
    --gold-bg:       #fdf8ec;
    --gold-border:   #e6d48a;

    --green:         #1a7f4e;
    --green-bg:      #f0faf5;
    --green-border:  #a8ddc3;

    --text-heading:  #1a202c;
    --text-body:     #1a202c;
    --text-mid:      #2d3748;
    --text-muted:    #4a5568;
    --text-faint:    #718096;

    --tiers-bg:      #1a1e38;
    --tiers-card:    #242848;
    --tiers-border:  rgba(102, 126, 234, 0.2);
    --tiers-featured:#2a2f5a;
    --tiers-text:    #e8eaf8;
    --tiers-muted:   #9fa8c8;
    --tiers-faint:   #6870a0;

    --radius-sm:     6px;
    --radius-md:     10px;
    --radius-lg:     16px;
    --shadow-sm:     0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
}

.container        { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px;  margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h1 em { font-style: italic; color: var(--accent); }

h2, .section-heading {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    margin-bottom: 20px;
}

h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4 { font-size: 1rem;   margin-bottom: 8px; }

.section-eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.body-lg {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #218838; transform: translateY(-2px); color: #fff; }

.btn-secondary {
    display: inline-block;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

/* PLACEHOLDER COPY MARKER — remove this whole rule once real copy is in */
.copy-tbc {
    display: inline-block;
    background: var(--gold-bg);
    border: 1px dashed var(--gold-border);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-style: italic;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    background:
        radial-gradient(ellipse 90% 70% at 50% -5%, rgba(102,126,234,0.22) 0%, transparent 65%),
        #12163a;
    padding: 80px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(102,126,234,0.04) 80px, rgba(102,126,234,0.04) 81px),
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(102,126,234,0.04) 80px, rgba(102,126,234,0.04) 81px);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.logo-wrap { margin-bottom: 36px; }
.logo-img  { width: 72px; height: auto; }

.badge {
    display: inline-block;
    background: rgba(232, 200, 80, 0.12);
    border: 1px solid rgba(232, 200, 80, 0.35);
    color: #e8c850;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.hero h1 { color: #f0f2ff; margin-bottom: 18px; }
.hero h1 em { color: #a0b0ff; }

.hero-sub {
    font-size: 1.2rem;
    color: rgba(200, 210, 240, 0.8);
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-dates {
    font-size: 1rem;
    color: rgba(160,176,220,0.7);
    margin-bottom: 44px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.countdown-wrap  { margin-bottom: 44px; }
.countdown-label {
    font-size: 1rem;
    color: rgba(160, 176, 220, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.countdown { display: flex; align-items: center; justify-content: center; gap: 4px; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; min-width: 76px; }
.countdown-num {
    font-size: 3rem;
    color: #ffffff;
    line-height: 1;
    display: block;
    min-width: 2ch;
    text-align: center;
}
.countdown-word {
    font-size: 1rem;
    color: rgba(160,176,220,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}
.countdown-sep {
    font-size: 2.4rem;
    color: rgba(100, 120, 200, 0.4);
    padding-bottom: 18px;
    line-height: 1;
}
.countdown-sm .countdown-num  { font-size: 2rem; }
.countdown-sm .countdown-unit { min-width: 56px; }

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #e8eaf8;
    padding: 15px 34px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* =============================================
   GENERIC CONTENT SECTIONS
   ============================================= */
.problem-section, .solution-section, .method-section,
.instructor-section, .value-section, .service-section,
.timeline-section, .faq-section, .curriculum-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}
.problem-section, .method-section, .timeline-section, .curriculum-section { background: var(--bg-off); }

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.problem-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.problem-icon {
    font-size: 1.4rem;
    color: var(--text-faint);
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    margin-top: 2px;
}
.problem-card p { font-size: 1.1rem; color: var(--text-body); line-height: 1.7; }

.pull-quote {
    border-left: 3px solid var(--accent);
    padding: 20px 0 20px 28px;
    font-size: 1.25rem;
    color: var(--text-heading);
    line-height: 1.5;
    font-style: italic;
}
.pull-quote cite { display: block; font-size: 1rem; font-style: normal; color: var(--text-muted); margin-top: 10px; }

/* How the cohort works */
.hiw-items { display: grid; gap: 24px; margin: 36px 0; }
.hiw-item { display: flex; gap: 18px; align-items: flex-start; }
.hiw-num {
    background: var(--accent-dim);
    border: 1.5px solid var(--accent-light);
    color: var(--accent-dark);
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.hiw-item strong { display: block; color: var(--text-heading); font-weight: 600; margin-bottom: 3px; }
.hiw-item p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* Info note — e.g. theory prerequisite callout */
.info-note {
    background: var(--bg-tint);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-top: 8px;
}
.info-note p { color: var(--text-mid); font-size: 1rem; line-height: 1.7; margin: 0; }
.info-note strong { color: var(--text-heading); }

/* Curriculum overview */
.curriculum-list { display: grid; gap: 4px; margin: 32px 0; }
.curriculum-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.curriculum-item:last-child { border-bottom: none; }
.curriculum-num { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.curriculum-item strong { display: block; color: var(--text-heading); font-weight: 600; margin-bottom: 4px; font-size: 1.05rem; }
.curriculum-item p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.6; }
.curriculum-cta { text-align: center; padding: 28px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-top: 8px; }
.curriculum-cta p { color: var(--text-muted); margin-bottom: 14px; }

/* =============================================
   INSTRUCTOR
   ============================================= */
.instructor-section .section-heading { margin-bottom: 36px; }
.instructor-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: start;
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.instructor-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-subtle);
    border: 1px solid var(--border-mid);
}
.instructor-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instructor-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.instructor-name { font-size: 1.4rem; margin-bottom: 12px; }
.instructor-bio p { color: var(--text-mid); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.instructor-bio p:last-child { margin-bottom: 0; }
.instructor-intro { color: var(--text-muted); font-size: 1rem; margin-bottom: 28px; }

/* =============================================
   VALUE STACK + GUARANTEE
   ============================================= */
.value-table {
    margin: 32px 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.value-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}
.value-row:last-child { border-bottom: none; }
.value-row span { color: var(--text-mid); }
.value-row strong { color: var(--text-heading); white-space: nowrap; }
.value-row-total {
    background: var(--bg-subtle);
    font-weight: 700;
}
.value-row-price {
    background: rgba(40,167,69,0.06);
    border-top: 2px solid #28a745;
    font-weight: 700;
}

/* =============================================
   GUARANTEE + WHY FREE SPOTLIGHT
   Deliberately the loudest section on the page —
   dark panel, same visual weight as hero/pricing,
   since this is the actual USP.
   ============================================= */
.spotlight-section {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(76, 216, 122, 0.16) 0%, transparent 65%),
        #12163a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spotlight-section .section-eyebrow { text-align: center; color: #4cd87a; }
.spotlight-section .section-heading { text-align: center; color: #f0f2ff; margin-bottom: 20px; }
.spotlight-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 44px;
    color: rgba(210, 220, 245, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
}
.spotlight-intro strong { color: #4cd87a; }
.spotlight-block { max-width: 720px; margin: 0 auto 48px; }
.spotlight-block:last-child { margin-bottom: 0; }
.spotlight-block h3 { color: #f0f2ff; font-size: 1.6rem; margin-bottom: 20px; text-align: center; }
.spotlight-block p { color: rgba(220, 228, 248, 0.9); font-size: 1.08rem; line-height: 1.8; margin-bottom: 16px; }
.spotlight-block p:last-child { margin-bottom: 0; }
.spotlight-block strong { color: #ffffff; }
.spotlight-conditions {
    list-style: none;
    max-width: 520px;
    margin: 0 auto 28px;
    display: grid;
    gap: 12px;
}
.spotlight-conditions li {
    background: rgba(76, 216, 122, 0.08);
    border: 1px solid rgba(76, 216, 122, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: #e8eaf8;
    font-size: 1.05rem;
    text-align: center;
}
.spotlight-conditions strong { color: #4cd87a; }
.spotlight-divider { width: 60px; height: 3px; background: rgba(76, 216, 122, 0.4); margin: 0 auto 48px; border-radius: 2px; }
.spotlight-note { font-size: 0.95rem !important; color: rgba(160, 176, 220, 0.7) !important; font-style: italic; text-align: center; }

/* =============================================
   PRICING / OFFER STACK
   ============================================= */
.pricing-section {
    padding: 80px 0;
    background: var(--tiers-bg);
}
.pricing-section .section-eyebrow { text-align: center; color: #8b9bf7; }
.pricing-section .section-heading { text-align: center; color: #e8eaf8; margin-bottom: 10px; }
.pricing-sub { text-align: center; max-width: 640px; margin: 0 auto 20px; color: var(--tiers-muted); font-size: 1.02rem; }

.earlybird-banner {
    max-width: 640px;
    margin: 0 auto 36px;
    background: rgba(232, 200, 80, 0.1);
    border: 1px solid rgba(232, 200, 80, 0.35);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
}
.earlybird-banner strong { display: block; color: #e8c850; font-size: 1.05rem; margin-bottom: 4px; }
.earlybird-banner span { color: var(--tiers-muted); font-size: 0.95rem; }

.early-bird-flag {
    text-align: center;
    margin-bottom: 36px;
}
.early-bird-flag span {
    display: inline-block;
    background: rgba(232, 200, 80, 0.14);
    border: 1px solid rgba(232, 200, 80, 0.4);
    color: #e8c850;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: start;
}
.tiers-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }

.tier-card {
    background: var(--tiers-card);
    border: 1px solid var(--tiers-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}
.tier-card:hover { border-color: rgba(139,155,247,0.5); transform: translateY(-3px); }
.tier-card-featured {
    border-color: #667eea;
    background: var(--tiers-featured);
    box-shadow: 0 0 0 1px #667eea, 0 8px 32px rgba(102,126,234,0.25);
}
.tier-badge {
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    text-align: center;
}
.tier-header { padding: 22px 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.tier-name { font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #c8d0f0; margin-bottom: 8px; }
.tier-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier-price { font-size: 2.2rem; font-weight: 800; color: #ffffff; line-height: 1; }
.tier-value-was { display: block; font-size: 1rem; color: var(--tiers-faint); text-decoration: line-through; margin-top: 2px; }
.tier-price-sub { font-size: 0.95rem; color: #c8d0f0; margin-top: 4px; }
.tier-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.tier-features { list-style: none; margin-bottom: 14px; flex: 1; }
.tier-features li {
    font-size: 1rem; color: #e8eaf8; padding: 7px 0 7px 28px; line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.07); position: relative;
}
.tier-features li::before { content: '✓'; position: absolute; left: 0; color: #4cd87a; font-weight: 700; }
.tier-features li:last-child { border-bottom: none; }
.tier-note { font-size: 0.95rem; color: #c8d0f0; line-height: 1.5; font-style: italic; }
.btn-tier {
    display: block;
    background: #28a745;
    border: none;
    color: #fff;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 10px;
}
.btn-tier:hover { background: #218838; color: #fff; transform: translateY(-1px); }

.pricing-footnote { text-align: center; margin-top: 32px; color: var(--tiers-muted); font-size: 0.95rem; }

/* member vs new-buyer segment blocks, toggled by JS */
#pricing-member { display: none; }

/* =============================================
   TIMELINE
   ============================================= */
.timeline { position: relative; margin-bottom: 40px; padding-left: 20px; border-left: 2px solid var(--border-mid); }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 0 0 32px 28px; }
.timeline-item::before {
    content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px;
    background: var(--accent); border-radius: 50%; border: 2px solid var(--bg-off);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { font-size: 1rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.timeline-content strong { display: block; color: var(--text-heading); font-weight: 600; margin-bottom: 4px; }
.timeline-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   FAQ / OBJECTIONS
   ============================================= */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; background: var(--bg-white); border: none; padding: 20px 24px; text-align: left;
    color: var(--text-heading); font-size: 1.1rem; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    transition: background 0.2s; line-height: 1.5; font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.faq-question.active::after { transform: rotate(45deg); }
.faq-question:hover { background: var(--bg-tint); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 600px; }
.faq-answer p { padding: 4px 24px 24px; color: var(--text-mid); font-size: 1.05rem; line-height: 1.75; background: var(--bg-off); border-top: 1px solid var(--border); }

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta-section {
    padding: 88px 0;
    background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(102,126,234,0.14) 0%, transparent 70%), #12163a;
    text-align: center;
}
.final-cta-section h2 { color: #f0f2ff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 18px; }
.final-sub { color: rgba(180, 192, 230, 0.75); font-size: 1.05rem; margin-bottom: 40px; }
.final-countdown-wrap { margin-bottom: 44px; }
.final-questions { color: rgba(160,176,220,0.65); font-size: 1rem; }
.final-questions a { color: rgba(160,176,220,0.85); }
.final-questions a:hover { color: #fff; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { padding: 44px 0; background: #0d1128; text-align: center; }
.footer-logo { margin-bottom: 18px; }
.footer-logo-img { width: 44px; height: auto; opacity: 0.55; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 18px; }
.footer-links a { color: rgba(160,176,220,0.6); font-size: 1rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(200,212,240,0.9); }
.footer-copy { color: rgba(120,136,180,0.45); font-size: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1000px) {
    .tiers-grid { grid-template-columns: repeat(2, 1fr); }
    .instructor-card { grid-template-columns: 1fr; }
    .instructor-photo-wrap { max-width: 220px; }
}
@media (max-width: 700px) {
    .problem-grid { grid-template-columns: 1fr; }
    .tiers-grid { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; gap: 4px; }
    .hero { padding: 56px 20px 72px; }
    .countdown-unit { min-width: 54px; }
    .countdown-num { font-size: 2.2rem; }
}

/* Fade-in on scroll (added by main.js) */
.fade-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-section.visible { opacity: 1; transform: none; }
.hero.fade-section { opacity: 1; transform: none; }
