/* ═══════════════════════════════════════════════════
   ORQOYIN — Cyberpunk 2070 × Liquid Glass
═══════════════════════════════════════════════════ */

:root {
    --bg:    #020508;
    --bg2:   #030a10;
    --bg3:   #050e18;

    --glass:       rgba(3, 12, 22, 0.72);
    --glass-light: rgba(255, 255, 255, 0.045);
    --glass-shine: rgba(255, 255, 255, 0.07);

    --cyber:      #00ff9d;
    --cyber-dim:  rgba(0, 255, 157, 0.07);
    --cyber-mid:  rgba(0, 255, 157, 0.14);
    --cyber-glow: rgba(0, 255, 157, 0.38);

    --english:      #5b8fff;
    --english-dim:  rgba(91, 143, 255, 0.07);
    --english-mid:  rgba(91, 143, 255, 0.14);
    --english-glow: rgba(91, 143, 255, 0.38);

    --magenta: #ff2d78;
    --red:     #e84040;

    /* Registration palette — crimson + purple */
    --crimson:      #dc143c;
    --crimson-dim:  rgba(220,20,60,0.09);
    --crimson-mid:  rgba(220,20,60,0.18);
    --crimson-glow: rgba(220,20,60,0.38);
    --purple:       #7c3aed;
    --purple-dim:   rgba(124,58,237,0.09);
    --purple-mid:   rgba(124,58,237,0.18);
    --purple-glow:  rgba(124,58,237,0.38);

    --text:     #a8bece;
    --muted:    #6a8898;
    --white:    #ddeaf4;

    --border:      rgba(255, 255, 255, 0.055);
    --border-cyber: rgba(0, 255, 157, 0.14);

    --font-sans: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --ease:  cubic-bezier(0.23, 1, 0.32, 1);
    --snap:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── LIGHT MODE ────────────────────────────────── */
[data-theme="light"] {
    --bg:    #f7f9fc;
    --bg2:   #edf1f7;
    --bg3:   #e2e8f0;

    --glass:       rgba(255, 255, 255, 0.78);
    --glass-light: rgba(255, 255, 255, 0.9);
    --glass-shine: rgba(255, 255, 255, 0.95);

    /* Dark teal replaces neon green — readable on white */
    --cyber:      #006b3f;
    --cyber-dim:  rgba(0, 107, 63, 0.08);
    --cyber-mid:  rgba(0, 107, 63, 0.16);
    --cyber-glow: rgba(0, 107, 63, 0.28);

    /* Darker blue for English accent */
    --english:      #1a4fc4;
    --english-dim:  rgba(26, 79, 196, 0.08);
    --english-mid:  rgba(26, 79, 196, 0.16);
    --english-glow: rgba(26, 79, 196, 0.28);

    --magenta: #b5004e;
    --red:     #b91c1c;

    /* Registration palette — light mode overrides */
    --crimson:      #9f1239;
    --crimson-dim:  rgba(159,18,57,0.07);
    --crimson-mid:  rgba(159,18,57,0.15);
    --crimson-glow: rgba(159,18,57,0.28);
    --purple:       #6d28d9;
    --purple-dim:   rgba(109,40,217,0.07);
    --purple-mid:   rgba(109,40,217,0.15);
    --purple-glow:  rgba(109,40,217,0.28);

    --text:   #1c2b38;
    --muted:  #4a6275;
    --white:  #0a1a26;

    --border:        rgba(0, 0, 0, 0.1);
    --border-cyber:  rgba(0, 107, 63, 0.22);
}
[data-theme="light"] body          { background: var(--bg); }
[data-theme="light"] #bg-canvas    { opacity: 0.08; filter: hue-rotate(10deg); }
[data-theme="light"] .nav          { background: rgba(247,249,252,0.92); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .nav.scrolled { background: rgba(247,249,252,0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
[data-theme="light"] .mobile-menu  { background: rgba(247,249,252,0.99); }
[data-theme="light"] .hero         { background: linear-gradient(160deg, #edf1f7 0%, #f7f9fc 60%); }
[data-theme="light"] .hero::after  { opacity: 0.015; }
[data-theme="light"] .hero-title   { color: #0a1a26; }
[data-theme="light"] .hero-title .accent-line,
[data-theme="light"] .logo-bracket { color: var(--cyber); }
[data-theme="light"] .accent-line::before,
[data-theme="light"] .accent-line::after { color: var(--magenta); }
[data-theme="light"] .course-block,
[data-theme="light"] .reason-card,
[data-theme="light"] .contact-form,
[data-theme="light"] .map-card,
[data-theme="light"] .cta-card,
[data-theme="light"] .cta-banner   { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .nav-links a  { color: var(--muted); }
[data-theme="light"] .nav-cta      { color: var(--cyber) !important; border-color: var(--border-cyber) !important; }
[data-theme="light"] section:nth-child(even) { background: var(--bg2); }
[data-theme="light"] .marquee-track { color: var(--muted); }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
@media (pointer: fine) { body { cursor: none; } }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── EYE CURSOR ────────────────────────────── */
.c-eye, .c-pupil {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
}

/* Arc — the logo eye outline */
.c-eye {
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    transition: opacity 0.2s;
}
.c-eye svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.2));
    transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Red pupil */
.c-pupil {
    width: 11px; height: 11px;
    margin: -5.5px 0 0 -5.5px;
    background: #e84040;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(232,64,64,0.9), 0 0 22px rgba(232,64,64,0.4);
    transition: width 0.2s var(--ease), height 0.2s var(--ease),
                margin 0.2s var(--ease), box-shadow 0.2s;
}

/* Hover on interactive elements */
.c-eye.c-active svg {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}
.c-pupil.c-active {
    width: 14px; height: 14px;
    margin: -7px 0 0 -7px;
    background: #ff5555;
    box-shadow: 0 0 16px rgba(232,64,64,1), 0 0 32px rgba(232,64,64,0.5);
}

/* Click */
.c-eye.c-click svg {
    transform: scale(0.88);
}
.c-pupil.c-click {
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
}

/* ── MOBILE FLOATING LOGO ──────────────────────── */
.float-logo {
    position: fixed;
    top: 0; left: 0;
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    opacity: 0.33;
    pointer-events: none;
    touch-action: none;
    z-index: 1;
    will-change: transform;
}
.float-logo img {
    width: 100%; height: 100%;
    display: block;
}

/* ── CANVAS ────────────────────────────────────── */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* ── SHARED LABELS ─────────────────────────────── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--cyber);
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.75;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--white);
}
.text-cyber { color: var(--cyber); }

/* ── GLASS UTILITY ─────────────────────────────── */
.gc {
    background: var(--glass);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: 1px solid var(--border);
    box-shadow:
        inset 0 1px 0 var(--glass-light),
        inset 0 -1px 0 rgba(0,0,0,0.25),
        0 8px 32px rgba(0, 0, 0, 0.55);
}

/* ── BUTTONS ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 1.75rem;
    border-radius: 9px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s;
    will-change: transform;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--cyber) 0%, #00cc7a 100%);
    color: #020c07;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0,255,157,0.28), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0,255,157,0.46), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-ghost {
    background: var(--glass);
    backdrop-filter: blur(16px);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-cyber {
    background: var(--cyber-dim);
    color: var(--cyber);
    border: 1px solid var(--border-cyber);
    backdrop-filter: blur(12px);
}
.btn-cyber:hover {
    background: var(--cyber-mid);
    border-color: var(--cyber);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px var(--cyber-glow);
}

.btn-english {
    background: var(--english-dim);
    color: var(--english);
    border: 1px solid rgba(91,143,255,0.18);
    backdrop-filter: blur(12px);
}
.btn-english:hover {
    background: var(--english-mid);
    border-color: var(--english);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px var(--english-glow);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 9px;
    letter-spacing: 0.04em;
    /* Crimson — defined in contact section override below */
}

/* ── NAV ───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 2rem;
    transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
    background: rgba(2, 5, 8, 0.88);
    backdrop-filter: blur(36px) saturate(1.6);
    -webkit-backdrop-filter: blur(36px) saturate(1.6);
    border-bottom: 1px solid var(--border-cyber);
    box-shadow: 0 1px 0 rgba(0,255,157,0.04), 0 12px 40px rgba(0,0,0,0.6);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    font-family: var(--font-mono);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    transition: opacity 0.2s;
}
.logo:hover { opacity: 0.82; }
.logo-img { width: 30px; height: 30px; flex-shrink: 0; }
.logo-bracket { color: var(--cyber); }
.logo-text {}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}
.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.22s;
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--cyber);
    box-shadow: 0 0 6px var(--cyber);
    transition: width 0.32s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    color: var(--cyber) !important;
    background: var(--cyber-dim) !important;
    border: 1px solid var(--border-cyber) !important;
    padding: 0.42rem 1.1rem;
    border-radius: 7px;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.75rem !important;
    transition: all 0.25s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: rgba(0,255,157,0.22) !important;
    border-color: var(--cyber) !important;
    color: var(--cyber) !important;
    box-shadow: 0 0 18px var(--cyber-glow) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.32s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0;
    background: rgba(2, 5, 8, 0.97);
    backdrop-filter: blur(48px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.52s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mm-link {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.22s;
}
.mm-link:hover { color: var(--white); }
.mm-cta { color: var(--cyber); }

/* ── HERO ──────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 2rem 6rem;
    z-index: 1;
    overflow: hidden;
}
/* scanlines */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 3px,
        rgba(0,0,0,0.035) 3px, rgba(0,0,0,0.035) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 880px;
    text-align: center;
}

/* parallax targets — GPU layer, no layout shift (desktop only) */
@media (pointer: fine) {
    .hero-badge,
    .hero-title,
    .hero-sub,
    .hero-actions,
    .hero-stats {
        will-change: transform;
        backface-visibility: hidden;
    }
}
/* Course graphics: mouse-only parallax on desktop, no will-change on mobile */
@media (pointer: fine) {
    .cyber-graphic,
    .english-graphic {
        will-change: transform;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: var(--cyber);
    background: var(--cyber-dim);
    border: 1px solid var(--border-cyber);
    padding: 0.42rem 1rem;
    border-radius: 100px;
    margin-bottom: 2.8rem;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0,255,157,0.07);
}
.badge-dot {
    width: 5px; height: 5px;
    background: var(--cyber);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyber);
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { box-shadow: 0 0 5px var(--cyber); opacity: 1; }
    50% { box-shadow: 0 0 14px var(--cyber), 0 0 28px rgba(0,255,157,0.3); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(3.8rem, 11vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 1.8rem;
    color: var(--white);
}
.hero-title .line { display: block; }
.hero-title .accent-line {
    color: var(--cyber);
    text-shadow: 0 0 40px rgba(0,255,157,0.45), 0 0 100px rgba(0,255,157,0.12);
    position: relative;
    display: inline-block;
}
/* glitch layers */
.hero-title .accent-line::before,
.hero-title .accent-line::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-title .accent-line::before {
    color: var(--magenta);
    animation: glitchA 9s steps(1) infinite;
}
.hero-title .accent-line::after {
    color: #00e5ff;
    animation: glitchB 9s steps(1) infinite;
}
@keyframes glitchA {
    0%,88%,100% { clip-path:inset(100% 0 0 0); transform:translate(0); }
    89% { clip-path:inset(8% 0 68% 0);  transform:translate(-4px, 1px); }
    90% { clip-path:inset(55% 0 20% 0); transform:translate(3px,-1px); }
    91% { clip-path:inset(80% 0 5% 0);  transform:translate(-2px, 2px); }
    92% { clip-path:inset(100% 0 0 0);  transform:translate(0); }
}
@keyframes glitchB {
    0%,88%,100% { clip-path:inset(100% 0 0 0); transform:translate(0); }
    89% { clip-path:inset(60% 0 15% 0); transform:translate(4px,-1px); }
    90% { clip-path:inset(20% 0 55% 0); transform:translate(-3px, 1px); }
    91% { clip-path:inset(5% 0 85% 0);  transform:translate(2px,-2px); }
    92% { clip-path:inset(100% 0 0 0);  transform:translate(0); }
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 2.8rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--white);
    line-height: 1;
    text-shadow: 0 0 24px rgba(0,255,157,0.2);
}
.stat-plus { font-size: 1.4rem; color: var(--cyber); }
.stat-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 0.4rem;
    font-family: var(--font-mono);
}
.stat-divider {
    width: 1px; height: 38px;
    background: linear-gradient(to bottom, transparent, var(--border-cyber), transparent);
}

