/* Nightwatch Landing Page — Dark monitoring aesthetic */

:root {
  --bg: #07080f;
  --bg-alt: #0d0f1a;
  --bg-card: #111422;
  --fg: #e8ecf4;
  --fg-muted: #6b7280;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 229, 160, 0.3);
  --text-headline: #f0f4ff;
  --text-body: #c8cdd8;
  --text-muted: #4b5563;
  --red: #ff4d6a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 15, 0.85);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-headline);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent-glow); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent-glow); }
}

.nav-status {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* --- HERO --- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 85vh;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 0;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at top left, rgba(0, 229, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-headline);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-headline);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* --- MONITOR VISUAL --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.monitor-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 0 60px rgba(0, 229, 160, 0.08), 0 24px 48px rgba(0,0,0,0.5);
}

.monitor-screen {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.monitor-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.4;
}

.line {
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 1px;
}

.line-1 { width: 100%; }
.line-2 { width: 85%; }
.line-3 { width: 70%; }
.line-4 { width: 55%; }

.monitor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.ms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ms-dot.green { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }

.ms-text {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.monitor-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.log-1 { border-left: 2px solid var(--accent); }
.log-2 { border-left: 2px solid #3b82f6; }
.log-3 { border-left: 2px solid #f59e0b; }
.log-4 { border-left: 2px solid #8b5cf6; }

.log-time {
  font-size: 0.65rem;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-top: 1px;
}

.log-msg {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* --- SECTIONS --- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.step {
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- FEATURES --- */
.features {
  padding: 100px 0;
}

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

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

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

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

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 10px;
}

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

/* --- EMPLOYEE --- */
.employee {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.comp-col {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
}

.comp-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
}

.comp-col-human {
  color: var(--text-body);
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.comp-row-footer {
  border-bottom: none;
}

.comp-label {
  font-size: 0.875rem;
  color: var(--text-body);
}

.comp-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 12px;
}

.comp-val-ai {
  color: var(--accent);
}

.comp-val-human {
  color: var(--text-body);
}

.comp-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* --- MANIFESTO --- */
.manifesto {
  padding: 100px 0;
}

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

.manifesto-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-headline);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  font-style: normal;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* --- CLOSING --- */
.closing {
  padding: 100px 0 120px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-visual {
  margin-bottom: 60px;
}

.globe-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 160, 0.2);
}

.ring-1 { width: 120px; height: 120px; animation: ring-pulse 3s ease-in-out infinite; }
.ring-2 { width: 90px; height: 90px; animation: ring-pulse 3s ease-in-out infinite 0.4s; }
.ring-3 { width: 60px; height: 60px; animation: ring-pulse 3s ease-in-out infinite 0.8s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.globe-core {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-dot 2s ease-in-out infinite;
}

.core-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.count-up {
  color: var(--accent);
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 520px;
  line-height: 1.7;
}

/* --- FOOTER --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.logo-dot-sm {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

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

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

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 72px;
    min-height: auto;
    gap: 40px;
  }
  .hero-visual { order: -1; }
  .monitor-frame { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .comparison-table { display: none; }
  .comp-header { display: none; }
  .section-inner { padding: 0 20px; }
  .how-it-works, .features, .employee, .manifesto, .closing { padding: 64px 0; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .closing-headline { font-size: 1.5rem; }
}