/* ============================================================
   SAU COMPUTER ACADEMY — style.css
   Dark luxury · RGB neon restraint · Glassmorphism
   ============================================================ */

/* ---------- 1. PROPERTIES & RESET ---------- */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg:          #050816;
  --bg-2:        #0a0f24;
  --surface:     rgba(255,255,255,0.03);
  --surface-2:   rgba(255,255,255,0.06);
  --border:      rgba(255,255,255,0.08);
  --border-hi:   rgba(255,255,255,0.14);
  --primary:     #00F5FF;
  --secondary:   #7B61FF;
  --accent:      #00FF88;
  --pink:        #FF6B9D;
  --text:        #ffffff;
  --text-soft:   rgba(255,255,255,0.72);
  --text-mute:   rgba(255,255,255,0.5);
  --ease-quiet:    cubic-bezier(.22, 1, .36, 1);
  --ease-precise:  cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
  --container: 1280px;
  --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--primary); color: var(--bg); }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  cursor: none;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- 2. CINEMATIC SPLASH SCREEN ---------- */
.splash {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  transition: transform 1s var(--ease-emphasis), opacity 0.8s var(--ease-quiet), visibility 0.8s;
  overflow: hidden;
}
.splash.is-done {
  transform: scale(1.15);
  opacity: 0;
  visibility: hidden;
}
.splash__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,245,255,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 30% 70%, rgba(123,97,255,0.06) 0%, transparent 50%);
  animation: splashBg 4s ease-in-out infinite;
}
@keyframes splashBg {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.splash__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.splash__logo-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.splash__logo {
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(0.5);
  animation: splashLogoIn 1.5s var(--ease-emphasis) 0.3s forwards;
  filter: drop-shadow(0 0 30px rgba(0,245,255,0.4));
}
@keyframes splashLogoIn {
  to { opacity: 1; transform: scale(1); }
}
.splash__logo-glow {
  position: absolute; inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.3), transparent 60%);
  opacity: 0;
  animation: splashGlow 2s ease-in-out 0.5s forwards;
}
@keyframes splashGlow {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; transform: scale(1); }
}
.splash__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0;
}
.splash__ring--1 {
  width: 200px; height: 200px;
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: splashRing 2s linear 0.5s infinite, splashRingIn 0.8s ease 0.5s forwards;
}
.splash__ring--2 {
  width: 240px; height: 240px;
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
  animation: splashRing 3s linear 0.7s infinite reverse, splashRingIn 0.8s ease 0.7s forwards;
}
.splash__ring--3 {
  width: 280px; height: 280px;
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  animation: splashRing 4s linear 0.9s infinite, splashRingIn 0.8s ease 0.9s forwards;
}
@keyframes splashRing {
  to { transform: rotate(360deg); }
}
@keyframes splashRingIn {
  to { opacity: 0.4; }
}
.splash__text { text-align: center; opacity: 0; animation: splashFadeIn 1s ease 1s forwards; }
@keyframes splashFadeIn { to { opacity: 1; } }
.splash__title {
  font-size: 1.4rem; font-weight: 700; letter-spacing: 0.15em;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.splash__title span {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: splashChar 0.5s var(--ease-emphasis) var(--d, 0s) forwards;
}
@keyframes splashChar { to { opacity: 1; transform: translateY(0); } }
.splash__space { width: 0.5em; }
.splash__tagline {
  font-size: 0.7rem; letter-spacing: 0.4em; color: var(--primary);
  margin-top: 0.5rem; text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  animation: splashFadeIn 1s ease 2.2s forwards;
}
.splash__loader {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  margin-top: 1rem;
  opacity: 0;
  animation: splashFadeIn 0.8s ease 2.5s forwards;
}
.splash__bar {
  width: 260px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px; overflow: hidden;
}
.splash__progress {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 100%;
  animation: gradShift 1.5s linear infinite;
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(0,245,255,0.5);
}
.splash__percent {
  font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-mute);
  font-family: 'Space Grotesk', sans-serif;
}
.splash__enter {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  animation: splashEnterPulse 1.5s ease-in-out infinite;
}
.splash__enter.show { animation: splashEnterPulse 1.5s ease-in-out infinite, splashFadeIn 0.5s ease forwards; }
@keyframes splashEnterPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------- 3. UTILITIES ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.grad-text {
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.eyebrow {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
}

.section { padding: 8rem 0; position: relative; z-index: 2; }
.section-head { max-width: 760px; margin: 0 auto 5rem; text-align: center; }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.section-lead { color: var(--text-soft); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 0.95rem;
  border-radius: 999px;
  position: relative;
  transition: transform 0.4s var(--ease-quiet), box-shadow 0.4s var(--ease-quiet);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(0,245,255,0.3), 0 12px 40px -10px rgba(0,245,255,0.5);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0,245,255,0.5), 0 18px 50px -10px rgba(123,97,255,0.7); }
