:root {
  --blue: #008dd1;
  --blue-600: #096dd9;
  --blue-400: #40a9ff;
  --blue-300: #69c0ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6fafe;
  --bg-alt: #f1f7fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, .06);
  --shadow: 0 18px 50px rgba(8, 99, 168, .14);
  --grad: linear-gradient(135deg, #40a9ff 0%, #008dd1 55%, #096dd9 100%);
  --maxw: 1160px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent; transition: .22s ease; white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(8, 141, 209, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(8, 141, 209, .45); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-600); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-name strong { color: var(--blue); }
.nav { display: flex; gap: 28px; margin-left: 12px; flex: 1; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: .2s; }
.nav a:hover { color: var(--blue); }
.header-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob-1 { width: 480px; height: 480px; background: var(--blue-300); top: -160px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #b9e2ff; bottom: -180px; left: -120px; opacity: .45; }
.grid-overlay {
  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(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--blue-600); background: #e6f4ff; border: 1px solid #cfeaff; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.lead { font-size: 18.5px; color: var(--ink-2); margin: 18px 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-checks { list-style: none; display: flex; gap: 22px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.hero-checks li { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.hero-checks li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 7px; }

/* Hero visual - phone mock */
.hero-visual { position: relative; }
.phone {
  background: #fff; border-radius: 28px; padding: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line); max-width: 340px; margin-left: auto;
}
.phone-top { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; }
.phone-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.chat { background: var(--bg-soft); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; background: var(--blue-300); border-radius: 50%; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; animation: floaty 4s ease-in-out infinite;
}
.card-stat { left: -10px; top: 30px; display: flex; flex-direction: column; }
.card-stat .stat-num { font-size: 22px; font-weight: 800; color: var(--blue); }
.card-stat .stat-label { color: var(--muted); font-weight: 500; }
.card-bot { right: -6px; bottom: 28px; display: flex; align-items: center; gap: 8px; animation-delay: 1.2s; color: var(--ink-2); }
.card-bot .ico { font-size: 16px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.logos-strip { display: flex; align-items: center; gap: 26px; margin-top: 54px; flex-wrap: wrap; }
.logos-strip > span { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.logos { display: flex; gap: 30px; flex-wrap: wrap; }
.logos span { color: #94a3b8; font-weight: 700; font-size: 16px; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 12px; }

.grid { display: grid; gap: 22px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfeaff; }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: #e6f4ff; margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff;
  background: var(--grad); font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Integration */
.integ { background: var(--bg-soft); }
.integ-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.integ h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 16px; }
.integ-copy > p { color: var(--ink-2); font-size: 17px; }
.integ-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.integ-list li { padding-left: 30px; position: relative; color: var(--ink-2); font-weight: 500; }
.integ-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 800;
}
.integ-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.ic-row { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.ic-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.ic-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 0 4px 14px; border-bottom: 1px solid var(--line); }
.ic-bars span { flex: 1; height: var(--h); background: var(--grad); border-radius: 8px 8px 0 0; opacity: .85; }
.ic-stats { display: flex; justify-content: space-between; margin-top: 20px; }
.ic-stats div { display: flex; flex-direction: column; }
.ic-stats b { font-size: 20px; color: var(--ink); }
.ic-stats small { color: var(--muted); font-size: 12.5px; }

/* Stats band */
.stats-band { background: var(--grad); color: #fff; padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid b { display: block; font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.stats-grid span { opacity: .9; font-size: 15px; }

/* Modules */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: .25s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfeaff; }
.mod-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mod-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: #e6f4ff; flex-shrink: 0;
}
.mod-head h3 { font-size: 17.5px; }
.mod-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.mod-tags li {
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.modules-cta { text-align: center; margin-top: 44px; }
.modules-cta p { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; }

/* Meta Business Partner badge */
.meta-badge { display: inline-block; margin-top: 26px; transition: .22s ease; }
.meta-badge img { display: block; height: auto; }
.meta-badge:hover { transform: translateY(-3px); }
.integ-note { color: var(--blue-600); font-weight: 600; font-size: 15px; margin: 18px 0 22px; }

/* Enterprise card */
.enterprise-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 48px; display: grid; grid-template-columns: 1.5fr auto; gap: 48px; align-items: center;
}
.enterprise-copy h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; }
.enterprise-copy p { color: var(--ink-2); font-size: 17px; margin: 0 0 26px; max-width: 560px; }
.enterprise-badge { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); transition: .22s ease; }
.enterprise-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.enterprise-badge img { display: block; height: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: .2s;
}
.faq details[open] { border-color: #cfeaff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; font-weight: 400; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.faq a { color: var(--blue); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--grad); padding: 80px 0; color: #fff; text-align: center; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-inner p { font-size: 18px; opacity: .92; margin: 14px 0 28px; }

/* Footer */
.site-footer { background: #0b2740; color: #cbd5e1; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 280px; }
.footer-brand a, .footer-col a:hover { color: var(--blue-300); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #cbd5e1; font-size: 14.5px; margin-bottom: 10px; transition: .2s; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  display: flex; gap: 20px; flex-wrap: wrap; padding-top: 24px; margin-top: 8px;
  font-size: 13.5px; color: #94a3b8;
}
.footer-bottom { display: flex; justify-content: space-between; padding-top: 14px; font-size: 13.5px; color: #94a3b8; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--blue-300); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 940px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow-sm);
  }
  .hero-inner, .integ-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .phone { margin: 0 auto; }
  .features, .steps { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .enterprise-card { grid-template-columns: 1fr; padding: 32px; gap: 28px; text-align: center; }
  .enterprise-copy p { margin-left: auto; margin-right: auto; }
  .enterprise-card .hero-actions { justify-content: center; }
  .enterprise-badge { justify-self: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .modules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, [data-reveal] { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}