.hero-scroll {
    position: absolute;
    bottom: 2.2rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 3;
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--cyber), transparent);
    opacity: 0.4;
    animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ───────────────────────────────────── */
.marquee-bar {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border-cyber);
    border-bottom: 1px solid var(--border-cyber);
    background: rgba(0,255,157,0.018);
    padding: 0.85rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-transform: uppercase;
}
.marquee-track .mx { color: var(--cyber); opacity: 0.45; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── COURSES ───────────────────────────────────── */
.courses { position: relative; z-index: 1; padding: 6rem 0 0; }

.section-header {
    max-width: 1200px;
    margin: 0 auto 4.5rem;
    padding: 0 2rem;
}

.course-block {
    padding: 5.5rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.cyber-block  { background: rgba(0,255,157,0.013); }
.english-block{ background: rgba(91,143,255,0.013); }

.cyber-block::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,255,157,0.055) 0%, transparent 65%);
    pointer-events: none;
}
.english-block::before {
    content: '';
    position: absolute; top: -120px; left: -120px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(91,143,255,0.055) 0%, transparent 65%);
    pointer-events: none;
}

.course-block-inner { max-width: 1200px; margin: 0 auto; }

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.course-number {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}
.course-tag {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    padding: 0.28rem 0.82rem;
    border-radius: 100px;
    text-transform: uppercase;
}
.cyber-tag {
    background: var(--cyber-dim);
    color: var(--cyber);
    border: 1px solid var(--border-cyber);
    box-shadow: 0 0 12px rgba(0,255,157,0.06);
}
.english-tag {
    background: var(--english-dim);
    color: var(--english);
    border: 1px solid rgba(91,143,255,0.18);
}

