/* === FLOWWATCH DESIGN SYSTEM === */
:root {
  --bg: #0D0F1A;
  --surface: #13162B;
  --surface-2: #1a1e35;
  --fg: #e8eaf6;
  --fg-muted: #7a7f9a;
  --accent: #C8F135;
  --accent-dim: rgba(200, 241, 53, 0.12);
  --alert: #F59E0B;
  --ok: #4ADE80;
  --border: #1e2238;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

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

/* Typography */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.1; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-optical-sizing: auto;
}
.headline-accent {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.metric { text-align: left; }
.metric-val {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Radar */
.radar-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
}
.radar-svg {
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(200, 241, 53, 0.15));
}
.sweep-arc {
  transform-origin: 160px 160px;
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.wf-dot {
  animation: dot-blink 3s ease-in-out infinite;
}
.wf-dot-1 { animation-delay: 0s; }
.wf-dot-2 { animation-delay: 0.8s; }
.wf-dot-3 { animation-delay: 1.6s; }
.wf-dot-4 { animation-delay: 2.4s; }
@keyframes dot-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.radar-labels {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.radar-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.radar-label-1 { margin-left: 20px; }
.radar-label-2 { margin-left: 0; }
.radar-label-3 { margin-left: 30px; }
.radar-label-4 { margin-left: 10px; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-ok { background: var(--ok); box-shadow: 0 0 6px rgba(74, 222, 128, 0.5); }
.status-alert { background: var(--alert); box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); animation: pulse 1.5s ease-in-out infinite; }

/* How it works */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 640px;
  margin-bottom: 3.5rem;
  color: var(--fg);
}
.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--accent));
  align-self: center;
  flex-shrink: 0;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 1rem;
  font-optical-sizing: auto;
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.step-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.feature-card {
  padding: 2rem;
  background: var(--bg);
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-card-wide {
  grid-column: span 2;
}
.feature-icon {
  margin-bottom: 1.25rem;
}
.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.feature-body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Outcomes */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.outcomes-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.outcomes-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.outcomes-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.outcome-stat { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.outcome-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-optical-sizing: auto;
  margin-bottom: 0.5rem;
}
.outcome-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; }
  .steps-grid { flex-direction: column; }
  .step-connector { width: 40px; height: 1px; align-self: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: span 2; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .hero-metrics { gap: 1rem; }
}

/* Text selection */
::selection { background: var(--accent); color: var(--bg); }