.btn--ghost {
  border: 1px solid var(--border-hi);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- 5. CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  transition: width 0.4s var(--ease-quiet), height 0.4s var(--ease-quiet), border-color 0.3s;
}
.cursor-dot.is-active { width: 12px; height: 12px; background: var(--accent); }
.cursor-ring.is-active { width: 60px; height: 60px; border-color: var(--accent); }

/* ---------- 6. PARTICLES & BG ---------- */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.rgb-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.rgb-bg__blob {
  position: absolute; border-radius: 50%; filter: blur(120px);
  opacity: 0.35; will-change: transform;
}
.rgb-bg__blob--1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -10%; left: -10%;
  animation: blobFloat1 18s ease-in-out infinite;
}
.rgb-bg__blob--2 {
  width: 500px; height: 500px;
  background: var(--secondary);
  bottom: -10%; right: -10%;
  animation: blobFloat2 22s ease-in-out infinite;
}
.rgb-bg__blob--3 {
  width: 400px; height: 400px;
  background: var(--accent);
  top: 40%; left: 50%;
  opacity: 0.18;
  animation: blobFloat3 20s ease-in-out infinite;
}
@keyframes blobFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-80px, -40px); } }
@keyframes blobFloat3 { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-30%, 80px); } }

/* ---------- 7. NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease-quiet), backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.nav__container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 0.85rem; }
.nav__logo-img {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.3));
  transition: filter 0.4s;
}
.nav__logo:hover .nav__logo-img { filter: drop-shadow(0 0 15px rgba(0,245,255,0.6)); }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-text strong { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em; }
.nav__logo-text small { font-size: 0.68rem; color: var(--text-mute); letter-spacing: 0.1em; }

.nav__menu {
  display: flex; align-items: center; gap: 0.3rem;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem;
}
.nav__link {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
  font-family: 'Space Grotesk', sans-serif;
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--bg) !important;
  font-weight: 600 !important;
  border-radius: 999px;
}
.nav__cta:hover { transform: translateY(-1px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 101; }
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-quiet), opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__border {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), transparent);
  background-size: 200% 100%;
  animation: gradShift 4s linear infinite;
  transition: opacity 0.4s;
}
.nav.is-scrolled .nav__border { opacity: 1; }

/* ---------- 8. HERO ---------- */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative; z-index: 2;
  display: flex; align-items: center;
}
.hero__grid {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem; align-items: center;
}
.hero__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.05;
  margin-bottom: 1.8rem;
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease infinite;
}
.hero__subtitle {
  color: var(--text-soft);
  font-size: 1.05rem; line-height: 1.7;
  max-width: 540px; margin-bottom: 2rem;
}
.hero__typing {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 2.2rem;
  max-width: 380px;
  font-family: 'Space Grotesk', sans-serif;
}
.hero__typing-label { font-size: 0.75rem; color: var(--text-mute); letter-spacing: 0.2em; text-transform: uppercase; }
.hero__typing-text { font-size: 1rem; font-weight: 600; color: var(--accent); }
.hero__cursor { color: var(--primary); animation: blink 1s steps(2) infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}
.stat__label { font-size: 0.78rem; color: var(--text-mute); letter-spacing: 0.05em; }

