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

:root {
  --bg-primary: #070C14;
  --bg-secondary: #0B1520;
  --bg-card: #0F1D2E;
  --fg-primary: #E8F4F8;
  --fg-secondary: #8BAABB;
  --fg-muted: #4A6A78;
  --accent: #00E5C3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --accent-glow: rgba(0, 229, 195, 0.25);
  --border: rgba(0, 229, 195, 0.12);
  --border-mid: rgba(0, 229, 195, 0.2);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 195, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 195, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.06) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 220, 0.05) 0%, transparent 70%);
  bottom: 100px; right: -100px;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(100, 60, 200, 0.04) 0%, transparent 70%);
  top: 40%; left: -80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 36px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin-bottom: 28px;
}

.accent-line {
  display: block;
  background: linear-gradient(135deg, #00E5C3 0%, #00B4DC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--fg-secondary);
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(11, 21, 32, 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 40px;
  backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === FEATURES === */
.features {
  padding: 100px 24px;
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 56px;
  max-width: 500px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* === SIGNAL RADAR === */
.signal-radar {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.signal-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.radar-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 195, 0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 25%; height: 25%; }
.ring-2 { width: 50%; height: 50%; }
.ring-3 { width: 75%; height: 75%; }

.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
}

.radar-dot {
  width: 100%; height: 100%;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
}

.pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: pulse-anim 2.5s ease-out infinite;
}

@keyframes pulse-anim {
  0% { width: 12px; height: 12px; opacity: 1; }
  100% { width: 300px; height: 300px; opacity: 0; }
}

.blip {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.blip-1 { top: 15%; left: 55%; animation: blink 3s ease-in-out infinite 0.2s; }
.blip-2 { top: 40%; right: 10%; animation: blink 3s ease-in-out infinite 0.8s; }
.blip-3 { bottom: 20%; left: 20%; animation: blink 3s ease-in-out infinite 1.4s; }
.blip-4 { top: 65%; left: 70%; animation: blink 3s ease-in-out infinite 0.5s; }

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

.scanner-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  transform-origin: left center;
  animation: scan 4s linear infinite;
  opacity: 0.5;
}

@keyframes scan {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.signal-text { display: flex; flex-direction: column; justify-content: center; }

.signal-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.signal-body {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.signal-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  letter-spacing: 0.03em;
}

/* === BRIEFING PREVIEW === */
.briefing-preview {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.briefing-inner {
  max-width: 860px;
  margin: 0 auto;
}

.briefing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 48px;
  line-height: 1.2;
}

.briefing-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.briefing-email {
  background: #0D1B2A;
  padding: 0;
}

.email-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: #0A1520;
  border-bottom: 1px solid var(--border);
}

.email-from {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.mp-logo-mark::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid #070C14;
  border-radius: 50%;
}

.email-from-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.email-from-sub {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.email-date {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.email-subject {
  padding: 16px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-secondary);
  border-bottom: 1px solid var(--border);
}

.email-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brief-section {}

.brief-signal {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid;
}

.brief-signal.new {
  background: rgba(0, 229, 195, 0.06);
  border-color: rgba(0, 229, 195, 0.2);
}

.brief-signal.watched {
  background: rgba(139, 170, 187, 0.05);
  border-color: rgba(139, 170, 187, 0.15);
}

.signal-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.signal-badge.watched { color: var(--fg-muted); }

.brief-signal p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}

.brief-signal strong { color: var(--fg-primary); }

.brief-opportunity {
  padding: 16px;
  background: rgba(0, 229, 195, 0.04);
  border: 1px solid rgba(0, 229, 195, 0.15);
  border-radius: 12px;
}

.opportunity-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00C4A0;
  margin-bottom: 8px;
}

.brief-opportunity p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}

.brief-opportunity strong { color: var(--fg-primary); }

.briefing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 24px;
  font-style: italic;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 229, 195, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 180, 220, 0.04) 0%, transparent 50%);
}

.close-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 195, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 195, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.closing-promise {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--fg-secondary);
}

/* === FOOTER === */
.site-footer {
  padding: 40px 24px;
  background: #060A10;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 5px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
}

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

.footer-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 2.2rem; }
  .hero-lede { font-size: 1rem; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }
  .stat { padding: 0; }
  .stat-divider { width: 40px; height: 1px; }

  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }

  .signal-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .signal-radar { padding: 60px 20px; }
  .radar-container { max-width: 280px; }

  .briefing-preview { padding: 60px 20px; }

  .closing { padding: 80px 20px; }
  .closing-headline { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero-stats { padding: 16px 20px; }
  .feature-card { padding: 24px; }
  .signal-sources { gap: 6px; }
}