/* ==========================================================================
   SMART CODE ACADEMY — DESIGN SYSTEM v2
   Premium dark theme. Layered depth, gold accent, restrained motion.
   ========================================================================== */

:root {
    /* Surfaces — a real elevation ramp instead of one flat black */
    --bg: #07080C;
    --bg-1: #0B0D14;
    --bg-2: #10131C;
    --bg-3: #161A25;

    --text: #FFFFFF;
    --text-soft: #D6DCE4;
    --muted: #9BA5B1;
    --muted-dim: #6B7280;

    /* Brand */
    --accent: #e4c735;
    --accent-hi: #FFD264;
    --accent-lo: #ddbc14;
    --accent-soft: rgba(243, 176, 27, 0.12);
    --accent-line: rgba(243, 176, 27, 0.22);
    --accent-strong: rgba(243, 176, 27, 0.55);


    --line: rgba(255, 255, 255, 0.07);
    --line-hi: rgba(255, 255, 255, 0.13);

    --glass-bg: rgba(255, 255, 255, 0.028);
    --glass-blur: blur(16px);

    /* Radius scale — only these four steps */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-full: 100px;

    /* Elevation */
    --shadow-md: 0 8px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, 0.85);
    --glow-accent: 0 12px 40px -10px rgba(243, 176, 27, 0.45);

    --container: 1240px;
    --container-narrow: 820px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', 'Noto Sans Armenian', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    font-size: clamp(15px, 1vw + 0.4rem, 17px);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
.container-narrow { max-width: var(--container-narrow); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -100px; left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    border-radius: var(--r-sm);
    transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Solid gold accent — used for the key word in every heading */
.accent { color: var(--accent); }

/* ==========================================================================
   FILM GRAIN + VIGNETTE
   Breaks up banding in the large dark gradients. Pure CSS, no image request.
   ========================================================================== */
.grain {
    position: fixed;
    inset: -50%;
    z-index: 300;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 290;
    pointer-events: none;
    background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

section, header, footer { position: relative; z-index: 1; }

/* ==========================================================================
   PROGRESSIVE ENHANCEMENT
   Animated start-states apply ONLY under html.js-anim, which the inline head
   script adds and script.js removes if animation cannot run. No JS => no
   hidden content, ever.
   ========================================================================== */
.js-anim .reveal-fade { opacity: 0; transform: translateY(26px); }
.js-anim .hero-title .word { transform: translateY(110%); }
.js-anim .timeline-item { opacity: 0; transform: translateY(26px); }
.js-anim .timeline-line-fill { transform: scaleY(0); }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 600;
    background: transparent;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(243, 176, 27, 0.7);
    transition: width 0.1s linear;
}

/* ==========================================================================
   CUSTOM CURSOR (mouse only)
   ========================================================================== */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 999;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
}
.cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid var(--accent-strong);
    transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
body.cursor-hover .cursor-ring {
    width: 56px; height: 56px;
    border-color: rgba(243, 176, 27, 0.9);
    background: var(--accent-soft);
}

/* ==========================================================================
   LOGO (footer only — the sticky nav was removed)
   The supplied PNG is transparent but its wordmark is dark charcoal — invisible
   on a near-black page. brightness(0) crushes it to black, invert(1) lifts it
   to white, and transparency is preserved.
   ========================================================================== */
.footer-logo { display: inline-flex; flex-shrink: 0; }
.footer-logo img {
    width: auto;
    height: 100px;
    opacity: 0.9;
    transition: opacity 0.3s var(--ease);
}
.footer-logo:hover img { opacity: 1; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 2rem;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: var(--r-sm);
    letter-spacing: -0.01em;
    transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease),
                background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #16120A;
    box-shadow: 0 6px 20px -8px rgba(243, 176, 27, 0.5);
}
/* Sheen sweep on hover */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
    z-index: -1;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-hi);
    color: var(--text-soft);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover {
    border-color: var(--accent-line);
    color: var(--text);
    background: rgba(243, 176, 27, 0.06);
    transform: translateY(-3px);
}

/* Soft pulsing halo behind the most important CTAs */
.btn-glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--accent);
    filter: blur(14px);
    opacity: 0.4;
    z-index: -2;
    animation: haloPulse 3.5s ease-in-out infinite;
}
@keyframes haloPulse {
    0%, 100% { opacity: 0.28; }
    50%      { opacity: 0.55; }
}

