/* =========================================================================
   TFC Media Institute — modern / GenZ theme
   Palette: near-black canvas, electric violet + cyber-lime, glass cards.
   ========================================================================= */

:root {
    --bg:        #0c0a14;
    --bg-soft:   #131022;
    --surface:   #1a1530;
    --surface-2: #221b3d;
    --text:      #f4f1ff;
    --muted:     #a79fc9;
    --line:      rgba(255, 255, 255, 0.10);

    --violet:    #8b5cf6;
    --violet-2:  #6d28d9;
    --pink:      #f0438c;
    --lime:      #c8ff3d;
    --cyan:      #2dd4ff;

    --grad-hot:  linear-gradient(120deg, #8b5cf6 0%, #f0438c 60%, #ff8a3d 100%);
    --grad-cool: linear-gradient(120deg, #2dd4ff 0%, #8b5cf6 100%);
    --grad-lime: linear-gradient(120deg, #c8ff3d 0%, #2dd4ff 100%);

    --radius:    22px;
    --radius-sm: 14px;
    --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --ring:      0 0 0 3px rgba(139, 92, 246, 0.35);

    --font-display: 'Clash Display', 'Space Grotesk', system-ui, sans-serif;
    --font-head:    'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.site-main { position: relative; z-index: 1; }

/* ---- background orbs ---------------------------------------------------- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; }
.orb--1 { width: 480px; height: 480px; background: var(--violet);  top: -120px; left: -80px; animation: float1 18s ease-in-out infinite; }
.orb--2 { width: 420px; height: 420px; background: var(--pink);    top: 30%; right: -120px; animation: float2 22s ease-in-out infinite; }
.orb--3 { width: 380px; height: 380px; background: var(--cyan);    bottom: -140px; left: 30%; animation: float1 26s ease-in-out infinite; }
@keyframes float1 { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(40px) } }
@keyframes float2 { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(-30px,30px) } }

/* ---- buttons ------------------------------------------------------------ */
.btn {
    --bg-btn: var(--surface-2);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--line);
    background: var(--bg-btn);
    color: var(--text);
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    padding: 13px 22px; border-radius: 999px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--grad-hot); border-color: transparent; color: #fff;
    box-shadow: 0 12px 30px -8px rgba(240, 67, 140, 0.6);
}
.btn--primary:hover { filter: brightness(1.07); box-shadow: 0 16px 40px -8px rgba(240, 67, 140, 0.7); }
.btn--ghost { background: rgba(255,255,255,0.04); }
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.btn--lime { background: var(--lime); color: #1a1530; border-color: transparent; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---- header / nav ------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(12, 10, 20, 0.6);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { background: rgba(12, 10, 20, 0.85); border-bottom-color: var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.brand-mark {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    background: var(--grad-hot); border-radius: 12px; color: #fff; font-size: 16px; letter-spacing: .5px;
    box-shadow: 0 8px 20px -6px rgba(139,92,246,.6);
}
.brand-text { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: 15px; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--grad-hot); transition: width .25s; border-radius: 2px; }
.nav-links a:hover::after, .nav-links a.is-active::after { width:100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- generic section ---------------------------------------------------- */
section { position: relative; padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase; color: var(--lime);
    padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px;
    background: rgba(200,255,61,.06);
}
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 16px; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0; }
.grad-text { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--cool { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- hero --------------------------------------------------------------- */
.hero { padding: 84px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
    color: var(--muted); margin-bottom: 24px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.0; margin: 0 0 20px; letter-spacing: -1px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); letter-spacing: .5px; }

.hero-visual { position: relative; }
.hero-card {
    position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow); aspect-ratio: 4/5;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
    position: absolute; backdrop-filter: blur(10px); background: rgba(26,21,48,.8);
    border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
    font-family: var(--font-head); display: flex; align-items: center; gap: 12px;
}
.hero-float--1 { top: 22px; left: -26px; }
.hero-float--2 { bottom: 26px; right: -22px; }
.hero-float .fi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-cool); font-size: 18px; }
.hero-float small { color: var(--muted); display: block; font-size: 12px; }
.hero-float strong { font-size: 15px; }

