@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #0F172A;
  --ink-soft: #64748B;
  --paper: #F5F6FA;
  --panel: #FFFFFF;
  --line: #E5E7EB;
  --signal: #16A34A;
  --signal-dark: #15803D;
  --signal-soft: #DCFCE7;
  --signal-tint: #F0FDF4;
  --amber: #C7861D;
  --amber-soft: #FEF3C7;
  --coral: #DC2626;
  --coral-soft: #FEE2E2;
  --shadow-sm: 0 2px 8px -2px rgba(15,23,42,0.08);
  --shadow-md: 0 12px 32px -12px rgba(15,23,42,0.16);
  --shadow-glow: 0 16px 48px -12px rgba(22,163,74,0.28);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }
::selection { background: var(--signal-soft); color: var(--signal-dark); }
svg { display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--signal); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--signal-dark); }
.btn-ghost { background: var(--panel); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }

/* ===== Top nav ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,246,250,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.site-logo .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--signal), var(--signal-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 800; box-shadow: var(--shadow-sm); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 900px) {
  .site-nav { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; padding: 32px 28px; gap: 22px; align-items: flex-start; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .site-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 70px 0 30px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.62); font-size: 14.5px; margin-bottom: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 14px; }
.footer-brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--signal); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 50px; padding-top: 26px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Section label ===== */
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--signal-tint); color: var(--signal-dark); font-size: 13px; font-weight: 700; padding: 7px 15px 7px 11px; border-radius: 100px; margin-bottom: 18px; }
.section-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.blk-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.blk-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.blk-head p { color: var(--ink-soft); font-size: 17px; margin: 0 auto; }

/* ===== Block: Hero ===== */
.blk-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -180px; right: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(22,163,74,0.16), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 600; font-size: 13.5px; padding: 8px 16px 8px 10px; border-radius: 100px; margin-bottom: 22px; }
.hero-eyebrow .pip { background: var(--signal-soft); color: var(--signal-dark); font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 100px; }
.blk-hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.hero-sub { font-size: 18.5px; color: var(--ink-soft); max-width: 48ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.hero-trust .avatars span:first-child { margin-left: 0; }

.chat-mock { position: relative; }
.chat-card { background: var(--panel); border-radius: 24px; box-shadow: var(--shadow-md); padding: 22px; max-width: 380px; margin-left: auto; border: 1px solid var(--line); }
.chat-card-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--signal), var(--signal-dark)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.chat-name { font-weight: 700; font-size: 14.5px; }
.chat-status { font-size: 12px; color: var(--signal-dark); font-weight: 600; }
.bubble { padding: 11px 15px; border-radius: 16px; font-size: 14px; margin-bottom: 10px; max-width: 84%; line-height: 1.45; }
.bubble.in { background: var(--paper); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--signal-tint); margin-left: auto; border-bottom-right-radius: 4px; border: 1px solid var(--signal-soft); }
.bubble-time { font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; text-align: right; }
.float-chip { position: absolute; background: var(--panel); border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); }
.float-chip.c1 { top: -16px; left: -16px; color: var(--signal-dark); }
.float-chip.c2 { bottom: 20px; left: -36px; color: var(--amber); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chat-card { margin: 0 auto; }
  .float-chip { display: none; }
}

/* ===== Block: Logo/trust bar ===== */
.blk-trustbar { padding: 6px 0 56px; }
.trustbar-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px; }
.trustbar-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.85; }
.trustbar-row span { font-weight: 800; font-size: 17px; color: var(--ink-soft); }

/* ===== Block: Stats ===== */
.blk-stats { padding: 10px 0 76px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; box-shadow: var(--shadow-sm); }
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--signal-dark); letter-spacing: -0.02em; }
.stat-label { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ===== Block: Feature grid (icon-rich) ===== */
.blk-features { padding: 76px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: box-shadow .2s ease, transform .2s ease; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; font-weight: 700; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; max-width: none; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== Block: Icon steps (how it works) ===== */
.blk-steps { padding: 76px 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step-item { text-align: center; padding: 0 18px; position: relative; }
.step-item:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: 60%; width: 80%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--signal-tint); border: 2px solid var(--signal-soft); color: var(--signal-dark); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; }
.step-item h3 { font-size: 16px; margin-bottom: 8px; }
.step-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0 auto; }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr 1fr; row-gap: 40px; } .step-item::after { display: none; } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

