/* ============================================================
   INDEX-STYLES.CSS | TapFlash Homepage
   Solid blue (#2563EB) + solid green (#22C55E), no blended gradient
   ============================================================ */

/* ---------- HERO LAYOUT ---------- */
.hero {
  padding: 80px 0 72px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero::before {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
}
.hero::after {
  width: 400px; height: 400px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 70%);
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(28px) scale(1.04); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone { display: flex; justify-content: center; }
}

/* Left column: all left aligned */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* ---------- EYEBROW ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
  animation: slideDown 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ---------- HERO TEXT ---------- */
.hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
  animation: slideUp 0.7s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.hero h1 .accent {
  position: relative;
  color: var(--blue);
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 3px; width: 0;
  background: var(--green);
  border-radius: 2px;
  animation: underlineGrow 0.8s 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes underlineGrow { to { width: 100%; } }

.hero-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.65;
  animation: slideUp 0.7s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideUp 0.7s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

/* ---------- HERO PROOF ---------- */
.hero-proof {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  animation: slideUp 0.7s 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
.proof-item {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  flex: 1;
}
.proof-item + .proof-item { border-left: 1px solid var(--border); }
.proof-num {
  font-family: 'Manrope';
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}
.proof-label { font-size: 12px; color: var(--text); margin-top: 2px; }

/* ---------- HERO PHONE ---------- */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: fadeInRight 0.8s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-phone-image-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 310px);
  margin: 0;
  animation: floatCard1 7s ease-in-out infinite;
}
.hero-phone-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 32px rgba(15,23,42,.28));
}
.hero-phone-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: orbFloat 6s ease-in-out infinite;
}
.hero-phone-glow--blue {
  width: 220px; height: 220px;
  background: rgba(37,99,235,0.2);
  top: -30px; left: -20px;
}
.hero-phone-glow--green {
  width: 180px; height: 180px;
  background: rgba(34,197,94,0.18);
  bottom: -20px; right: -10px;
  animation-delay: -3s;
}
@media (max-width: 960px) {
  .hero-phone-image-wrap { width: min(72vw, 285px); }
}
@media (max-width: 560px) {
  .hero-phone-image-wrap { width: min(76vw, 255px); }
  .hero-phone-glow--blue { left: 8%; }
  .hero-phone-glow--green { right: 8%; }
}
.hero-phone-mockup {
  width: 260px;
  background: #080f1c;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
  animation: floatCard1 7s ease-in-out infinite;
}
.hero-phone-notch {
  width: 72px; height: 10px;
  background: #080f1c;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 12px;
  border: 2px solid rgba(255,255,255,0.07);
  border-top: none;
}
.hero-phone-screen {
  background: #0D1B2E;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.hero-phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-phone-topbar-left { display: flex; align-items: center; gap: 8px; }
.hero-phone-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--green);
  flex-shrink: 0;
}
.hero-phone-appname {
  font-size: 11px; font-weight: 800;
  color: white; font-family: 'Manrope';
}
.hero-phone-status {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: var(--green);
}
.hero-phone-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}