/* Hero visual scene */
.hero__visual { position: relative; height: 540px; }
.hero__scene { position: relative; width: 100%; height: 100%; }
.float-card {
  position: absolute;
  background: rgba(10, 15, 36, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  will-change: transform;
}
.float-card--monitor {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 440px;
  animation: floatY 6s ease-in-out infinite;
  box-shadow: 0 30px 80px -20px rgba(0,245,255,0.25), 0 0 0 1px rgba(0,245,255,0.1);
}
.float-card__bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.float-card__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-hi); }
.float-card__bar span:nth-child(1) { background: #FF6B6B; }
.float-card__bar span:nth-child(2) { background: #FFD93D; }
.float-card__bar span:nth-child(3) { background: var(--accent); }
.float-card__body { padding: 1.5rem; }
.float-card__code {
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 0.86rem; line-height: 1.8;
  color: var(--text-soft);
}
.c-key { color: var(--secondary); }
.c-var { color: var(--primary); }
.c-fn { color: var(--accent); }
.c-str { color: var(--pink); }
.c-prop { color: var(--text-mute); }

.float-card--badge {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
}
.float-card--badge svg { color: var(--primary); }
.float-card--badge strong { display: block; font-size: 0.85rem; font-family: 'Space Grotesk', sans-serif; }
.float-card--badge small { font-size: 0.7rem; color: var(--text-mute); }
.float-card--badge-1 {
  top: 8%; left: -5%;
  animation: floatY 5s ease-in-out infinite 0.5s;
  box-shadow: 0 20px 50px -15px rgba(0,245,255,0.4);
}
.float-card--badge-1 svg { color: var(--accent); }
.float-card--badge-2 {
  bottom: 10%; right: -5%;
  animation: floatY 5.5s ease-in-out infinite 1s;
  box-shadow: 0 20px 50px -15px rgba(123,97,255,0.4);
}
.float-card--badge-2 svg { color: var(--secondary); }

.float-card--chip {
  bottom: 25%; left: 5%;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text);
  animation: floatY 4.5s ease-in-out infinite 1.5s;
  position: relative; overflow: hidden;
}
.float-card--chip strong { position: relative; z-index: 2; }
.float-card__chip-glow {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  animation: gradShift 3s linear infinite;
  opacity: 0.2;
}

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-card--monitor { animation-name: floatYmonitor; }
@keyframes floatYmonitor { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 14px)); } }
.float-card--badge-1 { animation-name: floatY1; }
@keyframes floatY1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -10px); } }
.float-card--badge-2 { animation-name: floatY2; }
@keyframes floatY2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -12px); } }
.float-card--chip { animation-name: floatY3; }
@keyframes floatY3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -8px); } }

.hero__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}
.hero__ring--1 {
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(0,245,255,0.08);
  animation: spin 30s linear infinite;
}
.hero__ring--2 {
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(123,97,255,0.1);
  animation: spin 22s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-mute);
  font-family: 'Space Grotesk', sans-serif;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--primary), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--primary);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ---------- 9. ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  padding: 2rem 1.8rem;
  transition: transform 0.5s var(--ease-quiet), border-color 0.4s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,245,255,0.06), rgba(123,97,255,0.06));
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(0,245,255,0.25); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,245,255,0.12), rgba(123,97,255,0.12));
  border: 1px solid var(--border-hi);
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease-quiet);
}
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.08); color: var(--accent); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.feature-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.65; }

/* ---------- 10. WHY CHOOSE US ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.why__media { position: relative; }
.why__media-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-hi);
  aspect-ratio: 4/5;
}
.why__media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-quiet); }
.why__media-frame:hover img { transform: scale(1.06); }
.why__media-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,245,255,0.15), transparent 50%, rgba(123,97,255,0.15));
  pointer-events: none;
}
.why__media-tag {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
}
.why__media-tag strong { display: block; font-size: 0.95rem; font-family: 'Space Grotesk', sans-serif; }
.why__media-tag small { font-size: 0.75rem; color: var(--text-mute); }

.timeline { margin-top: 2.5rem; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0.4;
}
.timeline__item { position: relative; padding-bottom: 1.8rem; display: flex; gap: 1.2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -1.5rem; top: 6px;
  width: 11px; height: 11px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  margin-left: 0.5px;
  box-shadow: 0 0 0 4px rgba(0,245,255,0.12);
}
.timeline__body h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline__body p { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- 11. COURSES ---------- */
.courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.course-card {
  position: relative; border-radius: 18px; padding: 1px;
  background: var(--border);
  transition: transform 0.5s var(--ease-quiet);
}
.course-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 19px;
  background: conic-gradient(from var(--angle), var(--primary), var(--secondary), var(--accent), var(--primary));
  opacity: 0; transition: opacity 0.5s;
  z-index: -1;
  animation: rotate 4s linear infinite;
}
.course-card:hover::before { opacity: 1; }
.course-card:hover { transform: translateY(-8px) perspective(1000px) rotateX(2deg); }
@keyframes rotate { to { --angle: 360deg; } }