.course-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.course-content.reverse { direction: rtl; }
.course-content.reverse > * { direction: ltr; }

.course-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--white);
}
.course-desc {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.82;
    margin-bottom: 1.8rem;
    max-width: 460px;
}

.course-topics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.course-topics li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.87rem;
    color: var(--text);
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: border-color 0.28s, transform 0.28s var(--ease), box-shadow 0.28s;
}
.course-topics li:hover { transform: translateX(5px); }
.cyber-block  .course-topics li:hover { border-color: rgba(0,255,157,0.22);  box-shadow: -3px 0 14px rgba(0,255,157,0.06); }
.english-block.course-topics li:hover { border-color: rgba(91,143,255,0.22); box-shadow: -3px 0 14px rgba(91,143,255,0.06); }
.cyber-block   .course-topics li svg { color: var(--cyber); }
.english-block .course-topics li svg { color: var(--english); }

.course-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    font-size: 0.73rem;
    color: var(--muted);
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 0.32rem 0.82rem;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    font-family: var(--font-mono);
    transition: color 0.22s;
}

/* Course visuals */
.course-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Prevent graphic overflowing its grid cell on any screen size */
    overflow: hidden;
    min-width: 0; /* critical for grid overflow prevention */
}

.cyber-graphic {
    position: relative;
    width: 310px; height: 310px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.shield-outer {
    width: 196px; height: 196px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,157,0.06), transparent 70%);
    border: 1px solid rgba(0,255,157,0.14);
    display: flex; align-items: center; justify-content: center;
    animation: shieldPulse 4s ease-in-out infinite;
}
@keyframes shieldPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,255,157,0.2); }
    50%      { box-shadow: 0 0 0 18px transparent; }
}
.shield-inner {
    width: 124px; height: 124px;
    border-radius: 50%;
    background: rgba(0,255,157,0.04);
    border: 1px solid rgba(0,255,157,0.24);
    display: flex; align-items: center; justify-content: center;
}
.shield-icon {
    width: 58px; height: 58px;
    color: var(--cyber);
    filter: drop-shadow(0 0 10px rgba(0,255,157,0.5));
}

