/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0B1D2E;
  --navy-mid: #102438;
  --teal:     #0891B2;
  --teal-light: #06B6D4;
  --teal-dim: rgba(8,145,178,0.15);
  --amber:    #F59E0B;
  --amber-dim: rgba(245,158,11,0.15);
  --text:     #E8F0F7;
  --text-muted: rgba(232,240,247,0.55);
  --surface:  #112840;
  --border:   rgba(255,255,255,0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.2; }

/* ─── Shared ─────────────────────────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}
.section-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 2rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,145,178,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,145,178,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--teal-dim);
  border: 1px solid rgba(8,145,178,0.3);
  color: var(--teal-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-light);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── Dashboard Mock ───────────────────────────────────── */
.hero-visual { position: relative; z-index: 1; }

.dashboard-mock {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.mock-logo {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  color: #fff;
}
.mock-nav { display: flex; gap: 1rem; flex: 1; }
.mock-nav-item {
  font-size: 0.75rem; color: var(--text-muted); cursor: pointer;
}
.mock-nav-item.active { color: #fff; font-weight: 500; }
.mock-avatar {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
}

.mock-body { display: grid; grid-template-columns: 160px 1fr; gap: 0; }
.mock-sidebar {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.sidebar-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.72rem; color: var(--text-muted);
}
.sidebar-item.active { color: #fff; font-weight: 500; }
.sidebar-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.green { background: #22C55E; }
.teal  { background: var(--teal); }
.amber { background: var(--amber); }
.blue  { background: #3B82F6; }

.mock-main { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }

.comm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  position: relative;
}
.comm-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: #22C55E;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
}
.comm-header { font-size: 0.78rem; margin-bottom: 0.75rem; color: #fff; }

.comm-chain { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.chain-msg {
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
}
.chain-msg.tech {
  background: rgba(8,145,178,0.15);
  color: var(--teal-light);
  border-left: 2px solid var(--teal);
}
.chain-msg.ai {
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border-left: 2px solid var(--amber);
}
.chain-msg.customer {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border-left: 2px solid rgba(255,255,255,0.2);
}

.comm-notify { display: flex; gap: 0.5rem; }
.notify-chip {
  font-size: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
}
.tech-chip { background: rgba(8,145,178,0.2); color: var(--teal-light); }
.customer-chip { background: rgba(34,197,94,0.2); color: #4ADE80; }

.mock-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem; }
.mini-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.mini-value { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.mini-value.teal { color: var(--teal-light); }
.mini-value.amber { color: var(--amber); }
.mini-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.mini-fill { height: 100%; background: var(--teal); border-radius: 2px; }
.amber-fill { background: var(--amber); }

/* ─── Comms Section ───────────────────────────────────── */
.comms-section { padding: 6rem 0; background: var(--navy-mid); }
.comms-section .section-body { margin-bottom: 3rem; }

.comms-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.three-way {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 700px;
  justify-content: center;
}

.sync-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.sync-logo {
  width: 56px; height: 56px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(8,145,178,0.15), 0 0 0 16px rgba(8,145,178,0.07);
}
.sync-label { font-size: 0.72rem; color: var(--teal-light); font-weight: 500; }

.node {
  flex: 1;
  max-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.node-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.node-label { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.node-desc { font-size: 0.72rem; color: var(--text-muted); }

.company-line { display: flex; justify-content: center; }
.company-node {
  background: var(--surface);
  border: 1px solid rgba(8,145,178,0.3);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Features Section ────────────────────────────────── */
.features-section { padding: 7rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(8,145,178,0.3); }
.feature-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #fff;
}
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Tech Section ────────────────────────────────────── */
.tech-section { padding: 7rem 0; background: var(--navy-mid); }
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.tech-points { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.tech-point { display: flex; gap: 1.5rem; align-items: flex-start; }
.point-marker {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(8,145,178,0.3);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tech-point strong { font-family: 'Syne', sans-serif; font-size: 0.95rem; display: block; margin-bottom: 0.35rem; }
.tech-point p { font-size: 0.875rem; color: var(--text-muted); }

/* Phone mock */
.phone-mock {
  background: #111;
  border-radius: 36px;
  padding: 12px;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-notch {
  width: 80px; height: 24px;
  background: #111;
  border-radius: 0 0 14px 14px;
  margin: 0 auto  8px;
}
.phone-screen {
  background: var(--navy-mid);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.5rem;
}
.phone-time { font-size: 0.7rem; color: var(--text-muted); }
.phone-title { font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700; }
.phone-status {
  font-size: 0.6rem; font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
}
.phone-status.green { background: rgba(34,197,94,0.2); color: #4ADE80; }

.phone-body { padding: 0 1rem 1.25rem; }
.phone-customer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cust-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), #0E7490);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 700;
}
.cust-info strong { display: block; font-size: 0.85rem; margin-bottom: 0.15rem; }
.cust-info span { font-size: 0.7rem; color: var(--text-muted); }

.phone-issue { margin-bottom: 1rem; }
.issue-label { font-size: 0.65rem; color: var(--amber); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.35rem; }
.issue-text { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.phone-diagnostic { margin-bottom: 1rem; }
.diag-label { font-size: 0.65rem; color: var(--teal-light); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.5rem; }
.diag-result { background: rgba(8,145,178,0.08); border: 1px solid rgba(8,145,178,0.2); border-radius: 8px; padding: 0.75rem; }
.diag-item { display: flex; gap: 0.5rem; font-size: 0.72rem; padding: 0.2rem 0; }
.diag-key { color: var(--text-muted); min-width: 70px; }
.diag-item span:last-child { color: #fff; }

.phone-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.phone-btn {
  text-align: center;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.phone-btn.primary { background: var(--teal); color: #fff; }
.phone-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.phone-btn.secondary { background: rgba(255,255,255,0.07); color: var(--text-muted); border: 1px solid var(--border); }

/* ─── Closing Section ─────────────────────────────────── */
.closing-section { padding: 7rem 0; }
.closing-content { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-badge {
  display: inline-block;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.75rem;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  color: #fff;
}
.footer-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-visual { display: none; }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .three-way { flex-wrap: wrap; gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
}