/* Map area */
.hero-phone-map {
  position: relative;
  height: 180px;
  background: #0D1B2E;
  overflow: hidden;
}
.hero-phone-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: gridShift 20s linear infinite;
}
.hero-map-road {
  position: absolute;
  background: rgba(255,255,255,0.07);
}
.hero-phone-pin {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  animation: pulse 2.4s infinite;
}
.hero-phone-pin.blue {
  background: var(--blue);
  animation: pulseBlue 2.4s infinite;
}
.hero-map-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 5px 9px;
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Facility card */
.hero-phone-card {
  background: white;
  margin: 8px 8px 0;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-phone-card-row {
  display: flex; align-items: center; gap: 6px;
}
.hero-phone-card-title {
  font-size: 11px; font-weight: 700;
  color: var(--navy); flex: 1;
}
.hero-phone-card-dist {
  font-size: 10px; font-weight: 700;
  color: var(--blue);
  background: rgba(37,99,235,0.1);
  padding: 2px 7px; border-radius: 100px;
}
.hero-phone-card-tags {
  display: flex; gap: 5px; flex-wrap: wrap;
}
.hero-phone-tag {
  font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-phone-tag.green { background: rgba(34,197,94,0.12); color: var(--green); border-color: rgba(34,197,94,0.2); }
.hero-phone-tag.blue  { background: rgba(37,99,235,0.1);  color: var(--blue);  border-color: rgba(37,99,235,0.2); }
.hero-phone-card-btn {
  background: var(--blue);
  color: white;
  font-size: 10px; font-weight: 700;
  text-align: center;
  padding: 7px; border-radius: 8px;
}

/* Chat bubbles */
.hero-phone-chat {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-chat-bubble {
  display: flex; align-items: center; gap: 5px;
  background: rgba(37,99,235,0.12);
  border-radius: 10px 10px 10px 2px;
  padding: 6px 10px;
  font-size: 9.5px; color: white;
  align-self: flex-start;
  max-width: 85%;
}
.hero-chat-reply {
  background: rgba(34,197,94,0.15);
  border-radius: 10px 10px 2px 10px;
  padding: 6px 10px;
  font-size: 9.5px; color: var(--green);
  font-weight: 600;
  align-self: flex-end;
  max-width: 85%;
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to   { background-position: 22px 22px; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes pulseBlue {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
@keyframes floatCard1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Subtle left-edge accent */
.stats::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  position: relative;
  padding-left: 16px;
}
/* Alternating blue/green left border per stat */
.stat-item:nth-child(odd)::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.stat-item:nth-child(even)::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--green);
  border-radius: 2px;
}

.stat-num {
  font-family: 'Manrope';
  font-weight: 800;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 6px;
}
.stat-num.grad { color: var(--blue); }
.stat-label { font-size: 13.5px; color: var(--text); }

/* ---------- SECTION SHELLS ---------- */
.section { padding: 100px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub { color: var(--text); font-size: 16.5px; }

/* ---------- HOW IT WORKS ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
}

.feat-grid, .test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .feat-grid, .test-grid { grid-template-columns: 1fr; }
}

.how-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  background: var(--bg);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.how-card:first-child { border-radius: var(--radius); }
.how-card:last-child  { border-radius: var(--radius); }
.how-card:hover { background: white; box-shadow: 0 16px 48px -12px rgba(15,23,42,0.1); transform: translateY(-3px); }
.how-card--accent {
  background: rgba(34,197,94,0.045);
  border-top-color: var(--green);
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  border-left-color: var(--border);
}
.how-card--accent h3 { color: var(--navy); }
.how-card--accent p  { color: var(--text); }
.how-card--accent:hover { background: white; box-shadow: 0 16px 48px -12px rgba(15,23,42,0.12); transform: translateY(-3px); }

/* Step number + connector line */
.how-card-top {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}
.how-step {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope';
  font-weight: 800;
  color: var(--blue);
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}
.how-card--accent .how-step {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.22);
  color: var(--green);
}
.how-card:hover .how-step {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.how-card--accent:hover .how-step {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.how-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 8px;
}
.how-card--accent .how-connector { background: rgba(34,197,94,0.22); }

/* Icon */
.how-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.how-icon-wrap.blue  { background: rgba(37,99,235,0.1); }
.how-icon-wrap.green { background: rgba(34,197,94,0.15); }

.how-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--navy); }
.how-card p  { color: var(--text); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

/* Bottom tag */
.how-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: auto;
}
.how-card--accent .how-tag {
  background: white;
  border-color: rgba(34,197,94,0.22);
  color: var(--text);
}

/* ---------- CARDS ---------- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: white;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card-muted { background: var(--bg); }
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.card p  { color: var(--text); font-size: 14.5px; }

.feat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 3px solid var(--blue);
}
.feat-card--green { border-top-color: var(--green); }

.feat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feat-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}
.feat-number {
  font-family: 'Manrope';
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--border);
  position: absolute;
  bottom: 16px;
  right: 20px;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s;
}
.feat-card:hover .feat-number { color: rgba(37,99,235,0.08); }
.feat-card--green:hover .feat-number { color: rgba(34,197,94,0.1); }

.feat-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy); margin-top: 8px; }
.feat-card p  { color: var(--text); font-size: 14.5px; flex: 1; }

.feat-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.feat-card:hover .feat-pill { border-color: var(--blue); color: var(--blue); }
.feat-card--green:hover .feat-pill { border-color: var(--green); color: var(--green); }

.feat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.feat-icon.blue  { background: rgba(37,99,235,0.1); }
.feat-icon.green { background: rgba(34,197,94,0.1); }
.feat-icon.navy  { background: rgba(15,23,42,0.06); }

/* ---------- DARK PANEL (IoT) ---------- */
.dark-panel {
  background: var(--navy);
  border-radius: 32px;
  padding: 64px 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
/* Decorative corner squares */
.dark-panel::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border: 2px solid rgba(37,99,235,0.2);
  border-radius: 32px;
  transform: rotate(20deg);
}
.dark-panel::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  border: 2px solid rgba(34,197,94,0.2);
  border-radius: 24px;
  transform: rotate(-15deg);
}

.tech-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tech-section > :not(.telemetry-panel-bg) { position:relative;z-index:2; }
.telemetry-panel-bg { position:absolute;z-index:0;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none; }
.telemetry-panel-bg::before { content:'';position:absolute;inset:0;opacity:.13;background-image:linear-gradient(rgba(59,130,246,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(59,130,246,.18) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(90deg,transparent 3%,black 50%,transparent 97%); }
.telemetry-panel-bg::after { content:'';position:absolute;width:420px;height:420px;left:36%;top:8%;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.18),rgba(34,197,94,.06) 38%,transparent 70%);opacity:.35; }
.telemetry-bg-path { position:absolute;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(59,130,246,.58),rgba(34,197,94,.72),transparent);opacity:.24;transform-origin:left center; }
.telemetry-bg-path::after { content:'';position:absolute;left:0;top:-2px;width:6px;height:6px;border-radius:50%;background:#4ade80;box-shadow:0 0 14px rgba(74,222,128,.9); }
.telemetry-bg-path--one { width:48%;left:4%;top:26%;rotate:9deg; }.telemetry-bg-path--two { width:42%;right:2%;top:70%;rotate:-13deg; }.telemetry-bg-path--three { width:36%;left:32%;bottom:8%;rotate:4deg; }
.telemetry-bg-node { position:absolute;width:7px;height:7px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 7px rgba(59,130,246,.1);opacity:.38; }
.telemetry-bg-node--one { left:8%;top:20%; }.telemetry-bg-node--two { left:31%;top:42%; }.telemetry-bg-node--three { right:38%;top:16%; }.telemetry-bg-node--four { right:8%;top:54%; }.telemetry-bg-node--five { left:51%;bottom:10%;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.1); }
.telemetry-live .telemetry-panel-bg::before { animation:telemetryGridTravel 12s linear infinite; }
.telemetry-live .telemetry-panel-bg::after { animation:telemetryAmbientGlow 7s ease-in-out infinite; }
.telemetry-live .telemetry-bg-path::after { animation:telemetryPacket 4.2s linear infinite; }
.telemetry-live .telemetry-bg-path--two::after { animation-delay:-1.5s; }.telemetry-live .telemetry-bg-path--three::after { animation-delay:-2.8s; }
.telemetry-live .telemetry-bg-node { animation:telemetryBackgroundNode 3.4s ease-in-out infinite; }
.telemetry-live .telemetry-bg-node--two { animation-delay:-.7s; }.telemetry-live .telemetry-bg-node--three { animation-delay:-1.4s; }.telemetry-live .telemetry-bg-node--four { animation-delay:-2.1s; }.telemetry-live .telemetry-bg-node--five { animation-delay:-2.8s; }
@media (max-width: 900px) {
  .tech-section { grid-template-columns: 1fr; }
}