.marquee { margin-top: 56px; border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 22px; color: var(--muted); opacity: .7; white-space: nowrap; }
.marquee-track span::after { content: '✦'; margin-left: 48px; color: var(--violet); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---- about -------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .2s, border-color .2s; position: relative; overflow: hidden;
}
.feature-card::before { content:''; position:absolute; inset:0; background: var(--grad-hot); opacity:0; transition: opacity .25s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.5); }
.feature-card .fc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--surface-2); margin-bottom: 18px; }
.feature-card h3 { font-family: var(--font-head); font-size: 20px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 15px; }
.about-lead { display:grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items:center; margin-bottom: 60px; }
.about-lead p { font-size: 18px; color: var(--muted); }
.about-lead .big-quote { font-family: var(--font-display); font-size: clamp(24px,3vw,34px); color: var(--text); line-height: 1.3; }

/* ---- founder ------------------------------------------------------------ */
.founder { background: linear-gradient(180deg, transparent, rgba(139,92,246,.05)); }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.founder-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; box-shadow: var(--shadow); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .glow { position: absolute; inset: auto -30% -30% -30%; height: 60%; background: var(--grad-hot); filter: blur(60px); opacity: .5; }
.founder-body h2 { font-family: var(--font-display); font-size: clamp(28px,3.6vw,44px); margin: 10px 0 18px; }
.founder-body .role { color: var(--lime); font-family: var(--font-head); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.founder-body p { color: var(--muted); font-size: 17px; }
.founder-sign { font-family: var(--font-display); font-size: 26px; margin-top: 18px; color: var(--text); }

/* ---- courses ------------------------------------------------------------ */
.courses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.course-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-8px); border-color: rgba(139,92,246,.5); box-shadow: var(--shadow); }
.course-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-card__media img { transform: scale(1.06); }
.badge { position: absolute; font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge--hot { top: 12px; left: 12px; background: var(--grad-hot); color: #fff; }
.badge--dur { bottom: 12px; right: 12px; background: rgba(12,10,20,.7); border: 1px solid var(--line); color: var(--text); }
.course-card__body { padding: 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.course-card__head { display: flex; flex-direction: column; gap: 12px; }
.course-card__title { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.15; margin: 0; }
.course-card__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pill { font-family: var(--font-head); font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); }
.cc-pill--cert { color: var(--lime); border-color: rgba(200,255,61,.25); background: rgba(200,255,61,.06); }

.cc-section { display: flex; flex-direction: column; gap: 8px; }
.cc-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--violet); margin: 0; }
.course-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

.cc-learn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.cc-learn li { position: relative; padding-left: 20px; color: var(--text); font-size: 13.5px; line-height: 1.4; }
.cc-learn li::before { content: '▸'; position: absolute; left: 2px; top: 0; color: var(--pink); font-size: 12px; }

