/* ==========================================================================
   WebNovaBZ — Design tokens
   Palette: deep signal-navy base, electric blue -> teal "flow" gradient
   Type: Space Grotesk (display) / Inter (body) / JetBrains Mono (data, prices)
   Signature: the animated flow-line — a gradient signal that runs from
   code to browser to device, echoed as a thin connective thread across
   the site (nav underlines, section dividers, pricing highlight).
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  --bg: #0b0e1a;
  --bg-soft: #0f1324;
  --surface: #131933;
  --surface-2: #1a2140;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f6ff;
  --text-muted: #9aa3c4;
  --text-dim: #6b7398;

  --blue: #4f7cff;
  --blue-soft: rgba(79, 124, 255, 0.14);
  --teal: #00d9c0;
  --teal-soft: rgba(0, 217, 192, 0.14);
  --flow: linear-gradient(90deg, var(--blue), var(--teal));
  --flow-diag: linear-gradient(135deg, var(--blue), var(--teal));

  --amber: #ffb454;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-lift: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1160px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grid + glow backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      600px 400px at 85% -5%,
      rgba(79, 124, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      500px 350px at 10% 15%,
      rgba(0, 217, 192, 0.09),
      transparent 60%
    ),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    #000 30%,
    transparent 75%
  );
  opacity: 0.35;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

p {
  color: var(--text-muted);
  margin: 0 0 1em;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
}
li {
  overflow-wrap: break-word;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flow);
  box-shadow: 0 0 12px var(--teal);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--flow);
  color: #04121b;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0, 217, 192, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------------- Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right));
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}
.logo-mark {
  width: auto;
  height: 70px;
  flex: none;
  object-fit: contain;
}
.footer-logo-link {
  margin-bottom: 14px;
}
.footer-logo {
  width: auto;
  height: auto;
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--flow);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
}
.mobile-panel a {
  touch-action: manipulation;
}
.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px max(28px, env(safe-area-inset-left))
    calc(20px + env(safe-area-inset-bottom));
  padding-right: max(28px, env(safe-area-inset-right));
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-panel a {
  padding: 13px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-panel a.active {
  color: var(--teal);
}
.mobile-panel .btn {
  margin-top: 12px;
}
body.nav-open .mobile-panel {
  display: flex;
}
body.nav-open {
  overflow: hidden;
}
/* NOTE: `html:has(body.nav-open) { overflow: hidden; }` removed — the :has()
   recalculation blocks the compositor on mobile and adds visible lag when the
   nav opens. Body-level scrolling lock is sufficient. */

/* When nav opens, drop the expensive backdrop blur so the panel paints instantly
   (the panel is covered by a solid background, so no blur is visible anyway). */
body.nav-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 880px) {
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------------- Section scaffolding ---------------- */
section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.section-tight {
  padding-top: 60px;
}
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong),
    transparent
  );
  border: none;
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Hero ---------------- */
.hero {
  padding-top: 76px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}
.hero .lede {
  font-size: 17.5px;
  max-width: 480px;
  color: var(--text-muted);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  background: var(--flow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-item span {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Hero visual: mockup + flow line signature */
.hero-visual {
  position: relative;
}
.flow-svg {
  width: 100%;
  height: auto;
  display: block;
}
.flow-path {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: dash 14s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -400;
  }
}
.flow-node {
  fill: var(--surface);
  stroke: var(--border-strong);
  stroke-width: 1;
}
.flow-dot {
  fill: var(--teal);
  filter: drop-shadow(0 0 6px var(--teal));
  offset-path: path("M20,180 C120,60 220,260 320,120 C380,50 400,150 460,90");
  animation: travel 6s linear infinite;
}
@keyframes travel {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}

/* ---------------- Icon tiles / service strip ---------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.tile:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lift);
}
.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flow-diag);
  margin-bottom: 18px;
  color: #04121b;
}
.tile h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.tile p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------------- Process (numbered — real sequence) ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;
  row-gap: 40px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0.35;
}
.process-step {
  position: relative;
}
.process-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--flow);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 14px;
}

/* ---------------- Work / portfolio ---------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.work-card .img-wrap {
  overflow: hidden;
  background: var(--surface-2, #101b28);
}
.work-card img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition:
    transform 0.45s var(--ease),
    filter 0.45s var(--ease);
  filter: saturate(0.88);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.work-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}
.work-meta {
  padding: 18px 20px 20px;
}
.work-meta .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.work-meta h3 {
  font-size: 16.5px;
  margin: 6px 0 0;
}

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
}
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--flow-diag) border-box;
  border: 1.5px solid transparent;
}

.budget-card {
  border-color: var(--border-strong);
  background:
    radial-gradient(
      220px 140px at 100% 0%,
      rgba(0, 217, 192, 0.1),
      transparent 70%
    ),
    var(--surface);
}
.budget-card .price-amount {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.budget-card:hover {
  border-color: var(--teal);
}
.price-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--flow);
  color: #04121b;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.badge-soon {
  background: var(--amber);
  color: #2b1a02;
}
.price-card.price-soon {
  opacity: 0.86;
}
.price-card.price-soon:hover {
  opacity: 1;
}
.price-tier {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-dim);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.price-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.price-amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 14px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.price-desc {
  font-size: 14px;
  margin-bottom: 22px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-muted);
}
.price-features li svg {
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}
.price-features li.muted {
  color: var(--text-dim);
}
.price-features li.muted svg {
  color: var(--text-dim);
}
/* ---------------- CTA Band ---------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;

  /* Space between CTA and footer */
  margin-bottom: 40px;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 200px at 90% 0%,
    rgba(0, 217, 192, 0.18),
    transparent 70%
  );
}