.dark-panel h2, .dark-panel h3 { color: white; }
.dark-panel .section-sub, .dark-panel p { color: #94A3B8; }

.tech-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.tech-list-item { display: flex; gap: 14px; align-items: flex-start; }
.tech-list-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
  background: var(--green);
}
.tech-list-item span { color: #CBD5E1; font-size: 14.5px; }
.tech-list-item strong { color: white; display: block; font-size: 15px; margin-bottom: 2px; }

/* Telemetry rows */
.tech-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.telemetry-row:last-child { border-bottom: none; }
.telemetry-row:hover { background: rgba(255,255,255,0.03); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.telemetry-label { font-size: 13px; color: #94A3B8; }
.telemetry-value { font-family: 'Manrope'; font-weight: 700; font-size: 15px; color: white; }
.telemetry-value.good { color: var(--green); }

/* Animated bar for water level */
.telemetry-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.telemetry-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 0;
}
.telemetry-motion-ready .tech-copy > :is(.section-eyebrow,h2,.section-sub),
.telemetry-motion-ready .tech-list-item,
.telemetry-motion-ready .tech-visual,
.telemetry-motion-ready .telemetry-row { opacity: 0; }
.telemetry-motion-ready .tech-copy > :is(.section-eyebrow,h2,.section-sub) { transform: translateY(16px); }
.telemetry-motion-ready .tech-list-item { transform: translateX(-18px); }
.telemetry-motion-ready .tech-visual { transform: translateX(24px) scale(.98); }
.telemetry-motion-ready .telemetry-row { transform: translateX(16px); }
.telemetry-live .tech-copy > :is(.section-eyebrow,h2,.section-sub),
.telemetry-live .tech-list-item,
.telemetry-live .tech-visual,
.telemetry-live .telemetry-row { opacity: 1; transform: none; transition: opacity .65s cubic-bezier(.2,.8,.2,1),transform .65s cubic-bezier(.2,.8,.2,1); }
.telemetry-live .tech-copy > h2 { transition-delay: .08s; }
.telemetry-live .tech-copy > .section-sub { transition-delay: .16s; }
.telemetry-live .tech-list-item:nth-child(1) { transition-delay: .25s; }
.telemetry-live .tech-list-item:nth-child(2) { transition-delay: .36s; }
.telemetry-live .tech-list-item:nth-child(3) { transition-delay: .47s; }
.telemetry-live .tech-visual { transition-delay: .18s; }
.telemetry-live .telemetry-row:nth-child(1) { transition-delay: .32s; }
.telemetry-live .telemetry-row:nth-child(2) { transition-delay: .43s; }
.telemetry-live .telemetry-row:nth-child(3) { transition-delay: .54s; }
.telemetry-live .telemetry-row:nth-child(4) { transition-delay: .65s; }
.telemetry-live .telemetry-row:nth-child(5) { transition-delay: .76s; }
.telemetry-live .telemetry-bar-fill { animation: barGrow 1.4s .55s cubic-bezier(.22,1,.36,1) forwards,telemetryBarGlow 2.2s 2s ease-in-out infinite; }
.telemetry-live .tech-list-item .dot { animation:telemetryDot 2.2s ease-in-out infinite; }
.telemetry-live .tech-list-item:nth-child(2) .dot { animation-delay:-.7s; }
.telemetry-live .tech-list-item:nth-child(3) .dot { animation-delay:-1.4s; }
.telemetry-live .telemetry-value.good { animation:telemetryValuePulse 3s 1.2s ease-in-out infinite; }
.telemetry-live .telemetry-row { animation:telemetryRowSweep 7.5s 2s ease-in-out infinite; }
.telemetry-live .telemetry-row:nth-child(2) { animation-delay:3.1s; }.telemetry-live .telemetry-row:nth-child(3) { animation-delay:4.2s; }.telemetry-live .telemetry-row:nth-child(4) { animation-delay:5.3s; }.telemetry-live .telemetry-row:nth-child(5) { animation-delay:6.4s; }
.tech-visual::after { content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(34,197,94,.055) 48%,transparent 70%);translate:-115% 0; }
.telemetry-live .tech-visual::after { animation:telemetryScan 5.5s 1.2s ease-in-out infinite; }
@keyframes barGrow {
  to { width: 82%; }
}
@keyframes telemetryBarGlow { 0%,100% { box-shadow:0 0 0 rgba(34,197,94,0); } 50% { box-shadow:0 0 13px rgba(34,197,94,.65); } }
@keyframes telemetryDot { 0%,100% { box-shadow:0 0 0 0 rgba(34,197,94,.35);transform:scale(.9); } 50% { box-shadow:0 0 0 7px rgba(34,197,94,0);transform:scale(1.12); } }
@keyframes telemetryValuePulse { 0%,100% { filter:brightness(1); } 50% { filter:brightness(1.35);text-shadow:0 0 14px rgba(34,197,94,.35); } }
@keyframes telemetryRowSweep { 0%,12%,100% { background:transparent; } 6% { background:rgba(34,197,94,.045); } }
@keyframes telemetryScan { 0%,18% { translate:-115% 0;opacity:0; } 42% { opacity:1; } 72%,100% { translate:115% 0;opacity:0; } }
@keyframes telemetryGridTravel { to { background-position:52px 52px; } }
@keyframes telemetryAmbientGlow { 0%,100% { translate:-35px 10px;scale:.9;opacity:.25; } 50% { translate:45px -15px;scale:1.12;opacity:.55; } }
@keyframes telemetryPacket { from { left:0;opacity:0; } 12%,82% { opacity:1; } to { left:100%;opacity:0; } }
@keyframes telemetryBackgroundNode { 0%,100% { opacity:.24;scale:.75; } 50% { opacity:.9;scale:1.35;box-shadow:0 0 0 12px rgba(59,130,246,0); } }
@media (prefers-reduced-motion:reduce) { .telemetry-motion-ready .tech-copy > :is(.section-eyebrow,h2,.section-sub),.telemetry-motion-ready .tech-list-item,.telemetry-motion-ready .tech-visual,.telemetry-motion-ready .telemetry-row { opacity:1;transform:none;transition:none;animation:none!important; }.telemetry-motion-ready .telemetry-bar-fill { width:82%;animation:none!important; }.telemetry-panel-bg *,.telemetry-panel-bg::before,.telemetry-panel-bg::after{animation:none!important;} }

/* ---------- TESTIMONIALS ---------- */
.stars { color: var(--green); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.test-quote { font-size: 15px; color: var(--navy); margin-bottom: 20px; line-height: 1.55; }
.test-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
/* Green ring on avatar */
.avatar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--green);
}
.test-name  { font-size: 14px; font-weight: 600; color: var(--navy); }
.test-role  { font-size: 12.5px; color: var(--text); }