.floating-tag {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--cyber);
    background: var(--glass);
    border: 1px solid var(--border-cyber);
    padding: 0.26rem 0.62rem;
    border-radius: 5px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 12px rgba(0,255,157,0.07), inset 0 1px 0 var(--glass-light);
}
.ft1 { top: 28px;  left: 8px;  animation: float1 5s ease-in-out infinite; }
.ft2 { bottom: 44px; right: 8px;  animation: float2 6s ease-in-out infinite; }
.ft3 { top: 54px;  right: 18px; animation: float1 4.2s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0); }    50% { transform: translateY(-9px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); }    50% { transform: translateY(9px);  } }

.english-graphic {
    position: relative;
    width: 310px; height: 310px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.globe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(91,143,255,0.1);
    animation: spinRing linear infinite;
}
.ring1 { width: 248px; height: 248px; animation-duration: 32s; }
.ring2 { width: 184px; height: 184px; animation-duration: 21s; animation-direction: reverse; }
.ring3 { width: 122px; height: 122px; animation-duration: 14s; }
@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.globe-center {
    width: 94px; height: 94px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91,143,255,0.07), transparent 70%);
    border: 1px solid rgba(91,143,255,0.24);
    display: flex; align-items: center; justify-content: center;
    animation: globePulse 4.2s ease-in-out infinite;
}
@keyframes globePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(91,143,255,0.22); }
    50%      { box-shadow: 0 0 0 14px transparent; }
}
.globe-icon {
    width: 52px; height: 52px;
    color: var(--english);
    filter: drop-shadow(0 0 10px rgba(91,143,255,0.5));
}
.word-bubble {
    position: absolute;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--english);
    background: var(--glass);
    border: 1px solid rgba(91,143,255,0.2);
    padding: 0.26rem 0.75rem;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 var(--glass-light);
}
.wb1 { top: 28px;   right: 28px; animation: float1 5s ease-in-out infinite; }
.wb2 { bottom: 46px; left: 18px; animation: float2 6.2s ease-in-out infinite; }
.wb3 { top: 72px;   left: 28px;  animation: float1 4.6s ease-in-out infinite; }

/* ── WHY US ────────────────────────────────────── */
.why-us {
    position: relative; z-index: 1;
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
}
.why-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
}
.why-desc {
    color: var(--muted);
    margin: 1.2rem 0 2.2rem;
    line-height: 1.82;
    font-size: 0.94rem;
}
.why-right { display: flex; flex-direction: column; gap: 0.75rem; }

.reason-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
    box-shadow: inset 0 1px 0 var(--glass-light);
}
.reason-card:hover {
    border-color: rgba(0,255,157,0.14);
    transform: translateX(6px);
    box-shadow: inset 0 1px 0 var(--glass-light), -4px 0 20px rgba(0,255,157,0.05);
}
.reason-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--muted);
}
.reason-icon svg { width: 18px; height: 18px; }
.cyber-icon   { background: var(--cyber-dim);   border-color: var(--border-cyber);          color: var(--cyber);   }
.english-icon { background: var(--english-dim); border-color: rgba(91,143,255,0.16);         color: var(--english); }
.reason-card h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.22rem; color: var(--white); }
.reason-card p  { font-size: 0.8rem;  color: var(--muted); line-height: 1.65; }

/* ── CTA BANNER ────────────────────────────────── */
.cta-banner {
    position: relative; z-index: 1;
    background: rgba(0,255,157,0.014);
    border-top: 1px solid var(--border-cyber);
    border-bottom: 1px solid var(--border-cyber);
    padding: 5.5rem 2rem;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 900px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,255,157,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    max-width: 1200px; margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem; flex-wrap: wrap;
}
.cta-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: var(--cyber);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    opacity: 0.65;
}
.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
}
.cta-split { display: flex; align-items: center; gap: 1.2rem; }
.cta-card {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 1.55rem 2.2rem;
    border-radius: 13px; border: 1px solid;
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: inset 0 1px 0 var(--glass-light);
    transition: all 0.3s var(--ease);
    min-width: 190px;
}
.cta-card-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    font-weight: 700;
}
.cta-card-action { font-size: 0.94rem; font-weight: 600; }
.cyber-cta { border-color: rgba(0,255,157,0.2); color: var(--cyber); }
.cyber-cta:hover {
    border-color: var(--cyber);
    background: var(--cyber-mid);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 var(--glass-shine), 0 10px 32px rgba(0,255,157,0.18);
}
.english-cta { border-color: rgba(91,143,255,0.2); color: var(--english); }
.english-cta:hover {
    border-color: var(--english);
    background: var(--english-mid);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 var(--glass-shine), 0 10px 32px rgba(91,143,255,0.18);
}
.cta-or { font-size: 0.74rem; color: var(--muted); }

/* ── MAP SECTION ───────────────────────────────── */
.map-section {
    position: relative; z-index: 1;
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
}
.map-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}
.map-desc { color: var(--muted); margin: 1rem 0 2rem; line-height: 1.78; font-size: 0.94rem; }
.map-btn { gap: 0.55rem; }