.btn-full { width: 100%; }
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.88rem; }
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.85; }

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--accent-line);
    border-radius: var(--r-full);
    background: var(--accent-soft);
}
h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.section-sub {
    color: var(--muted);
    margin-top: 1.1rem;
    font-size: 1.03rem;
}

/* ==========================================================================
   SPOTLIGHT CARD
   Shared surface for every card. A mouse-following gradient sits in ::before
   (glow) and the border is lit via ::after using a masked gradient ring.
   --mx / --my are written by script.js; they default to the card centre.
   ========================================================================== */
.spotlight {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
                rgba(243, 176, 27, 0.13), transparent 45%);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}
/* Keep card content above the glow layer */
.spotlight > * { position: relative; z-index: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
#hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    /* Balanced padding: there is no fixed nav to clear any more. */
    padding-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* --- 1. Aurora blobs: slow, large, low-opacity colour blooms --- */
.hero-aurora { position: absolute; inset: 0; }
.hero-aurora .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}
.blob-1 {
    width: 46vw; height: 46vw;
    max-width: 700px; max-height: 700px;
    top: -12%; right: -8%;
    background: radial-gradient(circle, rgba(243, 176, 27, 0.30), transparent 70%);
    animation: drift1 24s ease-in-out infinite alternate;
}
.blob-2 {
    width: 38vw; height: 38vw;
    max-width: 560px; max-height: 560px;
    bottom: -18%; left: -10%;
    background: radial-gradient(circle, rgba(255, 210, 100, 0.16), transparent 70%);
    animation: drift2 30s ease-in-out infinite alternate;
}
.blob-3 {
    width: 30vw; height: 30vw;
    max-width: 430px; max-height: 430px;
    top: 38%; left: 42%;
    background: radial-gradient(circle, rgba(200, 138, 10, 0.15), transparent 70%);
    animation: drift3 26s ease-in-out infinite alternate;
}
@keyframes drift1 {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-6%, 8%, 0) scale(1.12); }
}
@keyframes drift2 {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(9%, -7%, 0) scale(1.15); }
}
@keyframes drift3 {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-8%, -10%, 0) scale(0.9); }
}

/* --- 2. Grid overlay ---
   Two stacked layers: fine crosshatch lines plus dots at the intersections.
   The mask is wide and gentle so the grid actually reads across the hero
   instead of dissolving a third of the way out. */
.hero-grid {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(140% 105% at 50% 42%, #000 55%, transparent 92%);
    mask-image: radial-gradient(140% 105% at 50% 42%, #000 55%, transparent 92%);
}
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.20) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(140% 105% at 50% 42%, #000 50%, transparent 90%);
    mask-image: radial-gradient(140% 105% at 50% 42%, #000 50%, transparent 90%);
    opacity: 0.8;
}

/* --- 3. Diagonal light shaft --- */
.hero-beam {
    position: absolute;
    top: -30%; left: 12%;
    width: 45%; height: 170%;
    background: linear-gradient(103deg, transparent 42%, rgba(243, 176, 27, 0.07) 50%, transparent 58%);
    transform: rotate(-6deg);
}

/* Single left-aligned column. */
.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-copy {
    text-align: left;
    max-width: 62rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(2.7rem, 5.6vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.045em;
    margin-bottom: 1.6rem;
}
/* Each .line masks its words for the reveal — never put a <br> inside one. */
.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.09em;
}
.hero-title .word {
    display: inline-block;
    will-change: transform;
}

.hero-subtitle {
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    max-width: 46ch;
    margin: 0 0 2.5rem;
    line-height: 1.65;
}
.hero-subtitle strong { color: var(--text-soft); font-weight: 600; }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.9rem;
    margin-bottom: 0;
}

/* --- Hero trust chips. Carry the rule the stats block used to draw. --- */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: clamp(1.75rem, 3vw, 2.25rem);
    border-top: 1px solid var(--line);
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.05rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line-hi);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    font-size: 0.85rem;
    color: var(--muted);
}
.hero-trust strong { color: var(--text); font-weight: 600; }
.ht-icon { font-size: 1.05rem; line-height: 1; }