.cc-highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cc-highlights li { position: relative; padding-left: 26px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.cc-highlights li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 18px; height: 18px;
    display: grid; place-items: center; border-radius: 50%; background: var(--grad-lime); color: #1a1530; font-size: 11px; font-weight: 700; }

.course-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.course-card__meta .price { font-family: var(--font-display); font-size: 24px; }
.course-card__meta .price--free { font-size: 16px; color: var(--lime); }
.course-card__actions { display: flex; gap: 10px; }
.courses-cta { text-align: center; margin-top: 48px; }

/* ---- reviews ------------------------------------------------------------ */
.reviews-strip { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: -22px 0 34px; }
.rs-avatars { display: flex; align-items: center; }
.rs-avatars span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; color: #fff; border: 2px solid var(--bg); margin-left: -12px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.rs-avatars span:first-child { margin-left: 0; }
.rs-avatars .rs-more { background: var(--surface-2); color: var(--muted); font-size: 12px; }
.rs-text { text-align: left; }
.rs-stars { display: block; font-family: var(--font-head); color: var(--lime); letter-spacing: 2px; font-size: 17px; }
.rs-stars span { color: var(--text); margin-left: 6px; }
.rs-text small { color: var(--muted); font-size: 14px; }

/* ---- testimonial marquees ---------------------------------------------- */
.reviews-marquees { display: flex; flex-direction: column; gap: 16px; }
.tm-row {
    overflow: hidden; position: relative; padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tm-track { display: flex; align-items: flex-start; gap: 16px; width: max-content; will-change: transform; }
.tm-track--rtl { animation: tm-rtl 55s linear infinite; }
.tm-track--ltr { animation: tm-ltr 45s linear infinite; }
.tm-row:hover .tm-track { animation-play-state: paused; }
@keyframes tm-rtl { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes tm-ltr { from { transform: translateX(-50%); }   to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .tm-track { animation: none; } }

/* cards inside marquees: fixed width, natural height, no fade-in */
.tm-track .reveal { opacity: 1; transform: none; }
.tm-track .review-card { width: 340px; flex: 0 0 auto; }
.tm-track .review-card--video { width: 312px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* --- text review card --- */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.review-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-hot); opacity: 0; transition: opacity .25s; }
.review-card:not(.review-card--video)::after { content: '”'; position: absolute; top: 6px; right: 16px; font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--violet); opacity: .12; pointer-events: none; }
.review-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.55); box-shadow: var(--shadow); }
.review-card:hover::before { opacity: 1; }
.review-stars { color: var(--lime); letter-spacing: 2px; font-size: 14px; }
.review-card blockquote { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { display: flex; align-items: center; gap: 11px; margin-top: 2px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; padding: 2px; background: var(--grad-hot); flex: 0 0 auto; }
.review-avatar--initial { display: grid; place-items: center; background: var(--grad-cool); color: #fff; font-family: var(--font-display); font-size: 16px; }
.review-meta strong { display: block; font-family: var(--font-head); font-size: 14.5px; line-height: 1.2; }
.review-meta small { color: var(--muted); font-size: 12.5px; }

/* --- video review card --- */
.review-card--video { padding: 0; cursor: pointer; gap: 0; }
.review-card--video .rv-media { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.review-card--video .rv-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,20,.05) 45%, rgba(12,10,20,.8)); }
.rv-media--blank { background: var(--grad-hot); }
.rv-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-head); font-weight: 600; font-size: 11px; padding: 5px 11px; border-radius: 999px; background: rgba(12,10,20,.6); backdrop-filter: blur(6px); color: #fff; }
.rv-play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-hot); box-shadow: 0 10px 26px -6px rgba(240,67,140,.7); transition: transform .2s; }
.rv-play svg { margin-left: 3px; }
.review-card--video:hover .rv-play { transform: scale(1.12); }
.review-card--video:hover .rv-media { filter: brightness(1.06); }
.rv-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.rv-caption { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* video lightbox */
.video-lightbox { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 24px; }
.video-lightbox.is-open { display: flex; }
.vl-overlay { position: absolute; inset: 0; background: rgba(4,3,10,.85); backdrop-filter: blur(8px); }
.vl-frame { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.vl-player { width: 100%; height: 100%; }
.vl-close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; opacity: .85; }
.vl-close:hover { opacity: 1; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { padding: 80px 0; }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 48px; text-align: center; background: var(--grad-hot); }
.cta-card::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%); }
.cta-card h2 { position: relative; font-family: var(--font-display); font-size: clamp(28px,4vw,48px); margin: 0 0 14px; color: #fff; }
.cta-card p { position: relative; color: rgba(255,255,255,.9); font-size: 18px; margin: 0 0 28px; }

/* ---- footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; margin-top: 40px; position: relative; z-index: 1; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); max-width: 360px; margin: 16px 0 20px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-size: 13px; color: var(--muted); transition: .2s; }
.social-row a:hover { background: var(--grad-hot); color: #fff; border-color: transparent; }
.footer-col h4 { font-family: var(--font-head); margin: 0 0 16px; font-size: 15px; }
.footer-col a, .footer-col button { display: block; color: var(--muted); padding: 6px 0; background: none; border: 0; text-align: left; font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---- modal / apply form ------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(6, 4, 14, 0.75); backdrop-filter: blur(6px); }
.modal-card {
    position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 34px;
    box-shadow: var(--shadow); animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: translateY(20px) scale(.96); opacity: 0; } }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: var(--muted); font-size: 30px; line-height: 1; }
.modal-close:hover { color: var(--text); }
.apply-head { text-align: center; margin-bottom: 24px; }
.apply-head h3 { font-family: var(--font-display); font-size: 28px; margin: 0 0 6px; }
.apply-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 10px; }
.step-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); transition: .25s; }
.step-dot.is-active { background: var(--grad-hot); color: #fff; border-color: transparent; }
.step-line { width: 50px; height: 2px; background: var(--line); }

.apply-step { display: none; flex-direction: column; gap: 16px; }
.apply-step.is-active { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select {
    width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: var(--bg-soft); color: var(--text); font-family: var(--font-body); font-size: 15px; transition: .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: var(--ring); }
.field input::placeholder { color: #6b6390; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-note { text-align: center; color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.apply-actions { display: flex; gap: 12px; margin-top: 6px; }
.apply-actions .btn { flex: 1; }
.apply-error { background: rgba(240,67,140,.12); border: 1px solid rgba(240,67,140,.4); color: #ff9ec4; padding: 12px 16px; border-radius: 12px; font-size: 14px; margin: 14px 0 0; }
.calendly-embed { min-width: 100%; height: 320px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.apply-success { text-align: center; align-items: center; padding: 10px 0; }
.success-check { width: 72px; height: 72px; border-radius: 50%; background: var(--grad-lime); color: #1a1530; font-size: 36px; display: grid; place-items: center; margin-bottom: 8px; }
.apply-success h4 { font-family: var(--font-display); font-size: 24px; margin: 0; }
.apply-success p { color: var(--muted); margin: 0; }

/* ---- reveal-on-scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   COURSE DETAIL PAGE
   ========================================================================= */
.course-hero { padding: 60px 0 40px; }
.course-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.course-hero .breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.course-hero .breadcrumb a:hover { color: var(--text); }
.course-hero h1 { font-family: var(--font-display); font-size: clamp(32px,4.6vw,56px); line-height: 1.04; margin: 0 0 18px; }
.course-hero p { color: var(--muted); font-size: 18px; }
.course-hero .chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.chip { font-family: var(--font-head); font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); }
.course-hero-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/3; }
.course-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.course-price-row { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.course-price-row .price { font-family: var(--font-display); font-size: 32px; }

.curriculum { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.week-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.week-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; user-select: none; }
.week-head:hover { background: var(--surface-2); }
.week-num { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-hot); color: #fff; display: grid; place-items: center; font-family: var(--font-display); flex-shrink: 0; }
.week-head .wt { flex: 1; }
.week-head .wt strong { font-family: var(--font-head); font-size: 17px; display: block; }
.week-head .wt small { color: var(--muted); }
.week-head .caret { transition: transform .25s; color: var(--muted); }
.week-item.is-open .caret { transform: rotate(180deg); }
.week-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.week-item.is-open .week-body { max-height: 1000px; }
.week-body ul { list-style: none; margin: 0; padding: 0 24px 20px 84px; }
.week-body li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.week-body li strong { color: var(--text); font-family: var(--font-head); font-weight: 500; display: block; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); transition: transform .2s; }
.gallery-grid img:hover { transform: scale(1.03); }

