:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --primary: #0f766e;
  --primary-dark: #0d5e58;
  --primary-soft: #ccfbf1;
  --emerald: #10b981;
  --navy: #0b1b2b;
  --red: #dc2626;
  --blue: #2563eb;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 20px 50px -18px rgba(15, 23, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 36px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 2px 6px;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
}

.mobile-drawer.open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  padding: 12px 18px;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(15, 118, 110, 0.7);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 1.06rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Interactive Preview */
.preview-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  display: block;
}

.preview-tabs {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 10px;
  gap: 4px;
}

.preview-tab {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
}

.preview-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.preview-stage {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 16px;
  background: #f1f5f9;
  transition: all 0.25s ease;
}

.preview-stage.mode-phone {
  grid-template-columns: 1fr;
  max-width: 310px;
  margin: 16px auto;
  border-radius: 24px;
  border: 6px solid #0f172a;
}

.preview-stage.mode-phone .mock-rail {
  display: none;
}

.preview-stage.mode-phone .mock-kpis {
  grid-template-columns: 1fr;
}

.preview-stage.mode-phone .mock-split {
  grid-template-columns: 1fr;
}

.mock-rail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.mock-logo-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.mock-nav {
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 4px;
  border-radius: 8px;
}

.mock-nav.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.mock-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-kpi small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-kpi strong {
  font-size: 0.88rem;
}

.mock-kpi span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.tag-teal {
  color: var(--primary) !important;
  font-weight: 600;
}

.text-green { color: #059669; }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }

.mock-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-panel-title {
  font-size: 0.74rem;
  font-weight: 700;
}

.mock-voice-bubble {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--border);
}

.chip.green {
  background: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

.mock-tx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

.mock-tx:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Highlights Strip */
.highlights {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.highlight-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.eyebrow.light {
  color: #6ee7b7;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.icon-box.teal { background: #ccfbf1; }
.icon-box.blue { background: #dbeafe; }
.icon-box.emerald { background: #d1fae5; }
.icon-box.violet { background: #ede9fe; }
.icon-box.amber { background: #fef3c7; }
.icon-box.slate { background: #e2e8f0; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Adaptive Cards */
.adaptive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.adaptive-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.adaptive-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.adaptive-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.adaptive-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.94rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* CTA */
.cta-section {
  padding: 24px 0 76px;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #0f4c46 100%);
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-box h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 26px;
  width: auto;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Responsive Breakpoints (Tablet & Mobile Portrait) */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adaptive-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero {
    padding: 40px 0 42px;
  }
  .highlights-grid,
  .features-grid,
  .mock-kpis,
  .mock-split {
    grid-template-columns: 1fr;
  }
  .preview-stage {
    grid-template-columns: 1fr;
  }
  .mock-rail {
    display: none;
  }
  .cta-box {
    padding: 28px 22px;
  }
  .btn-lg {
    width: 100%;
  }
}