.cta-band h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
}

.cta-band-text {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 calc(10px + env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-note {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 11px;
}
.contact-google-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.contact-google-link:hover,
.contact-google-link:focus-visible {
  color: var(--teal);
  text-decoration-color: var(--teal);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: none;
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

/* ---------------- Generic page hero (inner pages) ---------------- */
.page-hero {
  padding-top: 64px;
  padding-bottom: 30px;
  max-width: 720px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
}

/* ---------------- Forms (contact page) ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}
.form-note a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-field {
  margin-bottom: 22px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--teal);
  cursor: pointer;
}
.consent-label a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-label a:hover {
  color: var(--blue);
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--teal-soft);
  border: 1px solid rgba(0, 217, 192, 0.35);
  color: var(--teal);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
}
.form-success.show {
  display: flex;
}
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ff8a8a;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
}
.form-error.show {
  display: flex;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.info-card .tile-icon {
  margin-bottom: 0;
  flex: none;
}
.info-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.info-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 15px 0 20px;
}
.faq-item summary {
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--teal);
  transition: transform 0.25s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 14.5px;
}

/* ---------------- Services page ---------------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
}
.service-block.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.service-block.reverse .service-visual {
  order: 2;
}
.service-block.reverse .service-copy {
  order: 1;
}
.service-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4/3;
  overflow: hidden;
  padding: 10px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 6px);
  filter: saturate(0.9);
}
.service-copy .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.service-copy h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.check-list li svg {
  color: var(--teal);
  flex: none;
  margin-top: 3px;
}

/* ---------------- Legal / Privacy page ---------------- */
.legal-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-toc h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.legal-toc a {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}
.legal-toc a:hover {
  color: var(--teal);
  background: var(--teal-soft);
}
.legal-toc a.active {
  color: var(--teal);
  background: var(--teal-soft);
  font-weight: 600;
}
.legal-prose {
  max-width: 720px;
}
.legal-prose h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 40px 0 14px;
  padding-top: 8px;
  scroll-margin-top: 100px;
}
.legal-prose h2:first-child {
  margin-top: 0;
}
.legal-prose h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal-prose p {
  font-size: 15px;
}
.legal-prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-prose li {
  font-size: 14.5px;
  color: var(--text-muted);
}
.legal-prose li strong {
  color: var(--text);
}
.legal-prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose a:hover {
  color: var(--blue);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-legal-links a {
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: var(--teal);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .legal-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legal-toc {
    position: static;
  }
}
@media (max-width: 620px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 460px;
    margin: 0 auto;
  }
  .tile-grid,
  .work-grid,
  .pricing-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .process-grid::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
  }
  .service-block.reverse .service-visual,
  .service-block.reverse .service-copy {
    order: initial;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .tile-grid,
  .work-grid,
  .pricing-grid,
  .testi-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-row {
    gap: 20px;
  }
  .cta-band {
    flex-direction: column;
    text-align: center;
  }
  /* iOS Safari auto-zooms on focus when a field's font-size is under 16px — this stops that. */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .btn {
    min-height: 44px;
  }
}

/* ---------------- Mobile-first hardening ---------------- */

/* Pricing comparison table scroll wrapper (touch-friendly) */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

/* Smaller logo in the sticky header on tablets & mobile */
@media (max-width: 880px) {
  .logo-mark {
    height: 34px;
  }
  .footer-logo {
    max-height: 110px;
  }
  .nav {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* Mobile adjustments */
@media (max-width: 620px) {
  .wrap {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .hero {
    padding-top: 48px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .cta-band {
    padding: 36px 26px;
  }
  .footer-grid {
    gap: 36px 20px;
  }
  .tile-grid,
  .work-grid,
  .pricing-grid,
  .testi-grid,
  .process-grid {
    gap: 20px;
  }
  /* Privacy TOC becomes a swipeable chip rail */
  .legal-toc {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .legal-toc h4 {
    flex: none;
    margin: 0 8px 0 0;
    font-size: 11.5px;
    align-self: center;
  }
  .legal-toc a {
    flex: none;
    white-space: nowrap;
    font-size: 12.5px;
    padding: 7px 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-cta {
    display: none;
  } /* CTA already lives inside the mobile panel */
  .nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .logo {
    gap: 7px;
    font-size: 17px;
  }
  .logo-mark {
    height: 30px;
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
  section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .section-tight {
    padding-top: 28px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.5vw, 36px);
  }
  .hero .lede {
    font-size: 15.5px;
  }
  .hero-ctas {
    gap: 10px;
    margin: 24px 0 30px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .trust-item strong {
    font-size: 19px;
  }
  .page-hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .page-hero h1 {
    font-size: clamp(26px, 7.5vw, 32px);
  }
  .page-hero .lede {
    font-size: 15.5px;
  }
  .section-head h2,
  .service-copy h2 {
    font-size: clamp(24px, 6.5vw, 28px);
  }
  .cta-band {
    padding: 30px 20px;
    gap: 20px;
  }
  .cta-band .btn {
    width: 100%;
  }
  .price-card {
    padding: 26px 20px;
  }
  .price-amount {
    font-size: 36px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .service-block {
    padding: 36px 0;
    gap: 26px;
  }
  .tile {
    padding: 20px;
  }
  .tile-grid {
    margin-bottom: 20px;
  }
  .legal-section {
    padding-bottom: 48px;
  }
  .legal-prose h2 {
    font-size: clamp(19px, 6vw, 22px);
  }
  .faq-item summary {
    font-size: 15px;
  }
  .footer-logo {
    max-height: 96px;
  }
  .footer-bottom {
    font-size: 12.5px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .logo {
    font-size: 16px;
  }
  .logo-mark {
    height: 28px;
  }
  .hero h1 {
    font-size: clamp(25px, 7.8vw, 28px);
  }
  .price-amount {
    font-size: 32px;
  }
}

/* Short screens in landscape (small phones) — give the page room to scroll */
@media (max-height: 480px) and (orientation: landscape) {
  .site-header {
    position: static;
  }
  .mobile-panel {
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
  }
}

/* ================= WebNovaBZ WhatsApp + Promotion UI ================= */
.wn-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  font-family: Inter, Arial, sans-serif;
}
.wn-wa-fab {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--flow-diag);
  color: #06121a;
  font-weight: 800;
  box-shadow: 0 14px 35px #0007;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.wn-wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px #0008;
  filter: saturate(1.06);
}
.wn-wa-fab svg {
  width: 22px;
  height: 22px;
}
.wn-wa-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(370px, calc(100vw - 30px));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 25px 70px #0009;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: 0.25s var(--ease);
}
.wn-wa-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wn-wa-head {
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--flow-diag);
  border-bottom: 1px solid var(--border);
}
.wn-wa-head strong,
.wn-wa-head small {
  display: block;
}
.wn-wa-head strong {
  color: #06121a;
}
.wn-wa-head small {
  color: rgba(6, 18, 26, 0.72);
  font-size: 11px;
  margin-top: 2px;
}
.wn-wa-close,
.wn-promo-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}
.wn-wa-body {
  padding: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.wn-wa-bubble {
  display: inline-block;
  max-width: 90%;
  padding: 11px 13px;
  border-radius: 13px 13px 13px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #eaf0ff;
  font-size: 13px;
  line-height: 1.5;
}
.wn-wa-compose {
  padding: 12px;
  border-top: 1px solid var(--border);
}
.wn-wa-compose textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  background: #0b1020;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: #fff;
  padding: 10px;
  font: 13px Inter;
}
.wn-wa-send {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: var(--flow-diag);
  color: #06121a;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.wn-wa-send:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
}
.wn-promo {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
}
.wn-promo-box {
  position: relative;
  overflow: hidden;
  width: min(860px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: 0 30px 100px #000b;
}
.wn-promo-box > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--surface-2);
  display: block;
}
.wn-promo-copy {
  padding: 42px 38px;
  align-self: center;
  overflow: auto;
}
.wn-promo-copy > span {
  font: 600 11px monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}
.wn-promo-copy h2 {
  font-size: clamp(27px, 4vw, 42px);
  margin: 10px 0;
}
.wn-promo-copy p {
  font-size: 15px;
}
.wn-promo-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0008;
  z-index: 3;
}
@media (max-width: 650px) {
  .wn-wa {
    right: 14px;
    bottom: 14px;
  }
  .wn-wa-fab span {
    display: none;
  }
  .wn-wa-fab {
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }
  .wn-promo {
    padding: 14px;
  }
  .wn-promo-box {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }
  .wn-promo-box > img {
    width: 100%;
    height: auto;
    max-height: 260px;
    min-height: 0;
    object-fit: contain;
  }
  .wn-promo-copy {
    padding: 27px 24px;
  }
}

/* WebNovaBZ WhatsApp launcher: always above site content */
.wn-wa {
  visibility: visible !important;
  display: block !important;
  isolation: isolate;
}
.wn-wa-fab {
  position: relative;
  z-index: 2;
  min-width: 54px;
  min-height: 54px;
}
.wn-wa-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #171e36;
  color: #9aa3c4;
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 650px) {
  .wn-wa {
    right: 14px !important;
    bottom: 14px !important;
  }
  .wn-wa-fab {
    min-width: 52px;
    min-height: 52px;
  }
}

/* Homepage pricing preview: show each plan's summary sentence instead of a feature checklist. */
.pricing-preview .price-desc {
  display: block;
  flex: 1;
}
.pricing-preview .price-features {
  display: none;
}
.pricing-preview .price-card {
  min-height: 0;
}

/* Conversion + accessibility refinements */
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--teal);
  color: #04121b;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}
.why-section {
  padding-top: 72px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.why-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(19, 25, 51, 0.72);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 192, 0.5);
  box-shadow: var(--shadow-lift);
}
.why-card h3 {
  margin-top: 28px;
}
.why-card p {
  font-size: 14px;
}
.why-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-section {
    padding-top: 48px;
  }
}
.work-meta p {
  font-size: 13px;
  margin: 7px 0 9px;
  color: var(--text-muted);
  line-height: 1.5;
}
.work-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.work-card:hover .work-link {
  color: var(--teal);
}

