/* =========================================================
   geoxpress.de — style.css
   Design system: dark "signal" theme for GEO / AI-search visibility
   ========================================================= */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/opensans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/opensans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0F1A;
  --bg-soft: #0E1422;
  --surface: #121826;
  --surface-2: #1B2338;
  --border: #232C42;
  --border-soft: #1B2338;
  --text: #EDEFF5;
  --text-muted: #9AA3B8;
  --text-faint: #6C7690;
  --blue: #3E8EFF;
  --violet: #8B5CFF;
  --coral: #FF7A59;
  --brand-x: rgb(244,194,13);
  --gradient: linear-gradient(135deg, #3E8EFF 0%, #8B5CFF 100%);
  --gradient-warm: linear-gradient(135deg, #FF9166 0%, #FF7A59 60%, #8B5CFF 100%);
  --gradient-soft: linear-gradient(135deg, rgba(62,142,255,0.15), rgba(139,92,255,0.15));
  --success: #38D39F;

  --font-display: "Nunito", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", -apple-system, "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 999px;

  --container: 1180px;
  --shadow-glow: 0 20px 60px -20px rgba(62, 142, 255, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(0,0,0,0.5);

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

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* logo marquee and the hero typed-text cursor are low-intensity motion — keep them running even with reduced motion enabled */
  .marquee-track {
    animation-duration: 32s !important;
    animation-iteration-count: infinite !important;
  }
  .hero-rotator .typed-cursor {
    animation-duration: .9s !important;
    animation-iteration-count: infinite !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }
.section-head .section-subtitle { font-size: 17px; font-weight: 700; color: var(--text-muted); margin: -4px 0 14px; }
.brand-x { color: var(--brand-x); font-weight: 800; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(62,142,255,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(62,142,255,.65); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(62,142,255,.08); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface-2); }

/* ---------- Nav dropdowns ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px 10px 16px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--text-muted);
  background: none; border: none; border-radius: var(--radius-full);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger { color: var(--text); background: var(--surface-2); }
.nav-dropdown-trigger .chev { width: 13px; height: 13px; transition: transform .25s var(--ease); flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-trigger .chev { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 8px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav-dropdown-menu a:hover { color: var(--text); background: var(--surface-2); }
.nav-dropdown-menu .nav-dropdown-divider { height: 1px; background: var(--border-soft); margin: 6px 4px; }
.nav-dropdown-menu .nav-dropdown-label { padding: 6px 12px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }

@media (max-width: 900px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; border: none; background: var(--surface-2);
    margin: 2px 0 6px; max-height: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span {
  display: block; position: absolute; left:0; right:0; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle .bars span:nth-child(1){ top:0; }
.nav-toggle .bars span:nth-child(2){ top:5px; }
.nav-toggle .bars span:nth-child(3){ top:10px; }
.nav-open .nav-toggle .bars span:nth-child(1){ top:5px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2){ opacity:0; }
.nav-open .nav-toggle .bars span:nth-child(3){ top:5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav-open .main-nav { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}
#scroll-sentinel { position: absolute; top: 12px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(5,7,12,.6);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 90;
}
.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  overflow-x: hidden;
  position: relative;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
}
.hero-rotator {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 6px 0 22px;
  color: var(--text);
}
.hero-rotator .rot-static { color: var(--text-muted); font-weight: 700; }
.hero-rotator .rot-typed {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.hero-rotator .typed-cursor {
  display: inline-block; width: 3px; height: .85em; background: var(--blue);
  margin-left: 3px; vertical-align: middle;
  animation: rot-blink .9s step-end infinite;
}
@keyframes rot-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-lead { font-size: 17px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  width: 100%;
}
.stat-chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 16px 14px; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-chip:hover { transform: translateY(-4px); border-color: rgba(62,142,255,.5); box-shadow: 0 14px 30px -14px rgba(62,142,255,.4); }
.stat-chip b {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,2.4vw,30px);
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-chip span { display: block; margin-top: 8px; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 560px) { .hero-proof { grid-template-columns: 1fr; } }

/* ---------- Hero visual: bot illustration stacked above the terminal card (no overlap) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-bot-layer {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  animation: bot-bob 5s ease-in-out infinite;
}
@keyframes bot-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-visual { margin-top: 20px; }
}

/* ---------- Marquee: trusted logos ---------- */
.trust-strip { padding: 64px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.trust-label {
  text-align: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: 32px;
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 40px;
}
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track .logo-slide {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  height: 240px;
  padding: 0 2.5rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.marquee-track .logo-slide:hover { opacity: 1; }
.marquee-track img {
  height: 200px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@keyframes shimmer {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
.marquee-track:not(:hover) .logo-slide:nth-child(3n) { animation: shimmer 3s ease-in-out infinite; }
.marquee-track:not(:hover) .logo-slide:nth-child(3n+1) { animation: shimmer 3s ease-in-out infinite 1s; }
.marquee-track:not(:hover) .logo-slide:nth-child(3n+2) { animation: shimmer 3s ease-in-out infinite 2s; }
@media (max-width: 680px) {
  .marquee-track .logo-slide { height: 130px; padding: 0 1.25rem; }
  .marquee-track img { height: 100px; max-width: 220px; }
  .marquee-track { gap: 1.5rem; }
}

/* ---------- Comparison: SEO vs GEO ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 32px; }
.compare-card.is-geo { border-color: rgba(62,142,255,.5); background: linear-gradient(180deg, rgba(62,142,255,.08), transparent 60%), var(--surface); }
.compare-card h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.compare-card .tag { font-size: 11px; padding: 3px 10px; border-radius: var(--radius-full); background: var(--surface-2); color: var(--text-faint); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; }
.compare-card.is-geo .tag { background: var(--gradient); color: #fff; }
.compare-list { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: flex; gap: 10px; font-size: 17px; color: #fff; align-items: flex-start; }
.compare-list svg {
  flex-shrink: 0; margin-top: 1px; width: 20px; height: 20px; padding: 3px; border-radius: 50%;
}
.compare-list--muted svg { color: var(--coral); background: rgba(255,122,89,.14); }
.compare-card.is-geo .compare-list svg { color: var(--blue); background: var(--gradient-soft); }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Feature / topic cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 30px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(62,142,255,.4); box-shadow: 0 24px 40px -24px rgba(62,142,255,.45); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--gradient-soft); border: 1px solid rgba(62,142,255,.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--blue);
  transition: transform .35s var(--ease);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-6deg); }

/* ---------- Single-column card list (icon left, text right) ---------- */
.stack-cards { display: flex; flex-direction: column; gap: 18px; }
.card--row { display: flex; align-items: flex-start; gap: 24px; padding: 28px 32px; }
.card--row .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card-row-body { flex: 1; min-width: 0; }
.card-row-body h3 { margin-bottom: 8px; }
.card-row-body p { margin-bottom: 0; }
@media (max-width: 640px) {
  .card--row { flex-direction: column; gap: 16px; padding: 24px; }
}
.card-icon.warm { background: rgba(255,122,89,.14); border-color: rgba(255,122,89,.35); color: var(--coral); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 16px; color: #fff; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--blue); font-family: var(--font-display); }
.card.is-soon { opacity: .6; }
.card.is-soon .card-icon { background: var(--surface-2); border-color: var(--border); color: var(--text-faint); }
.badge-soon { font-size: 10.5px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); background: var(--surface-2); padding: 3px 9px; border-radius: var(--radius-full); }

/* ---------- Process steps ---------- */
.process { display: flex; flex-direction: column; gap: 20px; }
.process-step {
  display: grid; grid-template-columns: 76px 1fr; gap: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-l); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.process-step::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .4s var(--ease);
}
.process-step:hover {
  border-color: rgba(62,142,255,.45);
  box-shadow: 0 0 30px rgba(62,142,255,.12), 0 8px 32px rgba(0,0,0,.4);
  transform: translateY(-4px);
}
.process-step:hover::after { width: 100%; }
.process-num {
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-step h3 { font-size: 19px; margin-bottom: 6px; }
.process-step p { margin-bottom: 0; max-width: 640px; font-size: 16px; color: var(--text-muted); }
@media (max-width: 640px) { .process-step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.stat-item {
  display: block;
  padding: 8px; border-radius: var(--radius-m);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid transparent;
}
.stat-item:hover { transform: translateY(-4px); background: rgba(62,142,255,.06); border-color: rgba(62,142,255,.35); }
.stat-item b { display: block; font-family: var(--font-display); font-size: clamp(17px,1.7vw,21px); line-height: 1.35; }
.stat-item.grad b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }
.stat-item .stat-item-link {
  margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--blue);
  transition: transform .25s var(--ease);
}
.stat-item:hover .stat-item-link { transform: translateX(3px); }
@media (max-width: 980px) { .stats-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; }
.testi-quote-mark { font-family: var(--font-display); font-size: 40px; color: var(--coral); line-height: 1; opacity: .7; margin-bottom: 6px; }
.testi-card p { color: var(--text); font-size: 15px; flex-grow: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0;
}
.testi-person b { display: block; font-size: 14px; }
.testi-person span { font-size: 12.5px; color: var(--text-faint); }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-list-2col {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 760px) {
  .faq-list-2col { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.faq-item:hover {
  border-color: rgba(62,142,255,.45);
  box-shadow: 0 0 26px rgba(62,142,255,.12), 0 8px 26px rgba(0,0,0,.35);
  transform: translateY(-3px);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--text); text-align: left;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .plus::before { left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { top: 4px; bottom: 4px; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(62,142,255,.16), rgba(139,92,255,.14) 55%, rgba(255,122,89,.12));
  border: 1px solid rgba(62,142,255,.35);
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.2vw, 36px); }
.contact-points { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point .card-icon { margin-bottom: 0; width: 40px; height: 40px; flex-shrink: 0; }
.contact-point b { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-point span { display: block; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text-muted); font-family: var(--font-display); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-family: var(--font-body); font-size: 14.5px;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }
.field-hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; text-align: center; }
.form-status { display: none; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(56,211,159,.12); border: 1px solid rgba(56,211,159,.4); color: var(--success); }
.form-status.err { background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.4); color: #FF9B9B; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint); padding-top: 130px; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Article / subpage content ---------- */
.article-hero { padding: 20px 0 60px; }
.article-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
}
.article-hero-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.article-hero-visual img {
  width: 100%; height: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(62,142,255,.25));
}
@media (max-width: 900px) {
  .article-hero .container { grid-template-columns: 1fr; }
  .article-hero-visual { order: -1; min-height: 0; }
  .article-hero-visual img { max-height: 220px; }
}
.article-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 820px; }
.article-hero .hero-lead { font-size: 17.5px; }
.article-meta { display: flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 52px; }
.prose h3 { font-size: 19px; margin-top: 30px; }
.prose p { font-size: 16px; color: var(--text-muted); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { color: var(--text-muted); margin-bottom: 8px; font-size: 16px; }
.prose strong { color: var(--text); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .card,
.prose .card:hover,
.prose .card h3,
.prose .card p,
.prose .card .card-link {
  text-decoration: none;
}
.prose .card h3 { color: var(--text); }
.prose .card p { color: var(--text-muted); }
.prose .card .card-link { color: var(--blue); }
.callout {
  background: var(--surface); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: 20px 24px; margin: 28px 0; font-size: 15px; color: var(--text-muted);
}
.callout strong { color: var(--text); }
.def-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.def-table th, .def-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); color: var(--text-muted); }
.def-table th { color: var(--text); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.glossary-list { margin: 24px 0; }
.glossary-list dt { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 16px; margin-top: 20px; }
.glossary-list dt:first-child { margin-top: 0; }
.glossary-list dd { margin: 6px 0 0; padding: 0 0 18px; color: var(--text-muted); font-size: 15px; border-bottom: 1px solid var(--border-soft); }
.glossary-list dd:last-child { border-bottom: none; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 22px 26px; margin-bottom: 40px; max-width: 400px; }
.toc b { display: block; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { font-size: 14px; margin-bottom: 8px; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--blue); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.article-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 24px; }
.side-card h4 { font-size: 15.5px; margin-bottom: 10px; }
.side-card p { font-size: 13.5px; margin-bottom: 16px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-side { position: static; } }

/* ---------- Reveal on scroll ---------- */
/* Reveal-on-scroll is progressive enhancement: content is visible by default.
   Only once main.js confirms it's running (adds .js-reveal-ready to <html>)
   do .reveal elements start hidden and animate in. This way, if JS fails to
   load/run for any reason (blocked, extension conflict, browser quirk),
   content simply stays visible instead of disappearing permanently. */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-top--nobrand { display: block; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col b { display: block; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.footer-col a:hover { color: var(--blue); }
.footer-col--brand { display: flex; flex-direction: column; min-width: 0; }
.footer-col-brand-block { margin-top: 18px; }
.footer-col-brand-block a { display: inline-block; margin: 0; }
.footer-col-brand-block img { display: inline-block; width: auto; height: 26px; margin: 0 0 12px; }
.footer-col-brand-block p { font-size: 10px; margin: 0; }
@media (max-width: 980px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--text-faint); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal button { background: none; border: none; color: var(--text-faint); font-size: 13px; padding: 0; }
.footer-legal button:hover { color: var(--blue); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,7,12,.75); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center; padding: 60px 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); z-index: 200; overflow-y: auto;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  max-width: 720px; width: 100%; padding: 40px; position: relative; max-height: 82vh;
  overflow-y: auto;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* old Edge/IE */
}
.modal-box::-webkit-scrollbar { display: none; } /* Chrome, Safari */
.modal-box h2 { font-size: 22px; }
.modal-box h3 { font-size: 16px; margin-top: 26px; }
.modal-box p, .modal-box li { font-size: 14px; color: var(--text-muted); }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive: general ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .grid-3, .grid-2, .testi-grid { grid-template-columns: 1fr; }
  .stats-band { padding: 28px; }
  .cta-banner { padding: 36px 24px; }
  .form-card { padding: 24px; }
  .footer-top { flex-direction: column; }
}