@media (max-width: 620px) {
    .hero-cta { width: 100%; }
    .hero-cta .btn { width: 100%; }
}

/* ==========================================================================
   TECH MARQUEE
   ========================================================================== */
.marquee-section {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.012);
}
.marquee {
    display: flex;
    gap: 3rem;
    padding: 1.35rem 0;
    overflow: hidden;
    /* Fade both ends so items enter and leave softly */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-shrink: 0;
    min-width: 100%;
    animation: marqueeScroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted-dim);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.marquee-track li:hover { color: var(--accent); }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - 3rem)); }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    perspective: 1200px;
}
.feature-card {
    padding: clamp(1.9rem, 2.5vw, 2.6rem);
    transform-style: preserve-3d;
    will-change: transform;
}
.feature-num {
    position: absolute;
    top: 1.5rem; right: 1.7rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-dim);
    letter-spacing: 0.1em;
}
.feature-icon {
    width: 58px; height: 58px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.45s var(--ease);
}
.feature-card:hover .feature-icon { transform: translateY(-3px) scale(1.05); }
.feature-card h3 { margin-bottom: 0.8rem; }
.feature-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; }

/* ==========================================================================
   SYLLABUS TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 2.25rem;
}
.timeline-line {
    position: absolute;
    left: 12px; top: 10px; bottom: 10px;
    width: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.timeline-line-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent-hi), var(--accent) 40%, rgba(243, 176, 27, 0.15));
    transform-origin: top;
    will-change: transform;
    box-shadow: 0 0 12px rgba(243, 176, 27, 0.6);
}
.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    will-change: transform, opacity;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -1.9rem;
    top: 1.75rem;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 5px rgba(243, 176, 27, 0.12);
    z-index: 2;
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 7px rgba(243, 176, 27, 0.2), 0 0 18px rgba(243, 176, 27, 0.6);
}
.timeline-card {
    padding: 1.6rem 1.8rem;
}
.timeline-card:hover { transform: translateX(6px); }
.timeline-month {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.timeline-card h3 { margin-bottom: 0.55rem; }
.timeline-card p { color: var(--muted); font-size: 0.95rem; }
.timeline-card .chip-row { margin-top: 1.1rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
    padding: 0.32rem 0.75rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.spotlight:hover .chip { border-color: var(--line-hi); color: var(--text-soft); }

/* ==========================================================================
   MENTORS
   ========================================================================== */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.5rem;
}
.mentor-card {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.mentor-card:hover { transform: translateY(-4px); }
/* Initials avatar. When real portraits arrive, drop an <img> inside — the
   rules below already size and crop it correctly, no magic offsets. */
.mentor-img {
    flex-shrink: 0;
    width: 92px; height: 92px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(243, 176, 27, 0.26), rgba(243, 176, 27, 0.05));
    border: 1px solid var(--accent-line);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.mentor-img::before {
    content: attr(data-initials);
    color: var(--accent);
}
.mentor-img img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.mentor-info h3 { margin-bottom: 0.4rem; }
.mentor-role { color: var(--muted); font-size: 0.9rem; }
.mentor-exp {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent);
    margin: 0.3rem 0 0.85rem;
    letter-spacing: 0.04em;
}
.mentor-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

@media (max-width: 480px) {
    .mentor-card { flex-direction: column; text-align: center; }
    .mentor-tags { justify-content: center; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-wrap {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

/* Rotating conic gradient ring. The ring lives in .price-ring, and the inner
   panel sits on top with an opaque background, leaving only a 1px edge lit. */
.price-hero {
    position: relative;
    padding: 1px;
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
}
.price-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 210%; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg,
        transparent 0deg, var(--accent) 40deg, var(--accent-hi) 60deg,
        transparent 110deg, transparent 250deg, var(--accent) 300deg, transparent 340deg);
    animation: ringSpin 8s linear infinite;
    z-index: -1;
}
@keyframes ringSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.price-hero-inner {
    position: relative;
    text-align: center;
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: calc(var(--r-lg) - 1px);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(243, 176, 27, 0.09), transparent 60%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.price-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 0.9rem;
}
.price-huge {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    margin-bottom: 2.25rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}
.price-value, .price-huge .currency {
    color: var(--accent);
}
.price-huge .per {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    -webkit-text-fill-color: currentColor;
}
.price-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem 1.5rem;
    max-width: 540px;
    margin: 0 auto 2.25rem;
    text-align: left;
}
.pf { display: flex; align-items: center; gap: 0.65rem; color: var(--text-soft); font-size: 0.93rem; }
.pf .check {
    width: 21px; height: 21px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
}
.price-hero-inner .btn { max-width: 340px; margin: 0 auto; }