.portfolio-case-study {
  max-width: 560px;
  margin-inline: auto;
}
.portfolio-case-study .img-wrap {
  display: grid;
  place-items: center;
  padding: 14px;
  background: #0b0b0b;
}
.portfolio-case-study .img-wrap img {
  width: min(100%, 220px);
  max-height: 220px;
  object-fit: contain;
}
.portfolio-case-study .work-meta {
  padding: 14px 16px 16px;
}

/* Local SEO support copy */
.seo-local-copy {
  max-width: 72ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .seo-local-copy {
    font-size: 0.92rem;
  }
}


/* ==========================================================================
   WebNovaBZ — Hero 3D Studio Animation
   Self-contained CSS/SVG animation; no external assets or JS dependencies.
   ========================================================================== */

.hero-visual-pro {
  min-height: 500px;
  isolation: isolate;
  overflow: visible;
  perspective: 1200px;
}

.hero-visual-pro::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 4%;
  top: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,124,255,.18), rgba(0,217,192,.07) 36%, transparent 70%);
  filter: blur(18px);
  z-index: -3;
  animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.connector-line {
  fill: none;
  stroke: url(#heroFlowGradient);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 12;
  opacity: .7;
  animation: connectorFlow 10s linear infinite;
}

.connector-line-b {
  opacity: .4;
  animation-duration: 14s;
  animation-direction: reverse;
}

.connector-dot {
  fill: var(--teal);
  filter: drop-shadow(0 0 7px rgba(0,217,192,.9));
  animation: dotPulse 2.8s ease-in-out infinite;
}

.connector-dot-b { animation-delay: .8s; }
.connector-dot-c { animation-delay: 1.5s; }
.connector-dot-d { animation-delay: 2.1s; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(79,124,255,.13);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orbit-a {
  width: 450px;
  height: 450px;
  right: 1%;
  top: 7%;
  transform: rotate(20deg) skewX(-12deg);
  animation: orbitSpin 20s linear infinite;
}

.orbit-b {
  width: 350px;
  height: 350px;
  right: 12%;
  top: 17%;
  border-color: rgba(0,217,192,.11);
  transform: rotate(-30deg) skewX(14deg);
  animation: orbitSpinReverse 15s linear infinite;
}

.orbit-c {
  width: 570px;
  height: 190px;
  right: -2%;
  top: 45%;
  border-color: rgba(124,108,255,.12);
  transform: rotate(-10deg);
  animation: orbitDrift 9s ease-in-out infinite;
}

.hero-laptop {
  position: absolute;
  width: min(520px, 92%);
  height: 390px;
  left: 8%;
  top: 82px;
  z-index: 4;
  transform: rotateX(4deg) rotateY(-10deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  animation: laptopFloat 6s ease-in-out infinite;
}

.hero-laptop::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 2px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  filter: blur(20px);
  z-index: -2;
  transform: translateZ(-30px);
}

.laptop-screen {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 0;
  height: 285px;
  padding: 9px;
  border: 1px solid rgba(151,169,255,.38);
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(145deg, #101831, #080d1d 72%);
  box-shadow:
    0 28px 55px rgba(0,0,0,.55),
    0 0 0 1px rgba(0,217,192,.05) inset,
    0 0 60px rgba(79,124,255,.13);
  transform: translateZ(12px);
  overflow: hidden;
}

.laptop-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 22%, transparent 72%, rgba(79,124,255,.07));
  pointer-events: none;
}

.screen-glow {
  position: absolute;
  width: 210px;
  height: 170px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(0,217,192,.16);
  filter: blur(30px);
  animation: screenGlow 4s ease-in-out infinite alternate;
}

.browser-bar {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #69749a;
  font: 8px "JetBrains Mono", monospace;
}

.browser-dots {
  display: flex;
  gap: 4px;
}
.browser-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: block;
  background: #ff6b6b;
}
.browser-dots i:nth-child(2) { background: #ffb454; }
.browser-dots i:nth-child(3) { background: var(--teal); }

.browser-url {
  padding: 4px 22px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 20px;
  flex: 1;
  text-align: center;
}

.browser-status {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 9px var(--teal);
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px 7px;
  color: #7580a5;
  font-size: 7px;
}
.mock-brand {
  margin-right: auto;
  color: #f4f6ff;
  font: 600 10px "Space Grotesk", sans-serif;
}
.mock-brand em {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--flow);
  box-shadow: 0 0 8px var(--teal);
}
.mock-nav strong {
  color: #07131a;
  background: var(--flow);
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 6.5px;
}

