:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --blue: #0369a1;
  --blue-light: #e0f2fe;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --bg-alt: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.25);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
p { margin: 0 0 12px; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 25px -8px rgba(3, 105, 161, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(3, 105, 161, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 0.95rem; color: var(--navy-soft); }
.nav a:hover { color: var(--blue); }
.btn-nav { padding: 10px 20px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px;
}

/* Hero */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 65%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-sub { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: #64748b; }

/* Phone mock */
.hero-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 320px;
  background: var(--white);
  border-radius: 32px;
  border: 10px solid var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-notch { height: 18px; background: var(--navy); }
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
}
.chat-header strong { display: block; font-size: 0.92rem; }
.chat-header small { color: #94a3b8; font-size: 0.75rem; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--white); font-weight: 700; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar.sm { width: 28px; height: 28px; font-size: 0.65rem; }
.chat-body {
  padding: 18px 14px;
  background: #e5ddd0;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 360px;
}
.bubble {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.bubble.small { font-size: 0.78rem; }
.bubble-in { background: var(--white); align-self: flex-start; border-bottom-left-radius: 2px; }
.bubble-out { background: #d9fdd3; align-self: flex-end; border-bottom-right-radius: 2px; }
.bubble-file { font-weight: 600; }

/* Section generic */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.02rem; }

/* Steps */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}
.step p { font-size: 0.95rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Panel section */
.panel-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--navy-soft);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}

/* Dashboard mock */
.dashboard-mock {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 380px;
}
.dash-sidebar { background: var(--bg-alt); border-right: 1px solid var(--border); padding: 14px; }
.dash-search {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px;
  font-size: 0.78rem; color: #94a3b8;
  margin-bottom: 14px;
}
.dash-conv {
  display: flex; gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px;
  margin-bottom: 6px;
  cursor: default;
}
.dash-conv.active { background: var(--blue-light); }
.dash-conv strong { display: block; font-size: 0.78rem; }
.dash-conv small { font-size: 0.68rem; color: #64748b; }
.dash-main { padding: 18px; display: flex; flex-direction: column; }
.dash-topbar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.dash-topbar strong { font-size: 0.9rem; }
.tag {
  margin-left: auto;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.dash-messages { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dash-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.dash-metrics div { text-align: center; }
.dash-metrics strong { display: block; font-size: 1.15rem; color: var(--navy); }
.dash-metrics span { font-size: 0.7rem; color: #64748b; }

/* Integration */
.integration-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.integration-badges { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.badge {
  padding: 8px 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem;
  background: var(--navy); color: var(--white);
}
.badge-muted { background: var(--white); color: var(--muted); border: 1px solid var(--border); }

/* CTA final */
.cta-final { background: var(--navy); color: var(--white); padding: 96px 0; }
.cta-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.cta-final h2 { color: var(--white); }
.cta-final p { color: #cbd5e1; margin-bottom: 32px; }
.contact-form { text-align: left; background: var(--navy-soft); padding: 28px; border-radius: var(--radius); }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
}
.contact-form textarea { margin-bottom: 16px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #64748b; }
.form-status { min-height: 20px; margin: 14px 0 0; font-size: 0.88rem; }
.form-status-success { color: #4ade80; }
.form-status-error { color: #f87171; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.footer-inner p { margin: 0; max-width: 440px; font-size: 0.88rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .panel-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav, .btn-nav { display: none; }
  .nav-toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .dashboard-mock { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

/* Mobile nav open state */
.site-header.nav-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.site-header.nav-open .btn-nav {
  display: inline-flex;
  position: absolute;
  top: 130px; right: 24px;
}
