/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1117;
  --bg2: #141820;
  --bg3: #1a1f2e;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --fg-dim: #475569;
  --accent: #3b82f6;
  --accent-dim: rgba(59,130,246,0.12);
  --accent-glow: rgba(59,130,246,0.06);
  --cyan: #06b6d4;
  --green: #10b981;
  --green-dim: rgba(16,185,129,0.12);
  --amber: #f59e0b;
  --border: rgba(148,163,184,0.1);
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 4vw;
}

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

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.nav-cta:hover { background: #2563eb; transform: translateY(-1px); }

/* === HERO === */
.hero {
  position: relative;
  padding: 9rem 8vw 6rem;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 60%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

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

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

.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(59,130,246,0.25);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(59,130,246,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--fg); border-color: var(--fg-dim); }

.install-cmd {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
  margin-top: 1.5rem;
}

/* Hero image */
.hero-image-wrap {
  max-width: 900px;
  margin: 3.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(59,130,246,0.15), 0 40px 80px rgba(0,0,0,0.5);
}

.hero-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* === PROBLEM === */
.problem {
  padding: 6rem 8vw;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.problem-header {
  text-align: center;
  margin-bottom: 4rem;
}

.problem-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.problem-bullet {
  background: var(--bg);
  padding: 2rem 1.75rem;
}

.bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  margin-bottom: 1.25rem;
}

.bullet-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.bullet-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how {
  padding: 7rem 8vw;
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.5rem;
}

.step-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-cmd {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  margin-top: 0.75rem;
}

/* === WHO ITS FOR === */
.target {
  padding: 7rem 8vw;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.target-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.target-header {
  text-align: center;
  margin-bottom: 4rem;
}

.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vertical {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s;
}

.vertical:hover { border-color: rgba(59,130,246,0.25); }

.vertical-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.vertical-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.vertical-size {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
}

.vertical-stat {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.vertical-risk {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === PRICING === */
.pricing {
  padding: 7rem 8vw;
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-table thead th {
  background: var(--bg2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.25rem 1.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table thead th:last-child,
.pricing-table thead th:nth-last-child(2) {
  text-align: center;
}

.pricing-table tbody td {
  padding: 1.25rem 1.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td { border-bottom: none; }

.pricing-table tbody tr:hover { background: var(--bg2); }

.pricing-table tbody td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.03em;
}

.pricing-table tbody td:last-child,
.pricing-table tbody td:nth-last-child(2) {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
}

.pricing-highlight {
  background: var(--accent-dim) !important;
}

.pricing-highlight td:first-child { color: var(--accent) !important; }

.pricing-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent) !important;
  letter-spacing: -0.02em;
}

.pricing-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.pricing-cta:hover { background: #2563eb; }

.pricing-callout {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-dim);
}

/* === FINAL CTA === */
.final-cta {
  padding: 7rem 8vw;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(59,130,246,0.05) 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.final-cta .section-title { margin-bottom: 0.75rem; }

.final-cta .section-sub { margin: 0 auto 3rem; }

.final-cta .install-cmd {
  margin: 1.5rem auto 2rem;
  text-align: center;
  max-width: fit-content;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 8vw;
  background: var(--bg2);
}

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

.footer-brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-brand span { color: var(--accent); }

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .problem-bullets { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .verticals { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 7rem 5vw 4rem; }
  .hero-headline { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .install-cmd { font-size: 0.7rem; }
  .problem, .how, .target, .pricing, .final-cta { padding: 5rem 5vw; }
  .section-title { font-size: 1.4rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}