:root {
  --bg: #0a0e1a;
  --bg-2: #111827;
  --bg-3: #0f172a;
  --fg: #f4f5f7;
  --fg-dim: #94a3b8;
  --fg-darker: #64748b;
  --accent: #3ee0a8;
  --accent-2: #60a5fa;
  --warn: #fbbf24;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --card: rgba(255,255,255,0.03);
  --card-hover: rgba(255,255,255,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  line-height: 1.55;
  font-size: 17px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  padding: 1rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.1rem; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: inline-block; }
.nav nav { display: flex; gap: 2rem; align-items: center; }
.nav nav a { color: var(--fg-dim); font-size: 0.95rem; transition: color 0.15s; }
.nav nav a:hover { color: var(--fg); }
.cta-link {
  background: var(--fg);
  color: var(--bg) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.cta-link:hover { background: var(--accent); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 12vh 5vw 10vh;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, rgba(62,224,168,0.08), transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(96,165,250,0.06), transparent 50%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 1.8rem;
  letter-spacing: -0.025em;
  max-width: 18em;
}
h1 .accent, h2 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--fg-dim);
  max-width: 50em;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.cta-center { text-align: center; margin-top: 3rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #5beecb; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(62,224,168,0.25); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-large { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-primary-small, .btn-ghost-small {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.btn-primary-small { background: var(--accent); color: var(--bg); }
.btn-ghost-small { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost-small:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 800px;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat-value {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.85rem; color: var(--fg-dim); }

/* ============ SECTIONS ============ */
.section { padding: 10vh 5vw; }
.section-dark { background: var(--bg-2); }
.section-darker { background: #060912; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 700px; text-align: center; }
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  max-width: 22em;
}

/* ============ PROBLEM TABLE ============ */
.problem-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.problem-table { width: 100%; border-collapse: collapse; }
.problem-table th, .problem-table td { padding: 0.95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.problem-table th { color: var(--fg-dim); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.problem-table td:last-child, .problem-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.problem-table tr.total td {
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  color: var(--accent);
}
.arrow-block { padding: 2rem; background: var(--card); border-radius: 16px; border-left: 3px solid var(--accent); }
.arrow-block .arrow { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.arrow-block p { color: var(--fg-dim); font-size: 1rem; }

/* ============ TERMINAL ============ */
.terminal {
  margin-top: 3rem;
  background: #050810;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.terminal-header .dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-header .dot.red { background: #ff5f57; }
.terminal-header .dot.yellow { background: #ffbd2e; }
.terminal-header .dot.green { background: #28ca42; }
.terminal-title { margin-left: 1rem; color: var(--fg-dim); font-size: 0.85rem; }
.terminal-body { padding: 2rem; font-size: 0.95rem; line-height: 1.8; }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .arrow-text { color: var(--warn); }
.terminal-body .ok { color: var(--accent); font-weight: 700; }
.terminal-body .key { color: var(--accent-2); }
.terminal-body .green-text { color: var(--accent); }

/* ============ VERTICALS ============ */
.verticals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.vertical-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.2s;
  display: block;
  color: var(--fg);
}
.vertical-card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.v-icon { font-size: 2rem; margin-bottom: 1rem; opacity: 0.85; }
.vertical-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; font-weight: 600; }
.vertical-card p { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.5rem; }
.v-link { color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.vertical-cta { background: linear-gradient(135deg, rgba(62,224,168,0.08), rgba(96,165,250,0.04)); border-color: rgba(62,224,168,0.2); }

/* ============ PRICING TIERS ============ */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.tier-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier-card.featured {
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, rgba(62,224,168,0.05), transparent);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(62,224,168,0.15);
}
.badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}
.tier-name { font-size: 1rem; color: var(--fg-dim); margin-bottom: 0.5rem; font-weight: 600; }
.tier-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.tier-price .amt { font-size: 2rem; font-weight: 800; }
.tier-price .per { color: var(--fg-dim); font-size: 1rem; }
.tier-setup { font-size: 0.8rem; color: var(--fg-dim); margin-bottom: 1.5rem; }
.tier-features { list-style: none; flex: 1; margin-bottom: 1rem; }
.tier-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  position: relative;
  color: var(--fg);
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0.4rem;
  color: var(--accent);
  font-weight: 700;
}
.pricing-note { text-align: center; color: var(--fg-dim); font-size: 0.9rem; margin-top: 2.5rem; }

/* ============ MOAT ============ */
.moat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.moat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.moat-num {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.moat-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; font-weight: 600; }
.moat-card p { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.55; }

/* ============ CTA SECTION ============ */
.section-cta {
  background: radial-gradient(ellipse at center, rgba(62,224,168,0.1), transparent 60%);
  text-align: center;
}
.section-cta h2 { margin: 0 auto 1.5rem; }
.section-cta .lede { margin: 0 auto 2.5rem; }
.section-cta .cta-row { justify-content: center; }
.cta-contact { color: var(--fg-dim); margin-top: 2rem; font-size: 0.95rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: #050810;
  padding: 6vh 5vw 3vh;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tag { color: var(--fg-dim); font-size: 0.95rem; margin-bottom: 0.6rem; }
.footer-by { color: var(--fg-darker); font-size: 0.85rem; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: var(--fg-dim); font-size: 0.9rem; padding: 0.3rem 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--fg-darker);
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: var(--fg-dim); }
.footer-social a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .moat-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav nav { gap: 1rem; }
  .nav nav a:not(.cta-link) { display: none; }
  .nav nav a.cta-link { display: inline-flex; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .verticals-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .terminal-body { padding: 1.2rem; font-size: 0.8rem; }
}
