/* ============================================================
   Teacher Platform by Octux — Marketing Landing Page
   Built on the Octux Teacher Platform design tokens.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface-page);
  color: var(--text-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(123,63,245,0.4); color: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- marketing type scale (larger than the app scale) ---- */
:root {
  --mk-hero: clamp(40px, 5.4vw, 70px);
  --mk-h2: clamp(30px, 3.6vw, 46px);
  --mk-h3: clamp(20px, 2vw, 26px);
  --mk-lead: clamp(17px, 1.4vw, 21px);
  --shell-max: 1200px;
}

/* ---- layout helpers ---- */
.shell { width: 100%; max-width: var(--shell-max); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: var(--fw-bold); letter-spacing: var(--ls-overline);
  text-transform: uppercase; color: var(--violet-300);
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft); border: 1px solid var(--border-brand);
}
.eyebrow svg { width: 15px; height: 15px; }

.sec-head { max-width: 720px; margin: 0 auto 56px; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-title {
  font-size: var(--mk-h2); font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight); line-height: 1.08; color: var(--text-strong);
  margin: 18px 0 0; text-wrap: balance;
}
.sec-sub {
  font-size: var(--mk-lead); font-weight: var(--fw-regular); line-height: var(--lh-relaxed);
  color: var(--text-muted); margin: 18px 0 0; text-wrap: pretty;
}
.grad-text {
  background: linear-gradient(100deg, #b07cff 0%, #e21a8e 60%, #ff9d42 110%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---- ambient glow backdrop ---- */
.glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; z-index: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 15px; font-weight: var(--fw-semibold);
  line-height: 1; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: var(--transition-colors), transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), filter var(--dur-base) var(--ease-standard);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--glow-brand); }
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 20px 54px rgba(123,63,245,0.6); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--text-default); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); color: var(--text-strong); border-color: var(--navy-400); }
.btn--light { background: #fff; color: var(--navy-950); }
.btn--light:hover { filter: brightness(0.94); transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), backdrop-filter var(--dur-base);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(11,13,28,0.78); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-hairline);
}
.hdr__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--gradient-brand);
  box-shadow: var(--glow-brand); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -0.03em;
}
.brand__word { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.05; }
.brand__word span { display: block; font-size: 10.5px; font-weight: 600; color: var(--text-subtle); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a {
  font-size: 14.5px; font-weight: var(--fw-medium); color: var(--text-muted);
  padding: 9px 14px; border-radius: var(--radius-md); transition: var(--transition-colors);
}
.nav a:hover { color: var(--text-strong); background: var(--surface-hover); }
.hdr__right { display: flex; align-items: center; gap: 14px; flex: none; }
.link-login { font-size: 14.5px; font-weight: var(--fw-semibold); color: var(--text-default); padding: 8px 6px; transition: var(--transition-colors); }
.link-login:hover { color: var(--text-strong); }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-hover); border: 1px solid var(--border-hairline); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.hdr__burger svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer { position: fixed; inset: 76px 0 0; z-index: 99; background: rgba(9,11,22,0.97); backdrop-filter: blur(10px); padding: 28px; display: none; flex-direction: column; gap: 6px; }
.drawer.open { display: flex; }
.drawer a { font-size: 18px; font-weight: 600; color: var(--text-default); padding: 16px 12px; border-radius: var(--radius-md); border-bottom: 1px solid var(--border-hairline); }
.drawer a:hover { background: var(--surface-hover); }
.drawer .btn { margin-top: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 56px; align-items: center; }
.hero__copy { max-width: 600px; }
.hero h1 {
  font-size: var(--mk-hero); font-weight: var(--fw-extrabold); letter-spacing: -0.03em;
  line-height: 1.04; color: var(--text-strong); margin: 22px 0 0; text-wrap: balance;
}
.hero__sub { font-size: var(--mk-lead); line-height: var(--lh-relaxed); color: var(--text-muted); margin: 22px 0 0; max-width: 540px; text-wrap: pretty; }
.hero__cta { display: flex; gap: 14px; margin: 34px 0 0; flex-wrap: wrap; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 0; }
.hbadge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: var(--radius-pill); background: var(--surface-card); border: 1px solid var(--border-hairline);
  font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-default); box-shadow: var(--shadow-xs);
}
.hbadge svg { width: 15px; height: 15px; }
.hbadge--blue svg { color: var(--accent-sky); }
.hbadge--violet svg { color: var(--violet-400); }
.hbadge--green svg { color: var(--accent-green); }
.hbadge--pink svg { color: var(--accent-pink); }

