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

:root {
  --bg: #0e1a14;
  --bg2: #0a1410;
  --bg-card: #112218;
  --fg: #e8ede9;
  --fg-muted: #7a9b8a;
  --accent: #e8961a;
  --accent-dim: rgba(232, 150, 26, 0.12);
  --accent-border: rgba(232, 150, 26, 0.25);
  --sage: #b8d4c8;
  --sage-dim: rgba(184, 212, 200, 0.12);
  --sage-border: rgba(184, 212, 200, 0.2);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--sage-border);
  background: rgba(14, 26, 20, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.2em 0.7em;
  border-radius: 999px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(1.5rem, 5vw, 4rem) 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 212, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 212, 200, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-radar {
  position: absolute;
  right: clamp(-60px, 15vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 45vw, 600px);
  height: clamp(280px, 45vw, 600px);
  pointer-events: none;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 5deg, transparent 30deg);
  opacity: 0.18;
  animation: sweep 6s linear infinite;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 150, 26, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 30%; height: 30%; }
.ring-2 { width: 55%; height: 55%; }
.ring-3 { width: 80%; height: 80%; border-color: rgba(232, 150, 26, 0.08); }

.radar-center-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(232, 150, 26, 0.6);
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.blip-1 { top: 38%; left: 60%; animation-delay: 0s; }
.blip-2 { top: 55%; left: 42%; animation-delay: 1.2s; }
.blip-3 { top: 30%; left: 48%; animation-delay: 2.4s; }

@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-stat-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  grid-column: 1;
}

.hero-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-text { grid-column: 2; }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.headline-accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* === FEATURES === */
.features {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
  background: var(--bg2);
}
.features-inner { max-width: 1280px; margin: 0 auto; }

.features-header {
  margin-bottom: 4rem;
  max-width: 600px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--fg); }
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--sage-border);
  border: 1px solid var(--sage-border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}
.feature-card:hover { background: #152e20; }

.feature-icon { width: 40px; }

.feature-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === PRINCIPLES === */
.principles {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
}
.principles-inner { max-width: 1280px; margin: 0 auto; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--sage-border);
  border-radius: 12px;
  overflow: hidden;
}

.principle {
  padding: 3rem 2.5rem;
  background: var(--bg2);
  border-right: 1px solid var(--sage-border);
}
.principle:last-child { border-right: none; }

.principle-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.principle-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.principle-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === SENSORS === */
.sensors {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
  background: var(--bg2);
}
.sensors-inner { max-width: 1280px; margin: 0 auto; }

.sensors-header { margin-bottom: 4rem; }

.sensor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--accent-border);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  overflow: hidden;
}

.sensor-card {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s;
}
.sensor-card:hover { background: #0f1e18; }

.sensor-visual { display: flex; align-items: center; justify-content: center; }

.sensor-info { display: flex; flex-direction: column; gap: 0.6rem; }

.sensor-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.sensor-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.sensor-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.sensor-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.spec {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage);
  background: var(--sage-dim);
  border: 1px solid var(--sage-border);
  padding: 0.25em 0.75em;
  border-radius: 999px;
}

/* === PROOF === */
.proof {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
}
.proof-inner { max-width: 1280px; margin: 0 auto; }

.proof-stat-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.proof-stat { display: flex; flex-direction: column; gap: 0.4rem; }

.proof-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 180px;
}

.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--sage-border);
  flex-shrink: 0;
}

.proof-quote {
  max-width: 760px;
}

.quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.quote-attr {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: normal;
  padding-left: 1.5rem;
  display: block;
}

/* === CLOSING === */
.closing {
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}

.closing-visual { opacity: 0.6; flex-shrink: 0; }

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* === FOOTER === */
.footer {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--sage-border);
  background: var(--bg2);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stat-block { flex-direction: row; gap: 2rem; }
  .hero-text { grid-column: 1; }
  .hero-radar { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; border-bottom: 1px solid var(--sage-border); }
  .principle:last-child { border-bottom: none; }
  .sensor-cards { grid-template-columns: 1fr; }
  .proof-stat-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .proof-divider { display: none; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-visual { display: none; }
}

@media (max-width: 600px) {
  .hero-stat-block { flex-direction: column; gap: 1.5rem; }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sage-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--sage); }
