:root {
  --bg: #07111f;
  --bg-2: #0b1628;
  --bg-3: #0e1c33;
  --brand: #5b5fef;
  --brand-2: #6366f1;
  --violet: #8b5cf6;
  --violet-deep: #7c3aed;
  --green: #22c55e;
  --sky: #38bdf8;
  --white: #ffffff;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.16);
  --glass: rgba(11, 22, 40, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --header: 76px;
  --font-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-body: Inter, "Plus Jakarta Sans", system-ui, sans-serif;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #6366f1 55%, #38bdf8 140%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
a {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

::selection {
  background: rgba(99, 102, 241, 0.45);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sr-only,
.skip-link {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 80;
  padding: 10px 14px;
  background: var(--white);
  color: var(--bg);
  border-radius: 10px;
}

.page-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 78%);
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.logo svg {
  width: 34px;
  height: 34px;
}

.logo-lg svg {
  width: 72px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--white);
  font-size: 1.12rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.4);
}

.btn-secondary,
.btn-ghost,
.btn-outline,
.btn-light {
  border: 1px solid var(--line);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover,
.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(139, 92, 246, 0.55);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 0.98rem;
}

.btn-light {
  background: var(--white);
  color: #0b1220;
  border: 0;
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-desktop {
  display: flex;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 20px 20px;
  background: rgba(7, 17, 31, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a,
.nav-mobile button {
  padding: 12px 8px;
  color: var(--text);
  text-align: left;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
  padding: 40px 0 72px;
  overflow: hidden;
}

.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.orb-a {
  width: 380px;
  height: 380px;
  background: rgba(91, 95, 239, 0.28);
  top: -80px;
  right: 8%;
}

.orb-b {
  width: 260px;
  height: 260px;
  background: rgba(139, 92, 246, 0.2);
  bottom: 8%;
  left: 6%;
}

.orb-c {
  width: 180px;
  height: 180px;
  background: rgba(56, 189, 248, 0.12);
  top: 30%;
  left: 40%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: rgba(56, 189, 248, 0.06);
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky);
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 22px;
}

.h1-static {
  display: block;
  color: var(--white);
}

.h1-gradient {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--white);
  max-width: 34ch;
  margin-bottom: 12px;
}

.hero-support {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-orbit {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
}

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orbit-ring {
  fill: none;
  stroke: rgba(99, 102, 241, 0.2);
  stroke-width: 1;
}

.ring-2 {
  stroke-dasharray: 4 8;
}

.orbit-path,
.orbit-spoke {
  fill: none;
  stroke: url(#none);
  stroke: rgba(139, 92, 246, 0.45);
  stroke-width: 1.2;
}

.orbit-spoke {
  stroke: rgba(56, 189, 248, 0.28);
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(20, 28, 52, 0.95), rgba(11, 18, 36, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.08), 0 20px 60px rgba(91, 95, 239, 0.25);
  z-index: 4;
}

.core-pulse {
  position: absolute;
  inset: -18px;
  border-radius: 42px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  animation: pulse 4s ease-in-out infinite;
}

.float-card,
.orbit-chip,
.mini-avatar,
.k-node {
  position: absolute;
  z-index: 5;
}

.float-card {
  width: 168px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(14, 22, 40, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: floaty 6s ease-in-out infinite;
}

.float-card strong,
.float-card span {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
}

.float-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.fc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.fc-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin: 8px 0 6px;
  overflow: hidden;
}

.fc-bar i {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

.progress-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  font-size: 0.58rem;
  color: var(--white);
}

.progress-ring span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0e1628;
  display: grid;
  place-items: center;
}

.fc-chip {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 4px;
}

.chip-new {
  color: var(--green);
}

.fc-star {
  color: #fbbf24;
}

.fc-1 { top: 6%; right: 8%; animation-delay: 0s; }
.fc-2 { top: 28%; left: 0; animation-delay: 0.6s; }
.fc-3 { top: 58%; right: -2%; animation-delay: 1.1s; }
.fc-4 { bottom: 10%; left: 10%; animation-delay: 0.3s; }
.fc-5 { top: 16%; left: 18%; width: 150px; animation-delay: 1.4s; }

.orbit-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(11, 22, 40, 0.85);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--sky);
  animation: floaty 5.5s ease-in-out infinite;
}

.chip-code {
  top: 46%;
  left: 6%;
  font-family: ui-monospace, monospace;
}

.chip-cert {
  bottom: 22%;
  right: 14%;
  color: var(--green);
}

.mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.av-1 { background: #6d28d9; top: 38%; right: 8%; }
.av-2 { background: #1d4ed8; bottom: 34%; left: 22%; }
.av-3 { background: #0f766e; top: 22%; right: 32%; }

.k-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  animation: blink 3.6s ease-in-out infinite;
}

.n1 { top: 12%; left: 46%; }
.n2 { top: 48%; left: 2%; }
.n3 { bottom: 18%; right: 6%; }
.n4 { top: 70%; left: 48%; }
.n5 { top: 8%; right: 28%; animation-delay: 1s; }

.orbit-caption {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-head {
  margin-bottom: 36px;
  max-width: 720px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-label span {
  color: var(--muted);
  letter-spacing: 0.12em;
}

.section-copy {
  margin-top: 14px;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.courses,
.paths,
.why,
.instructors,
.skills,
.stories,
.certificate,
.devices,
.newsletter {
  padding: 96px 0;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.pill.is-active,
.pill:hover {
  color: var(--white);
  border-color: transparent;
  background: var(--grad);
}

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

.course-card {
  border-radius: 22px;
  background: rgba(11, 22, 40, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.course-card.is-hidden {
  display: none;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 18px 50px rgba(91, 95, 239, 0.18);
}

.course-link {
  display: block;
  padding: 14px 14px 16px;
  color: inherit;
}

.course-visual {
  height: 150px;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.45s var(--ease);
}

.course-card:hover .course-visual {
  transform: scale(1.05);
}

.course-card:hover .card-arrow {
  transform: translateX(4px);
}

.vis-ai {
  background: radial-gradient(circle at 20% 20%, #312e81, #0b1224 70%);
}

.vis-ai .vis-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky);
}

.vis-ai .vis-node:nth-child(1) { top: 24px; left: 28px; }
.vis-ai .vis-node:nth-child(2) { top: 40px; left: 90px; background: var(--violet); }
.vis-ai .vis-node:nth-child(3) { top: 88px; left: 58px; background: var(--green); }
.vis-ai .vis-node:nth-child(4) { top: 70px; left: 140px; }
.vis-ai .vis-node:nth-child(5) { top: 28px; left: 170px; background: var(--violet); }
.vis-ai svg {
  position: absolute;
  inset: 20px 10px;
  stroke: rgba(56, 189, 248, 0.55);
  fill: none;
  stroke-width: 1.4;
}

.vis-design {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
}

.vis-design .shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(139, 92, 246, 0.2);
}

.vis-design .s1 { width: 90px; height: 70px; left: 24px; top: 36px; border-radius: 16px; }
.vis-design .s2 { width: 70px; height: 70px; right: 28px; top: 24px; border-radius: 50%; background: rgba(56, 189, 248, 0.16); }
.vis-design .s3 { width: 110px; height: 48px; left: 70px; bottom: 18px; border-radius: 12px; }

.vis-code {
  background: #07101d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}

.vis-code span {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #6366f1, transparent);
}

.vis-code span:nth-child(1) { width: 78%; }
.vis-code span:nth-child(2) { width: 54%; background: linear-gradient(90deg, #22c55e, transparent); }
.vis-code span:nth-child(3) { width: 66%; background: linear-gradient(90deg, #38bdf8, transparent); }
.vis-code span:nth-child(4) { width: 40%; }

.vis-growth {
  background: linear-gradient(180deg, #10233d, #07111f);
}

.vis-growth svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #22c55e;
  stroke-width: 3;
}

.vis-data {
  background: #0c1a2e;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 28px 24px 18px;
}

.vis-data i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #8b5cf6, #4338ca);
}

.vis-data i:nth-child(1) { height: 40%; }
.vis-data i:nth-child(2) { height: 70%; }
.vis-data i:nth-child(3) { height: 55%; }
.vis-data i:nth-child(4) { height: 92%; }
.vis-data i:nth-child(5) { height: 62%; }

.vis-biz {
  background: radial-gradient(circle at 70% 30%, #1e3a5f, #0b1628);
}

.vis-biz .hex {
  position: absolute;
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.25);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.vis-biz .hex:nth-child(1) { left: 36px; top: 48px; }
.vis-biz .hex:nth-child(2) { left: 78px; top: 24px; background: rgba(56, 189, 248, 0.22); }
.vis-biz .hex:nth-child(3) { left: 120px; top: 52px; }

.course-cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}

.course-card h3 {
  margin-bottom: 12px;
  min-height: 2.4em;
}

.course-meta-row,
.course-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.course-meta-row {
  margin-bottom: 14px;
}

.instructor-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
}

.d-maya { background: #6d28d9; }
.d-daniel { background: #4338ca; }
.d-noah { background: #0f766e; }
.d-emma { background: #db2777; }
.d-aisha { background: #7c3aed; }

.rating { color: #fbbf24; margin-left: auto; }

.course-foot {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.price {
  color: var(--white);
  font-weight: 700;
}

.card-arrow {
  color: var(--violet);
  transition: transform 0.25s var(--ease);
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.learning-path::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, #8b5cf6, #38bdf8, transparent);
  animation: pathflow 4s linear infinite;
  background-size: 200% 100%;
}

.learning-path li {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.path-num {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.path-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--sky);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(7, 17, 31, 1);
}

.path-icon svg {
  width: 22px;
  height: 22px;
}

.learning-path h3 {
  margin-bottom: 8px;
}

.learning-path p {
  color: var(--muted);
  font-size: 0.88rem;
}

.why-grid,
.instructor-grid,
.story-grid {
  display: grid;
  gap: 18px;
}

.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-card,
.instructor-card,
.story-card {
  background: rgba(11, 22, 40, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.why-card {
  min-height: 260px;
}

.why-num {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--violet);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-card h3 {
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
}

.instructor-grid {
  grid-template-columns: repeat(4, 1fr);
}

.instructor-card {
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
}

.portrait {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
}

.instructor-card p {
  color: var(--sky);
  font-size: 0.9rem;
  margin: 4px 0 12px;
}

.instructor-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.instructor-card li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.instructor-cta {
  margin-top: 28px;
  text-align: center;
}

.skill-stack {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(91, 95, 239, 0.12), rgba(7, 17, 31, 0.4));
  overflow: hidden;
}

.skill-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.skill-links path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 1.4;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.skill-links path.is-lit {
  stroke: url(#none);
  stroke: #8b5cf6;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6));
}

.skill-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(11, 22, 40, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.skill-node-lg {
  padding: 14px 22px;
}

.skill-node:hover,
.skill-node.is-active,
.skill-node.is-related {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #8b5cf6;
  box-shadow: 0 10px 30px rgba(91, 95, 239, 0.28);
}

.skill-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.86);
  border: 1px solid var(--line);
  z-index: 3;
}

.skill-panel-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.skill-panel h3 {
  margin: 6px 0 10px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-list li {
  font-size: 0.78rem;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.story-card {
  position: relative;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 0.6;
  color: rgba(139, 92, 246, 0.35);
  display: block;
  margin-bottom: 12px;
}

.story-card p {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 22px;
}

.story-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--white);
}

.story-card cite span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.story-card .mini-avatar {
  position: static;
  background: #4338ca;
}

.cert-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.cert-stage {
  perspective: 1000px;
}

.cert-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(135deg, #121c33, #0b1324);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotateY(-8deg) rotateX(4deg);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 16px;
  pointer-events: none;
}

.cert-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
}

.cert-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--sky);
}

.cert-card h3 {
  font-size: 1.8rem;
  margin: 8px 0 20px;
}

.cert-award {
  color: var(--muted);
  font-size: 0.82rem;
}

.cert-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
}

.cert-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 16px;
  align-items: end;
}

.cert-meta span,
.cert-sign em {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.cert-sign span {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--violet);
  font-size: 1rem;
}

.qr {
  width: 54px;
  height: 54px;
  background-image:
    repeating-linear-gradient(#e5e7eb 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, #e5e7eb 0 4px, transparent 4px 8px);
  background-color: #0b1628;
  border-radius: 6px;
  opacity: 0.85;
}

.device-stage {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.55fr;
  gap: 20px;
  align-items: end;
  margin: 36px 0 28px;
}

.device small {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.device-bezel {
  background: #0a1220;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.laptop .device-bezel {
  border-radius: 14px 14px 6px 6px;
}

.laptop-base {
  display: block;
  height: 10px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
}

.ui {
  background: #07101c;
  border-radius: 10px;
  min-height: 180px;
  overflow: hidden;
}

.ui-dash {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 220px;
}

.ui-dash aside {
  background: #0c1730;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
}

.ui-dash aside b,
.ui-dash header span,
.dash-cards i,
.dash-row i,
.video-meta b,
.ui-progress b {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.ui-dash aside b { height: 10px; }
.ui-dash header {
  display: flex;
  gap: 8px;
  padding: 14px;
}

.ui-dash header span:first-child { width: 40%; height: 10px; }
.ui-dash header span:last-child { width: 18%; height: 10px; margin-left: auto; background: rgba(99, 102, 241, 0.5); }

.dash-cards,
.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}

.dash-cards i { height: 54px; background: linear-gradient(180deg, rgba(99, 102, 241, 0.28), rgba(255, 255, 255, 0.05)); }
.dash-row { grid-template-columns: 1.4fr 0.8fr; }
.dash-row i { height: 36px; }

.ui-video { min-height: 240px; }
.video-screen {
  height: 150px;
  margin: 10px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.45), transparent 40%),
    linear-gradient(135deg, #1e1b4b, #0f172a);
}
.video-meta { padding: 0 12px 12px; display: grid; gap: 8px; }
.video-meta b:first-child { height: 10px; width: 70%; }
.video-meta b:last-child { height: 8px; width: 40%; }

.phone .device-bezel { border-radius: 28px; }
.ui-progress {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
}
.ui-progress .ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(#22c55e 72%, rgba(255, 255, 255, 0.08) 0);
  mask: radial-gradient(circle 32px, transparent 31px, #000 32px);
}
.ui-progress b { width: 100%; height: 8px; }

.device-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.device-features li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
}

.cta-nodes span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  animation: blink 4s ease-in-out infinite;
}

.cta-nodes span:nth-child(1) { top: 18%; left: 12%; }
.cta-nodes span:nth-child(2) { top: 30%; right: 18%; }
.cta-nodes span:nth-child(3) { bottom: 22%; left: 22%; }
.cta-nodes span:nth-child(4) { bottom: 18%; right: 12%; }
.cta-nodes span:nth-child(5) { top: 58%; left: 8%; }
.cta-nodes span:nth-child(6) { top: 12%; right: 32%; }

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(229, 231, 235, 0.86);
  margin-bottom: 24px;
}

.cta-inner .hero-actions {
  justify-content: center;
}

.fine-print {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.85rem;
}

.newsletter {
  padding-top: 72px;
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(11, 22, 40, 0.55);
}

.news-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  flex: 1;
  max-width: 520px;
}

.news-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #07111f;
  color: var(--white);
  outline: none;
}

.news-form input:focus {
  border-color: var(--brand-2);
}

.form-msg {
  width: 100%;
  font-size: 0.85rem;
  color: var(--green);
  min-height: 1.2em;
}

.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #060d18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.8fr);
  gap: 28px;
  margin-bottom: 36px;
}

.tagline {
  margin: 10px 0 12px;
  color: var(--white);
  font-weight: 600;
}

.footer-brand p {
  color: var(--muted);
  max-width: 36ch;
}

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer nav a {
  color: var(--text);
}

.site-footer nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #0d1729;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.4rem;
  color: var(--muted);
}

.modal-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07111f;
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes pathflow {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .knowledge-orbit {
    margin: 20px auto 0;
  }

  .why-grid,
  .instructor-grid,
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learning-path {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .learning-path::before {
    display: none;
  }

  .learning-path li {
    text-align: left;
    padding: 8px 0 24px 22px;
    border-left: 2px solid rgba(99, 102, 241, 0.35);
  }

  .path-icon {
    margin: 0 0 12px;
    box-shadow: none;
  }

  .device-stage {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    grid-column: span 2;
    max-width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile.is-open {
    display: flex;
  }

  .story-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-meta {
    grid-template-columns: 1fr 1fr;
  }

  .skill-stack {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 16px;
    gap: 8px;
  }

  .skill-links {
    display: none;
  }

  .skill-node {
    position: static;
    transform: none;
    width: 100%;
  }

  .skill-node:hover,
  .skill-node.is-active,
  .skill-node.is-related {
    transform: none;
  }

  .skill-panel {
    position: static;
    right: auto;
    bottom: auto;
    margin: 8px 0 0;
    width: 100%;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 3.1rem;
  }

  .course-grid,
  .learning-path,
  .device-stage {
    grid-template-columns: 1fr;
  }

  .instructor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .orbit-caption {
    white-space: normal;
    text-align: center;
    width: 90%;
  }

  .phone {
    grid-column: auto;
  }

  .float-card,
  .orbit-chip,
  .mini-avatar {
    transform: scale(0.92);
  }

  .fc-5,
  .chip-code,
  .av-3 {
    display: none;
  }

  .courses,
  .paths,
  .why,
  .instructors,
  .skills,
  .stories,
  .certificate,
  .devices,
  .newsletter {
    padding: 72px 0;
  }

  .header-inner,
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