/* ---- hero product mockup stage ---- */
.stage { position: relative; height: 540px; }
.stage__dash, .stage__stu { position: absolute; }
.stage__dash { left: 0; top: 22px; width: 86%; z-index: 2; animation: floatA 7s ease-in-out infinite; }
.stage__stu { right: -10px; bottom: 0; width: 47%; z-index: 3; animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .stage__dash, .stage__stu { animation: none; } }
.float-chip {
  position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: var(--radius-md); background: rgba(20,23,44,0.86);
  border: 1px solid var(--border-default); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: var(--fw-semibold); color: #fff;
}
.float-chip .ico { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.float-chip .ico svg { width: 17px; height: 17px; color: #fff; }
.float-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); }
.float-chip--a { top: 8px; right: 8%; animation: floatB 6s ease-in-out infinite; }
.float-chip--b { bottom: 76px; left: -14px; animation: floatA 7.5s ease-in-out infinite; }

/* ============================================================
   PRODUCT MOCKUP (shared chrome for dashboard + student)
   ============================================================ */
.mock {
  border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-950);
  border: 1px solid var(--border-default); box-shadow: var(--shadow-xl), var(--bevel-top);
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--navy-900); border-bottom: 1px solid var(--border-hairline); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__dot--r { background: #ff5f57; } .mock__dot--y { background: #febc2e; } .mock__dot--g { background: #28c840; }
.mock__url { margin-left: 12px; flex: 1; height: 26px; border-radius: var(--radius-pill); background: var(--navy-800); border: 1px solid var(--border-hairline);
  display: flex; align-items: center; padding: 0 14px; gap: 7px; font-size: 11.5px; color: var(--text-subtle); }
.mock__url svg { width: 12px; height: 12px; }

/* ---- dashboard mock ---- */
.dash { display: grid; grid-template-columns: 168px 1fr; background: var(--navy-950); }
.dash__side { background: var(--surface-sidebar); border-right: 1px solid var(--border-hairline); padding: 14px 11px; display: flex; flex-direction: column; gap: 3px; }
.dash__logo { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; }
.dash__logo i { width: 26px; height: 26px; border-radius: 8px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; font-style: normal; }
.dash__logo b { font-size: 12.5px; font-weight: 800; color: #fff; }
.dash__navlbl { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); padding: 8px 8px 4px; }
.dnav { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.dnav svg { width: 15px; height: 15px; }
.dnav.on { background: var(--gradient-brand-soft); color: #fff; }
.dnav.on svg { color: var(--violet-300); }
.dash__main { padding: 16px; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.dash__welcome { border-radius: var(--radius-lg); background: var(--gradient-brand); box-shadow: var(--glow-brand); padding: 16px 18px; position: relative; overflow: hidden; }
.dash__welcome::after { content: ""; position: absolute; top: -50%; right: -8%; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 65%); }
.dash__welcome small { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.85); }
.dash__welcome b { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-top: 2px; }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dstat { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--bevel-top); }
.dstat__top { display: flex; align-items: flex-start; justify-content: space-between; }
.dstat__num { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.dstat__num.sm { font-size: 14px; }
.dstat__lbl { font-size: 10px; color: var(--text-muted); margin-top: 5px; font-weight: 600; }
.dstat__ico { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dstat__ico svg { width: 15px; height: 15px; color: #fff; }
.dash__lower { display: grid; grid-template-columns: 1.7fr 1fr; gap: 11px; }
.dcard { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 13px; box-shadow: var(--bevel-top); }
.dcard__h { font-size: 12px; font-weight: 700; color: #fff; }
.dcard__hs { font-size: 9.5px; color: var(--text-subtle); margin-top: 1px; }
.dchart { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin-top: 12px; }
.dchart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6ea8ff, #4d69fe); }
.dchart i:last-child { background: var(--gradient-brand); }
.dmini { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 9px; background: var(--surface-inset); margin-bottom: 8px; }
.dmini:last-child { margin-bottom: 0; }
.dmini__ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.dmini__ico svg { width: 15px; height: 15px; color: #fff; }
.dmini b { font-size: 14px; font-weight: 800; color: #fff; display: block; }
.dmini small { font-size: 10px; color: var(--text-muted); }

/* tile gradient helpers (used across mockups) */
.g-blue { background: var(--gradient-blue); } .g-violet { background: var(--gradient-violet); }
.g-green { background: var(--gradient-green); } .g-orange { background: var(--gradient-orange); }
.g-pink { background: var(--gradient-pink); } .g-teal { background: var(--gradient-teal); }

/* ---- student platform mock ---- */
.stu { background: var(--navy-950); padding: 14px; }
.stu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stu__top b { font-size: 13px; font-weight: 800; color: #fff; }
.stu__av { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-violet); }
.stu__player { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-hairline); margin-bottom: 12px; }
.stu__video { aspect-ratio: 16/9; background: linear-gradient(135deg, #1b1e34, #101a3c); display: flex; align-items: center; justify-content: center; position: relative; }
.stu__play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.stu__play svg { width: 20px; height: 20px; color: #fff; margin-left: 2px; }
.stu__pbar { height: 4px; background: var(--navy-700); }
.stu__pbar i { display: block; height: 100%; width: 42%; background: var(--gradient-brand); }
.stu__meta { padding: 11px 13px; background: var(--surface-card); }
.stu__meta b { font-size: 13px; font-weight: 700; color: #fff; display: block; }
.stu__meta small { font-size: 10.5px; color: var(--text-muted); }
.stu__list { display: flex; flex-direction: column; gap: 7px; }
.slesson { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; background: var(--surface-card); border: 1px solid var(--border-hairline); }
.slesson__ico { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: none; }
.slesson__ico svg { width: 13px; height: 13px; color: #fff; }
.slesson b { font-size: 11.5px; font-weight: 600; color: var(--text-default); flex: 1; }
.slesson small { font-size: 10px; color: var(--text-subtle); }
.slesson .chk { color: var(--accent-green); width: 15px; height: 15px; }

/* ============================================================
   CARDS / GENERIC GRID
   ============================================================ */
.card {
  position: relative; background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-md), var(--bevel-top);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-fast);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--bevel-top); border-color: var(--border-default); }
.tile {
  width: 52px; height: 52px; border-radius: var(--radius-tile); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex: none;
}
.tile svg { width: 26px; height: 26px; color: #fff; }
.tile--blue { background: var(--gradient-blue); box-shadow: var(--glow-blue); }
.tile--violet { background: var(--gradient-violet); box-shadow: var(--glow-brand); }
.tile--green { background: var(--gradient-green); box-shadow: var(--glow-green); }
.tile--orange { background: var(--gradient-orange); }
.tile--pink { background: var(--gradient-pink); box-shadow: var(--glow-pink); }
.tile--teal { background: var(--gradient-teal); }
.tile--sky { background: linear-gradient(135deg, #6cb5ff, #51a2ff); }
.tile--amber { background: linear-gradient(135deg, #ffc658, #f5a524); }
.card h3 { font-size: var(--mk-h3); font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: -0.01em; margin: 0 0 9px; }
.card p { font-size: 15px; line-height: var(--lh-relaxed); color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---- problem cards (warmer, "pain" framing) ---- */
.problem-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.problem-card .x { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(244,63,94,0.13); border: 1px solid rgba(244,63,94,0.25); display: flex; align-items: center; justify-content: center; flex: none; }
.problem-card .x svg { width: 20px; height: 20px; color: #ff6b86; }
.problem-card h3 { font-size: 17px; margin: 0 0 5px; }
.problem-card p { font-size: 14px; }

/* ============================================================
   PRODUCT PREVIEW (two experiences, tabbed)
   ============================================================ */
.pp-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: var(--surface-card); border: 1px solid var(--border-hairline); margin: 0 auto 44px; }
.pp-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 600; color: var(--text-muted); cursor: pointer; border: none; background: transparent; font-family: var(--font-sans); transition: var(--transition-colors); }
.pp-tab svg { width: 17px; height: 17px; }
.pp-tab.on { background: var(--gradient-brand); color: #fff; box-shadow: var(--glow-brand); }
.pp-panel { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; }
.pp-panel[hidden] { display: none; }
.pp-panel.rev { grid-template-columns: 1.18fr 0.82fr; }
.pp-panel.rev .pp-copy { order: 2; }
.pp-copy h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: var(--fw-extrabold); letter-spacing: -0.02em; color: var(--text-strong); margin: 16px 0 0; line-height: 1.1; }
.pp-copy p { font-size: var(--mk-lead); line-height: var(--lh-relaxed); color: var(--text-muted); margin: 18px 0 0; }
.pp-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pp-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text-default); }
.pp-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--gradient-green); display: flex; align-items: center; justify-content: center; flex: none; }
.pp-list .ck svg { width: 14px; height: 14px; color: #fff; }
.pp-stage { position: relative; }

/* ============================================================
   FOR TEACHERS
   ============================================================ */
.persona { padding: 28px; text-align: left; overflow: hidden; }
.persona .tile { margin-bottom: 22px; }
.persona h3 { font-size: 19px; }
.persona p { font-size: 14px; }
.persona__tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--violet-300); letter-spacing: 0.02em; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding: 32px 28px; }
.step__n { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px;
  background: linear-gradient(160deg, #b07cff, #e21a8e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step__ico { position: absolute; top: 30px; right: 28px; width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--surface-inset); border: 1px solid var(--border-hairline); display: flex; align-items: center; justify-content: center; }
.step__ico svg { width: 22px; height: 22px; color: var(--violet-300); }
.step h3 { font-size: 20px; font-weight: 700; color: var(--text-strong); margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--text-muted); line-height: var(--lh-relaxed); margin: 0; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.benefit { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border-hairline); }
.benefit:last-child { border-bottom: none; }
.benefit .bk { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--gradient-brand-soft); border: 1px solid var(--border-brand); display: flex; align-items: center; justify-content: center; flex: none; }
.benefit .bk svg { width: 19px; height: 19px; color: var(--violet-300); }
.benefit b { font-size: 16px; font-weight: 700; color: var(--text-strong); display: block; margin-bottom: 3px; }
.benefit span { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.benefits-panel { position: relative; border-radius: var(--radius-2xl); padding: 40px; background: linear-gradient(165deg, var(--navy-800), var(--navy-900)); border: 1px solid var(--border-default); box-shadow: var(--shadow-lg); overflow: hidden; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 30px; }
.plan--feat { background: linear-gradient(170deg, rgba(123,63,245,0.16), var(--surface-card) 55%); border-color: var(--border-brand); box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-brand); }
.plan__badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--gradient-brand); color: #fff; }
.plan__name { font-size: 21px; font-weight: 800; color: var(--text-strong); }
.plan__for { font-size: 14px; color: var(--text-muted); margin: 7px 0 22px; line-height: 1.5; min-height: 42px; }
.plan__price { font-size: 17px; font-weight: 700; color: var(--text-strong); padding: 18px 0; border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.plan__price small { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.plan__feats { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-default); }
.plan__feats svg { width: 17px; height: 17px; color: var(--accent-green); flex: none; margin-top: 1px; }
.plan__btns { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard { display: flex; flex-direction: column; gap: 18px; padding: 30px; }
.tcard__stars { display: flex; gap: 3px; }
.tcard__stars svg { width: 17px; height: 17px; color: var(--accent-amber); fill: var(--accent-amber); }
.tcard__quote { font-size: 16px; line-height: 1.6; color: var(--text-default); margin: 0; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border-hairline); }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex: none; }
.tcard__n { font-size: 14.5px; font-weight: 700; color: var(--text-strong); }
.tcard__r { font-size: 12.5px; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur-fast); }
.qa.open { border-color: var(--border-brand); }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 16.5px; font-weight: 600; color: var(--text-strong); text-align: left; }
.qa__q .pm { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-inset); border: 1px solid var(--border-hairline); display: flex; align-items: center; justify-content: center; flex: none; transition: var(--transition-all); }
.qa__q .pm svg { width: 17px; height: 17px; color: var(--violet-300); transition: transform var(--dur-base) var(--ease-standard); }
.qa.open .pm { background: var(--gradient-brand); border-color: transparent; }
.qa.open .pm svg { color: #fff; transform: rotate(45deg); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.qa__a p { margin: 0; padding: 0 24px 24px; font-size: 15px; line-height: var(--lh-relaxed); color: var(--text-muted); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; border-radius: var(--radius-3xl); overflow: hidden; padding: clamp(56px, 7vw, 92px) 40px; text-align: center;
  background: linear-gradient(110deg, #6d2ff7 0%, #b026d3 52%, #e21a8e 100%); box-shadow: var(--glow-brand); }
.final::before { content: ""; position: absolute; top: -40%; left: -10%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 60%); }
.final::after { content: ""; position: absolute; bottom: -50%; right: -8%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(20,10,60,0.4), transparent 62%); }
.final__in { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.final h2 { font-size: var(--mk-h2); font-weight: var(--fw-extrabold); letter-spacing: -0.02em; color: #fff; margin: 0; line-height: 1.08; text-wrap: balance; }
.final p { font-size: var(--mk-lead); line-height: var(--lh-relaxed); color: rgba(255,255,255,0.9); margin: 20px auto 32px; max-width: 560px; text-wrap: pretty; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border-hairline); padding: 72px 0 36px; background: var(--navy-1000); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border-hairline); }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { font-size: 14px; line-height: var(--lh-relaxed); color: var(--text-muted); max-width: 320px; margin: 0 0 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--surface-card); border: 1px solid var(--border-hairline); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition-colors); }
.footer__social a:hover { color: #fff; background: var(--surface-active); border-color: var(--border-brand); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 18px; }
.footer__col a, .footer__col span { display: block; font-size: 14px; color: var(--text-muted); padding: 7px 0; transition: var(--transition-colors); }
.footer__col a:hover { color: var(--text-strong); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13px; color: var(--text-subtle); margin: 0; }
.footer__by { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.footer__by b { color: var(--violet-300); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .stage { height: 460px; max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pp-panel, .pp-panel.rev { grid-template-columns: 1fr; gap: 32px; }
  .pp-panel.rev .pp-copy { order: 0; }
  .benefits-wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav, .hdr__right .link-login, .hdr__right .btn { display: none; }
  .hdr__burger { display: flex; }
  .hdr__right { margin-left: auto; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
  .stage { display: none; }
  .hero__inner { gap: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .shell { padding: 0 18px; }
  .footer__top { grid-template-columns: 1fr; }
}
