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

:root {
  --bg: #070b13;
  --bg-2: #0c1322;
  --fg: #e8edf5;
  --fg-muted: #7a8499;
  --accent: #00e5ff;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-border: rgba(0, 229, 255, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; }

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

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* === RADAR VISUAL === */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.radar-container {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

.radar-ring-1 { width: 80px; height: 80px; opacity: 0.4; }
.radar-ring-2 { width: 160px; height: 160px; opacity: 0.25; }
.radar-ring-3 { width: 240px; height: 240px; opacity: 0.15; }

.radar-center { position: absolute; }

.radar-sweep {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0,229,255,0.15) 30deg, transparent 60deg);
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.signal-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.signal-dot-1 { top: 30px; left: 50%; animation-delay: 0s; }
.signal-dot-2 { bottom: 40px; right: 30px; animation-delay: 0.6s; }
.signal-dot-3 { top: 50%; left: 20px; animation-delay: 1.2s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* === LIVE FEED === */
.live-feed {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 24px;
  width: 100%;
  max-width: 340px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--fg-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.feed-item:last-child { border-bottom: none; }

.feed-item-active { color: var(--fg); }

.feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.feed-dot-green { background: #00e676; box-shadow: 0 0 6px rgba(0,230,118,0.5); }

/* === SIGNAL BAR === */
.signal-bar {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 40px 48px;
}

.signal-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.signal-stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 160px;
  line-height: 1.4;
}

.signal-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 40px 36px;
  transition: border-color 0.3s ease;
}

.feature-card:hover { border-color: var(--accent-border); }

.feature-icon {
  margin-bottom: 24px;
  opacity: 0.9;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === HOW SECTION === */
.how-section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.how-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-top: 24px;
  max-width: 440px;
}

.loop-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.loop-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loop-node {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-step span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.loop-arrow {
  display: flex;
  align-items: center;
  padding: 0 4px;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: linear-gradient(180deg, var(--bg) 0%, #0a1628 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 60px;
}

.cta-block {
  display: inline-block;
  padding: 36px 48px;
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  background: var(--accent-dim);
}

.cta-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.cta-block p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === FOOTER === */
footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 48px;
    min-height: auto;
  }
  .hero-visual { align-items: flex-start; }
  .radar-container { width: 180px; height: 180px; }
  .radar-ring-3 { display: none; }
  .signal-bar { padding: 32px 24px; }
  .signal-bar-inner { flex-direction: column; gap: 28px; }
  .signal-divider { width: 48px; height: 1px; }
  .features { padding: 60px 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-section {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 48px;
  }
  .closing { padding: 80px 24px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .loop-diagram { justify-content: center; }
}