/* ===== Block: Comparison table ===== */
.blk-comparison { padding: 76px 0; }
.comparison-table { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.comparison-row:last-child { border-bottom: none; }
.comparison-row.head { background: var(--paper); font-weight: 700; }
.comparison-cell { padding: 18px 22px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.comparison-row.head .comparison-cell:nth-child(3) { color: var(--signal-dark); }
.comparison-cell.yes { color: var(--signal-dark); font-weight: 600; }
.comparison-cell.no { color: var(--ink-soft); }
.comparison-cell svg { flex-shrink: 0; }
@media (max-width: 700px) { .comparison-cell { padding: 14px 12px; font-size: 13px; } }

/* ===== Block: Text + Image ===== */
.blk-text-image { padding: 60px 0; }
.ti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ti-grid.reverse .ti-media { order: 2; }
.ti-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.ti-copy .tag { color: var(--signal-dark); font-weight: 700; font-size: 13.5px; margin-bottom: 12px; display: block; text-transform: uppercase; letter-spacing: 0.03em; }
.ti-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.ti-copy p { color: var(--ink-soft); font-size: 16px; }
.ti-list { list-style: none; padding: 0; margin: 20px 0 0; }
.ti-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; align-items: flex-start; }
.ti-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--signal); }
@media (max-width: 800px) { .ti-grid, .ti-grid.reverse { grid-template-columns: 1fr; } .ti-grid.reverse .ti-media { order: 0; } }

/* ===== Block: Pricing (premium) ===== */
.blk-pricing { padding: 76px 0; }
.pricing-toggle { display: flex; justify-content: center; margin-bottom: 44px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--panel); border: 1.5px solid var(--line); border-radius: 22px; padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--signal); box-shadow: var(--shadow-glow); background: linear-gradient(180deg, var(--signal-tint) 0%, var(--panel) 18%); }
.price-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--signal); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 18px; border-radius: 100px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.price-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--signal-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.price-name { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.price-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; min-height: 40px; }
.price-amount { font-size: 2.5rem; font-weight: 800; margin-bottom: 2px; letter-spacing: -0.02em; }
.price-amount span { font-size: 15px; font-family: 'Inter', sans-serif; color: var(--ink-soft); font-weight: 500; }
.price-list { list-style: none; padding: 0; margin: 24px 0 28px; flex: 1; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 13px; align-items: flex-start; }
.price-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--signal); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ===== Block: FAQ ===== */
.blk-faq { padding: 76px 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--panel); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 15.5px; }
.faq-q .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--signal-tint); position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--signal-dark); border-radius: 2px; }
.faq-q .plus::before { width: 12px; height: 2px; top: 13px; left: 8px; }
.faq-q .plus::after { width: 2px; height: 12px; top: 8px; left: 13px; transition: transform .2s, opacity .2s; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; max-width: none; }

/* ===== Block: Testimonials ===== */
.blk-testimonials { padding: 76px 0; }
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--amber); font-size: 14px; margin-bottom: 14px; }
.testi-quote { font-size: 15px; margin-bottom: 20px; }
.testi-name { font-weight: 700; font-size: 14.5px; }
.testi-role { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 860px) { .testi-row { grid-template-columns: 1fr; } }

/* ===== Block: CTA banner ===== */
.blk-cta { padding: 20px 0 84px; }
.cta-box { background: linear-gradient(135deg, var(--ink) 0%, #1E3A2F 100%); border-radius: 28px; padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content:''; position:absolute; top:-100px; right:-80px; width:320px; height:320px; background: radial-gradient(circle, rgba(22,163,74,0.35), transparent 70%); border-radius:50%; }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); position: relative; }
.cta-box p { color: rgba(255,255,255,0.75); margin: 0 auto 30px; position: relative; }
.cta-box .btn-primary { position: relative; }

/* ===== Block: Contact form ===== */
.blk-contact { padding: 60px 0 90px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--signal-tint); color: var(--signal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 14.5px; background: var(--panel); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--signal); }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.ok { color: var(--signal-dark); } .form-status.err { color: var(--coral); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Block: Rich text ===== */
.blk-rich-text { padding: 50px 0; }
.blk-rich-text .rt-inner { max-width: 760px; margin: 0 auto; }
.blk-rich-text p { color: var(--ink-soft); font-size: 16px; }

.industry-list { list-style: none; padding: 0; margin: 4px 0 0; }
.industry-list li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; align-items: flex-start; }
.industry-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--signal); }

.blk-highlight-trio { padding: 76px 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlight-trio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.highlight-trio-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.highlight-trio-copy p { color: var(--ink-soft); font-size: 16px; }
.highlight-trio-list { display: flex; flex-direction: column; gap: 26px; }
.highlight-trio-item { display: flex; gap: 16px; }
.highlight-trio-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--signal-tint); color: var(--signal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.highlight-trio-item h4 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
.highlight-trio-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .highlight-trio-grid { grid-template-columns: 1fr; } }

.hero-anim > * { animation: hero-rise .7s ease both; }
.hero-anim > *:nth-child(2) { animation-delay: .08s; }
.hero-anim > *:nth-child(3) { animation-delay: .16s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-anim > * { animation: none; } }