.course-card__inner {
  background: var(--bg-2);
  border-radius: 17px;
  padding: 2rem 1.8rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.course-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.course-card__code { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; color: var(--text-mute); letter-spacing: 0.2em; }
.course-card__level {
  font-size: 0.7rem; padding: 0.35rem 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
}
.course-card__level--free {
  background: linear-gradient(120deg, rgba(0,255,136,0.18), rgba(0,245,255,0.18));
  color: var(--accent);
  border-color: rgba(0,255,136,0.3);
}
.course-card__title {
  font-size: 1.55rem; margin-bottom: 0.4rem;
  background: linear-gradient(120deg, var(--text), var(--primary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.5s;
}
.course-card:hover .course-card__title {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.course-card__sub { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 1.4rem; font-family: 'Space Grotesk', sans-serif; }
.course-card__list { margin-bottom: 1.6rem; }
.course-card__list li {
  font-size: 0.88rem; color: var(--text-soft);
  padding: 0.4rem 0; padding-left: 1.3rem;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.course-card__list li:last-child { border-bottom: 0; }
.course-card__list li::before {
  content: ''; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}
.course-card__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap 0.4s var(--ease-quiet), color 0.3s;
}
.course-card__link:hover { gap: 0.8rem; color: var(--accent); }
.course-card--free .course-card__list li::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ---------- 12. WHAT WE OFFER ---------- */
.offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.offer-card {
  padding: 2.5rem 2rem; text-align: center;
  transition: transform 0.5s var(--ease-quiet), border-color 0.4s;
  position: relative; overflow: hidden;
}
.offer-card:hover { transform: translateY(-8px); border-color: rgba(123,97,255,0.3); }
.offer-card__icon {
  width: 84px; height: 84px;
  margin: 0 auto 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(123,97,255,0.1));
  border: 1px solid var(--border-hi);
  color: var(--primary);
  position: relative;
  animation: floatY 5s ease-in-out infinite;
}
.offer-card__icon::before {
  content: ''; position: absolute; inset: -4px;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulseRing 3s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0; }
}
.offer-card:hover .offer-card__icon { color: var(--accent); }
.offer-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.offer-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.65; }

/* ---------- 13. PLACEMENTS / ROADMAP ---------- */
.roadmap {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.roadmap__line {
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0.4;
  z-index: 0;
}
.roadmap__step { position: relative; text-align: center; z-index: 2; }
.roadmap__num {
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 0 0 6px rgba(0,245,255,0.08), 0 12px 30px -10px rgba(0,245,255,0.4);
  transition: transform 0.4s var(--ease-quiet);
}
.roadmap__step:hover .roadmap__num {
  transform: scale(1.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(0,255,136,0.1), 0 14px 36px -10px rgba(0,255,136,0.5);
}
.roadmap__card { padding: 1.5rem 1.2rem; transition: transform 0.4s var(--ease-quiet); }
.roadmap__step:hover .roadmap__card { transform: translateY(-4px); }
.roadmap__card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.roadmap__card p { font-size: 0.82rem; color: var(--text-soft); line-height: 1.55; }

/* ---------- 14. TESTIMONIALS ---------- */
.carousel { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; }
.carousel__track { display: flex; transition: transform 0.7s var(--ease-emphasis); }
.testimonial { flex: 0 0 100%; padding: 3rem 2.5rem; text-align: center; position: relative; }
.testimonial__quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem; line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5; margin-bottom: 0.5rem;
}
.testimonial__text {
  font-size: 1.18rem; line-height: 1.7;
  color: var(--text); font-weight: 300;
  margin-bottom: 2rem;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.testimonial__person { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial__avatar {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem;
  background: linear-gradient(135deg, var(--a, var(--primary)), rgba(255,255,255,0.1));
  color: var(--bg);
  border: 2px solid var(--a, var(--primary));
}
.testimonial__person strong { display: block; font-size: 0.95rem; }
.testimonial__person small { font-size: 0.78rem; color: var(--text-mute); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.carousel__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: all 0.4s var(--ease-quiet);
}
.carousel__btn:hover { border-color: var(--primary); color: var(--primary); transform: scale(1.08); }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-hi);
  transition: all 0.3s; cursor: none;
}
.carousel__dot.is-active { background: var(--primary); width: 24px; border-radius: 999px; }

/* ---------- 15. GALLERY CAROUSEL ---------- */
.gallery-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-carousel__viewport {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px -20px rgba(0,245,255,0.15);
}
.gallery-carousel__track {
  display: flex;
  transition: transform 0.8s var(--ease-emphasis);
}
.gallery-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}
.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-quiet), filter 0.5s;
  filter: brightness(0.85) saturate(1.1);
}
.gallery-slide:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.3); }
.gallery-slide__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(5,8,22,0.9));
  text-align: left;
  transform: translateY(0);
  transition: transform 0.5s var(--ease-quiet);
}
.gallery-slide__caption h4 {
  font-size: 1.3rem; margin-bottom: 0.3rem;
  color: var(--text);
}
.gallery-slide__caption p {
  font-size: 0.88rem; color: var(--text-soft);
}
.gallery-carousel__btn {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  z-index: 5;
  transition: all 0.4s var(--ease-quiet);
}
.gallery-carousel__btn:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(0,245,255,0.5);
}
.gallery-carousel__btn--prev { left: 1.2rem; }
.gallery-carousel__btn--next { right: 1.2rem; }
.gallery-carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
}
.gallery-carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-hi);
  transition: all 0.3s;
  cursor: none;
}
.gallery-carousel__dot.is-active {
  background: var(--primary);
  width: 30px;
  border-radius: 999px;
  box-shadow: 0 0 10px var(--primary);
}
.gallery-carousel__counter {
  position: absolute; top: 1.2rem; right: 1.2rem;
  padding: 0.4rem 1rem;
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-soft);
  z-index: 5;
}