.price-info {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.6rem 1.85rem;
}
.price-info-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: grid; place-items: center;
}
.price-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.price-info p strong { color: var(--text); font-weight: 600; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: 0.8rem; }
.acc-item {
    border-radius: var(--r-md);
    background: var(--glass-bg);
    border: 1px solid var(--line);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    overflow: hidden;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.acc-item:hover { border-color: var(--line-hi); }
.acc-item.active {
    border-color: var(--accent-line);
    background: rgba(243, 176, 27, 0.035);
}
/* Heading carries semantics only; the button owns all visual styling. */
.acc-h { font-size: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; }
.acc-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.7rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s var(--ease);
}
.acc-q:hover { color: var(--accent); }
.acc-item.active .acc-q { color: var(--accent); }
.acc-icon {
    position: relative;
    width: 22px; height: 22px;
    flex-shrink: 0;
}
.acc-icon::before, .acc-icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 13px; height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease);
    border-radius: 2px;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.active .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.acc-a-inner {
    padding: 0 1.7rem 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* No-JS fallback: [hidden] panels could never be opened, so reveal them all
   rather than trapping the content behind a dead button. */
html:not(.js-ready) .acc-a { display: block; max-height: none; }
html:not(.js-ready) .acc-icon { display: none; }

/* ==========================================================================
   APPLY FORM
   ========================================================================== */
.apply-form {
    padding: clamp(1.9rem, 3vw, 2.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
}
@media (max-width: 620px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.03em;
    font-weight: 500;
}
.form-field input,
.form-field select {
    width: 100%;
    padding: 0.95rem 1.15rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line-hi);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    appearance: none;
}
.form-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%239BA5B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-field option { background: var(--bg-2); color: var(--text); }
.form-field input::placeholder { color: var(--muted-dim); }
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(243, 176, 27, 0.05);
    box-shadow: 0 0 0 4px rgba(243, 176, 27, 0.1);
}
.form-field input:focus-visible,
.form-field select:focus-visible { outline: none; }

/* Flag invalid fields only after a real submit attempt */
.apply-form.was-validated input:invalid,
.apply-form.was-validated select:invalid {
    border-color: rgba(255, 90, 90, 0.6);
}

/* Honeypot: off-screen rather than display:none — bots skip hidden inputs. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.2em;
    text-align: center;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 500;
}
.form-note {
    text-align: center;
    color: var(--muted-dim);
    font-size: 0.82rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}
.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.85rem;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: flex-end;
}
.footer-contacts a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.3s var(--ease);
}
.footer-contacts a:hover { color: var(--accent); }

/* --- Social icon buttons --- */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.6rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-hi);
    color: var(--muted);
    transition: color 0.3s var(--ease), background 0.3s var(--ease),
                border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover,
.footer-social a:focus-visible {
    color: #16120A;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-copy {
    grid-column: 1 / -1;
    padding-top: 1.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted-dim);
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 620px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-contacts { align-items: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* ==========================================================================
   ACCESSIBILITY
   Reduced motion: kill every ambient animation, not just transitions. GSAP is
   separately disabled in script.js because it writes inline styles.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-aurora .blob,
    .marquee-track,
    .price-ring,
    .btn-glow::before { animation: none !important; }

    .price-ring { opacity: 0.55; }

    /* Force final visible state in case a stale .js-anim class survives */
    .hero-title .word,
    .js-anim .hero-title .word { transform: none; }
    .reveal-fade,
    .js-anim .reveal-fade { opacity: 1; transform: none; }
    .timeline-item,
    .js-anim .timeline-item { opacity: 1; transform: none; }
    .timeline-line-fill,
    .js-anim .timeline-line-fill { transform: scaleY(1); }
}

/* Custom cursor is a mouse-only refinement */
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
    body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}

::selection { background: var(--accent); color: #16120A; }
