/* ---------- Tokens ---------- */
:root {
  --primary: #6E48FF;
  --primary-deep: #4F2BD9;
  --primary-soft: #8F73FF;
  --primary-50: #F1EDFF;
  --primary-100: #E3DAFF;
  --accent: #EC4899;
  --accent-soft: #F472B6;

  --bg: #ffffff;
  --bg-soft: #F8F7FC;
  --bg-lilac: #F4F0FF;
  --surface: #ffffff;

  --text: #0F0B23;
  --text-2: #2D2945;
  --muted: #6A6588;
  --muted-2: #9994B5;
  --line: #ECE9F5;
  --line-2: #DAD4ED;

  --green: #16A37B;
  --green-bg: #E4F7EF;
  --amber: #D97706;
  --amber-bg: #FEF1DA;
  --rose: #E11D48;
  --rose-bg: #FDE7EC;
  --blue: #2563EB;
  --blue-bg: #E0EAFF;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(20, 12, 60, 0.06), 0 1px 1px rgba(20, 12, 60, 0.04);
  --shadow: 0 8px 24px -8px rgba(40, 22, 110, 0.18), 0 2px 6px rgba(40, 22, 110, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(48, 22, 130, 0.35), 0 12px 28px -10px rgba(48, 22, 130, 0.18);
  --shadow-purple: 0 30px 80px -30px rgba(110, 72, 255, 0.5);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px -8px rgba(110, 72, 255, 0.6), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { background: #5B36F5; box-shadow: 0 14px 32px -8px rgba(110, 72, 255, 0.7); }

.btn-ghost-white {
  background: rgba(255,255,255,.10);
  color: white;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.18); }

.btn-white {
  background: white;
  color: var(--primary-deep);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.25);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Eyebrow / pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(8px);
}
.eyebrow .badge {
  background: white;
  color: var(--primary-deep);
  font-weight: 700; font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-light {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ---------- Headings ---------- */
.h-display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.h-section {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.h-section .accent { color: var(--primary); }
.h-section .accent-pink { color: var(--accent); }

.sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: white; font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
}
.nav-logo .logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: white;
  display: grid; place-items: center;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nav-links {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: white; }
.nav-links a.active { background: white; color: var(--primary-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #8B6BFF 0%, #6E48FF 38%, #5B2EFF 75%, #4F2BD9 100%);
  color: white;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.10), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(236,72,153,0.18), transparent 30%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 40px 0 380px;
}
.hero h1 { margin: 24px auto 18px; max-width: 880px; }
.hero .sub-hero {
  max-width: 560px; margin: 0 auto;
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.hero-ctas {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 32px;
}

/* Hero fade transition into white */
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 320px;
  background: linear-gradient(to bottom, transparent, white 85%);
  pointer-events: none;
}

/* Floating dashboard wrapping into hero */
.hero-dashboard-wrap {
  position: relative;
  margin-top: -340px;
  z-index: 3;
  display: flex; justify-content: center;
  padding-bottom: 80px;
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header .sub { margin-top: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 80px;
  max-width: 880px;
  margin: 0 auto;
}
.feature {
  display: flex; flex-direction: column; gap: 12px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
}
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Split sections (Productivity / Better Results) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.split-content h2 { margin-bottom: 18px; }
.split-content .sub { margin-bottom: 28px; max-width: 460px; }
.bullet-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.bullet {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text-2); font-weight: 500;
}
.bullet .check {
  flex: none; width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center;
  margin-top: 1px;
}

/* ---------- Process section ---------- */
.process {
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, #7E5FFF 0%, #6E48FF 50%, #4F2BD9 100%);
  color: white;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(236,72,153,0.15), transparent 35%);
  pointer-events: none;
}
.process .eyebrow-light { color: rgba(255,255,255,.7); }
.process .sub { color: rgba(255,255,255,.75); }
.process h2 { color: white; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}
.step-dots {
  position: absolute; left: 0; right: 0; top: -20px;
  height: 80px;
  pointer-events: none;
}
.step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  text-align: center;
  color: var(--text);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(20, 0, 80, 0.4);
}
.step .num {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px;
  background: white;
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  color: var(--primary);
  box-shadow: 0 12px 24px -8px rgba(20, 0, 80, 0.4);
  border: 6px solid white;
  background: linear-gradient(135deg, #fff, #F1EDFF);
}
.step h3 { margin: 24px 0 10px; font-size: 18px; font-weight: 700; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: #0E0A23;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-col h4 {
  color: white;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background .15s ease;
}
.footer-socials a:hover { background: var(--primary); color: white; }

/* ---------- Scroll reveal ----------
   Content is always visible by default (works everywhere).
   The .in class re-runs a CSS keyframe entrance animation when an element
   enters the viewport — animation, not transition, because transitions can
   stall in some iframe contexts. */
.reveal { opacity: 1; transform: none; }
.reveal.in { animation: revealUp .9s cubic-bezier(.2,.7,.2,1) both; }
.reveal-delay-1.in { animation-delay: .08s; }
.reveal-delay-2.in { animation-delay: .16s; }
.reveal-delay-3.in { animation-delay: .24s; }
.reveal-delay-4.in { animation-delay: .32s; }
@keyframes revealUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Dashboard mockup styles ---------- */
.dash {
  width: 1040px;
  max-width: calc(100vw - 64px);
  background: white;
  border-radius: 24px;
  box-shadow:
    0 80px 120px -40px rgba(40, 10, 120, 0.55),
    0 24px 60px -20px rgba(40, 10, 120, 0.35),
    0 0 0 1px rgba(255,255,255,0.4);
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px 1fr;
  font-size: 12px;
  color: var(--text);
  position: relative;
}
.dash-side {
  background: linear-gradient(180deg, #6E48FF, #5B36F5);
  color: white;
  padding: 18px 14px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.dash-side .brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 16px;
  font-size: 13px; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
}
.dash-side .brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: white; color: var(--primary);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.dash-side .group-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  padding: 12px 8px 6px;
}
.dash-side .nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 9px;
  border-radius: 7px;
  font-size: 12px; color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.dash-side .nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.dash-side .nav-item.active { background: rgba(255,255,255,0.15); color: white; font-weight: 600; }
.dash-side .nav-item .ic { width: 14px; height: 14px; opacity: .9; }
.dash-side .nav-item .pill {
  margin-left: auto; font-size: 9px;
  background: var(--accent); color: white;
  padding: 1px 6px; border-radius: 999px; font-weight: 700;
}

.dash-main {
  padding: 16px 18px 20px;
  background: #FAF9FD;
  display: flex; flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.dash-search {
  flex: 1; max-width: 240px;
  display: flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--muted-2); font-size: 11px;
}
.dash-topbar .user-bits { display: flex; align-items: center; gap: 8px; }
.dash-topbar .icon-btn {
  width: 26px; height: 26px; border-radius: 7px;
  background: white; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  position: relative;
}
.dash-topbar .icon-btn .dot {
  position: absolute; top: 3px; right: 3px;
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
}
.dash-topbar .avatar {
  width: 26px; height: 26px; border-radius: 999px;
  background: linear-gradient(135deg, #FFB997, #FF8E72);
  border: 2px solid white;
}

.dash-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.dash-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.dash-card-title { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.dash-card-sub { font-size: 10px; color: var(--muted-2); }

/* KPI tiles */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi {
  background: white; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.kpi .kpi-label { font-size: 9px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.kpi .kpi-value { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.kpi .kpi-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; }
.kpi .kpi-delta.up { color: var(--green); }
.kpi .kpi-delta.down { color: var(--rose); }
.kpi .kpi-icon {
  position: absolute;
  right: 8px; top: 8px;
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
}
.kpi { position: relative; }

/* Charts */
.bar-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 130px; padding-top: 8px; }
.bar-col { display: flex; flex-direction: column; gap: 2px; align-items: stretch; height: 100%; justify-content: flex-end; }
.bar { border-radius: 4px 4px 0 0; transition: height 1s cubic-bezier(.2,.7,.2,1); }
.bar.a { background: var(--primary); }
.bar.b { background: var(--primary-soft); opacity: .55; }
.bar-label { font-size: 9px; color: var(--muted-2); text-align: center; margin-top: 4px; }

.legend { display: flex; gap: 10px; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; }

/* Donut */
.donut-wrap { display: flex; align-items: center; gap: 14px; }
.donut { width: 120px; height: 120px; }
.donut-legend { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.donut-legend-row { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.donut-legend-row .pct { margin-left: auto; font-weight: 700; font-size: 10px; color: var(--text); }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 11px; }
.table th, .table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-size: 9px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.table td { color: var(--text-2); }
.table .student { display: flex; align-items: center; gap: 8px; }
.table .student .ava { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: white; }
.tag { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: 0.02em; }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.amber { background: var(--amber-bg); color: var(--amber); }
.tag.rose { background: var(--rose-bg); color: var(--rose); }
.tag.blue { background: var(--blue-bg); color: var(--blue); }

/* Schedule */
.schedule { display: flex; flex-direction: column; gap: 6px; }
.schedule-row {
  display: grid; grid-template-columns: 50px 1fr auto; gap: 8px;
  align-items: center;
  padding: 8px; border-radius: 8px;
  background: var(--bg-soft);
  font-size: 11px;
}
.schedule-row .time { font-size: 10px; color: var(--muted); font-weight: 600; }
.schedule-row .label { font-weight: 600; color: var(--text); }
.schedule-row .where { font-size: 9px; color: var(--muted-2); }
.schedule-row .marker { width: 4px; height: 26px; border-radius: 999px; }

/* Tabs */
.dash-tabs { display: flex; gap: 4px; padding: 3px; background: var(--bg-soft); border-radius: 8px; }
.dash-tab {
  padding: 5px 10px; font-size: 10px; font-weight: 600;
  border-radius: 6px; color: var(--muted); cursor: pointer;
}
.dash-tab.active { background: white; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

/* Productivity / BetterResults mockup */
.mini-app {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: white;
  position: relative;
  transform: perspective(1400px) rotateY(-2deg);
  transition: transform .6s ease;
}
.mini-app.right { transform: perspective(1400px) rotateY(2deg); }
.mini-app:hover { transform: perspective(1400px) rotateY(0deg); }

/* ---------- Tab switcher on feature section ---------- */
.feature-tabs {
  display: inline-flex; gap: 4px;
  padding: 5px;
  background: var(--bg-lilac);
  border-radius: 999px;
  margin-top: 8px;
}
.feature-tab {
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: all .2s ease;
}
.feature-tab.active { background: white; color: var(--primary-deep); box-shadow: var(--shadow-sm); }
.feature-tab:hover:not(.active) { color: var(--text-2); }

/* Productivity small panel inside section */
.panel-shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open {
  border-color: var(--primary-100);
  box-shadow: 0 12px 32px -16px rgba(110, 72, 255, 0.25);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
}
.faq-q-mark {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease;
}
.faq-item.open .faq-q-mark {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 24px 22px;
}
.faq-a p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Booking page (separate file) ---------- */
.book-wrap {
  min-height: 100vh;
  background: var(--bg-soft);
  display: flex; flex-direction: column;
}
.book-nav {
  padding: 18px 0;
  background: white;
  border-bottom: 1px solid var(--line);
}
.book-nav .nav-inner { color: var(--text); }
.book-nav .nav-logo { color: var(--text); }
.book-nav .nav-logo .logo-mark { background: var(--primary); color: white; }
.book-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .15s ease;
}
.book-back:hover { color: var(--primary); }

.book-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding: 80px 0;
}
.book-form-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 40px;
}
.book-form-card h1 {
  font-size: 36px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px;
}
.book-form-card .sub { font-size: 16px; margin-bottom: 32px; }

.book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.book-field label {
  font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: -0.005em;
}
.book-field input, .book-field select, .book-field textarea {
  width: 100%;
  font-family: inherit; font-size: 14px;
  color: var(--text);
  background: white;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.book-field input:focus, .book-field select:focus, .book-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(110, 72, 255, 0.12);
}
.book-field textarea { min-height: 96px; resize: vertical; }

.book-side {
  display: flex; flex-direction: column; gap: 16px;
  align-self: start;
  position: sticky; top: 24px;
}
.book-side-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.book-side-card h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 14px;
}
.book-side-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.book-side-card li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text-2); line-height: 1.5;
}
.book-side-card li .ic-dot {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center; margin-top: 1px;
}
.book-side-card.dark {
  background: linear-gradient(135deg, #6E48FF, #4F2BD9);
  color: white;
  border: none;
}
.book-side-card.dark h3 { color: white; }
.book-side-card.dark .meta {
  font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.6;
}

.book-form-card .submit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px;
}
.book-form-card .submit-row .note {
  font-size: 13px; color: var(--muted);
}

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 56px; margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .hero-content { padding-bottom: 280px; }
  .hero-dashboard-wrap { margin-top: -260px; }
  .book-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .book-form-card { padding: 28px; }
  .book-row { grid-template-columns: 1fr; }
  .book-side { position: static; }
}