/* ---------- PARTNERS ---------- */
.partners {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.partners-label {
  text-align: center;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.55;
}
.partner-logo {
  font-family: 'Manrope';
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  transition: opacity 0.2s, color 0.2s;
}
.partner-logo:hover { opacity: 1; color: var(--blue); }

/* ---------- CTA BAND ---------- */
.cta-section {
  background: var(--navy);
  border-radius: 32px;
  padding: 72px 56px;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: orbFloat 7s ease-in-out infinite;
}
.cta-orb--blue {
  width: 320px; height: 320px;
  background: rgba(37,99,235,0.25);
  top: -80px; left: -60px;
  animation-delay: 0s;
}
.cta-orb--green {
  width: 260px; height: 260px;
  background: rgba(34,197,94,0.2);
  bottom: -60px; right: -40px;
  animation-delay: -3.5s;
}
/* Two-column layout */
.cta-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .cta-layout { grid-template-columns: 1fr; }
  .cta-phone  { display: none; }
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.cta-section h2 {
  color: white;
  font-size: clamp(26px, 3.2vw, 42px);
  margin-bottom: 14px;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.1;
  max-width: 520px;
  text-align: left;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 15.5px;
  margin-bottom: 36px;
  margin-left: 0;
  margin-right: 0;
  max-width: 440px;
  text-align: left;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.cta-btn-primary {
  background: var(--blue);
  color: white;
  border: none;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.cta-btn-primary:hover {
  box-shadow: 0 12px 32px rgba(37,99,235,0.45);
  transform: translateY(-2px);
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
}
.cta-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.cta-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--green);
  color: var(--green);
}
.cta-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.cta-trust-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

/* ---------- PHONE MOCKUP ---------- */
.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCard1 6s ease-in-out infinite;
}
.phone-mockup {
  width: 200px;
  background: #0a0f1e;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 32px 64px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.phone-notch {
  width: 60px; height: 8px;
  background: #0a0f1e;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255,255,255,0.08);
  border-top: none;
}
.phone-screen {
  background: #0D1B2E;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 6px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  font-family: 'Manrope';
}
.phone-map {
  position: relative;
  height: 160px;
  background: #0D1B2E;
  overflow: hidden;
}
.phone-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridShift 20s linear infinite;
}
.phone-pin {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  animation: pulse 2.4s infinite;
}
.phone-pin.blue {
  background: var(--blue);
  animation: pulseBlue 2.4s infinite;
}
.phone-card {
  background: rgba(255,255,255,0.97);
  margin: 0 8px 8px;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
}
.phone-card-badge {
  font-size: 9px;
  font-weight: 700;
  background: rgba(34,197,94,0.15);
  color: var(--green);
  padding: 2px 7px;
  border-radius: 100px;
}
.phone-card-sub {
  font-size: 10px;
  color: var(--text);
}
.phone-card-btn {
  margin-top: 4px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  border-radius: 8px;
}

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children inside a grid */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0s;    opacity: 1; transform: none; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.1s;  opacity: 1; transform: none; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.2s;  opacity: 1; transform: none; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.3s;  opacity: 1; transform: none; }

/* ---------- ENTRY KEYFRAMES ---------- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .pin, .hero::before, .hero::after,
  .fc-1, .fc-2, .map-grid-lines,
  [data-reveal], [data-reveal-group] > *,
  .hero h1, .hero-sub, .hero-ctas, .hero-proof, .eyebrow, .hero-visual {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