.map-card {
    position: relative;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    background: var(--glass);
    backdrop-filter: blur(24px);
    box-shadow: inset 0 1px 0 var(--glass-light), 0 12px 40px rgba(0,0,0,0.45);
    transition: border-color 0.32s var(--ease), transform 0.32s var(--ease), box-shadow 0.32s;
    cursor: pointer; text-decoration: none;
}
.map-card:hover {
    border-color: var(--cyber);
    transform: translateY(-5px);
    box-shadow: inset 0 1px 0 var(--glass-shine), 0 20px 56px rgba(0,255,157,0.1);
}
.map-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(0,255,157,0.065) 1px, transparent 1px);
    background-size: 26px 26px;
}
.map-pin-wrap {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem; z-index: 1;
}
.map-pin-pulse {
    position: absolute;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--cyber-dim);
    border: 1px solid var(--cyber-glow);
    animation: mapPulse 2.6s ease-in-out infinite;
}
@keyframes mapPulse {
    0%,100% { transform: scale(1); opacity: 0.9; }
    50%     { transform: scale(1.55); opacity: 0; }
}
.map-pin {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--cyber-dim);
    border: 1.5px solid var(--cyber);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyber); z-index: 1;
    box-shadow: 0 0 18px var(--cyber-glow);
}
.map-card-footer {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.28rem; z-index: 1;
}
.map-card-label {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
}
.map-card-action { font-size: 0.84rem; font-weight: 600; color: var(--cyber); }

/* ── CONTACT ───────────────────────────────────── */
.text-crimson { color: var(--crimson); }

.contact {
    position: relative; z-index: 1;
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 60%, rgba(220,20,60,0.04) 0%, transparent 55%);
}
.contact-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem; align-items: start;
}
.contact-desc { color: var(--muted); margin: 1.2rem 0 2rem; line-height: 1.78; font-size: 0.94rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.7rem; }
.ci-row {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.85rem; color: var(--muted);
}
.ci-row svg { flex-shrink: 0; }
.ci-link {
    text-decoration: none;
    transition: color 0.22s, gap 0.28s var(--ease);
    padding: 0.25rem 0;
}
.ci-link:hover { color: var(--text); gap: 1.05rem; }

