/* Techstreme — dark techy v1
   Brand: Ink #0B0F19 base · Cyan #22D3EE → Indigo #6366F1 gradient
   Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (accents) */

:root {
  --ink: #0B0F19;
  --surface: #0F1524;
  --surface-2: #141C30;
  --cyan: #22D3EE;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --light: #E6EDF3;
  --muted: #7D8AA0;
  --line: #1E2740;
  --grad: linear-gradient(92deg, #22D3EE 0%, #6366F1 100%);
  --grad-soft: linear-gradient(92deg, rgba(34,211,238,.16) 0%, rgba(99,102,241,.16) 100%);
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--light);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Subtle top glow */
body::before {
  content: "";
  position: fixed;
  top: -30vh; left: 50%;
  width: 90vw; height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(99,102,241,.14), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

h1, h2, h3 { font-family: "Space Grotesk", "Segoe UI", sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; color: #C5D0E0; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 1rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,25,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; display: block; }
.brand .wordmark { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand .wordmark .t1 { color: var(--light); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--light); text-decoration: none; }
/* Button in the nav must keep its own white text — the .nav-links a rules above
   are more specific than .btn-primary and would otherwise mute it to grey. */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--light); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 10px; cursor: pointer; border: 0;
  transition: transform .12s ease, box-shadow .12s ease; text-decoration: none;
}
.btn-primary { background: var(--grad); color: #ffffff; font-weight: 700; text-shadow: 0 1px 2px rgba(7,16,29,.55); box-shadow: 0 10px 24px -10px rgba(99,102,241,.8); }
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 16px 30px -12px rgba(34,211,238,.7); }
.btn-ghost { background: transparent; color: var(--light); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); text-decoration: none; }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero .price-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: .82rem;
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid rgba(34,211,238,.35);
  color: var(--light); margin-bottom: 22px;
}
.hero h1 { max-width: 14ch; }
.hero .lede { font-size: 1.2rem; color: #C5D0E0; max-width: 56ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: clamp(44px, 7vw, 78px) 0; }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: .4em; }
.card .num { font-family: "JetBrains Mono", monospace; color: var(--cyan); font-size: .85rem; letter-spacing: .1em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* Steps */
.steps { counter-reset: step; }
.step-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(99,102,241,.4);
  font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--cyan);
  margin-bottom: 16px;
}

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(30px, 5vw, 52px);
  text-align: center; box-shadow: var(--shadow);
}
.cta-band::after { content: ""; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 7px; color: var(--light); }
.field .hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  background: var(--ink); color: var(--light);
  border: 1px solid var(--line); border-radius: 10px; transition: border-color .12s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); }
.field textarea { min-height: 120px; resize: vertical; }
.field.req label::after { content: " *"; color: var(--cyan); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.form-note { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.error-list { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); color: #FCA5A5; border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.error-list ul { margin: .4em 0 0; padding-left: 1.2em; }
.flash-ok { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.4); color: #A5F3FC; border-radius: 10px; padding: 16px 20px; margin-bottom: 22px; }

/* ---------- Pricing note ---------- */
.price-figure { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.6rem; }
.price-figure .from { font-size: 1rem; color: var(--muted); font-family: "JetBrains Mono", monospace; display: block; letter-spacing: .1em; }

/* ---------- Blog ---------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.post-list a { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; color: var(--light); }
.post-meta { color: var(--muted); font-size: .82rem; font-family: "JetBrains Mono", monospace; }
.post-body { max-width: 70ch; }
.post-body h2 { margin-top: 1.6em; }
.post-body img { max-width: 100%; border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0 34px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--light); }
.footer-col h4 { font-family: "Space Grotesk", sans-serif; font-size: .95rem; color: var(--light); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Utility ---------- */
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 22px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
}
