/* ═══════════════════════════════════════════════════════════════
   NetBuild Studio — Stylesheet
   Design tokens live in :root. Change colors, radius, spacing here
   to retheme the entire site.
═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-surface:   #f1f5f9;

  --text:         #1e293b;
  --text-muted:   #64748b;
  --text-subtle:  #94a3b8;

  --accent:       #6366f1;
  --accent-dark:  #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #eef2ff;
  --accent-glow:  rgba(99, 102, 241, 0.15);

  --highlight:    #f59e0b;   /* "Most Popular" badge */

  --border:       #e2e8f0;
  --border-muted: #f1f5f9;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.10), 0 8px 20px rgba(0,0,0,.06);
  --shadow-accent: 0 8px 32px rgba(99, 102, 241, 0.28);

  /* Shape */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Layout */
  --container:  1160px;
  --nav-h:      64px;

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --duration:   160ms;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(99,102,241,.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
}

.btn-sm  { padding: 7px 16px; font-size: .85rem; }
.btn-lg  { padding: 13px 28px; font-size: 1rem; border-radius: var(--radius-lg); }

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding-block: 96px;
}
.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-muted);
  transition: box-shadow var(--duration) var(--ease);
}
#navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration), background var(--duration);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-alt);
}

.nav-cta { margin-left: auto; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-block: 80px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 760px;
  color: var(--text);
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--duration) var(--ease);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.highlighted {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.pricing-header { }
.pricing-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.pricing-header p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
}
.pricing-price .period {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-muted);
}
.pricing-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236366f1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.pricing-cta { margin-top: auto; }
.pricing-cta .btn { width: 100%; }

/* "Starting at" label above price */
.pricing-price {
  flex-wrap: wrap;
  row-gap: 0;
}
.pricing-price .price-label {
  width: 100%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: -4px;
}

/* Plan tagline */
.plan-tagline {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 6px !important;
}

/* ── Pricing Disclaimer ─────────────────────────────────── */
.pricing-disclaimer {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.pricing-disclaimer p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.pricing-disclaimer p:last-child { margin-bottom: 0; }
.pricing-disclaimer a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pricing-disclaimer strong { color: var(--text); }
.consult-note { font-style: italic; }

/* ── Add-Ons Section ────────────────────────────────────── */
.addons-wrap {
  margin-top: 72px;
}
.addons-header {
  text-align: center;
  margin-bottom: 32px;
}
.addons-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.addons-header p {
  color: var(--text-muted);
  font-size: .95rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.addon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--duration), border-color var(--duration);
}
.addon-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.addon-card-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.addon-card-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.addon-included {
  display: inline-block;
  margin-top: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.addon-price-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.addon-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.addon-note {
  font-size: .75rem;
  color: var(--text-subtle);
  font-style: italic;
}

/* ── Full Pricing Guide Table ───────────────────────────── */
.full-guide-wrap {
  margin-top: 72px;
}
.full-guide-header {
  text-align: center;
  margin-bottom: 32px;
}
.full-guide-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.full-guide-header p {
  color: var(--text-muted);
  font-size: .95rem;
}

.full-guide-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.guide-table thead {
  background: var(--bg-alt);
}
.guide-table thead th {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.guide-table .col-plan {
  text-align: center;
  min-width: 100px;
}
.guide-table .col-addon {
  min-width: 160px;
}
.guide-table .col-service {
  min-width: 220px;
}

/* Category header rows */
.guide-category-row td {
  padding: 10px 16px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Service rows */
.guide-table tbody tr:not(.guide-category-row):hover {
  background: var(--bg-alt);
}
.guide-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-muted);
  vertical-align: top;
}

.guide-service-cell strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.guide-service-cell span {
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.4;
}

.cell-check, .cell-dash { text-align: center; }

.guide-check {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}
.cell-dash span {
  color: var(--text-subtle);
  font-size: .9rem;
}

.cell-addon {
  color: var(--text);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}
.cell-addon small, .guide-note {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-subtle);
  font-style: italic;
  white-space: normal;
}

/* ════════════════════════════════════════════════════════════
   DOCS
════════════════════════════════════════════════════════════ */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.docs-sidebar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidebar-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
  padding-left: 8px;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-nav a {
  display: block;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--duration), color var(--duration);
}
.docs-nav a:hover { background: var(--bg-alt); color: var(--text); }
.docs-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

