/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0f19;
  --bg-2: #10131f;
  --bg-3: #141824;
  --fg: #e8eaf0;
  --fg-2: #9a9cb0;
  --fg-3: #6a6d80;
  --accent: #00d4b4;
  --accent-dim: rgba(0, 212, 180, 0.12);
  --accent-glow: rgba(0, 212, 180, 0.25);
  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.1);
  --card: #111627;

}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(11,15,25,0.8);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-2);
  font-family: 'DM Sans', sans-serif;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-2);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(0,212,180,0.06) 0%, transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.eyebrow-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(0,212,180,0.25);
  border-radius: 4px;
  background: rgba(0,212,180,0.06);
}
.eyebrow-sep { color: var(--fg-3); font-size: 12px; }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.title-accent {
  background: linear-gradient(135deg, #00d4b4 0%, #00e8cc 50%, #00d4b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 540px;
  line-height: 1.7;
}

/* === SENSOR DISPLAY === */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sensor-display {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.display-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.display-ring-1 { width: 80px; height: 80px; border-color: rgba(0,212,180,0.4); }
.display-ring-2 { width: 140px; height: 140px; border-color: rgba(0,212,180,0.25); }
.display-ring-3 { width: 210px; height: 210px; border-color: rgba(0,212,180,0.15); }
.display-ring-4 { width: 280px; height: 280px; border-color: rgba(0,212,180,0.08); }

/* Pulse animation for rings */
.display-ring-1 { animation: ring-pulse 3s ease-out infinite; }
.display-ring-2 { animation: ring-pulse 3s ease-out infinite 0.4s; }
.display-ring-3 { animation: ring-pulse 3s ease-out infinite 0.8s; }
.display-ring-4 { animation: ring-pulse 3s ease-out infinite 1.2s; }

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.display-core {
  position: relative;
  z-index: 2;
}
.core-chip {
  background: var(--bg-3);
  border: 1px solid rgba(0,212,180,0.3);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 0 24px rgba(0,212,180,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.chip-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: 0.05em;
}
.chip-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.status-active { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse-dot 2s infinite; }
.status-text { font-size: 12px; color: #22c55e; font-weight: 500; }

.sensor-labels {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}
.slabel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(0,212,180,0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.slabel-wifi { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }
.slabel-radar { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
.slabel-matter { position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); }

/* === PROOF STATS === */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
}
.proof-stat {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
}
.proof-label { font-size: 12px; color: var(--fg-3); }
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === SHARED SECTION === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 500px;
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how-it-works { padding: 120px 0; border-top: 1px solid var(--border); }
.sensor-cards {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
}
.sensor-card {
  flex: 1;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.card-strength, .card-weak { margin-top: auto; }
.strength-label, .weak-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 3px;
}
.strength-val { font-size: 13px; color: #22c55e; font-weight: 500; }
.weak-val { font-size: 13px; color: var(--fg-3); }

.fusion-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
}
.sensor-card-fusion {
  border-color: rgba(0,212,180,0.2);
  background: linear-gradient(135deg, #0d1420, #0b1218);
}
.card-icon-fusion { background: rgba(0,212,180,0.15); }
.fusion-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(0,212,180,0.08);
  border: 1px solid rgba(0,212,180,0.15);
}
.verdict-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}
.verdict-text { font-size: 12px; color: var(--accent); font-weight: 500; }

/* === SPECS === */
.specs { padding: 120px 0; border-top: 1px solid var(--border); }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.specs-para {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 28px;
}
.hardware-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  padding: 8px 14px;
  border: 1px solid rgba(0,212,180,0.2);
  border-radius: 8px;
  background: var(--accent-dim);
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.02em;
}

.specs-table { display: flex; flex-direction: column; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.spec-row:first-child { border-top: 1px solid var(--border); }
.spec-key {
  font-size: 13px;
  color: var(--fg-2);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  white-space: nowrap;
}
.spec-val {
  font-size: 13px;
  color: var(--fg);
  text-align: right;
}

/* === PLATFORMS === */
.platforms { padding: 120px 0; border-top: 1px solid var(--border); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  margin-bottom: 36px;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.platform-icon { margin-bottom: 16px; }
.platform-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.platform-note {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.platform-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}
.pstatus-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.matter-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 600px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
}
.matter-note svg { flex-shrink: 0; margin-top: 2px; }

/* === CLOSING === */
.closing { padding: 120px 0; border-top: 1px solid var(--border); }
.closing-inner { max-width: 700px; }
.closing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.closing-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border: 1px solid rgba(0,212,180,0.2);
  border-radius: 8px;
  background: var(--accent-dim);
  display: inline-block;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-2);
}
.footer-note {
  font-size: 13px;
  color: var(--fg-3);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .specs-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .sensor-cards { gap: 12px; }
  .fusion-arrow { display: none; }
}
@media (max-width: 600px) {
  .hero-content { padding: 60px 20px; gap: 36px; }
  .hero-proof { flex-direction: column; width: 100%; }
  .proof-divider { width: 100%; height: 1px; }
  .platform-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 0 20px; }
  .how-it-works, .specs, .platforms, .closing { padding: 80px 0; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .sensor-display { width: 240px; height: 240px; }
}