/* ============================================
   AeroCP — English Sales Page
   Responsive · Mobile-first · Web-friendly
   ============================================ */

:root {
  --bg: #000;
  --bg-1: #060606;
  --bg-2: #0d0d0e;
  --bg-3: #161618;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.14);
  --text: #ffffff;
  --text-2: #8a8a8e;
  --text-3: #545458;

  --amber:   #FFB800;
  --amber-d: #d59800;
  --cyan:    #00D4E5;
  --green:   #34C759;
  --red:     #FF3B30;
  --blue:    #0A84FF;
  --violet:  #BF5AF2;

  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* fluid type / spacing */
  --hero-size: clamp(40px, 6.5vw, 88px);
  --h2-size:   clamp(28px, 4vw, 52px);
  --eyebrow:   clamp(12px, 0.95vw, 13px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { background: #000; color: var(--text); }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, #1a1a1d 0%, #000 60%),
    #000;
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* ── PAGE / WIDTH ─────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.shell-narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TELEMETRY STRIP (top) ────────────────────────────────── */
.telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 6px;
  font-family: var(--mono);
  font-size: var(--eyebrow);
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}
.telemetry .ok { color: var(--green); }
.telemetry .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: 1px;
  animation: blink 1.4s infinite;
  box-shadow: 0 0 8px var(--green);
}
@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.22; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 24px;
  text-align: center;
  position: relative;
}
.brand-row {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  color: var(--text-2);
  text-transform: uppercase;
}
.brand-row .b-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: blink 1.4s infinite;
}
.brand-row .zt {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--amber);
  background: rgba(255,184,0,0.10);
  border: 1px solid rgba(255,184,0,0.4);
  border-radius: 3px;
}

.aerocp-logo {
  margin: 28px auto 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aerocp-logo .cp {
  color: var(--amber);
  background: none;
  -webkit-text-fill-color: var(--amber);
}

.hero-meta {
  margin-top: 18px;
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero-meta .rule {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.12);
}
.hero-meta .amber { color: var(--amber); }

.hero h1 {
  margin: 28px auto 0;
  font-weight: 700;
  font-size: var(--hero-size);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 .amber { color: var(--amber); }
.hero h1 .glow {
  text-shadow:
    0 0 40px rgba(255,184,0,0.4),
    0 0 80px rgba(255,184,0,0.18);
}

.hero .sub {
  margin: 22px auto 0;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
}
.hero .sub b { color: var(--text); font-weight: 600; }

/* hero hardware shot */
.hero-device {
  margin: 56px auto 0;
  max-width: 380px;
  position: relative;
}
.hero-device .corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--amber);
  opacity: 0.6;
}
.hero-device .c-tl { top: -10px; left: -16px; border-right: 0; border-bottom: 0; }
.hero-device .c-tr { top: -10px; right: -16px; border-left: 0; border-bottom: 0; }
.hero-device .c-bl { bottom: -10px; left: -16px; border-right: 0; border-top: 0; }
.hero-device .c-br { bottom: -10px; right: -16px; border-left: 0; border-top: 0; }
.hero-device img {
  width: 100%;
  border-radius: 18px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.7),
    0 0 100px rgba(255,184,0,0.08);
}

