:root {
  --bg-deep: #0a0b0f;
  --bg-surface: #12141c;
  --bg-card: #191c27;
  --bg-card-hover: #1e2230;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --accent-glow: rgba(245, 166, 35, 0.3);
  --text-primary: #e8e6e3;
  --text-secondary: #8a8f9e;
  --text-muted: #555a6e;
  --border: #252836;
  --green: #4ade80;
  --red: #f87171;
  --yellow: #fbbf24;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== HERO ==================== */

.hero {
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.owl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.owl-icon { font-size: 1.1rem; }

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

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

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* Terminal */

.hero-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

.terminal-body {
  padding: 1.2rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
}

.t-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-time {
  color: var(--text-muted);
  margin-right: 0.6rem;
}

.t-label {
  display: inline-block;
  min-width: 90px;
  color: var(--accent);
  font-weight: 500;
}

.t-up { color: var(--green); }
.t-warn { color: var(--yellow); }

.t-cursor::after {
  content: '\2588';
  animation: blink 1.2s step-end infinite;
  color: var(--accent);
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==================== TICKER ==================== */

.ticker-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-surface);
}

.ticker-track {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}

.ticker-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker-sep {
  color: var(--accent);
  margin: 0 1.5rem;
  font-size: 0.6rem;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== FEATURES ==================== */

.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.2);
}

.feature-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 166, 35, 0.05) 100%);
  border-color: rgba(245, 166, 35, 0.15);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==================== HOW ==================== */

.how-section {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.how-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}

.step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

.step-connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin-left: 23px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==================== CLOSING ==================== */

.closing {
  padding: 6rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-owl {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(0.2);
}

.closing h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ==================== FOOTER ==================== */

.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-owl { font-size: 1.3rem; }

.footer-name {
  font-weight: 600;
  font-size: 1rem;
}

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

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .hero { padding: 4rem 1.25rem 3rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .lede { font-size: 1rem; }

  .terminal-body { font-size: 0.72rem; }
  .t-label { min-width: 70px; }

  .features { padding: 4rem 1.25rem; }

  .features-header h2 { font-size: 1.8rem; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: span 1;
  }

  .how-section {
    padding: 4rem 1.25rem;
  }

  .how-section h2 {
    font-size: 1.8rem;
  }

  .closing {
    padding: 4rem 1.25rem;
  }

  .closing h2 {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}