.mock-content {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 14px;
  padding: 17px 20px 12px;
}

.mock-copy small {
  color: var(--teal);
  font: 500 6px "JetBrains Mono", monospace;
  letter-spacing: .15em;
}
.mock-copy h3 {
  margin: 6px 0 8px;
  font: 600 29px/ .88 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
  color: #f7f8ff;
}
.mock-copy h3 span {
  color: #6386ff;
}
.mock-copy h3 b {
  color: var(--teal);
}
.mock-copy p {
  max-width: 170px;
  margin: 0;
  color: #7781a4;
  font-size: 7px;
  line-height: 1.5;
}
.mock-button {
  width: 62px;
  height: 14px;
  margin-top: 12px;
  border-radius: 20px;
  background: var(--flow);
  box-shadow: 0 5px 18px rgba(0,217,192,.2);
}

.mock-dashboard {
  padding-top: 2px;
}
.dash-image {
  position: relative;
  height: 108px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(112,140,255,.17);
  background:
    linear-gradient(145deg, rgba(52,83,160,.45), rgba(5,11,25,.2)),
    radial-gradient(circle at 60% 45%, #3a5a99, transparent 30%),
    linear-gradient(130deg, #101c3b, #060b18);
}
.dash-image::before,
.dash-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 55%;
  height: 75%;
  background: linear-gradient(145deg, transparent 15%, rgba(117,148,255,.25) 16%, transparent 48%);
  transform: skewX(-25deg);
}
.dash-image::after {
  left: 38%;
  height: 88%;
  opacity: .55;
}
.dash-image span {
  position: absolute;
  width: 42px;
  height: 42px;
  right: 14px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,192,.55), transparent 64%);
  filter: blur(5px);
  animation: imagePulse 3s ease-in-out infinite;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 6px;
}
.dash-cards i {
  height: 31px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 5px;
  background: rgba(17,25,52,.8);
  padding: 5px;
}
.dash-cards b {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  margin-bottom: 4px;
}
.dash-cards small {
  display: block;
  width: 75%;
  height: 3px;
  border-radius: 3px;
  background: #303958;
}