.hero-cap {
  margin-top: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero-cap b { color: #fff; font-weight: 600; }
.hero-cap .amber { color: var(--amber); }

/* ── KPI strip ────────────────────────────────────────────── */
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 64px;
}
.kpi-item {
  text-align: left;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.kpi-item:last-child { border-right: 0; }
.kpi-n {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.kpi-n.amber { color: var(--amber); }
.kpi-n.cyan  { color: var(--cyan); }
.kpi-n.green { color: var(--green); }
.kpi-n .u { font-size: 0.35em; color: var(--text-3); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.kpi-l {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 600;
}
.kpi-d {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
}

/* ── SECTION SCAFFOLD ─────────────────────────────────────── */
section.feature {
  padding: 96px 0 16px;
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow .num {
  width: 28px; height: 28px;
  border-radius: 5px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
}

section.feature h2 {
  margin: 18px 0 18px;
  font-weight: 700;
  font-size: var(--h2-size);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-wrap: balance;
}
section.feature h2 .amber { color: var(--amber); }
section.feature h2 .cyan  { color: var(--cyan); }
section.feature h2 .green { color: var(--green); }
section.feature h2 .blue  { color: var(--blue); }

section.feature .lede {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
}
section.feature .lede b { color: var(--text); font-weight: 600; }

/* Section can be 2-column on desktop */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
@media (min-width: 880px) {
  .split-2 { grid-template-columns: 1fr 1fr; }
  .split-3 { grid-template-columns: 1fr 1fr 1fr; }
  .split-25-75 { grid-template-columns: 5fr 7fr; }
  .split-60-40 { grid-template-columns: 6fr 4fr; }
}

/* ── ZERO TOUCH BAND ──────────────────────────────────────── */
.zerotouch {
  margin-top: 80px;
  padding: 80px 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(255,184,0,0.08), transparent 70%),
    var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.zerotouch::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,184,0,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.zerotouch > * { position: relative; z-index: 1; }
.zt-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.zt-eyebrow .dim { color: var(--text-3); }
.zt-ttl {
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto 56px;
  text-wrap: balance;
}
.zt-ttl .amber { color: var(--amber); }

.zt-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .zt-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
}
.zt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.zt-step.live {
  border-color: rgba(255,184,0,0.5);
  background: rgba(255,184,0,0.04);
  box-shadow: 0 0 60px rgba(255,184,0,0.10);
}
.zt-step .ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--amber);
  font-size: 26px;
  border: 1px solid var(--line);
}
.zt-step.live .ic {
  background: rgba(255,184,0,0.10);
  border-color: rgba(255,184,0,0.4);
  color: var(--amber);
  box-shadow: 0 0 24px rgba(255,184,0,0.25);
}
.zt-step .lbl {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-align: center;
}
.zt-step .sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 500;
}
.zt-arrow {
  color: var(--amber);
  opacity: 0.55;
  font-size: 22px;
  text-align: center;
}

.zt-zero {
  margin-top: 64px;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 28px;
  border: 1px solid rgba(255,184,0,0.25);
  background: rgba(255,184,0,0.04);
  border-radius: 999px;
}
.zt-z-item { display: inline-flex; align-items: baseline; gap: 8px; }
.zt-z-n {
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.04em;
}
.zt-z-l {
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.zt-z-sep {
  color: var(--line-2);
  font-size: 24px;
}

/* ── FUSION RADAR ─────────────────────────────────────────── */
.fusion {
  margin-top: 80px;
  padding: 80px 0;
  position: relative;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(255,184,0,0.06), transparent 70%),
    radial-gradient(35% 50% at 50% 50%, rgba(0,212,229,0.04), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fusion-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fusion-h {
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto 56px;
  text-wrap: balance;
}
.fusion-h .amber { color: var(--amber); }
.fusion-h .cyan { color: var(--cyan); }

.fusion-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.fusion-stage svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.fusion-stage .ring-outer { animation: rot 32s linear infinite; transform-origin: center; }
.fusion-stage .ring-inner { animation: rot 22s linear infinite reverse; transform-origin: center; }
.fusion-stage .sweep      { animation: rot 4s linear infinite; transform-origin: center; }
@keyframes rot {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.fusion-stage .core-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 16%; height: 16%;
  border-radius: 50%;
  border: 1px solid var(--amber);
  transform: translate(-50%, -50%);
  animation: corePulse 3s ease-out infinite;
}
@keyframes corePulse {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.6);  opacity: 0;    }
}

/* Pulse glows at sensor nodes */
.pulse {
  position: absolute;
  width: 12%; height: 12%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 2.4s ease-in-out infinite;
  filter: blur(2px);
}
@keyframes pulseRing {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.55; }
  50%      { transform: translate(-50%, -50%) scale(1.5); opacity: 0.15; }
}
.pulse-gps  { top: 22.5%; left: 50%;   background: rgba(255,184,0,0.55); }
.pulse-acc  { top: 36%;   left: 74%;   background: rgba(0,212,229,0.55); animation-delay: 0.4s; }
.pulse-gyr  { top: 64%;   left: 74%;   background: rgba(52,199,89,0.55); animation-delay: 0.8s; }
.pulse-baro { top: 77.5%; left: 50%;   background: rgba(191,90,242,0.55); animation-delay: 1.2s; }
.pulse-mag  { top: 64%;   left: 26%;   background: rgba(10,132,255,0.55); animation-delay: 1.6s; }
.pulse-mic  { top: 36%;   left: 26%;   background: rgba(255,59,48,0.55); animation-delay: 2.0s; }