/* ---------- 16. CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 8rem 0; }
.cta__waves { position: absolute; inset: 0; z-index: 0; opacity: 0.25; }
.cta__waves svg {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
  animation: waveMove 12s ease-in-out infinite;
}
.cta__waves svg:nth-child(2) { animation: waveMove 16s ease-in-out infinite reverse; opacity: 0.6; }
@keyframes waveMove { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5%); } }
.cta__inner { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.cta__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.cta__lead { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ---------- 17. CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card {
  padding: 1.8rem 1.5rem;
  display: flex; gap: 1rem;
  align-items: flex-start;
  transition: transform 0.4s var(--ease-quiet), border-color 0.4s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(0,245,255,0.3); }
.contact-card--social { grid-column: span 2; }
.contact-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,245,255,0.12), rgba(123,97,255,0.12));
  color: var(--primary);
  border: 1px solid var(--border-hi);
}
.contact-card__body h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; }
.contact-card__body p { font-size: 0.92rem; color: var(--text-soft); line-height: 1.5; }
.contact-card__body small { color: var(--text-mute); font-size: 0.78rem; }

.contact-form { padding: 2.5rem; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { position: relative; margin-bottom: 1.2rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 1.1rem 1rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
}
.form-field textarea { resize: vertical; min-height: 100px; padding-top: 1.5rem; }
.form-field select { color: var(--text); }
.form-field select:invalid { color: var(--text-mute); }
.form-field select option { background: var(--bg-2); color: var(--text); }
.form-field label {
  position: absolute; left: 1rem; top: 1rem;
  font-size: 0.92rem; color: var(--text-mute);
  pointer-events: none;
  transition: all 0.3s var(--ease-quiet);
  font-family: 'Space Grotesk', sans-serif;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--primary);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.1);
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label {
  top: 0.35rem; font-size: 0.7rem; color: var(--primary);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: transparent; }

/* ---------- 18. MAP ---------- */
.map-section { padding: 4rem 0; position: relative; z-index: 2; }
.map-section__frame {
  width: calc(100% - 3rem);
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px -20px rgba(0,245,255,0.2);
  position: relative;
}
.map-section__frame::before {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0,245,255,0.1);
  z-index: 2;
}
.map-section__frame iframe { display: block; filter: invert(0.92) hue-rotate(180deg) saturate(0.6); }

