/* SYPHER LABS — Shared Brand Stylesheet */
:root {
  --bg-obsidian: #0a0b0e;
  --bg-charcoal: #12151c;
  --bg-card: #161a23;
  --bg-card-hover: #1c212d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 229, 255, 0.35);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --emerald: #00e676;
  --emerald-dim: rgba(0, 230, 118, 0.12);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.14);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
header.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: 0.08em; font-size: 1.15rem;
}
.brand span.accent { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s; padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyan); border-bottom-color: var(--cyan);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: all 0.2s ease; border: 1px solid transparent;
}
.btn-primary {
  background: var(--cyan); color: #05070a;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover { background: #33ecff; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text-main);
  border-color: var(--border-cyan);
}
.btn-outline:hover { background: var(--cyan-dim); color: var(--cyan); }
.btn-emerald {
  background: var(--emerald); color: #05070a;
}
.btn-emerald:hover { background: #33eb91; }

/* Sections & Cards */
section { padding: 76px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid var(--border-cyan);
  color: var(--cyan); font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.04em; margin-bottom: 16px;
}
.badge.emerald {
  background: var(--emerald-dim); border-color: rgba(0, 230, 118, 0.35); color: var(--emerald);
}
.badge.purple {
  background: var(--purple-dim); border-color: rgba(168, 85, 247, 0.35); color: #d8b4fe;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.lead { color: var(--text-muted); font-size: 1.08rem; max-width: 680px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 22px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 28px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-cyan); transform: translateY(-2px); }
.card.featured { border-color: var(--cyan); box-shadow: 0 0 32px rgba(0, 229, 255, 0.12); }

.mono { font-family: var(--font-mono); }
.text-cyan { color: var(--cyan); }
.text-emerald { color: var(--emerald); }
.text-muted { color: var(--text-muted); }

.feature-list { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem; color: #cbd5e1;
}
.feature-list li::before {
  content: "✓"; color: var(--emerald); font-weight: 700; font-family: var(--font-mono);
}

/* Terminal Box */
.terminal {
  background: #07090d; border: 1px solid var(--border-cyan);
  border-radius: 10px; overflow: hidden; font-family: var(--font-mono); font-size: 0.85rem;
}
.terminal-bar {
  background: #111622; padding: 10px 14px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--border-subtle);
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.terminal-body { padding: 18px; color: #cbd5e1; display: grid; gap: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); font-size: 0.92rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
th { background: #10141d; color: var(--cyan); font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
input, select, textarea {
  background: #0c0f15; border: 1px solid var(--border-subtle); border-radius: 6px;
  padding: 11px 14px; color: var(--text-main); font-family: inherit; font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan);
}

/* Toggle Pills */
.toggle-group {
  display: inline-flex; background: var(--bg-charcoal); padding: 4px;
  border-radius: 8px; border: 1px solid var(--border-subtle); gap: 4px;
}
.toggle-btn {
  padding: 8px 16px; border-radius: 6px; border: none; background: transparent;
  color: var(--text-muted); font-weight: 600; cursor: pointer; font-size: 0.88rem;
}
.toggle-btn.active { background: var(--cyan); color: #05070a; }

/* Footer */
footer {
  background: #07080b; border-top: 1px solid var(--border-subtle);
  padding: 54px 0 32px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: var(--text-muted);
}