.laptop-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 108px;
  clip-path: polygon(7% 0, 93% 0, 100% 70%, 95% 90%, 5% 90%, 0 70%);
  border: 1px solid rgba(123,142,215,.22);
  background: linear-gradient(150deg, #1b2854, #0b1127 52%, #111936);
  box-shadow: 0 25px 35px rgba(0,0,0,.45);
  transform: rotateX(66deg) translateZ(-3px);
  transform-origin: top;
}
.laptop-base::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(145deg, rgba(96,117,206,.15), transparent 35%, rgba(0,217,192,.04));
  clip-path: inherit;
}
.keyboard {
  position: absolute;
  top: 11px;
  left: 17%;
  right: 17%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  transform: perspective(300px) rotateX(-3deg);
}
.keyboard span {
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(180deg, #303b6a, #141c3a);
  box-shadow: 0 0 4px rgba(79,124,255,.13);
}
.trackpad {
  position: absolute;
  left: 38%;
  width: 24%;
  height: 28px;
  bottom: 9px;
  border-radius: 5px;
  border: 1px solid rgba(120,140,220,.18);
  background: rgba(12,18,39,.45);
}

.hero-code-card,
.hero-float-card,
.hero-code-chip {
  position: absolute;
  z-index: 7;
  border: 1px solid rgba(128,148,224,.23);
  background: linear-gradient(145deg, rgba(22,31,64,.94), rgba(9,14,31,.92));
  box-shadow: 0 18px 45px rgba(0,0,0,.35), 0 0 25px rgba(79,124,255,.08);
  backdrop-filter: blur(12px);
}

.hero-code-card {
  left: 0;
  top: 43px;
  width: 156px;
  min-height: 110px;
  border-radius: 14px;
  padding: 11px 12px;
}
.mini-window {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.mini-window i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6b6b;
}
.mini-window i:nth-child(2) { background: #ffb454; }
.mini-window i:nth-child(3) { background: var(--teal); }
.code-lines {
  font: 7px/1.65 "JetBrains Mono", monospace;
}
.code-lines b {
  display: block;
  width: 70%;
  height: 4px;
  margin: 3px 0;
  border-radius: 3px;
  background: #20294c;
}
.code-lines b.short { width: 48%; }
.code-blue { color: #5f85ff; }
.code-purple { color: #b48cff; }
.code-teal { color: var(--teal); }
.code-muted { color: #8993b7; }
.code-label {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: #5e6a91;
  font: 6px "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-float-card {
  min-width: 145px;
  padding: 11px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 8px;
  align-items: center;
}
.hero-float-card small {
  display: block;
  color: #6d789c;
  font: 6px "JetBrains Mono", monospace;
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.hero-float-card strong {
  display: block;
  color: #eef1ff;
  font: 600 11px "Space Grotesk", sans-serif;
}
.hero-float-card strong span {
  color: #69749a;
  font-size: 7px;
}
.performance {
  right: -2%;
  top: 48px;
}
.responsive {
  right: -4%;
  bottom: 78px;
}
.seo {
  left: 4%;
  bottom: 17px;
}

.float-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(79,124,255,.11);
  border: 1px solid rgba(79,124,255,.18);
  color: var(--teal);
}
.speed-icon {
  position: relative;
}
.speed-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #6386ff;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.speed-icon span {
  position: absolute;
  width: 2px;
  height: 9px;
  background: var(--teal);
  transform: rotate(38deg) translate(3px,-2px);
  transform-origin: bottom;
}
.phone-icon {
  position: relative;
}
.phone-icon::before {
  content: "";
  width: 10px;
  height: 16px;
  border: 1px solid #718aff;
  border-radius: 3px;
}
.phone-icon span {
  position: absolute;
  bottom: 7px;
  width: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}
.seo-icon {
  font: 600 17px "Space Grotesk", sans-serif;
  background: rgba(0,217,192,.08);
}
.progress {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 5px;
  background: #1d2648;
  overflow: hidden;
}
.progress i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: var(--flow);
  transform-origin: left;
  animation: progressPulse 3s ease-in-out infinite;
}
.device-pulse {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0,217,192,.45);
  animation: pulseRing 2s infinite;
}
.seo-bars {
  position: absolute;
  right: 11px;
  bottom: 10px;
  display: flex;
  align-items: end;
  gap: 3px;
  height: 17px;
}
.seo-bars i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--blue), var(--teal));
  animation: barWave 1.8s ease-in-out infinite;
}
.seo-bars i:nth-child(1) { height: 5px; }
.seo-bars i:nth-child(2) { height: 9px; animation-delay: .1s; }
.seo-bars i:nth-child(3) { height: 7px; animation-delay: .2s; }
.seo-bars i:nth-child(4) { height: 13px; animation-delay: .3s; }
.seo-bars i:nth-child(5) { height: 16px; animation-delay: .4s; }