/* ---------- 19. FOOTER ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--border); padding-top: 5rem; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.65; margin: 1.2rem 0 1.5rem; max-width: 320px; }
.footer__logo { display: flex; align-items: center; gap: 0.7rem; }
.footer__logo-img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,245,255,0.3)); }
.footer__logo strong { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; display: block; }
.footer__logo small { font-size: 0.68rem; color: var(--text-mute); letter-spacing: 0.1em; }
.footer__socials { display: flex; gap: 0.6rem; }
.footer__socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: all 0.4s var(--ease-quiet);
}
.footer__socials a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer__col h4 {
  font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
}
.footer__col ul li { margin-bottom: 0.7rem; font-size: 0.9rem; color: var(--text-soft); }
.footer__col ul li a { transition: color 0.3s; }
.footer__col ul li a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-mute);
  flex-wrap: wrap; gap: 1rem;
}

/* ---------- 20. BACK TO TOP ---------- */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-quiet);
  box-shadow: 0 12px 30px -10px rgba(0,245,255,0.5);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -10px rgba(123,97,255,0.6); }

/* ---------- 21. LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 78vh;
  border-radius: 12px;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px -20px rgba(0,245,255,0.3);
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-quiet);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__caption {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; color: var(--text-soft);
  text-align: center;
}
.lightbox__close {
  position: absolute; top: 2rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all 0.3s;
}
.lightbox__close:hover { background: var(--primary); color: var(--bg); transform: rotate(90deg); }

/* ---------- 22. REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { height: 440px; }
  .why__grid { grid-template-columns: 1fr; gap: 3rem; }
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: repeat(2, 1fr); }
  .offer__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .roadmap { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .roadmap__line { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  button, a, input, textarea, select { cursor: pointer; }
  input, textarea, select { cursor: text; }

  .section { padding: 5rem 0; }
  .section-head { margin-bottom: 3rem; }

  .nav__menu {
    position: fixed; top: 0; right: 0;
    width: 80%; max-width: 320px; height: 100vh;
    flex-direction: column; align-items: stretch;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 0; border: 0;
    border-left: 1px solid var(--border-hi);
    padding: 6rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-quiet);
    gap: 0.5rem;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 1rem 1.2rem; font-size: 1rem; border-radius: 10px; }
  .nav__cta { margin: 0.5rem 0 0; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__logo-text { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 2rem); min-height: auto; }
  .hero__title { font-size: 2.2rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .hero__visual { height: 360px; }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .courses__grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact-card--social { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-carousel__btn { width: 40px; height: 40px; }
  .gallery-carousel__btn--prev { left: 0.5rem; }
  .gallery-carousel__btn--next { right: 0.5rem; }
  .gallery-slide__caption { padding: 1.5rem 1.5rem 1rem; }
  .gallery-slide__caption h4 { font-size: 1.1rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .back-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
  .testimonial { padding: 2rem 1.5rem; }
  .testimonial__text { font-size: 1rem; }

  .splash__title { font-size: 1rem; }
  .splash__logo-wrap { width: 120px; height: 120px; }
  .splash__ring--1 { width: 150px; height: 150px; }
  .splash__ring--2 { width: 180px; height: 180px; }
  .splash__ring--3 { width: 210px; height: 210px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero__title { font-size: 1.9rem; }
  .hero__typing { max-width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .nav__logo-img { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particles { display: none; }
}

.academy-image-card{
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: auto;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 0 40px rgba(0,255,255,.15);
    backdrop-filter: blur(10px);
    animation: floatCard 5s ease-in-out infinite;
}

.academy-image-card img{
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.academy-image-card::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.65),
        transparent 45%
    );
}

.academy-badge{
    position:absolute;
    z-index:2;
    background:rgba(5,15,35,.9);
    backdrop-filter:blur(12px);
    color:#fff;
    padding:12px 18px;
    border-radius:14px;
    border:1px solid rgba(0,255,255,.3);
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,255,255,.15);
}

.academy-badge{
    top:25px;
    left:25px;
}

.academy-badge-2{
    top:110px;
    right:25px;
    left:auto;
}

.academy-badge-3{
    bottom:25px;
    left:25px;
}

@keyframes floatCard{
    0%,100%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-10px);
    }
}