:root {
  --ink: #071827;
  --muted: #607086;
  --line: #dce8f2;
  --paper: #ffffff;
  --soft: #eff6fb;
  --green: #13c987;
  --green-dark: #0f8d66;
  --blue: #0b72d9;
  --cyan: #16a9d6;
  --navy: #09263a;
  --shadow: 0 22px 60px rgba(6, 27, 49, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6fafc;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 232, 242, 0.9);
  backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: 0; }
.logo img { width: 38px; height: 38px; border-radius: 8px; }
.site-nav nav { display: flex; justify-content: center; gap: 24px; color: var(--muted); font-weight: 800; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.solid, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}
.solid { background: var(--green); color: #062015; box-shadow: 0 12px 28px rgba(19, 201, 135, 0.26); }
.ghost { border: 1px solid var(--line); color: var(--navy); background: white; }
.ghost.light { background: rgba(255, 255, 255, 0.12); color: white; border-color: rgba(255, 255, 255, 0.36); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 96px clamp(18px, 5vw, 72px) 120px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.82) 43%, rgba(7, 24, 39, 0.45) 100%),
    radial-gradient(circle at 82% 24%, rgba(19, 201, 135, 0.42), transparent 30%),
    linear-gradient(135deg, #071827 0%, #0b3552 54%, #0b5b69 100%);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}
.lead {
  margin: 22px 0 0;
  max-width: 610px;
  color: #d6e4ef;
  font-size: 20px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.phone-card, .ops-card, .route-card {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.phone-card {
  top: 126px;
  width: min(390px, 32vw);
  min-height: 440px;
  padding: 20px;
  border-radius: 24px;
}
.phone-top { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; margin-bottom: 26px; }
.phone-top span { width: 34px; height: 34px; border-radius: 50%; background: var(--green); }
.phone-top strong { font-size: 14px; }
.phone-top em { color: #9cf3d1; font-style: normal; font-size: 12px; }
.bubble {
  width: fit-content;
  max-width: 86%;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.4;
  font-weight: 700;
  font-size: 14px;
}
.bubble.in { background: rgba(255, 255, 255, 0.92); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { margin-left: auto; background: #d6ffe9; color: #073e2b; border-bottom-right-radius: 4px; }
.typing { display: flex; gap: 5px; width: 58px; padding: 12px; border-radius: 999px; background: rgba(255,255,255,0.92); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #91a2b4; }
.ops-card {
  top: 440px;
  width: 240px;
  padding: 18px;
  border-radius: 16px;
}
.ops-card span, .route-card span { color: #b9d5e8; font-weight: 800; font-size: 12px; }
.ops-card strong, .route-card strong { display: block; margin-top: 8px; font-size: 24px; }
.ops-card small { display: block; margin-top: 8px; color: #9cf3d1; }
.route-card {
  right: clamp(280px, 29vw, 520px);
  bottom: 72px;
  width: 300px;
  padding: 18px;
  border-radius: 16px;
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
}
.section-head { max-width: 760px; margin-bottom: 28px; }
.section h2, .cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}
.section p, .cta p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.metrics, .feature-grid, .plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.metrics article, .feature-grid article, .plans article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(7, 24, 39, 0.07);
}
.metrics strong { display: block; font-size: 46px; color: var(--blue); margin-bottom: 10px; }
.metrics span { color: var(--muted); font-weight: 800; line-height: 1.45; }
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 36px;
}
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e7fff4;
  color: var(--green-dark);
  font-weight: 1000;
  margin-bottom: 14px;
}
.feature-grid h3, .plans h3 { margin: 0 0 8px; font-size: 20px; }
.feature-grid p, .plans p { margin: 0; font-size: 15px; }
.dark {
  max-width: none;
  margin: 0;
  background: var(--navy);
  color: white;
}
.dark .section-head, .dark-copy, .pipeline { max-width: 1160px; margin-left: auto; margin-right: auto; }
.dark h2 { color: white; }
.dark-copy { color: #bfd1df; }
.pipeline {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 24px;
}
.pipeline div {
  min-height: 82px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
}
.pipeline span { height: 2px; background: var(--green); }
.plans article { min-height: 280px; }
.plans strong { display: block; margin: 6px 0 12px; color: var(--blue); font-size: 28px; }
.plans ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.9; }
.plans .featured { border-color: var(--green); box-shadow: 0 18px 52px rgba(19, 201, 135, 0.18); }
.cta {
  margin: 24px clamp(18px, 5vw, 72px) 84px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #0a5866);
}
.cta p { color: #cce0eb; margin-bottom: 0; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

@media (max-width: 980px) {
  .site-nav { grid-template-columns: 1fr; align-items: start; }
  .site-nav nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
  .hero { min-height: 760px; padding-top: 84px; }
  .hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-scene { opacity: 0.42; transform: translateX(110px); }
  .phone-card { width: 380px; right: 18px; }
  .ops-card { right: 28px; }
  .route-card { right: 110px; }
  .metrics, .plans, .split, .feature-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline span { width: 2px; height: 24px; justify-self: center; }
  .cta { grid-template-columns: 1fr; padding: 28px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .nav-actions { width: 100%; }
  .nav-actions a { flex: 1; }
  .site-nav nav { display: none; }
  .hero { min-height: 700px; }
  .hero-scene { display: none; }
  .lead { font-size: 17px; }
  .hero-actions a { width: 100%; }
  .section { padding: 58px 18px; }
}