.hero-code-chip {
  left: 11%;
  top: 335px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--teal);
  font: 600 15px "JetBrains Mono", monospace;
  box-shadow: 0 0 28px rgba(0,217,192,.11);
  animation: chipFloat 4.5s ease-in-out infinite;
}

.hero-particle {
  position: absolute;
  z-index: 6;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(0,217,192,.9);
  animation: particleFloat 4s ease-in-out infinite;
}
.particle-1 { right: 4%; top: 26%; }
.particle-2 { left: 28%; top: 8%; width: 3px; height: 3px; animation-delay: .8s; }
.particle-3 { right: 22%; bottom: 8%; animation-delay: 1.4s; }
.particle-4 { left: 14%; bottom: 30%; width: 3px; height: 3px; animation-delay: 2s; }
.particle-5 { right: 33%; top: 43%; width: 4px; height: 4px; animation-delay: 2.5s; }

.float-slow { animation: cardFloatSlow 7s ease-in-out infinite; }
.float-medium { animation: cardFloat 5.5s ease-in-out infinite; }
.float-fast { animation: cardFloatFast 4.5s ease-in-out infinite; }

@keyframes laptopFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-10deg) rotateZ(-2deg) translate3d(0,0,0); }
  50% { transform: rotateX(5deg) rotateY(-8deg) rotateZ(-1deg) translate3d(0,-9px,0); }
}
@keyframes cardFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-10px,10px) rotate(.7deg); }
}
@keyframes cardFloatSlow {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-13px,0) rotate(-1deg); }
}
@keyframes cardFloatFast {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-8px,0) rotate(1deg); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(-5deg); }
}
@keyframes connectorFlow { to { stroke-dashoffset: -320; } }
@keyframes dotPulse {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes orbitSpin { to { transform: rotate(380deg) skewX(-12deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-390deg) skewX(14deg); } }
@keyframes orbitDrift {
  0%, 100% { transform: translateX(0) rotate(-10deg); }
  50% { transform: translateX(-15px) rotate(-7deg); }
}
@keyframes heroGlow {
  from { transform: scale(.92); opacity: .65; }
  to { transform: scale(1.08); opacity: 1; }
}
@keyframes screenGlow {
  from { transform: scale(.8); opacity: .45; }
  to { transform: scale(1.15); opacity: .9; }
}
@keyframes imagePulse {
  0%, 100% { transform: scale(.8); opacity: .3; }
  50% { transform: scale(1.2); opacity: .7; }
}
@keyframes progressPulse {
  0%, 100% { transform: scaleX(.88); opacity: .75; }
  50% { transform: scaleX(1); opacity: 1; }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0,217,192,.5); }
  70% { box-shadow: 0 0 0 9px rgba(0,217,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,217,192,0); }
}
@keyframes barWave {
  0%, 100% { opacity: .55; transform: scaleY(.7); }
  50% { opacity: 1; transform: scaleY(1.08); }
}
@keyframes particleFloat {
  0%, 100% { transform: translate(0,0); opacity: .35; }
  50% { transform: translate(8px,-12px); opacity: 1; }
}