.docs-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  min-height: 480px;
}

.docs-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 380px;
  color: var(--text-subtle);
  text-align: center;
}
.docs-placeholder svg { opacity: .4; }
.docs-placeholder p { font-size: .95rem; }

/* Markdown content typography */
.docs-content .md-body { max-width: 72ch; }
.md-body h1, .md-body h2, .md-body h3, .md-body h4 {
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 1.8em;
  margin-bottom: .5em;
  color: var(--text);
  line-height: 1.25;
}
.md-body h1 { font-size: 1.9rem; margin-top: 0; }
.md-body h2 { font-size: 1.35rem; padding-bottom: .4em; border-bottom: 1px solid var(--border); }
.md-body h3 { font-size: 1.1rem; }
.md-body p  { margin-bottom: 1em; color: var(--text-muted); font-size: .975rem; }
.md-body ul, .md-body ol { margin: .75em 0 1em 1.5em; color: var(--text-muted); font-size: .975rem; }
.md-body li { margin-bottom: .35em; }
.md-body a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.md-body code {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: .85em;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
}
.md-body pre {
  background: var(--text);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 1.25em;
}
.md-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: .875rem;
  color: inherit;
}
.md-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 1em 0;
  color: var(--text-muted);
  font-style: italic;
}
.md-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25em;
  font-size: .9rem;
}
.md-body th, .md-body td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.md-body th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text);
}
.md-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 40px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: box-shadow var(--duration), border-color var(--duration);
}
.contact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.contact-card a { color: var(--accent); font-weight: 600; }

.contact-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-body small {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
}
.contact-card-body span {
  font-size: .95rem;
  font-weight: 500;
}

.contact-steps-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-steps-panel h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-step {
  display: flex;
  gap: 16px;
}
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .02em;
}
.step-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.step-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Contact Form ───────────────────────────────────────── */
.contact-form-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Two fields side by side (name + email) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-optional {
  font-weight: 400;
  color: var(--text-subtle);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}

/* Honeypot: humans never see it, bots fill it and get rejected */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Turnstile widget container */
#cf-turnstile-widget {
  min-height: 0;
  margin-bottom: 16px;
}
#cf-turnstile-widget iframe {
  border-radius: var(--radius-sm);
}

/* Submit button */
.form-submit {
  width: 100%;
}
.form-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Success / error status message */
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Responsive: stack name+email on small screens */
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 24px 20px; }
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding-block: 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 800;
  color: #fff;
  font-size: .95rem;
  letter-spacing: -.01em;
}
.footer-copy { font-size: .85rem; }
.footer-social {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: #94a3b8;
  transition: color var(--duration);
}
.footer-social a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 180px 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-col { order: -1; } /* form above info on tablet/mobile */
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section { padding-block: 64px; }
  .section-header { margin-bottom: 40px; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 320px; }

  /* Docs */
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    order: -1;
  }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .docs-nav a { padding: 5px 12px; white-space: nowrap; }

  .docs-content { padding: 24px; }

  /* Pricing */
  .pricing-card.highlighted { margin-top: 16px; }
}

@media (max-width: 480px) {
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .docs-content { padding: 20px 16px; }
}

/* ════════════════════════════════════════════════════════════
   DARK HERO (Home page)
════════════════════════════════════════════════════════════ */
.hero-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1b2845 50%, #0f172a 100%);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 35%, rgba(99,102,241,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(99,102,241,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-dark-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-block: 80px;
  width: 100%;
}
.hero-badge-dark {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(99,102,241,.18);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-dark h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: #ffffff;
  max-width: 820px;
}
.hero-dark p {
  max-width: 560px;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: #94a3b8;
  line-height: 1.7;
}

