:root {
  --bg: #F4FAF7;
  --bg-2: #FFFFFF;
  --tint: #EEF6F2;
  --line: #DCE8E2;
  --text: #06231A;
  --muted: #4B6358;
  --neon: #00FF9D;
  --neon-ink: #02140C;
  --accent: #047857;
  --accent-dark: #065F46;
  --mint: #A7F3D0;
  --emerald-dark: #065F46;
  --emerald: #047857;
  --purple: #9D00FF;
  --violet: #7C3AED;
  --amber: #B45309;
  --shadow: rgba(6, 35, 26, .14);
  --font: "Onest", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --brand: "Orbitron", "Onest", sans-serif;
  --wrap: 1000px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.section { padding: clamp(72px, 10vw, 120px) 0; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2, .h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; }
.section-head p, .lead { max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--neon); color: var(--neon-ink); box-shadow: 0 10px 30px -10px rgba(0, 255, 157, .7); }
.btn-primary:hover { color: var(--neon-ink); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(0, 255, 157, .9); }
.btn-secondary { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.btn-secondary:hover { color: var(--text); border-color: var(--accent); }

/* Floating nav */
.nav-shell { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; }
.nav {
  position: relative;
  height: 60px; padding: 0 10px 0 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 157, .14);
  box-shadow: 0 12px 32px -12px var(--shadow);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; }
.logo span { font-family: var(--brand); font-weight: 800; font-size: 17px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn) { color: #2F4A3F; text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  padding: clamp(130px, 16vw, 180px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(157, 0, 255, .10), transparent 60%),
    radial-gradient(700px 480px at 10% 10%, rgba(0, 255, 157, .18), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); text-wrap: balance; line-height: 1.06; font-weight: 700; }
.hero .lead { max-width: 500px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.collage { position: relative; height: 520px; }
.orb { position: absolute; border-radius: 999px; }
.orb-green { right: 20px; top: 10px; width: 120px; height: 120px; background: radial-gradient(circle at 35% 35%, #10B981, var(--emerald-dark)); opacity: .8; animation: float 7s ease-in-out infinite; }
.orb-purple { left: -14px; top: 280px; width: 28px; height: 28px; background: var(--purple); opacity: .35; animation: float 5s ease-in-out infinite reverse; }
.card-float {
  position: absolute; background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px var(--shadow);
}
.chat {
  left: 0; top: 40px; width: min(380px, 82%); height: 400px; border-radius: 16px;
  border-color: rgba(0, 255, 157, .18);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.chat-head img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who b { font-size: 14px; }
.who span { font-size: 12px; color: var(--amber); }
.chat-body { flex-grow: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; }
.msg { max-width: 270px; padding: 10px 14px; opacity: 0; animation: pop .5s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.msg-bot { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: var(--tint); color: var(--text); }
.msg-me { align-self: flex-end; max-width: 260px; border-radius: 14px 14px 4px 14px; background: linear-gradient(90deg, var(--emerald-dark), var(--emerald)); color: #fff; }
.msg:nth-child(1) { animation-delay: .3s; }
.msg:nth-child(2) { animation-delay: 1.1s; }
.msg:nth-child(3) { animation-delay: 1.9s; }
.chat-input {
  height: 52px; margin: 0 14px 14px; padding: 0 12px 0 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted);
}
.chat-input i { width: 28px; height: 28px; border-radius: 8px; background: var(--neon); }
.agent {
  right: 0; top: 250px; width: 170px; padding: 12px; border-radius: 14px;
  border-color: rgba(0, 255, 157, .35);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  animation: float 6s ease-in-out infinite;
}
.agent img { width: 146px; height: 120px; border-radius: 10px; object-fit: cover; object-position: center 30%; }
.agent b { font-size: 14px; }
.pill { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 255, 157, .16); color: var(--accent); }
.toast {
  left: 24px; bottom: 16px; padding: 10px 14px; border-radius: 12px;
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  opacity: 0; animation: pop .5s 2.6s cubic-bezier(.2, .9, .3, 1.2) forwards;
}
.toast .who span { color: var(--muted); }
.check { width: 26px; height: 26px; border-radius: 999px; background: rgba(0, 255, 157, .15); display: flex; align-items: center; justify-content: center; }
.check svg { width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* What is */
.what { padding: clamp(56px, 7vw, 90px) 0; text-align: center; }
.what h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.what p { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.7; color: var(--muted); }
.what b { color: var(--text); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  padding: 24px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(4, 120, 87, .35); transform: translateY(-2px); box-shadow: 0 16px 32px -20px var(--shadow); }
.band .card { background: var(--bg); }
.icon svg, .benefit-list svg, .check svg { color: var(--accent); }
.card, .benefit-list li, .faq-list details { box-shadow: 0 1px 2px rgba(6, 35, 26, .04); }
.icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 255, 157, .10); border: 1px solid rgba(0, 255, 157, .25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.step { display: flex; gap: 14px; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.step h3 { margin-bottom: 10px; }
.chip {
  display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 12px;
  padding: 4px 10px; border-radius: 999px; background: rgba(157, 0, 255, .08); color: var(--violet);
}

.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.benefits-copy { display: flex; flex-direction: column; gap: 16px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.benefit-list li {
  padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45;
}
.benefit-list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }

.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.quote .who span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-list { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s ease; }
.faq-list details[open] { border-color: rgba(4, 120, 87, .35); }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 16px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px;
  background: rgba(0, 255, 157, .16); position: relative;
}
.faq-list .plus::before, .faq-list .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s ease;
}
.faq-list .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .plus::after { transform: translate(-50%, -50%); }
.faq-list details p { padding: 0 18px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* CTA + footer */
.cta { padding-bottom: 80px; }
.cta-card {
  border-radius: 20px; padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(157, 0, 255, .25), transparent 70%),
    linear-gradient(120deg, var(--emerald-dark), var(--emerald));
  border: 1px solid rgba(0, 255, 157, .35); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-card p { margin-top: 12px; font-size: 17px; color: var(--mint); }
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 48px; flex-wrap: wrap; }
.footer p { max-width: 560px; line-height: 1.6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .benefits-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits-grid { gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 20px 40px -12px var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .btn { margin-top: 14px; min-height: 48px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .benefit-list { grid-template-columns: minmax(0, 1fr); }
  .collage { height: 440px; }
  .chat { left: 0; top: 30px; width: 100%; height: 340px; }
  .agent { display: none; }
  .orb-green { width: 80px; height: 80px; right: -10px; top: 0; }
  .toast { left: 12px; bottom: 16px; }
  .cta-row .btn, .cta-card .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .msg, .toast { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
