/* Leakscope: dark technical theme */

:root {
  --bg: #0a0e0c;
  --bg-alt: #0f1512;
  --panel: #121814;
  --border: #223028;
  --text: #d7e4dc;
  --text-dim: #8fa397;
  --accent: #39ff9f;
  --accent-dim: #1f8a5c;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(57,255,159,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,159,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,14,12,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.brand small {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  color: var(--text-dim);
  font-size: 14px;
  font-family: var(--mono);
}
nav ul li a:hover { color: var(--accent); text-decoration: none; }

.nav-cta {
  border: 1px solid var(--accent-dim);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent) !important;
  white-space: nowrap;
}
.nav-cta:hover { background: rgba(57,255,159,0.08); text-decoration: none; }

.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 20px;
}

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

.hero p.lede {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  font-family: var(--mono);
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: #04140b !important;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: #55ffb0; text-decoration: none; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text) !important;
}
.btn-secondary:hover { border-color: var(--accent-dim); text-decoration: none; }

/* Terminal mock */
.terminal {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.terminal .bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.terminal .bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2a352e;
}
.terminal pre {
  font-family: var(--mono);
  font-size: 13px;
  padding: 22px 24px;
  color: var(--text-dim);
  overflow-x: auto;
  white-space: pre-wrap;
}
.terminal pre .ok { color: var(--accent); }
.terminal pre .warn { color: #ffb347; }
.terminal pre .bad { color: #ff5f6d; }
.terminal pre .dim { color: #5b6a61; }

/* Section headings */
section { padding: 88px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 16px; }

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.card {
  background: var(--panel);
  padding: 30px 26px;
}

.card .icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 15px;
  margin-bottom: 18px;
}

.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding-top: 44px;
}
.step .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: 0; left: 0;
}
.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* Use cases */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  background: var(--bg-alt);
}
.usecase .tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.usecase h3 { font-size: 16.5px; margin-bottom: 10px; }
.usecase p { color: var(--text-dim); font-size: 14px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-grid p { color: var(--text-dim); margin-bottom: 16px; font-size: 15.5px; }
.about-grid p:last-child { margin-bottom: 0; }

.stat-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  background: var(--panel);
}
.stat-panel .stat {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13.5px;
}
.stat-panel .stat:last-child { border-bottom: none; }
.stat-panel .stat span:first-child { color: var(--text-dim); }
.stat-panel .stat span:last-child { color: var(--accent); }

/* Contact / CTA */
.cta {
  text-align: center;
  padding: 90px 0;
}
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 34px; }

.form-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.form-row input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
}
.form-row input[type="email"]:focus { outline: none; border-color: var(--accent-dim); }
.form-note { font-size: 12.5px; color: var(--text-dim); margin-top: 14px; font-family: var(--mono); }

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { font-size: 15px; }
footer nav ul { display: flex; gap: 22px; }
footer .copyright { color: var(--text-dim); font-size: 12.5px; font-family: var(--mono); }

/* Responsive */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .usecases { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  nav.wrap ul { display: none; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
