*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #0f1623;
  --ink-2:     #3a4455;
  --ink-3:     #6b7589;
  --surface:   #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef0f5;
  --accent:    #1a6bf5;
  --accent-dk: #1455cc;
  --accent-lt: #e8f0fe;
  --green:     #15b874;
  --green-lt:  #e6f9f2;
  --border:    #e3e7ef;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 4px rgba(15,22,35,.06), 0 4px 16px rgba(15,22,35,.05);
  --shadow-md: 0 4px 12px rgba(15,22,35,.07), 0 12px 40px rgba(15,22,35,.08);
  --shadow-lg: 0 8px 24px rgba(15,22,35,.08), 0 24px 64px rgba(15,22,35,.10);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-sub { font-size: .65rem; font-weight: 500; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span {
  position: relative; width: 16px; height: 2px; background: var(--ink);
  display: inline-block; border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.mobile-menu {
  display: none; padding: 12px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu-links {
  list-style: none; display: grid; gap: 8px;
}
.mobile-menu-links a {
  display: block; padding: 8px 0; color: var(--ink-2); font-weight: 600;
}
.mobile-menu-actions {
  display: grid; gap: 10px; margin-top: 10px;
}
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-sm); font-weight: 600; font-size: .875rem; cursor: pointer; border: none; transition: all .18s; text-decoration: none; }
.btn-ghost { padding: 9px 18px; background: transparent; color: var(--ink-2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-primary { padding: 10px 20px; background: linear-gradient(135deg, #1a6bf5 0%, #ff8a50 100%); color: #fff; box-shadow: 0 1px 3px rgba(26,107,245,.2), 0 4px 12px rgba(26,107,245,.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(26,107,245,.25), 0 8px 24px rgba(26,107,245,.3); filter: brightness(1.1); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .hero { padding: 64px 0 76px; }
  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 18px;
  }
  .hero-sub {
    font-size: 0.97rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .hero-actions {
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    margin-top: 30px;
    gap: 12px 16px;
  }
  .dashboard { padding: 52px 0 62px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card { padding: 22px; }
  .feed-item { padding: 14px 14px; }
  .feed-text strong { font-size: 0.84rem; }
  .feed-text small { font-size: 0.76rem; }
}

/* ── HERO ── */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, #f0f4ff 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-lt); color: var(--accent);
  border: 1px solid rgba(26,107,245,.18);
  border-radius: 99px; padding: 6px 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }
h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
  color: var(--ink); max-width: 800px; margin: 0 auto 24px;
}
h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--ink-2);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.65; font-weight: 400;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px; display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.trust-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 500; color: var(--ink-3);
}
.trust-pill svg { flex-shrink: 0; }

/* ── HERO VISUAL ── */
.hero-visual {
  margin-top: 64px; max-width: 820px; margin-left: auto; margin-right: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hv-bar {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 12px 20px; display: flex; align-items: center; gap: 8px;
}
.hv-dot { width: 11px; height: 11px; border-radius: 50%; }
.hv-body { padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .hv-body { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-visual { margin-top: 34px; }
  .hv-body { padding: 16px; }
  .hv-card { padding: 14px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 26px 14px; }
}

.hv-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.hv-card-label { font-size: .72rem; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.hv-stat { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hv-stat-sub { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.hv-green { color: var(--green); }

.sms-thread { display: flex; flex-direction: column; gap: 10px; }
.sms-bubble {
  display: inline-block; padding: 10px 14px;
  border-radius: 16px; font-size: .82rem; line-height: 1.5; max-width: 86%;
}
.sms-bubble.out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.sms-bubble.in  { background: var(--surface-3); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.sms-time { font-size: .68rem; color: var(--ink-3); text-align: center; margin: 4px 0; }

/* ── LOGOS ── */
/* ── FEATURES ── */
.features { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }
.feat-cell {
  background: var(--surface); padding: 32px;
  transition: background .18s;
}
.feat-cell:hover { background: #fafbff; }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem;
}
.feat-cell h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feat-cell p { font-size: .875rem; color: var(--ink-2); line-height: 1.65; }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  color: var(--accent); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px;
}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.section-sub { font-size: 1.05rem; color: var(--ink-2); line-height: 1.65; margin-top: 14px; max-width: 540px; }

/* ── FAQ ── */
.testimonial blockquote { font-size: .92rem; color: var(--ink-2); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial blockquote::before { content: '\201C'; }
.testimonial blockquote::after { content: '\201D'; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .875rem; }
.reviewer-role { font-size: .78rem; color: var(--ink-3); margin-top: 1px; }

/* ── FAQ ── */
.faq-list { max-width: 680px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: var(--surface); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .95rem; font-weight: 600; color: var(--ink); cursor: pointer;
  border: none; text-align: left; transition: background .15s;
}
.faq-q:hover { background: var(--surface-2); }
.faq-q .icon { font-size: 1.2rem; color: var(--ink-3); flex-shrink: 0; transition: transform .2s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; background: var(--surface-2); }
.faq-a-inner { padding: 0 24px 20px; font-size: .9rem; color: var(--ink-2); line-height: 1.7; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 400px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .875rem; color: var(--ink-3); line-height: 1.65; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: .82rem; font-weight: 600; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .875rem; color: var(--ink-3); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .8rem; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.separator { height: 1px; background: var(--border); margin: 0; }
