@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,500&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  --navy: #0d1b2a;
  --navy-2: #10233a;
  --teal: #249487;
  --teal-deep: #0e4d4a;
  --gold: #c9a96e;
  --gold-deep: #b88e4c;
  --mist: #f9f8f4;
  --cream: #fcfaf6;
  --stone: #e7dfd2;
  --ink: #142033;
  --muted: #5d6978;
  --line: rgba(20, 32, 51, 0.1);
  --shadow: 0 22px 70px rgba(13, 27, 42, 0.12);
  --serif: "Playfair Display", "Lora", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 248, 244, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { width: 186px; }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(13, 27, 42, 0.16); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,0.55); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--gold); }
.hero { position: relative; overflow: hidden; padding: 78px 0 64px; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(58vw, 760px);
  height: 650px;
  background: url("/assets/aina-pattern-waves.svg") center / contain no-repeat;
  opacity: 0.72;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 54px; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--serif); line-height: 1.03; letter-spacing: -0.025em; }
h1 { font-size: clamp(48px, 6vw, 82px); }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 22px; }
.gold { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.lead { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.mini-proof { border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 13px; }
.mini-proof strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 3px; }
.visual-card {
  position: relative;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-card img { width: 100%; }
.floating-card {
  position: absolute;
  left: -24px;
  bottom: 26px;
  width: 240px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(13, 27, 42, 0.14);
}
.score { display: flex; align-items: center; gap: 12px; }
.ring {
  width: 62px; height: 62px; border-radius: 99px;
  background: conic-gradient(var(--teal) 0 68%, #e8e4dc 68% 100%);
  display: grid; place-items: center; color: var(--navy); font-weight: 800;
}
.ring::before { content: "68"; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 99px; background: #fff; }
.band { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.54); }
.logo-strip { display: flex; justify-content: center; gap: 44px; color: #8d96a1; font-weight: 800; flex-wrap: wrap; }
.section { padding: 82px 0; }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 520px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 12px 34px rgba(13, 27, 42, 0.06);
}
.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px; background: rgba(36,148,135,0.1); color: var(--teal-deep);
  margin-bottom: 28px; font-weight: 900;
}
.card p { color: var(--muted); line-height: 1.65; }
.dark {
  background: radial-gradient(circle at 80% 10%, rgba(201,169,110,0.18), transparent 36%), linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #f7f6f2;
}
.dark h2, .dark h3 { color: #f7f6f2; }
.dark p { color: rgba(247,246,242,0.72); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px; border: 1px solid rgba(247,246,242,0.12); border-radius: 18px; background: rgba(255,255,255,0.05); }
.num { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(201,169,110,0.16); color: var(--gold); font-weight: 900; }
.footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.variant-note { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .floating-card { position: static; width: auto; margin: -16px 18px 18px; }
}
@media (max-width: 620px) {
  .shell { padding: 0 20px; }
  .logo { width: 150px; }
  .actions .btn-ghost { display: none; }
  .feature-grid, .proof-row { grid-template-columns: 1fr; }
  .section-head { display: block; }
}

/* Product and assessment preview surfaces */
.app-body { background: #f7f6f2; }
.app-frame {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}
.side {
  background: rgba(255,255,255,0.8);
  border-right: 1px solid var(--line);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.side .logo { width: 178px; }
.side-nav { display: grid; gap: 7px; }
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.side-link.active { background: #f3ead9; color: var(--navy); }
.main-app { padding: 28px; min-width: 0; }
.topline { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 24px; }
.searchbox {
  height: 44px;
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
}
.avatar { width: 40px; height: 40px; border-radius: 99px; background: linear-gradient(135deg, var(--gold), var(--teal)); }
.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 16px 50px rgba(13,27,42,0.08);
}
.panel-pad { padding: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.metric b { display: block; color: var(--navy); font-size: 26px; margin-bottom: 4px; }
.metric span { color: var(--muted); font-size: 13px; }
.assessment-shell { min-height: 100vh; display: grid; place-items: center; padding: 34px; background: radial-gradient(circle at 80% 20%, rgba(111,119,251,0.12), transparent 28%), var(--mist); }
.assessment-card { width: min(1040px, 100%); overflow: hidden; }
.assessment-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.assessment-aside { padding: 42px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #f7f6f2; }
.assessment-aside h1, .assessment-aside h2 { color: #f7f6f2; }
.assessment-main { padding: 42px; background: rgba(255,255,255,0.86); }
.progress-track { height: 8px; border-radius: 99px; background: #e9e3d8; overflow: hidden; margin: 20px 0 30px; }
.progress-fill { height: 100%; width: var(--progress, 30%); background: linear-gradient(90deg, var(--teal), var(--gold)); }
.choice-grid { display: grid; gap: 12px; margin: 24px 0; }
.choice { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; justify-content: space-between; gap: 18px; color: var(--navy); font-weight: 700; }
.choice small { display: block; color: var(--muted); font-weight: 500; margin-top: 4px; line-height: 1.45; }
.choice.active { border-color: rgba(36,148,135,0.42); box-shadow: inset 0 0 0 1px rgba(36,148,135,0.2); background: rgba(36,148,135,0.06); }
.result-hero { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
.score-big { display: grid; place-items: center; min-height: 300px; border-radius: 26px; background: radial-gradient(circle, #fff 0 31%, transparent 32%), conic-gradient(var(--teal) 0 68%, #ebe7df 68%); color: var(--navy); font: 700 74px var(--serif); }
.path-list { display: grid; gap: 12px; }
.path-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sandbox-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lesson-pane, .sandbox-pane { min-height: 620px; }
.codebox {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #0b1220;
  color: #8ad3c8;
  font: 14px/1.7 "JetBrains Mono", ui-monospace, monospace;
  white-space: pre-wrap;
}
.terminal-dots { display: flex; gap: 7px; margin-bottom: 14px; }
.terminal-dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--gold); }
.terminal-dots i:first-child { background: #c86a5a; }
.terminal-dots i:last-child { background: #2e9d77; }
.lab-input { width: 100%; min-height: 138px; resize: vertical; border: 1px solid rgba(247,246,242,0.14); border-radius: 18px; background: rgba(255,255,255,0.06); color: #f7f6f2; padding: 16px; font: 14px/1.6 "JetBrains Mono", ui-monospace, monospace; }
.journey-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.journey-card { padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,0.72); min-height: 220px; }
.journey-card strong { color: var(--gold-deep); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 980px) {
  .app-frame { grid-template-columns: 1fr; }
  .side { position: static; }
  .side-nav { grid-template-columns: repeat(3, 1fr); }
  .assessment-grid, .result-hero, .sandbox-layout { grid-template-columns: 1fr; }
  .metric-grid, .journey-map { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .assessment-shell { padding: 16px; }
  .assessment-aside, .assessment-main, .main-app { padding: 20px; }
  .side { padding: 18px; }
  .side-nav, .metric-grid, .journey-map { grid-template-columns: 1fr; }
  .path-item { grid-template-columns: 44px 1fr; }
  .path-item .btn { grid-column: 1 / -1; }
}
