:root {
  --ink: #16132b;
  --muted: rgba(22, 19, 43, 0.6);
  --soft: rgba(22, 19, 43, 0.45);
  --line: rgba(22, 19, 43, 0.06);
  --brand: #3b2aa8;
  --brand-light: #5646d6;
  --brand-dark: #2a1d85;
  --mist: #f6f7fb;
  --mint: #a8f5e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
img { display: block; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 500;
  transition: filter 0.15s, background 0.15s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
  box-shadow: 0 6px 16px -6px rgba(59, 42, 168, 0.6);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { color: var(--ink); background: var(--mist); }
.btn-ghost:hover { background: #ebecf3; }
.btn-ring {
  display: inline-flex; border-radius: 999px; padding: 4px; background: #fff;
  box-shadow: 0 0 0 1px rgba(59, 42, 168, 0.12), 0 8px 24px -8px rgba(59, 42, 168, 0.35);
}

/* Floating nav */
.nav-shell { position: sticky; top: 16px; z-index: 20; padding: 16px 16px 0; }
.nav {
  max-width: 1024px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px -12px rgba(22, 19, 43, 0.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); font-size: 16px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; }
.nav-links a { color: rgba(22, 19, 43, 0.75); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 9px 18px; }

/* Hero */
.hero { position: relative; text-align: center; padding: 120px 24px 88px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(168, 245, 227, 0.45), transparent 70%),
    radial-gradient(40% 40% at 75% 20%, rgba(160, 150, 255, 0.2), transparent 70%);
}
.eyebrow {
  display: inline-block; border-radius: 999px; padding: 5px 13px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.hero h1 {
  margin: 26px auto 0; max-width: 900px;
  font-size: clamp(44px, 8vw, 84px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500;
}
.hero p { margin: 24px auto 0; max-width: 580px; font-size: 19px; color: var(--muted); }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--soft); }

.fade-up { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.d1 { animation-delay: 80ms; } .d2 { animation-delay: 160ms; } .d3 { animation-delay: 240ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Channel strip */
.strip { padding: 0 0 96px; }
.strip p { text-align: center; font-size: 15px; font-weight: 500; margin: 0; }
.marquee {
  margin-top: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.chip { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; color: rgba(22, 19, 43, 0.8); white-space: nowrap; }
.chip .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 96px 0; }
.heading { max-width: 660px; margin: 0 auto; text-align: center; }
.heading h2 { margin: 24px 0 0; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; }
.heading p { margin: 16px 0 0; font-size: 18px; color: var(--muted); }

/* Product feature */
.product {
  margin-top: 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  border-radius: 36px; padding: 48px;
  background: radial-gradient(60% 70% at 100% 0%, rgba(168, 245, 227, 0.35), transparent 70%), linear-gradient(180deg, #f7f7fd, var(--mist));
  border: 1px solid var(--line);
}
.product-name { display: flex; align-items: center; gap: 12px; }
.product-name .mark { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 8px 20px -12px rgba(22, 19, 43, 0.3); }
.product h3 { margin: 0; font-size: 28px; letter-spacing: -0.02em; font-weight: 600; }
.product .tag { font-size: 13px; color: var(--muted); }
.product > div > p { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: rgba(22, 19, 43, 0.8); }
.ticks li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 999px; margin-top: 2px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #047857; background: #d1fae5;
}

/* Phone chat mock */
.phone {
  justify-self: center; width: 100%; max-width: 360px;
  border-radius: 32px; background: #fff; padding: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(22, 19, 43, 0.45);
}
.phone-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.phone-head b { font-size: 14px; display: block; }
.phone-head span { font-size: 12px; color: var(--soft); }
.chat { display: grid; gap: 10px; padding-top: 16px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 14px; line-height: 1.45; }
.bubble.in { background: var(--mist); border-bottom-left-radius: 6px; }
.bubble.out { justify-self: end; color: #fff; background: linear-gradient(180deg, var(--brand-light), var(--brand-dark)); border-bottom-right-radius: 6px; }
.event { justify-self: center; font-size: 12px; font-weight: 500; color: #047857; background: #ecfdf5; padding: 4px 10px; border-radius: 999px; }
.chat .bubble, .chat .event { opacity: 0; animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.chat > :nth-child(1) { animation-delay: 0.4s; }
.chat > :nth-child(2) { animation-delay: 1.4s; }
.chat > :nth-child(3) { animation-delay: 2.4s; }
.chat > :nth-child(4) { animation-delay: 3.2s; }
.chat > :nth-child(5) { animation-delay: 4s; }

/* Value cards */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border-radius: 28px; padding: 28px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 12px 40px -20px rgba(22, 19, 43, 0.18);
}
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--brand); display: grid; place-items: center; }
.card h3 { margin: 22px 0 0; font-size: 20px; letter-spacing: -0.01em; font-weight: 550; }
.card p { margin: 8px 0 0; color: var(--muted); }

/* Company details */
.company {
  margin-top: 56px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 40px -20px rgba(22, 19, 43, 0.18); overflow: hidden;
}
.company-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 28px; border-top: 1px solid var(--line); }
.company-row:first-child { border-top: 0; }
.company-row dt { color: var(--muted); }
.company-row dd { margin: 0; font-weight: 500; }
.status { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: #047857; background: #d1fae5; padding: 2px 9px; border-radius: 999px; vertical-align: 2px; }

/* Final CTA */
.cta { padding: 32px 0 96px; }
.cta-card {
  border-radius: 40px; padding: 80px 32px; text-align: center;
  background: radial-gradient(70% 80% at 50% 0%, rgba(168, 245, 227, 0.6), transparent 70%), linear-gradient(180deg, #eef0ff, var(--mist));
}
.cta-card h2 { margin: 0; font-size: clamp(34px, 6vw, 60px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 500; }
.cta-card p { margin: 16px auto 0; max-width: 520px; font-size: 18px; color: var(--muted); }
.cta-card .hero-actions { margin-top: 36px; }

/* Footer (also used by legal pages) */
footer.site { border-top: 1px solid var(--line); }
footer.site .wrap {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  padding-top: 36px; padding-bottom: 36px; color: var(--muted); font-size: 14px;
}
footer.site nav a { color: var(--muted); margin-left: 20px; }
footer.site nav a:first-child { margin-left: 0; }

/* Legal pages */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header.site nav a { color: var(--muted); margin-left: 24px; font-size: 15px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.legal { padding-top: 64px; padding-bottom: 64px; max-width: 760px; }
.legal h1 { font-size: 42px; letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 500; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; font-weight: 600; }
.legal p, .legal li { color: rgba(22, 19, 43, 0.75); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .product { grid-template-columns: 1fr; padding: 28px; }
  .cards { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding-top: 88px; }
}
