:root {
  --navy: #0b1530;
  --navy-2: #121f42;
  --ink: #1b2440;
  --muted: #5b6585;
  --line: #e4e8f2;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --teal: #14d3b4;
  --violet: #7c5cff;
  --grad: linear-gradient(120deg, var(--teal), var(--violet));
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 25, 60, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .75rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: .75rem;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--grad); color: #fff; font-weight: 600;
  padding: .85rem 1.5rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(124, 92, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124, 92, 255, .35); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; box-shadow: none; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn-block { width: 100%; margin-top: .5rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 48, .85); backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 500; }
.brand b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.8); font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20,211,180,.22), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--teal); }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.78); margin: 1.25rem 0 2rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; min-height: 380px; }
.card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.dash { padding: 18px 20px 22px; width: 92%; }
.dash-head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dash-title { margin-left: 8px; font-size: .85rem; color: rgba(255,255,255,.7); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpis div { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.kpis small { display: block; font-size: .72rem; color: rgba(255,255,255,.6); }
.kpis strong { display: block; font-family: "Space Grotesk"; font-size: 1.2rem; }
.kpis em { font-style: normal; font-size: .72rem; }
.up { color: var(--teal); } .down { color: #ff8a8a; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .85; animation: grow 1s ease-out both; }
.bars i:nth-child(odd) { opacity: .55; }
@keyframes grow { from { height: 0; } }

.agent {
  position: absolute; right: 0; bottom: 0; width: 72%;
  padding: 16px; background: rgba(18, 31, 66, .92);
  display: flex; flex-direction: column; gap: 10px; font-size: .88rem;
}
.agent-row { padding: 10px 12px; border-radius: 12px; }
.agent-row.user { align-self: flex-end; background: rgba(255,255,255,.1); }
.agent-row.bot { background: rgba(20,211,180,.12); border: 1px solid rgba(20,211,180,.3); color: rgba(255,255,255,.9); }
.bot-tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-right: 6px; }

/* Strip */
.strip { background: var(--navy-2); color: rgba(255,255,255,.65); font-size: .9rem; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 18px 0; }
.strip-inner span::before { content: "◆"; color: var(--teal); font-size: .6rem; margin-right: 10px; vertical-align: middle; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.grid-3 > * { grid-column: span 2; }
.grid-3 > :nth-child(4), .grid-3 > :nth-child(5) { grid-column: span 3; }

/* Hero question */
.hero-question {
  display: inline-block; margin-bottom: 1.75rem; padding: 16px 20px;
  border: 1px solid rgba(20,211,180,.35); border-radius: 14px;
  background: rgba(20,211,180,.08);
}
.hero-question .q { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; color: #fff; margin-bottom: 10px; }
.q-answers { display: flex; flex-wrap: wrap; gap: 8px; }
.q-answers a {
  font-size: .85rem; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.9); transition: background .15s, border-color .15s;
}
.q-answers a:hover { background: rgba(20,211,180,.18); border-color: var(--teal); }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,25,60,.12); }
.service p { color: var(--muted); margin-bottom: 1rem; }
.service ul { list-style: none; display: grid; gap: 6px; }
.service li { font-size: .93rem; padding-left: 22px; position: relative; }
.service li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.service.featured { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; }
.badge { position: absolute; top: 20px; right: 20px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,211,180,.15), rgba(124,92,255,.15)); margin-bottom: 20px;
}
.icon svg, .contact-line svg { width: 24px; height: 24px; fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Journey */
.journey { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.journey::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px;
  background: var(--grad); opacity: .35;
}
.journey li { position: relative; }
.step {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: "Space Grotesk"; font-weight: 700; font-size: .9rem;
  margin-bottom: 18px; position: relative; box-shadow: 0 0 0 6px var(--bg-alt);
}
.journey p { color: var(--muted); font-size: .95rem; }

/* Courses */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff; transition: border-color .2s, transform .2s;
}
.course:hover { border-color: var(--violet); transform: translateY(-3px); }
.course p { color: var(--muted); font-size: .95rem; }
.course-meta { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.level { font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .75rem; }
.l1 { background: rgba(20,211,180,.14); color: #0b8f7a; }
.l2 { background: rgba(124,92,255,.12); color: #5a3fd6; }
.l3 { background: rgba(11,21,48,.08); color: var(--navy); }
.note { margin-top: 32px; color: var(--muted); }
.note a { color: var(--violet); font-weight: 600; }

/* Approach */
.approach { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.approach > div > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.75rem; font-size: 1.05rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.principle { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.principle h3 { font-size: 1.05rem; }
.principle p { color: var(--muted); font-size: .92rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--violet); transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* Contact */
.contact {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(124,92,255,.35), transparent 60%),
    var(--navy);
  color: #fff;
}
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.contact .eyebrow { color: var(--teal); }
.contact-inner > div > p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 1.08rem; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.contact-line:hover { background: rgba(255,255,255,.07); }
.contact-line svg { stroke: var(--teal); flex-shrink: 0; }
.contact-line small { display: block; font-size: .75rem; color: rgba(255,255,255,.55); }

/* Footer */
.footer { background: #070e22; color: rgba(255,255,255,.6); padding: 36px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand { font-size: 1.1rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars i { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .approach, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .grid-3, .courses { grid-template-columns: 1fr 1fr; }
  .grid-3 > *, .grid-3 > :nth-child(4), .grid-3 > :nth-child(5) { grid-column: auto; }
  .grid-3 > :last-child { grid-column: 1 / -1; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey::before { display: none; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: 14px; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .grid-3, .courses, .journey, .principles { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .dash { width: 100%; }
  .agent { width: 88%; }
}