/* Buttons for dark backgrounds */
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px rgba(99,102,241,.45);
}
.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 32px rgba(99,102,241,.6);
}
.btn-ghost-light {
  background: transparent;
  color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  font-size: .8rem;
  color: #475569;
  font-weight: 500;
  letter-spacing: .01em;
}
.trust-dot { color: #334155; }

/* ════════════════════════════════════════════════════════════
   WHY-US GRID (Home page)
════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Section CTA link */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS — horizontal steps (Home page)
════════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}
.step-card { text-align: center; }
.step-number-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  letter-spacing: .02em;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   DARK SECTION (Pricing teaser on Home)
════════════════════════════════════════════════════════════ */
.section-dark {
  background: #0f172a;
}
.section-header-light h2 { color: #fff; }
.section-header-light p  { color: #94a3b8; }

/* Pricing teaser cards */
.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.pricing-teaser-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--duration), border-color var(--duration);
}
.pricing-teaser-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}
.pricing-teaser-card.highlighted {
  background: rgba(99,102,241,.14);
  border-color: rgba(99,102,241,.35);
}
.teaser-plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.teaser-plan-tagline {
  font-size: .8rem;
  font-weight: 600;
  color: #6366f1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.teaser-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.teaser-price-label {
  font-size: .72rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: 100%;
  margin-bottom: -6px;
}
.teaser-price .amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
}
.teaser-price .period {
  font-size: .85rem;
  color: #64748b;
}
.teaser-desc {
  font-size: .875rem;
  color: #94a3b8;
  line-height: 1.55;
  flex: 1;
}
.teaser-cta { margin-top: 4px; }
.teaser-cta .btn { width: 100%; }

/* ════════════════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--accent-light);
  border: 1.5px solid rgba(99,102,241,.15);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.cta-band-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1b2845 100%);
  padding: calc(var(--nav-h) + 52px) 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(99,102,241,.14) 0%, transparent 55%);
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 560px;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: .8rem;
  font-weight: 500;
  color: #475569;
}
.breadcrumb a {
  color: #475569;
  transition: color var(--duration);
}
.breadcrumb a:hover { color: #94a3b8; }
.breadcrumb-sep { flex-shrink: 0; color: #334155; }

/* ════════════════════════════════════════════════════════════
   SERVICES PAGE — Feature Highlight (Google Sheets)
════════════════════════════════════════════════════════════ */
.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px;
}
.feature-highlight-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.feature-highlight-text p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.feature-highlight-text .btn { margin-top: 8px; }

/* Sheet mockup visual */
.sheet-mockup {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sheet-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sheet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
  display: inline-block;
}
.sheet-dot:first-child { background: #ef4444; }
.sheet-dot:nth-child(2) { background: #f59e0b; }
.sheet-dot:nth-child(3) { background: #22c55e; }
.sheet-title {
  margin-left: 8px;
  font-size: .75rem;
  color: #475569;
  font-family: ui-monospace, monospace;
}
.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
  font-family: ui-monospace, 'Cascadia Code', monospace;
}
.sheet-table th {
  background: #0f172a;
  color: #475569;
  padding: 8px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #1e293b;
}
.sheet-table td {
  padding: 10px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid #1e293b;
}
.sheet-table td:first-child { color: #94a3b8; font-weight: 500; }
.sheet-table tr:last-child td { border-bottom: none; }
.sheet-highlight { color: #86efac !important; }
.sheet-caption {
  padding: 10px 16px;
  font-size: .72rem;
  color: #475569;
  font-family: ui-monospace, monospace;
  border-top: 1px solid #1e293b;
  margin: 0;
}

/* Tech stack section */
.tech-section {
  background: #0f172a;
  border-radius: var(--radius-xl);
  padding: 52px;
}
.tech-section-header {
  margin-bottom: 36px;
}
.tech-section-header h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
.tech-section-header p {
  color: #64748b;
  font-size: .95rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.tech-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: background var(--duration), border-color var(--duration);
}
.tech-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.tech-item h4 {
  font-size: .9rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.tech-item p {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .feature-highlight {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 768px) {
  .hero-dark-inner { padding-block: 60px; }
  .trust-bar { gap: 8px; font-size: .75rem; }
  .trust-dot { display: none; }
  .trust-bar span:not(.trust-dot)::after { content: ' ·'; color: #334155; }
  .trust-bar span:not(.trust-dot):last-child::after { content: ''; }
  .steps-grid { gap: 28px; }
  .tech-section { padding: 32px 24px; }
  .feature-highlight { padding: 28px 24px; gap: 32px; }
  .page-header { padding: calc(var(--nav-h) + 32px) 0 40px; }
}
@media (max-width: 480px) {
  .why-grid, .steps-grid, .pricing-teaser-grid, .tech-grid { grid-template-columns: 1fr; }
}
