/* =========================================================================
   Playstori.AI — homepage replication
   Design tokens + layout. 8px grid. Desktop base = 1440px.
   ========================================================================= */

:root {
  /* Colors — PLAYSTORI PRIME palette */
  --bg:            #0A0A0F;
  --card:          #15151D;
  --card-2:        #1E1E2A;
  --border:        rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);

  --purple: #7C3AED;
  --pink:   #FF2E63;
  --orange: #FFB800;

  --text:      #FFFFFF;
  --muted:     #B5B5B5;
  --muted-2:   #8A8F99;

  /* Effects */
  --glow-purple: 0 0 40px rgba(124, 58, 237, .12);
  --radius-card: 16px;
  --radius-lg:   18px;
  --radius-md:   14px;
  --radius-btn:  10px;

  /* Signature gradients */
  --grad-warm: linear-gradient(100deg, var(--orange) 0%, var(--pink) 52%, var(--purple) 100%);
  --grad-line: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

/* ------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* soft radial background glows — do not overdo */
  background-image:
    radial-gradient(600px 380px at 62% 8%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(520px 360px at 6% 84%, rgba(124, 58, 237, .07), transparent 70%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* Centering wrapper: content rows max 1500 */
.wrap { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 24px; }

/* SVG icon defaults (stroke line icons) */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6;
       stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.ico--xs { width: 20px; height: 20px; }
.ico--purple { color: var(--purple); }
.ico--orange { color: var(--orange); }

/* Reusable gradient text */
.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text--pink   { background: linear-gradient(100deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; }
.grad-text--purple { background: linear-gradient(100deg, var(--purple), #6f7bff);     -webkit-background-clip: text; background-clip: text; }

/* Glass surface */
.glass {
  background: rgba(21, 21, 29, .72);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Gradient-border helper (mask trick) */
.grad-border { position: relative; }
.grad-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, rgba(255,184,0,.5), rgba(255,46,99,.35), rgba(124,58,237,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.muted { color: var(--muted); font-size: 13px; }

/* Generic card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--glow-purple);
}
.card__head {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #EDEDED;
}

/* ============================= NAVIGATION ============================= */
.nav {
  height: 72px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav__inner {
  height: 100%; max-width: 1500px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; margin-right: 8px; }
.brand__logo { height: 48px; width: auto; display: block; }
.brand__dot { color: var(--orange); }

.nav__links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__link {
  position: relative; font-size: 13px; font-weight: 500; color: #D7D7DA; padding: 6px 0;
  white-space: nowrap; transition: color .18s ease;
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad-line); border-radius: 2px;
}
.btn--login {
  margin-left: 8px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-btn);
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.02);
  transition: border-color .18s ease, background .18s ease;
}
.btn--login:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.nav__cta { margin-left: 0; padding: 8px 14px; font-size: 13px; white-space: nowrap; }
.nav__links .nav__menu-cta { display: none; }   /* only appears inside the open mobile menu */

/* Hamburger — hidden on desktop, shown at <=992 (where the link bar collapses) */
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: 12px; padding: 10px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-btn);
  background: rgba(255,255,255,.02); color: #fff; cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.nav__toggle:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }

/* ================================ BUTTONS ================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-btn);
       font-weight: 600; white-space: nowrap; }
.btn--primary {
  padding: 12px 18px; color: #fff; border: 0;
  background: linear-gradient(95deg, #7C3AED 0%, #FF2E63 100%);
  box-shadow: 0 8px 26px rgba(124, 58, 237, .35);
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost {
  padding: 12px 18px; color: #EDEDED;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.3); }
.btn--link { padding: 13px 4px; color: #CFCFD4; font-weight: 500; }
.btn--link:hover { color: #fff; }

/* ================================= HERO ================================= */
.hero { padding-top: 44px; }
.hero__grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 268px;
  gap: 28px;
  align-items: start;
}

/* Left column */
.hero__title {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 600; font-size: 76px; line-height: .92; letter-spacing: -.005em;
  text-transform: uppercase; color: #F4F4F5;
}
.hero__kicker {
  margin-top: 26px; font-weight: 400; font-size: 15px; letter-spacing: .01em;
  color: #E6E6E8; line-height: 1.5;
}
.hero__body { margin-top: 16px; max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero__body--lead { margin-top: 24px; max-width: 430px; font-size: 15px; color: #C7C7CC; line-height: 1.65; }
.hero__cta { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__cta-row { display: flex; align-items: center; gap: 12px; white-space: nowrap; } /* Apply + Explore on one row, may extend past text column */

/* Center image */
.hero__media { align-self: stretch; }
.hero__image {
  position: relative; height: 380px; border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--border);
  /* AI-generated cinematic film-set image */
  background:
    linear-gradient(180deg, rgba(10,10,15,0) 55%, rgba(10,10,15,.35) 100%),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  box-shadow: 0 0 80px rgba(124,58,237,.20), inset 0 0 120px rgba(0,0,0,.35);
}

/* Right company positioning card */
.hero__card { border-radius: var(--radius-lg); padding: 8px 20px; text-align: left; align-self: center; }
.hero__card-rows { display: grid; }
.hero__card-rows li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.hero__card-rows li:last-child { border-bottom: 0; }
.hero__card-rows .ico { width: 24px; height: 24px; }
.hero__card-rows strong {
  display: block; font-family: "Rajdhani", sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .01em; color: #F0F0F2;
}
.hero__card-rows span { font-size: 11px; color: var(--muted); }

/* ============================ HERO STATS BAR ============================ */
.stats {
  margin-top: 34px; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(6, 1fr);
  padding: 22px 8px;
}
.stats__item {
  display: flex; align-items: center; gap: 16px; padding: 4px 22px;
  border-right: 1px solid var(--border);
}
/* Larger, gradient-stroked stat icons (orange -> pink -> purple) */
.stats__item .ico { width: 50px; height: 50px; stroke: url(#brandGrad); stroke-width: 1.4; flex: none; }
.stats__item:last-child { border-right: 0; }
.stats__title { font-family: "Rajdhani", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: .02em; }
.stats__sub   { font-size: 11px; letter-spacing: .06em; color: var(--muted); line-height: 1.3; margin-top: 2px; }

/* ==================== THE PLAYSTORI ECOSYSTEM ==================== */
.ecosys { margin-top: 44px; }
.ecosys__head { text-align: center; margin-bottom: 26px; }
.section-title {
  font-family: "Rajdhani", sans-serif; font-size: 26px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: #EDEDED;
}
.ecosys__head .muted { margin-top: 6px; }
.ecosys__grid { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 18px; align-items: center; }
.ecosys__col { display: grid; gap: 14px; }
/* Vertical cards */
.vcard {
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 16px; box-shadow: var(--glow-purple);
}
.vcard__top { display: flex; align-items: center; justify-content: space-between; }
.vcard__num { font-family: "Orbitron", sans-serif; font-size: 14px; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; }
.vcard__ico { width: 26px; height: 26px; }
.vcard__title { margin-top: 10px; font-family: "Rajdhani", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .02em; color: #F0F0F2; }
.vcard__desc { margin-top: 6px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
/* Central Living Intelligence + Production Matrix ring */
.ecosys__core { display: grid; place-items: center; }
.ecosys__ring {
  position: relative; width: 210px; height: 210px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(closest-side, var(--card) 60%, transparent 61%),
    conic-gradient(from 200deg, var(--purple), var(--pink) 45%, var(--orange) 72%, var(--purple));
  box-shadow: 0 0 60px rgba(124,58,237,.30), inset 0 0 44px rgba(0,0,0,.55);
}
.ecosys__ring::before {
  content: ""; position: absolute; inset: 24px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
}
.ecosys__ring-label {
  position: relative; z-index: 2; font-family: "Rajdhani", sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: .06em; color: #fff; line-height: 1.35;
}
.ecosys__ring-plus { display: inline-block; margin-top: 6px; font-size: 10px; letter-spacing: .08em; color: var(--orange); }

/* ==================== FROM LEARNER TO CREATOR ==================== */
.flow-section { margin-top: 44px; }
.flow { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 26px; }
.flow::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 26px; height: 2px; z-index: 0;
  background: var(--grad-line); box-shadow: 0 0 12px rgba(124,58,237,.5); border-radius: 2px;
}
.flow__step { position: relative; z-index: 1; text-align: center; }
.flow__node {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card-2);
  border: 1px solid var(--border-strong); box-shadow: var(--glow-purple);
}
.flow__node .ico { width: 24px; height: 24px; }
.flow__label { font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #F0F0F2; }
.flow__sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* ==================== WHY PLAYSTORI ==================== */
.why-section { margin-top: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 16px; box-shadow: var(--glow-purple);
}
.why-card .ico { width: 28px; height: 28px; }
.why-card strong { display: block; font-family: "Rajdhani", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: #F0F0F2; line-height: 1.25; }
.why-card span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ==================== COLLABORATE WITH PLAYSTORI ==================== */
.collab { margin-top: 44px; }
.collab__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.collab__item {
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 14px; text-align: left;
}
.collab__item strong { display: block; font-family: "Rajdhani", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: #EDEDED; }
.collab__item span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted-2); line-height: 1.45; }
.collab__cta { margin-top: 24px; display: flex; justify-content: center; }
.collab__cta .btn { padding: 13px 26px; font-size: 14px; }

/* =================== WHY / TRAINING / AI TUTOR BAND =================== */
.band {
  margin-top: 40px;
  display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 14px;
  align-items: stretch;
}
.band .card { padding: 22px; }

/* Why list */
.why__list { margin-top: 22px; display: grid; gap: 24px; }
.why__row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.why__row h3 { font-size: 15px; font-weight: 400; color: #F0F0F2; }
.why__row p  { margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Training steps */
.training { display: flex; flex-direction: column; }
.steps {
  margin-top: 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px;
}
.step {
  background: var(--card-2); border: 1px solid rgba(255,184,0,.22); border-radius: var(--radius-md);
  padding: 16px 12px; box-shadow: inset 0 0 20px rgba(255,184,0,.05), 0 0 22px rgba(255,184,0,.06);
  text-align: left; min-height: 220px;
}
.step__num { font-family: "Orbitron", sans-serif; font-size: 22px; font-weight: 700; color: #E9E9EC; }
.step__ico { display: block; margin: 12px 0 14px; width: 60px; height: 60px; stroke: url(#stepGrad); stroke-width: 1.3; }
/* Title-first boxes (03–06): number -> title -> icon -> text */
.step--tf h4 { margin-top: 10px; }
.step--tf .step__ico { margin: 12px 0 12px; }
.step h4 { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: #EDEDED; line-height: 1.35; }
.step p  { margin-top: 10px; font-size: 11px; color: var(--muted); line-height: 1.5; }

/* Capstone glowing progress line */
.capline { position: relative; margin-top: 26px; height: 26px; display: flex; align-items: center; }
.capline__track {
  position: absolute; left: 0; right: 40px; top: 50%; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(124,58,237,.1), var(--purple) 8%, var(--orange) 55%, var(--orange));
  border-radius: 2px; box-shadow: 0 0 12px rgba(255,184,0,.5);
}
.capline__label {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--card); padding: 0 12px;
  font-family: "Rajdhani", sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--orange);
}
.capline__star { position: absolute; right: 8px; width: 22px; height: 22px; }

/* AI Tutor */
.tutor { position: relative; overflow: hidden; }
.tutor__portrait {
  position: absolute; top: 0; right: 0; width: 62%; height: 150px;
  border-top-right-radius: var(--radius-card);
  /* AI-generated portrait */
  background: url("../assets/img/tutor.jpg") center 20%/cover no-repeat, linear-gradient(180deg, #2a1747, #140b24);
  -webkit-mask: linear-gradient(90deg, transparent, #000 45%);
  mask: linear-gradient(90deg, transparent, #000 45%);
}
.tutor__head { position: relative; z-index: 2; }
.tutor__head h3 { font-family: "Rajdhani", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.tutor__role { font-size: 11px; letter-spacing: .1em; color: #CFCFD4; margin-top: 2px; }
.tutor__tag  { font-size: 12px; font-weight: 700; letter-spacing: .05em; margin-top: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tutor__grid { margin-top: 92px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tutor__cell {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px;
}
.tutor__cell strong { display: block; font-size: 11.5px; font-weight: 600; color: #EDEDED; line-height: 1.25; }
.tutor__cell span   { display: block; margin-top: 3px; font-size: 10px; color: var(--muted-2); line-height: 1.4; }

/* ============= STUDENT COMMAND CENTRE + SELECTED WORKS ============= */
.band2 { margin-top: 22px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 22px; align-items: stretch; }
.command { padding: 22px; }
.command__head { margin-bottom: 18px; }
.command__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.widget {
  background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  min-height: 128px; transition: box-shadow .2s ease, border-color .2s ease;
}
.widget:hover { border-color: rgba(124,58,237,.45); box-shadow: 0 0 26px rgba(124,58,237,.22); }
.widget__label { font-size: 9.5px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.widget__title { margin-top: 10px; font-size: 13px; font-weight: 600; color: #EDEDED; }
.widget__count { color: var(--muted); font-weight: 500; }
.widget__meta { margin-top: 4px; font-size: 11px; color: var(--muted); }
.widget__pct { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.progress { margin-top: 10px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.chip {
  margin-top: 12px; width: 100%; padding: 7px 10px; font-size: 11.5px; font-weight: 600; color: #E9E9EC;
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3); border-radius: 8px;
  transition: background .18s ease;
}
.chip:hover { background: rgba(124,58,237,.22); }
.widget__avatar { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); line-height: 1.3; }
.avatar { width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #b98bff, #5a2ea0); }
.widget__passport { margin-top: 10px; display: flex; gap: 10px; align-items: center; font-size: 12px; color: #E4E4E7; line-height: 1.3; }

/* Selected works */
.works { padding: 22px; }
.works__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.works__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #CFCFD4; }
.works__link:hover { color: #fff; }
.posters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.poster { position: relative; margin: 0; }
/* Image thumb holds the poster art + a dark bottom gradient for caption legibility */
.poster__thumb {
  display: block; position: relative; aspect-ratio: 2 / 3.05; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background-size: cover; background-position: center;
  box-shadow: inset 0 -40px 40px rgba(0,0,0,.55);
}
.poster__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.78) 100%);
}
.poster--a .poster__thumb { background-image: url("../assets/img/poster-quantum-love.jpg"); }
.poster--b .poster__thumb { background-image: url("../assets/img/poster-cheruva.jpg"); }
.poster--c .poster__thumb { background-image: url("../assets/img/poster-kathalo.jpg"); }
.poster--e .poster__thumb { background-image: url("../assets/img/poster-ghost-golkonda.jpg"); }
.poster--f .poster__thumb { background-image: url("../assets/img/poster-secret-stories.jpg"); }
/* Desktop: caption overlays the bottom of the thumb (title only) */
.poster figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px 8px;
  font-family: "Rajdhani", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  color: #fff; line-height: 1.15; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.poster figcaption em { display: none; }   /* category shown only on mobile */
.poster--f figcaption { top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.poster__brand { color: var(--pink); }

/* ========================= ECOSYSTEM GRID ========================= */
.eco { margin-top: 22px; padding: 20px 22px; display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: center; }
.eco__grid { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; gap: 12px; }
/* Each ecosystem pillar is its own block: distinct background + border */
.eco__cell {
  display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 14px; box-shadow: var(--glow-purple);
}
.eco__cell .ico { width: 50px; height: 50px; stroke-width: 1.4; flex: none; }
.eco__cell strong { display: block; font-size: 12px; font-weight: 400; letter-spacing: .04em; color: #EDEDED; }
.eco__cell span { font-size: 10.5px; color: var(--muted-2); line-height: 1.4; }

/* ============================ FOOTER BANNER ============================ */
.footer { position: relative; margin-top: 34px; padding: 44px 0 30px; overflow: hidden;
  border-top: 1px solid var(--border);
  background: radial-gradient(700px 300px at 50% 120%, rgba(124,58,237,.12), transparent 70%), #0A0A0F; }
.footer__cta { margin-top: 24px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer__streaks { position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 44%, rgba(124,58,237,.14) 46%, transparent 48%),
    linear-gradient(115deg, transparent 54%, rgba(255,46,99,.10) 56%, transparent 58%);
  pointer-events: none; }
.footer__inner { position: relative; display: block; text-align: center; padding-bottom: 18px; }
.footer__text {
  font-family: "Rajdhani", sans-serif; font-weight: 600;
  font-size: clamp(20px, 2.25vw, 32px); letter-spacing: .01em; white-space: nowrap;
  line-height: 1.15; text-align: center; color: #4C4F57; text-transform: uppercase; margin: 0 auto;
}
.footer__logo { position: absolute; right: 0; bottom: -8px; height: 40px; width: auto; display: block; }

/* ============================ RESPONSIVE ============================ */
/* ---- Large tablet / small laptop ---- */
@media (max-width: 1200px) {
  .hero__grid { grid-template-columns: 340px minmax(0,1fr) 250px; gap: 20px; }
  .hero__title { font-size: 58px; }
  .band { grid-template-columns: minmax(0,1fr) 300px; }
  .tutor__portrait { width: 46%; }
  /* 6-col stats & 5-col eco don't fit the 50px icons below 1200px */
  .stats { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
  .stats__item { border-right: 0; }
  .eco { grid-template-columns: 1fr; }
  .eco__grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links { gap: 16px; }               /* tighten so 8 links fit down to 993px */
  .nav__link { font-size: 13px; }
  .btn--login { margin-left: 10px; }
  .nav__cta { display: none; }             /* founding-cohort CTA shows only on wide desktop (>1200) */
}
/* ---- Tablet: single-column hero, stacked band ---- */
@media (max-width: 992px) {
  .nav__inner { gap: 12px; }
  .nav__toggle { display: inline-flex; }   /* show hamburger */
  .nav__cta { display: none; }             /* founding-cohort CTA lives in the hero on mobile */
  .nav__links { display: none; }           /* link bar collapses into the dropdown */
  .nav__links.is-open {                     /* toggled open by JS */
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    background: rgba(10, 10, 15, .98); border-bottom: 1px solid var(--border);
    padding: 12px 24px 16px; z-index: 60;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0,0,0,.5);
  }
  .nav__links.is-open .nav__link { width: 100%; padding: 10px 0; font-size: 15px; }
  .nav__links.is-open .nav__link.is-active::after { left: 0; right: auto; width: 26px; }
  .nav__links.is-open .nav__menu-cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 10px; }
  /* Mobile: single column, hero image sits behind the text as the section background */
  .hero { padding-top: 20px; }
  .hero__grid {
    grid-template-columns: 1fr; gap: 0; align-items: stretch;
    border-radius: 16px; overflow: hidden; padding: 22px 18px 26px;
    background:
      linear-gradient(90deg, rgba(10,10,15,.92) 0%, rgba(10,10,15,.74) 60%, rgba(10,10,15,.64) 100%),
      linear-gradient(180deg, rgba(10,10,15,0) 72%, #0A0A0F 100%),
      url("../assets/img/hero-mobile.jpg") center top / cover no-repeat;
  }
  .hero__left { min-width: 0; }
  .hero__media { display: none; }             /* 2nd column removed on mobile */
  .hero__card { display: none; }
  .hero__cta-row { flex-wrap: wrap; white-space: normal; }  /* let the 3 CTAs wrap */
  .stats { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
  .stats__item { border-right: 0; }           /* drop separators when wrapped */
  .band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .band2 { grid-template-columns: 1fr; }
  .command, .works { min-width: 0; }        /* let the horizontal-scroll posters stay contained */
  .command__grid { grid-template-columns: repeat(3, 1fr); }
  .eco { grid-template-columns: 1fr; }         /* label above blocks */
  .eco__grid { grid-template-columns: repeat(3, 1fr); }
  /* Ecosystem: stack cards, ring on top */
  .ecosys__grid { grid-template-columns: 1fr; gap: 14px; }
  .ecosys__core { order: -1; }
  .ecosys__ring { width: 170px; height: 170px; }
  .section-title { font-size: 22px; }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
  .flow::before { display: none; }           /* connector line only makes sense in one row */
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .collab__grid { grid-template-columns: repeat(3, 1fr); }
}
/* ---- Large phone / small tablet ---- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__title { font-size: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }   /* 3-col stats don't fit the 50px icons below ~700px */
  .stats__item { gap: 12px; padding: 6px 10px; }      /* tighten so single-word titles don't clip */
  .stats__item .ico { width: 42px; height: 42px; }
  .stats__title { font-size: 14px; line-height: 1.15; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  /* Pink section accents (mobile mockup) */
  .card__head { color: var(--pink); }
  .works__link { color: var(--pink); }
  /* Selected works: horizontal snap-scroll row with labels below each poster */
  .posters {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%;
    align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 12px; padding-bottom: 8px; scrollbar-width: none;
  }
  .posters::-webkit-scrollbar { display: none; }
  .poster { scroll-snap-align: start; }
  .poster figcaption {          /* move label below the thumb on mobile */
    position: static; padding: 8px 2px 0; text-shadow: none; text-align: left;
    font-size: 12px; color: #fff;
  }
  .poster figcaption em {
    display: block; margin-top: 2px; font-family: "Inter", sans-serif; font-style: normal;
    font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--muted);
  }
  .poster--f figcaption { top: auto; display: block; align-items: flex-start; text-align: left; }
  .eco__grid { grid-template-columns: repeat(2, 1fr); }
  .ecosys__col { grid-template-columns: repeat(2, 1fr); gap: 12px; }   /* 2-up ecosystem cards on phones */
  .footer__text { font-size: 24px; white-space: normal; }
  .footer__logo { position: static; margin: 18px auto 0; }  /* center under text */
  /* Long CTA labels must wrap on narrow screens, not force horizontal scroll */
  .collab__cta .btn,
  .footer__cta .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* ---- Phone ---- */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero__title { font-size: 31px; }
  .hero__kicker { margin-top: 16px; font-size: 13px; }
  .hero__body { font-size: 13px; }
  .hero__cta { margin-top: 18px; }
  .hero__cta, .hero__cta-row { width: 100%; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }  /* stack CTAs full-width */
  .hero__cta-row .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero__image { min-height: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }   /* 2 cols x 3 rows on phone */
  .tutor__grid { grid-template-columns: repeat(2, 1fr); }
  .command__grid { grid-template-columns: 1fr; }
  .posters { grid-auto-columns: 62%; }         /* wider cards on phone */
  .eco__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .collab__grid { grid-template-columns: repeat(2, 1fr); }
}