.fusion-foot {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 500;
}
.fusion-foot .ok { color: var(--green); }
.fusion-foot .amber { color: var(--amber); }

/* ── SENSOR GRID ──────────────────────────────────────────── */
.sensors {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 720px) { .sensors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .sensors { grid-template-columns: repeat(6, 1fr); } }

.sensor {
  background: var(--bg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sensor .s-head {
  display: flex; align-items: center; gap: 12px;
}
.sensor .s-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sensor .s-ico svg { width: 20px; height: 20px; }
.sensor .s-name {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.sensor .s-zh {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.sensor .s-live {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.sensor .s-live b { color: var(--text); font-weight: 700; }
.bars {
  display: flex;
  gap: 2px;
  height: 14px;
  align-items: flex-end;
}
.bar {
  flex: 1;
  height: 100%;
  background: var(--bg-3);
  border-radius: 1px;
  opacity: 0.5;
}

.sensor.amber  .s-name, .sensor.amber  b { color: var(--amber); }
.sensor.amber  .s-ico  { background: rgba(255,184,0,0.10); border-color: rgba(255,184,0,0.3); color: var(--amber); }
.sensor.amber  .bar.on { background: var(--amber); opacity: 1; }

.sensor.cyan   .s-name, .sensor.cyan  b { color: var(--cyan); }
.sensor.cyan   .s-ico  { background: rgba(0,212,229,0.10); border-color: rgba(0,212,229,0.3); color: var(--cyan); }
.sensor.cyan   .bar.on { background: var(--cyan); opacity: 1; }

.sensor.green  .s-name, .sensor.green b { color: var(--green); }
.sensor.green  .s-ico  { background: rgba(52,199,89,0.10); border-color: rgba(52,199,89,0.3); color: var(--green); }
.sensor.green  .bar.on { background: var(--green); opacity: 1; }

.sensor.violet .s-name, .sensor.violet b { color: var(--violet); }
.sensor.violet .s-ico  { background: rgba(191,90,242,0.10); border-color: rgba(191,90,242,0.3); color: var(--violet); }
.sensor.violet .bar.on { background: var(--violet); opacity: 1; }

.sensor.blue   .s-name, .sensor.blue b { color: var(--blue); }
.sensor.blue   .s-ico  { background: rgba(10,132,255,0.10); border-color: rgba(10,132,255,0.3); color: var(--blue); }
.sensor.blue   .bar.on { background: var(--blue); opacity: 1; }

.sensor.red    .s-name, .sensor.red b { color: var(--red); }
.sensor.red    .s-ico  { background: rgba(255,59,48,0.10); border-color: rgba(255,59,48,0.3); color: var(--red); }
.sensor.red    .bar.on { background: var(--red); opacity: 1; }

/* Failover bar */
.failover {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,59,48,0.08), transparent 60%),
    var(--bg-2);
  display: flex;
  align-items: center;
  gap: 22px;
}
.fo-glyph {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,59,48,0.10);
  border: 1px solid rgba(255,59,48,0.4);
  color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  flex-shrink: 0;
}
.fo-body { flex: 1; }
.fo-body .l1 {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.fo-body .l2 {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 500;
}
.fo-stat {
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  color: var(--green);
  font-family: var(--mono);
}

/* ── PHASES (auto-record) ─────────────────────────────────── */
.phases {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 540px) {
  .phase-row { grid-template-columns: 110px 1fr auto; padding: 12px 14px; gap: 12px; }
}
.phase-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 6px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  justify-self: start;
}
.pdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pt-amber { background: rgba(255,184,0,0.10); color: var(--amber); }
.pt-amber .pdot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.pt-green { background: rgba(52,199,89,0.10); color: var(--green); }
.pt-green .pdot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pt-blue  { background: rgba(10,132,255,0.10); color: var(--blue); }
.pt-blue  .pdot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.pt-red   { background: rgba(255,59,48,0.10); color: var(--red); }
.pt-red   .pdot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.ptime {
  font-family: var(--mono);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--text);
}
.pdelta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Stats grid */
.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell {
  background: var(--bg);
  padding: 18px 18px 20px;
}
.stat-l {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
  font-weight: 600;
}
.stat-v {
  margin-top: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-v.amber { color: var(--amber); }
.stat-v.green { color: var(--green); }
.stat-v .u { font-size: 0.5em; color: var(--text-3); margin-left: 3px; font-weight: 500; }
