/* GhostHost — Dark Atmospheric Theme */
:root {
  --bg: #080b12;
  --surface: #0f1420;
  --surface2: #161d2e;
  --border: rgba(255,255,255,0.07);
  --fg: #e8edf5;
  --fg-muted: #8896b0;
  --fg-dim: #4a5568;
  --cyan: #00d4ff;
  --cyan-dim: rgba(0,212,255,0.15);
  --violet: #a855f7;
  --violet-dim: rgba(168,85,247,0.12);
  --warn: #f59e0b;
  --ok: #10b981;
  --red: #ef4444;
}

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

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

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

/* ─── NAV ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8,11,18,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo svg { color: var(--cyan); }
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 32px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Terminal widget */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8rem;
  box-shadow: 0 0 60px rgba(0,212,255,0.06), 0 24px 80px rgba(0,0,0,0.4);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  color: var(--fg-muted);
  font-size: 0.75rem;
}
.terminal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-dim { color: var(--fg-dim); }
.t-ok { color: var(--ok); font-weight: 600; }
.t-warn { color: var(--warn); font-weight: 600; }
.t-cyan { color: var(--cyan); font-weight: 600; }
.t-cursor { color: var(--fg-dim); }

/* ─── THE WATCH ─────────────────────────────────── */
.thewatch {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.thewatch::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}
.thewatch-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.thewatch-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  grid-column: 1 / -1;
}
.thewatch-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  grid-column: 1;
}
.thewatch-body {
  color: var(--fg-muted);
  line-height: 1.7;
  grid-column: 2;
  font-size: 1rem;
}
.thewatch-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 40px;
}
.watch-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 32px 0 0;
  border-right: 1px solid var(--border);
}
.watch-stat:first-child { padding-left: 0; }
.watch-stat:last-child { border-right: none; }
.watch-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.watch-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ─── FEATURES ──────────────────────────────────── */
.features {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  padding: 36px 32px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}
.feature-card:hover { background: var(--surface2); }
.feature-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.feature-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ──────────────────────────────── */
.howitworks {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.howitworks-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 56px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hiw-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--cyan);
  opacity: 0.3;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hiw-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hiw-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.hiw-divider {
  width: 1px;
  height: 100px;
  background: var(--border);
  margin: 0 32px;
  align-self: center;
}

/* ─── CLOSING ───────────────────────────────────── */
.closing {
  padding: 100px 32px 120px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  opacity: 0.4;
}
.closing-inner { position: relative; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 16px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── FOOTER ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-dim);
}

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 48px;
  }
  .hero-terminal { display: none; }
  .thewatch-inner { grid-template-columns: 1fr; gap: 32px; }
  .thewatch-stats { grid-template-columns: 1fr; gap: 24px; }
  .watch-stat { border-right: none; padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .watch-stat:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; gap: 32px; }
  .hiw-divider { display: none; }
  .closing { padding: 80px 24px; }
  .nav { padding: 0 20px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .thewatch-headline { font-size: 2rem; }
}