/* ============================================================
   SIFU — landing.css
   ============================================================ */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(47, 107, 255, .12), transparent 62%),
    radial-gradient(760px 420px at -6% 8%, rgba(29, 78, 216, .07), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 72%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 26, 43, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 26, 43, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 560px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--blue-600);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .1em;
}
.hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cf5c0;
  box-shadow: 0 0 0 3px rgba(124, 245, 192, .18);
}

.hero h1 { margin-top: 22px; font-size: clamp(2.05rem, 4.15vw, 3.5rem); letter-spacing: -.038em; }
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--blue-600);
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .09em;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(47, 107, 255, .45), rgba(47, 107, 255, .08));
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.45vw, 1.115rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: .84rem;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--blue-600); flex: none; }

.hero__visual { position: relative; min-width: 0; }
.hero__inner > * { min-width: 0; }

/* ---------- Product mock ---------- */

.mock {
  position: relative;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dfe6f1;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 100%;
  transform: perspective(1400px) rotateY(-3.5deg) rotateX(1.2deg);
  transform-origin: 50% 50%;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line);
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d7dfec; }
.mock__dots i:first-child { background: #ffc7c2; }
.mock__dots i:nth-child(2) { background: #ffe1a8; }
.mock__dots i:nth-child(3) { background: #b9ecc9; }
.mock__url {
  flex: 1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: .7rem;
  color: var(--muted-2);
  font-family: var(--mono);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__body { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 384px; }

.mock__side {
  background: #f8fafd;
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mock__logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .78rem;
  color: var(--navy-900);
  padding: 2px 6px 12px;
}
.mock__logo span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .6rem;
}
.mock__nav {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: .69rem;
  font-weight: 550;
  color: var(--muted);
  white-space: nowrap;
}
.mock__nav svg { width: 12px; height: 12px; flex: none; opacity: .75; }
.mock__nav.is-active {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 1px 3px rgba(13, 26, 43, .1);
  font-weight: 700;
}
.mock__main { padding: 16px 18px; min-width: 0; }
.mock__crumb {
  font-size: .66rem;
  color: var(--muted-2);
  display: flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__crumb b { color: var(--ink-2); font-weight: 600; }
.mock__title {
  margin-top: 7px;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--navy-800);
  line-height: 1.3;
}
.mock__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .62rem;
  font-weight: 650;
}
.chip--neutral { background: #eef2f8; color: var(--muted); }
.chip--green { background: var(--green-soft); color: #067a54; }
.chip--amber { background: var(--amber-soft); color: #96650a; }

.mock__tabs {
  display: flex;
  gap: 14px;
  margin-top: 13px;
  border-bottom: 1px solid var(--line);
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted-2);
}
.mock__tabs span { padding-bottom: 7px; position: relative; white-space: nowrap; }
.mock__tabs span.is-on { color: var(--blue-700); }
.mock__tabs span.is-on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

.steps { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.step {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 9px;
  align-items: start;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f8fafd;
  border: 1px solid #eef2f8;
}
.step__num {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1.5px solid var(--blue-300);
  color: var(--blue-700);
  font-size: .58rem;
  font-weight: 800;
}
.step.is-done .step__num { background: var(--green); border-color: var(--green); color: #fff; }
.step__t { font-size: .7rem; font-weight: 650; color: var(--navy-800); line-height: 1.35; }
.step__d { font-size: .62rem; color: var(--muted-2); line-height: 1.4; margin-top: 1px; }
.step__time {
  font-size: .58rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.mock__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-2);
  animation: float 7s ease-in-out infinite;
}
.mock__float b { display: block; font-size: .66rem; color: var(--muted-2); font-weight: 500; }
.mock__float--a { left: 20px; bottom: -54px; }
.mock__float--b { right: -12px; top: -30px; animation-delay: -3.2s; }
.mock__float i {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex: none;
}
.mock__float--a i { background: var(--green-soft); color: #067a54; }
.mock__float--b i { background: var(--blue-50); color: var(--blue-600); }
.mock__float svg { width: 14px; height: 14px; }

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

/* ---------- Problem ---------- */

.problem { background: #fff; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.pain { grid-column: span 2; }
.pain:nth-child(4), .pain:nth-child(5) { grid-column: span 3; }
.pain {
  padding: 22px 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pain:hover {
  border-color: var(--blue-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pain__ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 14px;
}
.pain__ic svg { width: 18px; height: 18px; }
.pain h3 { font-size: .98rem; line-height: 1.35; }
.pain p { margin-top: 8px; font-size: .845rem; color: var(--muted); line-height: 1.6; }

.problem__note {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--soft);
  border: 1px solid var(--line-2);
  font-size: .9rem;
  color: var(--ink-2);
  max-width: 880px;
}
.problem__note svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; margin-top: 2px; }

/* ---------- Modules ---------- */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.module {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.module::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, .09), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease;
}
.module:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.module:hover::after { opacity: 1; }
.module__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.module__ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
}
.module__ic svg { width: 20px; height: 20px; }
.module__idx {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.module h3 { margin-top: 18px; font-size: 1.06rem; }
.module p { margin-top: 8px; font-size: .875rem; color: var(--muted); line-height: 1.62; }
.module__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 650;
  color: var(--blue-700);
}
.module__link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.module:hover .module__link svg { transform: translateX(3px); }

/* ---------- Curriculum explorer ---------- */

.explorer {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 320px 1fr;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.explorer__panel {
  padding: 24px;
  background: #f8fafd;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.explorer__note {
  margin-top: auto;
  padding-top: 22px;
  font-size: .72rem;
  color: var(--muted-2);
  line-height: 1.6;
  max-width: 30ch;
}
.explorer__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 9px;
}
.explorer__label + .explorer__label { margin-top: 20px; }
.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.seg button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 7px 0;
  font-size: .78rem;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 3px 8px -4px rgba(10, 27, 51, .6);
}
.select-list { display: flex; flex-direction: column; gap: 4px; }
.select-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: .83rem;
  font-weight: 550;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.select-list button:hover { background: #fff; border-color: var(--line); }
.select-list button[aria-pressed="true"] {
  background: #fff;
  border-color: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.select-list button span:last-child {
  font-size: .68rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.explorer__view { padding: 26px 30px 30px; min-width: 0; }
.explorer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.explorer__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.explorer__title { margin-top: 5px; font-size: 1.3rem; letter-spacing: -.025em; }
.explorer__sub { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.explorer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: #067a54;
  font-size: .7rem;
  font-weight: 650;
  white-space: nowrap;
}
.explorer__badge svg { width: 12px; height: 12px; }

.chapter-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.chapter {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  transition: border-color .16s ease, background .16s ease;
}
.chapter:hover { border-color: var(--blue-100); background: #fcfdff; }
.chapter__no {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--soft-2);
  color: var(--navy-700);
  font-size: .72rem;
  font-weight: 800;
  font-family: var(--mono);
}
.chapter__t { font-size: .92rem; font-weight: 650; color: var(--navy-800); }
.chapter__m { font-size: .76rem; color: var(--muted-2); margin-top: 2px; }
.chapter__end { display: flex; align-items: center; gap: 8px; }
.chapter__open {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chapter__open:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chapter__open svg { width: 14px; height: 14px; }

.objectives {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.objectives h4 { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.objectives ul { margin-top: 9px; display: grid; gap: 6px; }
.objectives li {
  position: relative;
  padding-left: 18px;
  font-size: .84rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.objectives li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

/* ---------- Teaching guide ---------- */

.guide h2, #tentang h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }

.guide {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.guide__steps {
  display: flex;
  gap: 6px;
  margin-top: 30px;
  padding: 6px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.guide__steps button {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: .76rem;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.guide__steps button[aria-selected="true"] {
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.guide__panel {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  min-height: 250px;
}
.guide__panel h4 {
  font-size: 1.02rem;
  letter-spacing: -.015em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.guide__panel p { margin-top: 10px; font-size: .89rem; color: var(--muted); line-height: 1.65; }
.guide__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.guide__fact span {
  display: block;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.guide__fact b { display: block; margin-top: 3px; font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.guide__list { margin-top: 14px; display: grid; gap: 7px; }
.guide__list li {
  display: flex;
  gap: 9px;
  font-size: .86rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.guide__list svg { width: 15px; height: 15px; color: var(--blue-600); flex: none; margin-top: 3px; }

.guide__visual {
  position: relative;
  border-radius: var(--r-xl);
  padding: 26px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(47, 107, 255, .16), transparent 60%),
    linear-gradient(155deg, var(--navy-800), #071a33 70%);
  color: #dbe6f7;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.guide__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent 80%);
}
.guide__visual > * { position: relative; }
.guide__visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa9cc;
  font-weight: 700;
}
.guide__visual-top b {
  color: #fff;
  white-space: nowrap;
  font-size: .68rem;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  letter-spacing: .06em;
}
.rail { margin-top: 22px; display: flex; flex-direction: column; }
.rail__item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}
.rail__item:last-child { border-bottom: 0; }
.rail__dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(157, 185, 255, .45);
  color: #cfe0ff;
  font-size: .66rem;
  font-weight: 800;
  font-family: var(--mono);
  background: rgba(255, 255, 255, .04);
}
.rail__item.is-done .rail__dot { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.rail__t { font-size: .88rem; font-weight: 650; color: #fff; }
.rail__d { font-size: .74rem; color: #8fa9cc; margin-top: 2px; }
.rail__tag {
  font-size: .66rem;
  font-family: var(--mono);
  color: #a9c0e4;
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 2px 7px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.guide__visual-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .72rem;
  color: #9db3d4;
}
.guide__visual-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
}
.guide__visual-foot svg { width: 12px; height: 12px; }

/* ---------- AI ---------- */

.ai { background: var(--navy-800); color: #c7d6ec; position: relative; overflow: hidden; }
.ai h2 { color: #fff; }
.ai .eyebrow { color: var(--blue-300); }
.ai::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(47, 107, 255, .28), transparent 65%);
  pointer-events: none;
}
.ai__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.ai .lede { color: #a9bcd8; }
.ai__points { margin-top: 26px; display: grid; gap: 14px; }
.ai__point { display: flex; gap: 12px; }
.ai__point i {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(47, 107, 255, .16);
  border: 1px solid rgba(157, 185, 255, .28);
  color: #a9c4ff;
  flex: none;
}
.ai__point svg { width: 15px; height: 15px; }
.ai__point b { display: block; font-size: .9rem; color: #fff; font-weight: 650; }
.ai__point span { display: block; font-size: .82rem; color: #93a9c8; margin-top: 2px; line-height: 1.55; }

.chat {
  border-radius: var(--r-xl);
  background: #0d2340;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  font-size: .76rem;
  color: #a9bcd8;
}
.chat__head b { color: #fff; font-size: .8rem; }
.chat__dot {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
}
.chat__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .66rem;
  color: #7cf5c0;
}
.chat__live i { width: 5px; height: 5px; border-radius: 50%; background: #7cf5c0; }
.chat__body { padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.55;
}
.bubble--user {
  align-self: flex-end;
  background: var(--blue-600);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble--ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #dbe6f7;
  border-bottom-left-radius: 4px;
}
.bubble--ai strong { color: #fff; }
.bubble__src {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bubble__src span {
  font-size: .64rem;
  color: #a9c4ff;
  background: rgba(47, 107, 255, .16);
  border: 1px solid rgba(157, 185, 255, .25);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.chat__ctx { padding: 0 16px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chat__ctx span {
  font-size: .64rem;
  color: #93a9c8;
  border: 1px dashed rgba(255, 255, 255, .18);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
  color: #8ea6c6;
}
.chat__input svg { width: 15px; height: 15px; color: #a9c4ff; flex: none; }
.chat__input kbd {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .62rem;
  color: #93a9c8;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px;
  padding: 1px 5px;
}

/* ---------- Tools ---------- */

.tools { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 66px); align-items: start; }
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tool {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 15px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.tool:hover { border-color: var(--blue-100); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool svg { width: 18px; height: 18px; color: var(--blue-600); }
.tool span { font-size: .7rem; font-weight: 500; color: var(--muted-2); line-height: 1.4; }

/* ---------- Analytics ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.analytic-card {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.analytic-card + .analytic-card { margin-top: 14px; }
.analytic-card h4 { font-size: .92rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.analytic-card h4 span { font-size: .68rem; font-weight: 600; color: var(--muted-2); }
.bars { margin-top: 16px; display: grid; gap: 11px; }
.bar__top { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-bottom: 5px; }
.bar__top b { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar__track { height: 7px; border-radius: 4px; background: var(--soft-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); width: 0; transition: width 1.1s cubic-bezier(.22, .61, .36, 1); }
.bar__fill.is-warn { background: linear-gradient(90deg, #f7b955, var(--amber)); }
.bar__fill.is-good { background: linear-gradient(90deg, #35d6a0, var(--green)); }

/* ---------- Levels ---------- */

.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.level {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  transition: background .2s ease, transform .2s ease;
}
.level:hover { background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.level__tag {
  display: inline-flex;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: #a9c4ff;
  border: 1px solid rgba(157, 185, 255, .3);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.level h3 { margin-top: 15px; font-size: 1.05rem; color: #fff; }
.level p { margin-top: 8px; font-size: .82rem; color: #93a9c8; line-height: 1.6; }
.level__count { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; color: #7f97b9; }

/* ---------- Steps ---------- */

.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; counter-reset: s; }
.step-card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.step-card__n {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: .1em;
}
.step-card h3 { margin-top: 12px; font-size: 1rem; }
.step-card p { margin-top: 7px; font-size: .845rem; color: var(--muted); line-height: 1.6; }
.step-card::after {
  content: "";
  position: absolute;
  top: 34px; right: -9px;
  width: 18px; height: 1px;
  background: var(--line);
}
.step-card:last-child::after { display: none; }

/* ---------- Compare ---------- */

.compare { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: #f8fafd;
  font-weight: 700;
}
.compare thead th:nth-child(3) { color: var(--blue-700); }
.compare tbody th { font-weight: 600; color: var(--ink-2); font-size: .86rem; width: 30%; }
.compare td { color: var(--muted); }
.compare td.is-us { color: var(--ink); background: #fafcff; font-weight: 550; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--blue-600);
  box-shadow: 0 20px 50px -30px rgba(28, 78, 216, .55);
  background: linear-gradient(180deg, #fbfdff, #fff 40%);
}
.plan__flag {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--blue-600);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1rem; }
.plan__desc { margin-top: 5px; font-size: .8rem; color: var(--muted); min-height: 40px; }
.plan__price {
  margin-top: 16px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy-900);
  line-height: 1;
}
.plan__price small { font-size: .76rem; font-weight: 550; color: var(--muted-2); letter-spacing: 0; }
.plan__cta { margin-top: 18px; width: 100%; }
.plan ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); display: grid; gap: 9px; }
.plan li { display: flex; gap: 8px; font-size: .82rem; color: var(--ink-2); line-height: 1.5; }
.plan li svg { width: 14px; height: 14px; color: var(--green); flex: none; margin-top: 3px; }
.plan li.is-off { color: var(--muted-2); }
.plan li.is-off svg { color: var(--line); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 42px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 2px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 4px;
  cursor: pointer;
  list-style: none;
  font-size: .98rem;
  font-weight: 650;
  color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-700); }
.faq summary i {
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex: none;
  position: relative;
  transition: background .16s ease, border-color .16s ease;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
  transition: transform .2s ease, background .16s ease;
}
.faq summary i::before { width: 10px; height: 1.6px; }
.faq summary i::after { width: 1.6px; height: 10px; }
.faq details[open] summary i { background: var(--blue-50); border-color: var(--blue-100); }
.faq details[open] summary i::before { background: var(--blue-600); }
.faq details[open] summary i::after { transform: rotate(90deg); background: var(--blue-600); }
.faq details p { padding: 0 4px 20px; font-size: .9rem; color: var(--muted); line-height: 1.7; max-width: 74ch; }

/* ---------- CTA ---------- */

.cta { padding-block: clamp(60px, 7vw, 96px); }
.cta__box {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(47, 107, 255, .35), transparent 60%),
    linear-gradient(140deg, #0c2140, var(--navy-900));
  color: #c7d6ec;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, #000, transparent 75%);
  pointer-events: none;
}
.cta__box > * { position: relative; }
.cta__box h2 { color: #fff; }
.cta__box p { margin-top: 14px; color: #a9bcd8; max-width: 54ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cta__aside { display: grid; gap: 10px; }
.cta__fact {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: #cfe0f6;
}
.cta__fact svg { width: 16px; height: 16px; color: #8fb4ff; flex: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 720px; }
  .mock { max-width: 760px; }
  .mock__float--a { left: 8px; }
  .mock__float--b { right: 6px; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .pain, .pain:nth-child(4), .pain:nth-child(5) { grid-column: auto; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .guide { grid-template-columns: 1fr; }
  .ai__grid { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta__box { grid-template-columns: 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__panel { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 34px; }
  .mock { transform: none; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__float { display: none; }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr; }
  .tools__grid { grid-template-columns: 1fr 1fr; }
  .explorer__view { padding: 20px; }
  .chapter { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; }
  .chapter__end { grid-column: auto; justify-content: flex-end; }
  .chapter__end .chip--neutral { display: none; }
  .guide__facts { grid-template-columns: 1fr; }
  .guide__steps { flex-wrap: wrap; }
  .guide__steps button { flex: 1 0 28%; }
  .levels { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 620px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .section-head--center { text-align: left; }
  .section-head--center .lede { margin-inline: 0; }
}

@media (max-width: 480px) {
  .problem__grid { grid-template-columns: 1fr; }
  .tools__grid { grid-template-columns: 1fr; }
  .hero__badge { font-size: .68rem; }
  .hero__meta { gap: 6px 14px; font-size: .78rem; }
  .plan__desc { min-height: 0; }
}
