:root {
  --ink: #0b1020;
  --ink-soft: #1e2440;
  --muted: #5b6478;
  --line: #e7e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent: #06b6d4;
  --violet: #7c3aed;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .06), 0 8px 24px rgba(11, 16, 32, .05);
  --shadow-lg: 0 24px 60px -20px rgba(79, 70, 229, .35);
}

* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container-z { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.lead-muted { color: var(--muted); }

/* ---------- Navbar ---------- */
.z-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, .8);
  border-bottom: 1px solid var(--line);
}
.z-nav .container-z { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: grid; place-items: center; color: #fff; font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .4);
}
.z-nav-links { display: flex; align-items: center; gap: 28px; }
.z-nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .96rem; }
.z-nav-links a:hover { color: var(--primary); }
@media (max-width: 800px) { .z-nav-links .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn-z {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn-z-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); }
.btn-z-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-z-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-z-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-z-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-z-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-z-white { background: #fff; color: var(--primary-dark); }
.btn-z-white:hover { color: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(6, 182, 212, .14), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .35; mask-image: radial-gradient(700px 400px at 50% 0%, #000, transparent 75%);
}
.hero-inner { position: relative; padding: 92px 0 100px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; } }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .85rem; color: var(--ink-soft);
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 22px 0 18px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--primary), var(--violet) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: linear-gradient(135deg, var(--primary), var(--violet)); }

/* hero visual card */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
  padding: 18px; transform: rotate(.5deg);
}
.chat-row { display: flex; margin: 10px 0; }
.chat-bubble { max-width: 78%; padding: 12px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.chat-bot { background: var(--bg-soft); color: var(--ink-soft); }
.chat-user { background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff; margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.chat-head .ai { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--violet)); display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 2.2rem; color: var(--ink); }
.stat .lbl { color: var(--muted); font-size: .95rem; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card-z {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .25s ease;
}
.card-z:hover { transform: translateY(-4px); border-color: rgba(79,70,229,.4); box-shadow: var(--shadow-lg); }
.card-z .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12)); color: var(--primary);
}
.card-z h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card-z p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--violet)); margin-bottom: 16px;
}
.step h4 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Why / feature list ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .why { grid-template-columns: 1fr; gap: 32px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,197,94,.15); color: #16a34a; display: grid; place-items: center; margin-top: 2px; }
.check-list strong { display: block; }
.check-list span { color: var(--muted); font-size: .96rem; }
.why-visual { background: linear-gradient(135deg, var(--ink), var(--ink-soft)); border-radius: 22px; padding: 32px; color: #fff; box-shadow: var(--shadow-lg); }
.why-visual .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.code-line { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88rem; color: #c7d2fe; padding: 4px 0; }
.code-line .k { color: #f0abfc; }
.code-line .s { color: #7dd3fc; }

/* ---------- Stack ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stack .chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote-card p { font-size: 1.02rem; color: var(--ink-soft); }
.quote-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-meta .pic { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--violet)); }
.quote-meta b { display: block; }
.quote-meta small { color: var(--muted); }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff;
  background: radial-gradient(800px 400px at 10% -20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--primary-dark), var(--violet)); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.86); font-size: 1.1rem; max-width: 560px; margin: 14px auto 28px; }

/* ---------- Footer ---------- */
.z-footer { background: var(--ink); color: #b9c0d4; padding: 56px 0 28px; }
.z-footer a { color: #cdd3e6; }
.z-footer a:hover { color: #fff; }
.z-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 760px) { .z-footer .cols { grid-template-columns: 1fr 1fr; } }
.z-footer h5 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.z-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.z-footer .brand { color: #fff; margin-bottom: 12px; }
.z-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #8b93ab; }