/* =========================================================================
   BLOG PAGE
   ========================================================================= */
.page-hero { padding: 80px 0 50px; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,64px); margin: 0 0 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin-inline: auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 60px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.5); }
.blog-card__media { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 22px; }
.blog-card__tag { font-family: var(--font-head); font-size: 12px; color: var(--lime); text-transform: uppercase; letter-spacing: 1px; }
.blog-card__body h3 { font-family: var(--font-head); font-size: 19px; margin: 8px 0; }
.blog-card__body p { color: var(--muted); font-size: 14px; margin: 0; }
.blog-card__date { color: var(--muted); font-size: 13px; margin-top: 14px; display: block; }

/* ---- empty state -------------------------------------------------------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .ei { font-size: 40px; margin-bottom: 10px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
    .hero-grid, .founder-grid, .course-hero-grid, .about-lead { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
    .about-grid, .courses-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .nav-links {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
        background: var(--bg-soft); border-bottom: 1px solid var(--line);
        padding: 10px 22px 22px; transform: translateY(-120%); transition: transform .3s; align-items: stretch;
    }
    .nav-links.is-open { transform: none; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav-toggle { display: flex; }
    .nav-cta .btn--sm { display: none; }
    section { padding: 64px 0; }
    .about-grid, .courses-grid, .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-card { padding: 44px 24px; }
}