/* Keep the animation impressive without crowding the copy on smaller screens. */
@media (max-width: 980px) {
  .hero-visual-pro {
    min-height: 470px;
    width: 100%;
  }
  .hero-laptop {
    left: 10%;
    width: 78%;
  }
  .hero-code-card {
    left: 0;
  }
  .performance { right: 0; }
  .responsive { right: -1%; }
  .seo { left: 3%; }
}

@media (max-width: 620px) {
  .hero-visual-pro {
    min-height: 340px;
    max-width: 430px;
    margin: 0 auto;
    transform: scale(.92);
    transform-origin: center top;
  }
  .hero-laptop {
    left: 4%;
    top: 55px;
    width: 92%;
    height: 310px;
  }
  .laptop-screen {
    height: 225px;
  }
  .laptop-base {
    height: 90px;
  }
  .mock-content {
    padding: 11px 13px 8px;
  }
  .mock-copy h3 {
    font-size: 23px;
  }
  .mock-copy p {
    max-width: 125px;
    font-size: 6px;
  }
  .dash-image { height: 84px; }
  .hero-code-card {
    width: 125px;
    top: 25px;
    transform: scale(.82);
    transform-origin: left top;
  }
  .hero-float-card {
    min-width: 125px;
    padding: 9px;
    transform: scale(.82);
  }
  .performance { right: -5px; top: 35px; }
  .responsive { right: -8px; bottom: 54px; }
  .seo { left: 4px; bottom: 5px; }
  .hero-code-chip { display: none; }
  .orbit-a { width: 330px; height: 330px; right: 0; top: 5%; }
  .orbit-b { width: 270px; height: 270px; right: 8%; }
  .orbit-c { width: 390px; height: 140px; right: -5%; }
}

