/* ===== Design tokens ===== */
:root {
  --bg: #060914;
  --bg-soft: #0b1020;
  --bg-alt: #090e1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --text-soft: #aab3c5;
  --text-dim: #7b859b;
  --brand: #4f7cff;
  --brand-2: #00d4ff;
  --violet: #9b6bff;
  --green: #2fd98a;
  --amber: #ffb547;
  --pink: #ff6b9d;
  --grad: linear-gradient(120deg, #4f7cff 0%, #00d4ff 100%);
  --grad-soft: linear-gradient(120deg, #6b8cff 0%, #38e0ff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1180px;
  --font: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
section { position: relative; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #061020;
  box-shadow: 0 10px 30px -10px rgba(79, 124, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(0, 212, 255, 0.7); }
.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Navbar ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 9, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .2px; }
.brand__logo {
  height: 46px; width: auto;
  object-fit: contain;
  flex: none;
}
.brand__text b { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text-soft); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { padding: 150px 0 60px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -200px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 40%, rgba(79, 124, 255, 0.35), transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.22), transparent 55%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 50px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-soft);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(0,212,255,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }

.hero__title { font-size: clamp(34px, 5vw, 60px); font-weight: 900; line-height: 1.08; letter-spacing: -1px; margin: 22px 0 18px; }
.gradient-text { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 17px; color: var(--text-soft); max-width: 600px; margin-inline: auto; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; justify-content: center; }
.hero__trust { display: flex; gap: 48px; justify-content: center; }
.hero__stat b { display: block; font-size: 30px; font-weight: 800; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stat span { font-size: 13px; color: var(--text-dim); }

/* Hero visual panel */
.hero__visual { position: relative; width: 100%; max-width: 1000px; }
.panel {
  background: linear-gradient(180deg, rgba(20,28,52,.9), rgba(10,15,30,.92));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.panel__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.panel__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c3650; }
.panel__bar span:nth-child(1){ background:#ff5f57; } .panel__bar span:nth-child(2){ background:#febc2e; } .panel__bar span:nth-child(3){ background:#28c840; }
.panel__bar em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-dim); }
.panel__shot { background: #f4f6fb; line-height: 0; }
.panel__shot img { width: 100%; height: auto; display: block; }
.panel__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.flow-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  opacity: 0; transform: translateY(10px);
  animation: rowIn .5s ease forwards;
  animation-delay: var(--d);
}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.flow-ico { font-size: 20px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface-2); border-radius: 10px; }
.flow-row strong { display: block; font-size: 14px; }
.flow-row small { color: var(--text-dim); font-size: 12px; }
.flow-row div { flex: 1; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-dim); }
.tag--done { background: rgba(47,217,138,.14); color: var(--green); }
.tag--run { background: rgba(0,212,255,.14); color: var(--brand-2); }
.panel__metric { display: flex; justify-content: space-around; padding: 16px 8px 6px; border-top: 1px solid var(--border); margin-top: 4px; }
.panel__metric b { display: block; font-size: 22px; font-weight: 800; color: var(--text); }
.panel__metric span { font-size: 12px; color: var(--text-dim); }

/* Marquee */
.marquee { margin-top: 70px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { color: var(--text-dim); font-weight: 600; font-size: 15px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.section__head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.section__head p { color: var(--text-soft); margin-top: 14px; font-size: 17px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.card__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.ico--blue { background: rgba(79,124,255,.16); } .ico--violet { background: rgba(155,107,255,.16); }
.ico--cyan { background: rgba(0,212,255,.16); } .ico--green { background: rgba(47,217,138,.16); }
.ico--amber { background: rgba(255,181,71,.16); } .ico--pink { background: rgba(255,107,157,.16); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card--plain { padding: 26px; }
.card--plain h3 { margin-bottom: 8px; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps__line { position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--brand-2);
  position: relative; z-index: 1;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-soft); }

/* Feature split */
.feature-split {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s ease;
}
.feature-split:hover { border-color: var(--border-strong); }
.feature-split__text h3 { font-size: 20px; margin-bottom: 10px; }
.feature-split__text p { color: var(--text-soft); font-size: 15px; }
.ticks { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.feature-split__visual { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.mini-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-soft); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--green { background: var(--green); } .dot--blue { background: var(--brand-2); } .dot--amber { background: var(--amber); }
.kpi { display: inline-flex; flex-direction: column; padding: 14px 18px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.kpi b { font-size: 24px; font-weight: 800; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { font-size: 12px; color: var(--text-dim); }
.feature-split__visual:has(.kpi) { flex-direction: row; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { padding: 8px 14px; background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-soft); }

/* Pricing */
.pricing { align-items: stretch; }
.price {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s;
}
.price:hover { transform: translateY(-5px); }
.price--featured { border-color: var(--brand); background: linear-gradient(180deg, rgba(79,124,255,.1), var(--surface)); box-shadow: 0 24px 60px -28px rgba(79,124,255,.6); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #04101f; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 19px; }
.price__amt { font-size: 34px; font-weight: 800; margin: 12px 0 6px; }
.price__amt span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.price__desc { color: var(--text-soft); font-size: 14px; min-height: 40px; }
.price .ticks { flex: 1; margin: 18px 0 24px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--brand-2); font-weight: 400; transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--text-soft); font-size: 15px; }

/* CTA */
.cta { padding: 100px 0; }
.cta__inner {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(79,124,255,.28), transparent 60%),
    linear-gradient(180deg, rgba(20,28,52,.7), rgba(10,15,30,.7));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 60px 30px;
}
.cta__inner h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.cta__inner p { color: var(--text-soft); font-size: 17px; margin: 14px auto 30px; max-width: 520px; }
.cta__qr { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 6px; }
.cta__qr img { width: 180px; height: 180px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.cta__qr-label { font-size: 14px; color: var(--text-soft); font-weight: 500; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: var(--bg-alt); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand p { color: var(--text-soft); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 14px; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--text-soft); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps__line { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(8,12,24,.97); backdrop-filter: blur(14px);
    padding: 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__trust { gap: 24px; flex-wrap: wrap; }
  .feature-split { padding: 24px; }
  .cta__form { flex-direction: column; }
  .cta__form input { text-align: center; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 14px; }
  .section { padding: 70px 0; }
}
