/* ==========================================================================
   DZB Networks — Global Stylesheet
   Light editorial aesthetic · navy + teal · serif headings · retained tech edge
   ========================================================================== */

:root {
  /* Core palette — dark (near-black + teal) */
  --bg:            #0b1016;
  --bg-alt:        #0f151d;
  --bg-elev:       #141b24;
  --panel:         #141b24;
  --border:        rgba(255,255,255,0.09);
  --border-strong: rgba(45,212,191,0.42);

  /* Ink (—navy now reads as light so 'navy' text shows on dark) */
  --navy:          #e8eef4;
  --text:          #e8eef4;
  --text-dim:      #9fb0c2;
  --text-faint:    #6b7a8c;

  /* Accents */
  --teal:          #2dd4bf;
  --teal-bright:   #5eead4;
  --teal-deep:     #2dd4bf;
  --gold:          #d8a657;
  --green:         #4ade80;
  --accent-grad:   linear-gradient(120deg, #2dd4bf 0%, #14b8a6 100%);
  --accent-grad-2: linear-gradient(120deg, #5eead4 0%, #2dd4bf 100%);

  --glow:          0 18px 50px rgba(0,0,0,0.55);

  /* Dark code-panel */
  --code-bg:       #0e1620;
  --code-bg-2:     #0a121a;
  --code-border:   rgba(120, 200, 220, 0.16);
  --code-teal:     #2dd4bf;
  --code-green:    #4ade80;
  --code-dim:      #6b8096;

  /* Layout */
  --max:           1180px;
  --radius:        14px;
  --radius-lg:     22px;
  --nav-h:         92px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: rgba(13,148,136,0.18); }

/* Soft background tints + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(820px 520px at 82% -6%, rgba(13, 148, 136, 0.08), transparent 60%),
    radial-gradient(720px 520px at 6% 2%, rgba(18, 42, 67, 0.06), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(18, 42, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 42, 67, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 24%, black, transparent 78%);
  pointer-events: none;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 20px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1.5px;
  background: var(--teal);
  display: inline-block;
}

h1, h2 { font-family: var(--serif); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); }
h3, h4 { font-family: var(--font); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--text-dim); max-width: 60ch; line-height: 1.65; }
.muted { color: var(--text-dim); }

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.section-head { max-width: 660px; margin-bottom: 58px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 42, 67, 0.20);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18, 42, 67, 0.30); background: #0d2138; }
.btn-ghost {
  background: #ffffff;
  border-color: var(--border);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,148,136,0.12); }
.btn-arrow svg { transition: transform 0.2s ease; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(18, 42, 67, 0.05);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.brand > span:not(.logo-mark) { display: flex; flex-direction: column; line-height: 1.04; }
.brand .logo-mark { width: 72px; height: 72px; flex: none; display: grid; place-items: center; }
.brand .logo-mark svg { width: 72px; height: 72px; }
.brand b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.brand span.dim { text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.62rem; font-weight: 600; color: var(--text-dim); margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px;
  font-size: 0.93rem;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: rgba(18, 42, 67, 0.05); }
.nav-cta { margin-left: 10px; }
.nav-links a.btn-primary, .nav-links a.btn-primary.active { color: #fff; background: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 84px) 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 30px; margin-top: 48px; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-size: 1.7rem; font-weight: 700; font-family: var(--serif); color: var(--navy); }
.hero-badge span { font-size: 0.82rem; color: var(--text-faint); font-family: var(--mono); letter-spacing: 0.03em; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.06);
  font-size: 0.82rem; color: var(--teal-deep);
  margin-bottom: 28px; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

/* Dark code panel — the "tech edge" element on a light page */
.hero-visual, .code-panel {
  position: relative;
  border: 1px solid var(--code-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--code-bg), var(--code-bg-2));
  padding: 20px;
  box-shadow: 0 30px 70px rgba(18, 42, 67, 0.22);
  color: #e6edf6;
}
.code-panel.card { padding: 0; overflow: hidden; }
.code-panel.card::after { display: none; }
.term-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--code-border); margin-bottom: 16px; }
.code-panel .term-bar { padding: 16px 20px; margin: 0; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.term-bar i:nth-child(1){ background:#ff5f57; } .term-bar i:nth-child(2){ background:#febc2e; } .term-bar i:nth-child(3){ background:#28c840; }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--code-dim); }
.term { font-family: var(--mono); font-size: 13.5px; line-height: 1.9; color: #cfe0ee; }
.term .line { white-space: nowrap; overflow: hidden; }
.term .c-prompt { color: var(--code-teal); }
.term .c-ok { color: var(--code-green); }
.term .c-warn { color: #fbbf24; }
.term .c-dim { color: var(--code-dim); }
.term .cursor { display: inline-block; width: 8px; height: 15px; background: var(--code-teal); vertical-align: middle; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-panel .c-ok { color: var(--code-green); }
.code-panel .c-warn { color: #fbbf24; }
.code-panel .c-prompt { color: var(--code-teal); }
.code-panel .muted { color: var(--code-dim); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18,42,67,0.04);
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(13,148,136,0.5), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 20px 44px rgba(18, 42, 67, 0.12); }
.card:hover::after { opacity: 1; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(13, 148, 136, 0.10);
  border: 1px solid rgba(13, 148, 136, 0.22);
  margin-bottom: 20px;
  color: var(--teal-deep);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }
.card .card-tag { font-family: var(--mono); font-size: 11px; color: var(--teal-deep); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 600; }

.card-list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-dim); }
.card-list li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* Feature row */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.reverse .feature-visual { order: -1; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(21, 160, 106, 0.14); color: var(--green);
  margin-top: 2px;
}
.check-list .ck svg { width: 14px; height: 14px; }
.check-list b { display: block; margin-bottom: 2px; color: var(--navy); }
.check-list span { color: var(--text-dim); font-size: 0.92rem; }

/* Stats band */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 600; font-family: var(--serif); color: var(--navy); }
.stat span { color: var(--text-dim); font-size: 0.92rem; }

/* Logos / trust */
.logo-strip { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.logo-strip .lg { font-family: var(--mono); font-weight: 600; letter-spacing: 0.05em; color: var(--text-faint); font-size: 0.95rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: 0 1px 2px rgba(18,42,67,0.04); }
.step .num { font-family: var(--mono); font-size: 0.78rem; color: var(--teal-deep); letter-spacing: 0.1em; font-weight: 600; }
.step h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* CTA band */
.cta {
  position: relative;
  border: 1px solid var(--code-border);
  border-radius: var(--radius-lg);
  padding: 66px 48px;
  text-align: center;
  background:
    radial-gradient(540px 320px at 50% 0%, rgba(13,148,136,0.18), transparent 70%),
    linear-gradient(160deg, var(--code-bg), var(--code-bg-2));
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(18,42,67,0.20);
}
.cta h2 { margin-bottom: 16px; color: #ffffff; }
.cta .lead { margin: 0 auto 32px; color: #b9cadb; }
.cta .eyebrow { color: var(--code-teal); }
.cta .eyebrow::before { background: var(--code-teal); }
.cta .hero-actions { justify-content: center; }
.cta .btn-ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); color: #fff; }
.cta .btn-ghost:hover { border-color: var(--code-teal); color: var(--code-teal); }

/* Page header (interior pages) */
.page-head { padding: calc(var(--nav-h) + 74px) 0 52px; position: relative; }
.page-head h1 { margin-bottom: 18px; }
.breadcrumb { font-family: var(--mono); font-size: 0.8rem; color: var(--text-faint); margin-bottom: 20px; letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--teal-deep); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: #fbfaf7;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-faint); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-info-card { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ci { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(13,148,136,0.10); border: 1px solid rgba(13,148,136,0.22); color: var(--teal-deep); }
.contact-line .ci svg { width: 19px; height: 19px; }
.contact-line b { display: block; color: var(--navy); }
.contact-line span { color: var(--text-dim); font-size: 0.93rem; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 6px; }

/* Values / about */
.value-card .icon { background: rgba(18,42,67,0.07); color: var(--navy); border-color: rgba(18,42,67,0.14); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 32px 24px; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 1.5rem;
  background: var(--accent-grad); color: #ffffff;
}
.team-card h3 { font-size: 1.1rem; }
.team-card .role { color: var(--teal-deep); font-size: 0.85rem; font-family: var(--mono); margin: 4px 0 12px; font-weight: 600; }
.team-card p { font-size: 0.88rem; color: var(--text-dim); }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { font-family: var(--mono); font-size: 0.78rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-dim); background: rgba(18,42,67,0.025); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 1px 2px rgba(18,42,67,0.04); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--navy); padding: 22px 24px; font-size: 1.02rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .pl { flex: none; transition: transform 0.25s ease; color: var(--teal); }
.faq-item.open .faq-q .pl { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Footer (dark navy anchor) ---------- */
.footer { background: var(--navy); color: #cdd9e6; padding: 66px 0 32px; margin-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { color: #ffffff; }
.footer .brand span.dim { color: #93a6bb; }
.footer-brand p { color: #9fb1c4; font-size: 0.92rem; margin: 16px 0 20px; max-width: 32ch; }
.footer h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: #7e93a9; margin-bottom: 18px; font-family: var(--mono); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: #9fb1c4; font-size: 0.92rem; transition: color 0.18s ease; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #7e93a9; font-size: 0.85rem; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: #9fb1c4; transition: all 0.18s ease; }
.social a:hover { color: var(--teal-bright); border-color: rgba(20,184,166,0.5); }
.social svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the nav into the hamburger before the links + CTA run out of room */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(250, 247, 241, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 14px; gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 14px 30px rgba(18,42,67,0.10);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; }
  .nav-cta { margin: 8px 0 0; width: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badges { gap: 22px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   DARK THEME OVERRIDES
   ============================================================ */
body::before{
  background:
    radial-gradient(820px 520px at 82% -6%, rgba(45,212,191,0.10), transparent 60%),
    radial-gradient(720px 520px at 6% 2%, rgba(20,184,166,0.07), transparent 60%);
}
body::after{
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
}
.nav.scrolled{ background:rgba(11,16,22,0.82); border-bottom:1px solid var(--border); box-shadow:0 6px 24px rgba(0,0,0,0.4); }
.btn-primary, .nav-links a.btn-primary, .nav-links a.btn-primary.active{
  background:var(--accent-grad); color:#06231f; box-shadow:0 8px 26px rgba(45,212,191,0.30);
}
.btn-primary:hover{ background:var(--accent-grad-2); box-shadow:0 12px 30px rgba(45,212,191,0.40); }
.btn-ghost{ background:rgba(255,255,255,0.03); border-color:var(--border-strong); color:var(--text); }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal-bright); }
.card{ box-shadow:0 1px 2px rgba(0,0,0,0.30); }
.card:hover{ box-shadow:0 20px 44px rgba(0,0,0,0.5); }
.card::after{ background:linear-gradient(140deg, rgba(45,212,191,0.55), transparent 42%); }
.value-card .icon{ background:rgba(255,255,255,0.05); color:var(--text); border-color:var(--border); }
.form-field input, .form-field textarea, .form-field select{ background:#0f151d; border-color:var(--border); color:var(--text); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color:var(--teal); background:#111922; box-shadow:0 0 0 3px rgba(45,212,191,0.14); }
.form-field input::placeholder, .form-field textarea::placeholder{ color:var(--text-faint); }
.footer{ background:var(--bg-alt); border-top:1px solid var(--border); }
.faq-item, .step, .stats-band{ background:var(--bg-alt); }
.tag{ background:rgba(255,255,255,0.03); }

/* Theme toggle button */
.theme-toggle{ display:inline-grid; place-items:center; width:38px; height:38px; margin-left:8px; border-radius:9px; border:1px solid var(--border); color:var(--text-dim); background:transparent; transition:color .18s ease, border-color .18s ease, background .18s ease; flex:none; }
.theme-toggle:hover{ color:var(--teal-bright); border-color:var(--border-strong); background:rgba(255,255,255,0.03); }
.theme-toggle svg{ width:18px; height:18px; }

@media (max-width: 920px){
  .nav-links{ background:rgba(13,19,27,0.98); border-bottom:1px solid var(--border); box-shadow:0 14px 30px rgba(0,0,0,0.5); }
  .theme-toggle{ margin:8px 0 0; width:auto; justify-content:flex-start; padding:0 4px; }
}
/* Hide hero visual on phones */
@media (max-width: 720px){ .hero-visual{ display: none; } }

/* theme toggle button */
.theme-toggle{ cursor: pointer; font: inherit; }

/* theme toggle — refined layout (icon on desktop, full-width labelled row in mobile menu) */
.theme-toggle{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.theme-toggle .tt-label{ display:none; }
@media (max-width: 920px){
  .theme-toggle{ width:100%; height:46px; margin:8px 0 0; padding:0; justify-content:center; border:1px solid var(--border); border-radius:10px; }
  .theme-toggle .tt-label{ display:inline; font-size:0.95rem; font-weight:600; color:var(--text); }
}