@media (max-width: 420px) {
  .hero-visual-pro {
    min-height: 300px;
    transform: scale(.82);
    width: 122%;
    margin-left: -11%;
    margin-bottom: -35px;
  }
  .hero-code-card { display: none; }
  .performance { right: 0; }
  .responsive { right: 0; }
  .seo { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-pro *,
  .hero-visual-pro::before {
    animation: none !important;
  }
}


/* ==========================================================================
   WebNovaBZ — Mobile Layout Hardening
   Prevents horizontal overflow without changing the desktop design.
   ========================================================================== */

html, body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
}

.wrap,
section,
main,
.site-header,
.site-footer,
.nav {
  min-width: 0;
}

.wrap {
  width: 100%;
}

.hero > *,
.service-block > *,
.contact-grid > *,
.legal-section > *,
.footer-grid > *,
.cta-band > * {
  min-width: 0;
}

@media (max-width: 880px) {
  .nav {
    width: 100%;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .logo {
    min-width: 0;
    max-width: calc(100% - 54px);
  }

  .logo-mark {
    max-width: 46px;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .hero {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .hero-content {
    min-width: 0;
    width: 100%;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .service-copy h2,
  .cta-band h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero .lede,
  .page-hero .lede {
    max-width: 100%;
  }

  .hero-ctas .btn {
    max-width: 100%;
  }

  .trust-row {
    min-width: 0;
  }

  .service-block,
  .service-block.reverse {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .service-copy,
  .service-visual {
    min-width: 0;
    max-width: 100%;
  }

  .service-visual {
    width: 100%;
  }

  .check-list,
  .check-list li {
    min-width: 0;
  }

  .contact-grid,
  .form-card,
  .info-card {
    width: 100%;
    min-width: 0;
  }

  .field,
  .field input,
  .field select,
  .field textarea,
  .consent-label {
    max-width: 100%;
    min-width: 0;
  }

  .legal-section {
    width: 100%;
    min-width: 0;
  }

  .legal-prose {
    min-width: 0;
    max-width: 100%;
  }

  .legal-prose p,
  .legal-prose li {
    overflow-wrap: anywhere;
  }

  .footer-grid {
    min-width: 0;
  }

  .footer-col,
  .footer-brand {
    min-width: 0;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Keep the promotional modal inside the phone viewport. */
  .wn-promo {
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }

  .wn-promo-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .wn-promo-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .wn-promo-copy h2,
  .wn-promo-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* 3D hero: scale the artwork instead of making the page wider. */
  .hero-visual-pro {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    transform: none;
    overflow: hidden;
  }

  .hero-visual-pro .hero-laptop {
    left: 4%;
    width: 92%;
    max-width: 92%;
  }

  .hero-visual-pro .orbit-a {
    width: min(330px, 86vw);
    height: min(330px, 86vw);
    right: 0;
  }

  .hero-visual-pro .orbit-b {
    width: min(270px, 70vw);
    height: min(270px, 70vw);
    right: 8%;
  }

  .hero-visual-pro .orbit-c {
    width: min(390px, 100vw);
    right: 0;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .hero-visual-pro {
    min-height: 300px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    transform: scale(.88);
    transform-origin: center top;
  }

  .hero-visual-pro .hero-laptop {
    left: 3%;
    width: 94%;
  }

  .hero-visual-pro .performance {
    right: 0;
  }

  .hero-visual-pro .responsive {
    right: 0;
  }

  .hero-visual-pro .seo {
    left: 0;
  }

  .cta-band {
    width: 100%;
    min-width: 0;
  }

  .cta-band-text {
    min-width: 0;
    max-width: 100%;
  }

  .price-card {
    min-width: 0;
    width: 100%;
  }

  .price-amount {
    overflow-wrap: anywhere;
  }
}

/* Long URLs/emails/technical strings must never force the viewport wider. */
a[href^="http"],
.contact-google-link,
.footer-note,
.footer-legal-links a,
.price-desc,
.price-features li,
.work-link {
  overflow-wrap: anywhere;
}