/* Form — black base, crimson/purple accents */
.contact-form {
    display: flex; flex-direction: column; gap: 1rem;
    background: rgba(4, 2, 8, 0.88);
    backdrop-filter: blur(36px) saturate(1.4);
    border: 1px solid rgba(220,20,60,0.22);
    border-radius: 18px; padding: 2.2rem;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.4),
        0 20px 60px rgba(0,0,0,0.65),
        0 0 40px rgba(124,58,237,0.06);
}
[data-theme="light"] .contact-form {
    background: rgba(255,255,255,0.92);
    border-color: rgba(159,18,57,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 20px 60px rgba(0,0,0,0.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.fg { display: flex; flex-direction: column; gap: 0.42rem; }
.fg label {
    font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.14em; color: var(--muted);
    text-transform: uppercase; font-family: var(--font-mono);
}
.fg input, .fg select {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px; padding: 0.68rem 0.92rem;
    color: var(--white); font-family: var(--font-sans); font-size: 0.88rem;
    transition: border-color 0.26s, box-shadow 0.26s;
    outline: none; -webkit-appearance: none;
    backdrop-filter: blur(8px);
}
[data-theme="light"] .fg input,
[data-theme="light"] .fg select {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.12);
    color: var(--text);
}
.fg input::placeholder { color: var(--muted); }
.fg input:focus, .fg select:focus {
    border-color: rgba(220,20,60,0.55);
    box-shadow: 0 0 0 3px rgba(220,20,60,0.08), 0 0 18px rgba(220,20,60,0.08);
}
.fg select { cursor: pointer; }
.fg select option { background: #080210; }
[data-theme="light"] .fg select option { background: #fff; color: #1c2b38; }

/* Course selector — crimson / purple */
.course-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.cs-option input { display: none; }
.cs-card {
    display: flex; align-items: center; gap: 0.62rem;
    padding: 0.78rem 1rem; border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.28);
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.26s var(--ease);
    color: var(--muted); backdrop-filter: blur(8px);
}
[data-theme="light"] .cs-card {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}
.cs-card:hover { border-color: rgba(255,255,255,0.12); color: var(--text); }
.cs-option input:checked + .cs-cyber {
    border-color: var(--crimson);
    background: var(--crimson-dim);
    color: var(--crimson);
    box-shadow: 0 0 16px var(--crimson-glow);
}
.cs-option input:checked + .cs-english {
    border-color: var(--purple);
    background: var(--purple-dim);
    color: var(--purple);
    box-shadow: 0 0 16px var(--purple-glow);
}

/* Submit button — crimson */
.btn-submit {
    background: linear-gradient(135deg, var(--crimson) 0%, #a50e2e 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(220,20,60,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(220,20,60,0.5), inset 0 1px 0 rgba(255,255,255,0.18);
    background: linear-gradient(135deg, #e8244a 0%, var(--crimson) 100%);
}

/* Time slots */
.smena-options { display: flex; flex-wrap: wrap; gap: 0.52rem; }
.smena-option input { display: none; }
.smena-slot {
    display: flex; flex-direction: column; gap: 0.18rem;
    padding: 0.62rem 1rem; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.28);
    cursor: pointer; transition: all 0.3s var(--ease);
    color: var(--muted); backdrop-filter: blur(8px);
    min-width: 100px;
}
[data-theme="light"] .smena-slot {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}
.smena-slot:hover { border-color: rgba(255,255,255,0.14); color: var(--text); }

/* Slot header (icon + time) */
.slot-header {
    display: flex; align-items: center; gap: 0.4rem;
}
.period-icon { flex-shrink: 0; opacity: 0.65; }
.slot-time { font-size: 0.88rem; font-weight: 700; font-family: var(--font-mono); }
.slot-age  { font-size: 0.6rem; font-weight: 400; padding-left: 1.3rem; }

/* ── SELECTED: DAY slot — warm amber-to-sky, solid bg, bright text ── */
.smena-option input:checked + .cyber-slot.period-day,
.smena-option input:checked + .english-slot.period-day,
.smena-slot[data-active="day"] {
    border-color: #f59e0b !important;
    background: linear-gradient(135deg, #92400e 0%, #1e3a5f 100%) !important;
    color: #fef3c7 !important;         /* bright cream — 9:1 on dark amber */
    box-shadow: 0 0 20px rgba(245,158,11,0.35), inset 0 1px 0 rgba(254,243,199,0.15) !important;
}
.smena-option input:checked + .period-day .period-icon,
.smena-slot[data-active="day"] .period-icon {
    opacity: 1;
    color: #fde68a;
}
.smena-option input:checked + .period-day .slot-time,
.smena-slot[data-active="day"] .slot-time { color: #fff; }
.smena-option input:checked + .period-day .slot-age,
.smena-slot[data-active="day"] .slot-age  { color: #fde68a; opacity: 1; }

/* ── SELECTED: NIGHT slot — deep indigo, solid bg, bright lavender text ── */
.smena-option input:checked + .cyber-slot.period-night,
.smena-option input:checked + .english-slot.period-night,
.smena-slot[data-active="night"] {
    border-color: #7c3aed !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%) !important;
    color: #ede9fe !important;         /* bright lavender — 10:1 on dark indigo */
    box-shadow: 0 0 20px rgba(124,58,237,0.45), inset 0 1px 0 rgba(237,233,254,0.12) !important;
}
.smena-option input:checked + .period-night .period-icon,
.smena-slot[data-active="night"] .period-icon {
    opacity: 1;
    color: #c4b5fd;
}
.smena-option input:checked + .period-night .slot-time,
.smena-slot[data-active="night"] .slot-time { color: #fff; }
.smena-option input:checked + .period-night .slot-age,
.smena-slot[data-active="night"] .slot-age  { color: #c4b5fd; opacity: 1; }

/* ── AMENITIES STRIP ───────────────────────────── */
.amenities-strip {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0 2rem;
}
.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transition: border-color 0.28s, transform 0.28s var(--ease);
}
.amenity-item:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.amenity-item svg {
    flex-shrink: 0;
    color: var(--muted);
    margin-top: 2px;
    opacity: 0.7;
}
.amenity-item div { display: flex; flex-direction: column; gap: 0.22rem; }
.amenity-item strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}
.amenity-item span {
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.55;
}
@media (max-width: 900px) {
    .amenities-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .amenities-strip { grid-template-columns: 1fr; padding: 0 1.2rem; }
}

/* ── FREE CLUBS (COMING SOON) ──────────────────── */
.clubs-section {
    position: relative; z-index: 1;
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(220,20,60,0.055) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(124,58,237,0.045) 0%, transparent 55%);
}
.clubs-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.clubs-header {
    max-width: 600px;
    margin-bottom: 3.5rem;
}
.clubs-desc {
    margin-top: 1.2rem;
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.82;
}
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.club-card {
    padding: 2rem 1.8rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
    box-shadow: inset 0 1px 0 var(--glass-light);
}
.club-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(220,20,60,0.04) 0%,
        rgba(124,58,237,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.club-card:hover {
    border-color: rgba(220,20,60,0.2);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 var(--glass-light), 0 12px 40px rgba(220,20,60,0.08);
}
.club-card:hover::before { opacity: 1; }

.club-day-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.club-day-num {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    opacity: 0.15;
}
.club-day-full {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
}
.club-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--crimson);
    background: var(--crimson-dim);
    border: 1px solid rgba(220,20,60,0.2);
    padding: 0.3rem 0.82rem;
    border-radius: 100px;
    width: fit-content;
}
.club-badge .badge-dot {
    width: 5px; height: 5px;
    background: var(--crimson);
    box-shadow: 0 0 6px var(--crimson);
    animation: blink 2s ease-in-out infinite;
}
.club-note {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
    margin-top: auto;
}
@media (max-width: 768px) {
    .clubs-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .clubs-section { padding: 5rem 1.5rem; }
}
@media (max-width: 480px) {
    .clubs-section { padding: 4rem 1.2rem; }
    .club-card { padding: 1.5rem 1.3rem; }
    .club-day-num { font-size: 2rem; }
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
    position: relative; z-index: 1;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-cyber);
    padding: 3rem 2rem;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: flex-start;
    justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.footer-logo { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; }
.footer-brand {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--white); margin-bottom: 0.4rem; transition: opacity 0.22s;
}
.footer-brand:hover { opacity: 0.78; }
.footer-logo-img { width: 26px; height: 26px; flex-shrink: 0; }
.footer-logo p { font-family: var(--font-sans); font-size: 0.7rem; color: var(--muted); font-weight: 400; margin-top: 0.1rem; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color 0.22s; letter-spacing: 0.04em; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; flex-direction: column; gap: 0.62rem; }
.social-link {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--muted); transition: color 0.24s, gap 0.28s var(--ease);
}
.social-link:hover { gap: 0.92rem; }
.social-link:nth-child(1):hover { color: #29b5e8; }
.social-link:nth-child(2):hover { color: #e1306c; }
.social-link:nth-child(3):hover { color: #ff3232; }
.footer-copy {
    width: 100%; font-size: 0.7rem; color: var(--muted);
    padding-top: 1.5rem; border-top: 1px solid var(--border);
    font-family: var(--font-mono); letter-spacing: 0.06em;
}

/* ── TOAST ─────────────────────────────────────── */
.toast {
    position: fixed; bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--glass);
    backdrop-filter: blur(36px);
    border: 1px solid var(--cyber);
    color: var(--cyber); padding: 0.82rem 1.6rem;
    border-radius: 100px; font-size: 0.84rem; font-weight: 500;
    display: flex; align-items: center; gap: 0.6rem;
    z-index: 999; opacity: 0;
    transition: transform 0.42s var(--ease), opacity 0.42s;
    box-shadow: 0 8px 36px rgba(0,0,0,0.55), 0 0 24px rgba(0,255,157,0.14);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
    .course-content, .course-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2.5rem;
    }
    /* Centre graphics in single-column layout */
    .course-visual { justify-content: center; }
    .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .map-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .map-card  { aspect-ratio: 4/3; }
    /* Constrain large ring so it can't push outside card bounds */
    .english-graphic { overflow: hidden; border-radius: 50%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger    { display: flex; }

    /* Hero */
    .hero      { padding: 7rem 1.5rem 5rem; }
    .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
    .hero-sub   { font-size: 0.95rem; }
    .hero-stats { gap: 1.8rem; flex-wrap: wrap; justify-content: center; }
    .stat-num   { font-size: 2rem; }

    /* Courses */
    .course-block         { padding: 4rem 1.5rem; }
    .course-title         { font-size: clamp(2rem, 8vw, 3rem); }
    .cyber-graphic, .english-graphic {
        width: 260px; height: 260px;
    }

    /* Form */
    .form-row              { grid-template-columns: 1fr; }
    .course-selector       { grid-template-columns: 1fr; }
    .contact-form          { padding: 1.6rem; }

    /* CTA / split */
    .cta-split { flex-direction: column; width: 100%; }
    .cta-card  { min-width: unset; width: 100%; }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 1.6rem; }

    /* Why-us & others already handle at 1024px, tighten padding */
    .why-us, .contact, .map-section { padding: 5rem 1.5rem; }
    .cta-banner { padding: 4rem 1.5rem; }
    .section-header { padding: 0 1.5rem; margin-bottom: 3rem; }
}

@media (max-width: 480px) {
    /* Spacing */
    .hero       { padding: 6rem 1.2rem 4rem; }
    .course-block { padding: 3.5rem 1.2rem; }
    .why-us, .contact, .map-section { padding: 4rem 1.2rem; }
    .cta-banner { padding: 3.5rem 1.2rem; }
    .section-header { padding: 0 1.2rem; margin-bottom: 2.5rem; }

    /* Hero stats — hide divider when wrapping */
    .hero-stats  { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
    .stat-divider { display: none; }
    .stat-num     { font-size: 1.8rem; }
    .stat-label   { font-size: 0.62rem; }

    /* Hero text */
    .hero-title   { font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1; }
    .hero-sub     { font-size: 0.88rem; margin-bottom: 2rem; }
    .hero-actions { gap: 0.6rem; }
    .hero-actions .btn { padding: 0.68rem 1.2rem; font-size: 0.82rem; }

    /* Graphics — clip overflow, scale down rings */
    .cyber-graphic, .english-graphic {
        width: 200px !important;
        height: 200px !important;
        overflow: hidden;
    }
    /* Scale English globe rings to fit 200px container */
    .ring1 { width: 185px !important; height: 185px !important; }
    .ring2 { width: 138px !important; height: 138px !important; }
    .ring3 { width: 92px  !important; height: 92px  !important; }
    /* Scale cyber shield to fit */
    .shield-outer { width: 155px !important; height: 155px !important; }
    .shield-inner { width: 98px  !important; height: 98px  !important; }
    .shield-icon  { width: 44px  !important; height: 44px  !important; }

    /* Hide decorative floating tags / word bubbles on very small screens */
    .floating-tag, .word-bubble { display: none; }

    /* Course text */
    .course-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .course-desc  { font-size: 0.86rem; }
    .course-topics li { font-size: 0.82rem; padding: 0.44rem 0.7rem; }

    /* Smena — stack slots vertically (flex container, NOT grid) */
    .smena-options { flex-direction: column; }
    .smena-slot    { width: 100%; }

    /* Contact form */
    .contact-form { padding: 1.2rem; gap: 0.85rem; }
    .fg label { font-size: 0.6rem; }
    .fg input, .fg select { padding: 0.6rem 0.8rem; font-size: 0.84rem; }

    /* Reason cards already stacked at 1024px, tighten padding */
    .reason-card { padding: 1rem 1.1rem; }

    /* Why-us */
    .why-inner { gap: 2rem; }

    /* Section titles */
    .section-title { font-size: clamp(1.8rem, 7vw, 3rem); }
    .cta-title     { font-size: clamp(2rem, 8vw, 3.2rem); }

    /* Sticky CTA */
    .sticky-cta span { display: none; }
    .sticky-cta { width: 48px; height: 48px; padding: 0; justify-content: center; }
}

/* ── THEME TOGGLE ───────────────────────────────── */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    padding: 0.38rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    cursor: pointer;
}
.theme-toggle:hover { color: var(--cyber); border-color: var(--border-cyber); }
.icon-sun  { display: none; }
.icon-moon { display: block; }

/* ── STICKY CTA ─────────────────────────────────── */
.sticky-cta {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem;
    background: var(--cyber);
    color: #020508;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 0 22px rgba(0,255,157,0.45), 0 4px 16px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(16px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
                box-shadow 0.25s, background 0.25s;
}
.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.sticky-cta:hover {
    background: #00e88d;
    box-shadow: 0 0 32px rgba(0,255,157,0.6), 0 6px 20px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .sticky-cta { bottom: 1.2rem; right: 1.2rem; }
}

/* ── HONEYPOT (invisible to humans) ───────────── */
.hp-trap {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}

/* ── QILINGAN GLITCH ───────────────────────────── */
#hero-qilingan { display: inline-block; transition: color 0.05s; }
#hero-qilingan.glitching {
    color: var(--magenta);
    text-shadow: 3px 0 var(--cyber), -3px 0 var(--magenta);
    animation: qilinganFlash 0.2s steps(3) forwards;
}
@keyframes qilinganFlash {
    0%   { clip-path: inset(0 0 80% 0); transform: translateX(-4px); }
    33%  { clip-path: inset(40% 0 30% 0); transform: translateX(4px); }
    66%  { clip-path: inset(70% 0 5% 0);  transform: translateX(-2px); }
    100% { clip-path: none; transform: none; }
}

/* ── CURSOR SMILE ───────────────────────────────── */
.cursor-smile {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translate(-50%, -60%);
    animation: csIn 0.35s var(--ease) both;
}
.cursor-smile.cs-out {
    animation: csOut 0.4s var(--ease) forwards;
}
@keyframes csIn {
    from { opacity: 0; transform: translate(-50%, -60%) scale(0.5); }
    to   { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
@keyframes csOut {
    from { opacity: 1; transform: translate(-50%, -60%) scale(1); }
    to   { opacity: 0; transform: translate(-50%, -60%) scale(0.6) translateY(-12px); }
}

.cs-eyes {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cs-eye {
    width: 44px; height: 44px;
    filter: drop-shadow(0 0 6px rgba(232,64,64,0.5));
    animation: csEyePop 0.4s var(--ease) both;
}
.cs-eye:nth-child(2) { animation-delay: 0.1s; }
@keyframes csEyePop {
    from { opacity: 0; transform: scale(0.3) translateY(-8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cs-mouth {
    width: 72px; height: 32px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.2));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    animation: csMouthIn 0.4s 0.38s var(--ease) forwards;
}
@keyframes csMouthIn {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
}

/* ── RIZZ MODE ─────────────────────────────────── */
.c-eye.c-rizz svg {
    transform: rotate(18deg) scale(1.12);
    filter: drop-shadow(0 0 10px rgba(255,200,50,0.6)) !important;
    transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.c-pupil.c-rizz {
    background: #ffcc22 !important;
    box-shadow: 0 0 14px rgba(255,200,50,0.95), 0 0 30px rgba(255,200,50,0.4) !important;
    width: 13px !important; height: 13px !important;
    margin: -6.5px 0 0 -6.5px !important;
}
.rizz-emoji {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    font-size: 20px;
    animation: rizzFloat 0.9s var(--ease) forwards;
}
@keyframes rizzFloat {
    from { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
    to   { opacity: 0; transform: translateY(-55px) scale(1.5) rotate(15deg); }
}

/* ── SCAN BEAM ──────────────────────────────────── */
#scan-beam {
    position: fixed;
    inset: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    overflow: visible;
}
#scan-beam.active { opacity: 1; }
#scan-line {
    stroke: url(#beamGrad);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(232,64,64,0.8));
}

/* Gradient definition must be inline in the SVG — handled in HTML defs */
#scan-beam defs { display: block; }

/* ── SURVEILLANCE HACK ─────────────────────────── */

/* Scramble phase — rapid jitter while chars cycle */
.surveillance-scanning {
    font-family: "Space Mono", monospace !important;
    animation: survScan 0.08s steps(1) infinite;
    will-change: transform;
}
@keyframes survScan {
    0%   { transform: translateX(0)    skewX(0deg);  opacity: 1;    }
    20%  { transform: translateX(-2px) skewX(-1deg); opacity: 0.88; }
    40%  { transform: translateX(1px)  skewX(0.5deg);opacity: 1;    }
    60%  { transform: translateX(-1px) skewX(0deg);  opacity: 0.92; }
    80%  { transform: translateX(2px)  skewX(1deg);  opacity: 1;    }
    100% { transform: translateX(0)    skewX(0deg);  opacity: 1;    }
}

/* Hacked state — stable but unmistakably wrong */
.surveillance-hacked {
    color: #e84040 !important;
    font-family: "Space Mono", monospace !important;
    text-shadow: 1px 0 rgba(0,255,157,0.5), -1px 0 rgba(255,45,120,0.5);
    animation: survHeld 2.5s steps(1) infinite;
}
@keyframes survHeld {
    0%, 90%  { opacity: 1; }
    92%      { opacity: 0.6; transform: translateX(-1px); }
    94%      { opacity: 1;   transform: translateX(1px);  }
    96%      { opacity: 0.8; transform: translateX(0);    }
    100%     { opacity: 1; }
}

/* Eye scanning state */
.c-eye.c-scanning svg {
    filter: drop-shadow(0 0 10px rgba(232,64,64,0.9))
            drop-shadow(0 0 22px rgba(232,64,64,0.4)) !important;
    animation: eyePulse 0.6s ease-in-out infinite alternate;
}
.c-pupil.c-scanning {
    background: #ff1a1a !important;
    width: 14px !important; height: 14px !important;
    margin: -7px 0 0 -7px !important;
    box-shadow: 0 0 18px rgba(255,26,26,1),
                0 0 36px rgba(255,26,26,0.5) !important;
    animation: pupilPulse 0.6s ease-in-out infinite alternate;
}
@keyframes eyePulse {
    from { opacity: 1; }
    to   { opacity: 0.55; }
}
@keyframes pupilPulse {
    from { transform: translate(var(--px,0px), var(--py,0px)) scale(1); }
    to   { transform: translate(var(--px,0px), var(--py,0px)) scale(1.25); }
}
