:root {
  --navy: #0a1f44;
  --blue: #2358e8;
  --blue-dark: #1743bd;
  --sky: #edf4ff;
  --ink: #15223a;
  --muted: #62708a;
  --border: #dce4f0;
  --white: #ffffff;
  --green: #16a56f;
  --shadow: 0 24px 70px rgba(24, 48, 90, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.alt { background: #f7f9fc; }
.centered { text-align: center; margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,228,240,.8);
}
.nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #5b87ff); color: white; box-shadow: 0 8px 22px rgba(35,88,232,.3); }
.desktop-nav { display: flex; gap: 30px; color: #41506a; font-weight: 600; font-size: 14px; }
.desktop-nav a:hover { color: var(--blue); }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 14px 22px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 12px 28px rgba(35,88,232,.24); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--border); color: var(--navy); background: white; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--navy); background: #f4f7fb; }
.btn-small { padding: 9px 15px; border-radius: 10px; font-size: 14px; }
.btn-light { background: white; color: var(--blue); }
.full { width: 100%; }

.hero { background: radial-gradient(circle at 80% 20%, #eaf1ff 0, transparent 34%), linear-gradient(180deg,#fff,#f9fbff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.eyebrow { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-bottom: 16px; }
.eyebrow.light { color: #bcd0ff; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 70px); letter-spacing: -.045em; color: var(--navy); margin-bottom: 24px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(34px, 4vw, 49px); letter-spacing: -.035em; color: var(--navy); margin-bottom: 20px; }
h3 { color: var(--navy); font-size: 21px; }
.hero-text, .lead, .section-heading p { font-size: 18px; color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 26px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; color: #53617a; font-weight: 600; font-size: 13px; }
.trust-row span::before { content: "✓"; color: var(--green); margin-right: 7px; }

.chat-card { background: white; border: 1px solid #dce5f4; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1deg); }
.chat-topbar { padding: 18px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.chat-topbar small { display: block; color: var(--muted); }
.chat-avatar { width: 42px; height: 42px; display: grid; place-items: center; color: white; font-weight: 800; border-radius: 13px; background: var(--blue); }
.status-dot { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #2dcc8a; box-shadow: 0 0 0 5px #e9fbf4; }
.chat-body { padding: 24px; min-height: 420px; background: #fbfcff; display: flex; flex-direction: column; gap: 14px; }
.message { max-width: 86%; padding: 14px 16px; border-radius: 16px; font-size: 14px; }
.message.bot { align-self: flex-start; background: white; border: 1px solid var(--border); }
.message.user { align-self: flex-end; background: var(--blue); color: white; }
.message ol { margin: 8px 0; padding-left: 22px; }
.source { display: block; color: var(--blue); font-size: 12px; margin-top: 10px; font-weight: 600; }
.chat-input { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 12px; outline: none; }
.chat-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #e8efff; }
.chat-input button { width: 44px; border: none; border-radius: 12px; background: var(--blue); color: white; cursor: pointer; }

.logo-strip { border-block: 1px solid var(--border); background: white; }
.logo-strip-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: #7a879d; }
.logo-strip-inner strong { color: #41506a; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.feature-grid { display: grid; gap: 24px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 14px 38px rgba(30,56,100,.06); }
.feature-card .icon { font-size: 30px; margin-bottom: 20px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.reverse { grid-template-columns: 1.05fr .95fr; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.check-list li { color: #40506c; font-weight: 600; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: #e8f8f1; color: var(--green); font-size: 12px; }
.check-list.compact { gap: 10px; }
.info-panel, .dashboard-card { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.student-panel { background: linear-gradient(145deg,#fff,#f3f7ff); }
.panel-label { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #e8efff; color: var(--blue); font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.mini-grid div { padding: 14px; background: white; border: 1px solid var(--border); border-radius: 13px; }
.mini-grid span, .mini-grid strong { display: block; }
.mini-grid span { color: var(--muted); font-size: 12px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dashboard-head small { color: var(--muted); }
.badge { background: #eaf8f2; color: var(--green); font-weight: 700; padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 24px 0; }
.stat-row div { background: #f7f9fc; border-radius: 12px; padding: 16px; }
.stat-row strong, .stat-row span { display: block; }
.stat-row strong { font-size: 22px; color: var(--navy); }
.stat-row span { color: var(--muted); font-size: 12px; }
.lead-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.lead-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: var(--blue); font-weight: 800; font-size: 12px; }
.lead-item div:nth-child(2) { flex: 1; }
.lead-item strong, .lead-item span { display: block; }
.lead-item span { color: var(--muted); font-size: 12px; }
.hot, .warm { padding: 5px 8px; border-radius: 999px; font-weight: 700; }
.hot { background: #fff0ef; color: #d65349 !important; }
.warm { background: #fff7df; color: #b98212 !important; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px; background: white; border: 1px solid var(--border); border-radius: 18px; }
.step > span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--blue); color: white; border-radius: 12px; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); justify-content: center; gap: 26px; }
.price-card { position: relative; padding: 34px; border: 1px solid var(--border); border-radius: 22px; background: white; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.popular { position: absolute; top: -14px; right: 22px; background: var(--blue); color: white; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.price { font-size: 42px; font-weight: 800; color: var(--navy); margin: 16px 0 4px; }
.price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card > p { color: var(--muted); }

.cta-section { background: linear-gradient(135deg,#0d2b62,#2358e8); color: white; }
.cta-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.cta-section h2 { color: white; }
.cta-section p { color: #d9e4ff; }
.demo-form { background: white; color: var(--ink); padding: 28px; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.demo-form input, .demo-form select { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-top: 7px; outline: none; background: white; }
.demo-form input:focus, .demo-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #e8efff; }
.form-note { color: var(--muted) !important; font-size: 11px; margin-bottom: 0; text-align: center; }

footer { background: #07162f; color: #b8c4d8; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid strong { color: white; }
.footer-brand { color: white; }
.copyright { border-top: 1px solid #1d2e4c; margin-top: 40px; padding-top: 24px; font-size: 13px; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero-grid, .split, .reverse, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid.three, .steps-grid { grid-template-columns: 1fr 1fr; }
  .chat-card { transform: none; }
  .hero { padding-top: 70px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .section { padding: 72px 0; }
  .nav-wrap .btn { display: none; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .feature-grid.three, .steps-grid, .pricing-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .logo-strip-inner { justify-content: center; padding: 24px 0; }
  .chat-body { min-height: 370px; }
  .trust-row { flex-direction: column; gap: 8px; }
}
