/* ============================================================
   WEBAGENCY — Feuille de style principale
   Mobile-first approach | Breakpoints: 480 / 768 / 1024 / 1280px
   ============================================================ */

/* ===== Reset & Box-sizing ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
main, #main-content, footer, .cta-banner { position: relative; z-index: 1; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== CSS Custom Properties ===== */
:root {
  /* Colours */
  --primary:        #6c63ff;
  --primary-dark:   #574fd6;
  --primary-light:  #8b85ff;
  --accent:         #ff6584;
  --bg:             #0d0d1a;
  --surface:        #13132a;
  --surface2:       #1a1a35;
  --surface3:       #222240;
  --border:         rgba(255,255,255,.07);
  --text:           #e8e8f5;
  --muted:          #8888b0;
  --success:        #5cdb95;
  --warning:        #f9c74f;

  /* Spacing */
  --space-xs:   .5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Typography */
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fs-xs:   .78rem;
  --fs-sm:   .88rem;
  --fs-base: 1rem;
  --fs-md:   1.1rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-hero: clamp(2.2rem, 6vw, 4.6rem);

  /* Misc */
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 40px rgba(108,99,255,.18);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.3);
  --transition: .28s ease;
  --max-w:     1140px;
  --nav-h:     68px;
}

/* ===== Utility ===== */
.container     { width: min(var(--max-w), 92%); margin-inline: auto; }
.text-center   { text-align: center; }
.text-muted    { color: var(--muted); }
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ===== Typography helpers ===== */
.accent       { color: var(--primary); }
.section-label {
  display: inline-block;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.25);
  color: var(--primary-light);
  padding: .28rem .85rem;
  border-radius: 50px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: .6rem;
}
.section-sub {
  color: var(--muted);
  font-size: var(--fs-md);
  max-width: 580px;
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}
.text-center .section-sub { margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn--primary  { background: var(--primary); color: #fff; }
.btn--primary:hover  { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,99,255,.45); }
.btn--outline  { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover  { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn--ghost    { color: var(--muted); }
.btn--ghost:hover    { color: var(--text); }
.btn--sm       { padding: .5rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg       { padding: .9rem 2.1rem; font-size: var(--fs-base); }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(13,13,26,.95);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.header.scrolled { background: rgba(13,13,26,.98); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-sm);
  position: relative;
}
.header, .nav { overflow: visible; }
.nav__logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; color: #fff;
  flex-shrink: 0; text-transform: uppercase;
}

/* Mobile: hide original menu, show only on desktop */
.nav__menu {
  display: none;
}

.nav__item { position: relative; }

.nav__link {
  display: flex; align-items: center; gap: .3rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: var(--fs-base);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  width: 100%;
}
.nav__link:hover, .nav__link.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav__link .arrow { font-size: .6rem; transition: transform var(--transition); margin-left: auto; }

.nav__dropdown {
  background: var(--surface3);
  border-radius: var(--radius-sm);
  padding: .4rem;
  margin-top: .2rem;
}
.nav__dropdown a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: var(--fs-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__dropdown a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav__cta { margin-top: var(--space-sm); }
.nav__cta .btn { width: 100%; justify-content: center; }

/* Burger button */
.nav__burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Mobile overlay (generated by JS) ===== */
.mobile-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #0d0d1a;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-overlay__links {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: .3rem;
  list-style: none;
}
.mobile-overlay__links a {
  display: block;
  padding: .85rem 1rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-overlay__links a:hover { background: rgba(255,255,255,.05); }
.mobile-overlay__links .mob-sub {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-top: .2rem;
  margin-bottom: .5rem;
}
.mobile-overlay__links .mob-sub a {
  font-size: .95rem;
  color: var(--muted);
  padding: .6rem 1rem;
}
.mobile-overlay__cta {
  padding: 1.5rem;
  margin-top: auto;
}
.mobile-overlay__cta .btn { width: 100%; justify-content: center; }
.mobile-overlay__close {
  position: fixed;
  top: 0; right: 0;
  width: var(--nav-h); height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: var(--text); font-size: 1.8rem;
  cursor: pointer;
  z-index: 1000000;
}

/* ===== Tablet+ nav ===== */
@media (min-width: 900px) {
  .nav__burger { display: none; }

  .nav__menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    gap: .15rem;
    overflow: visible;
    flex: 1;
    justify-content: flex-end;
  }
  .nav__link {
    font-size: var(--fs-sm);
    padding: .5rem .8rem;
    width: auto;
  }
  .nav__link .arrow { margin-left: 0; }
  .nav__item:hover .arrow { transform: rotate(180deg); }

  /* Desktop dropdown */
  .nav__dropdown {
    display: none;
    position: absolute; top: 100%; left: 0;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .5rem;
    padding-top: calc(.5rem + 8px);
    min-width: 240px;
    box-shadow: var(--shadow-sm);
    margin-top: 0;
  }
  .nav__item:hover .nav__dropdown { display: block; }
  .nav__dropdown a { font-size: var(--fs-sm); }

  .nav__cta { margin-top: 0; margin-left: .6rem; }
  .nav__cta .btn { width: auto; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(255,101,132,.06) 0%, transparent 50%);
}
#heroCanvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.8;
}
.hero__glow {
  position: absolute; pointer-events: none;
  width: min(800px, 100vw); height: min(800px, 100vw);
  background: radial-gradient(circle, rgba(108,99,255,.2) 0%, transparent 65%);
  top: -150px; right: -200px;
}
.hero__glow2 {
  position: absolute; pointer-events: none;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,101,132,.12) 0%, transparent 65%);
  bottom: -100px; left: -100px;
}
.hero__content {
  position: relative; z-index: 2;
  padding-block: 5rem 4rem;
  max-width: 680px;
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--primary); }
.hero__desc {
  font-size: var(--fs-md);
  color: var(--muted);
  margin-bottom: var(--space-lg);
  line-height: 1.75;
  max-width: 520px;
}
.hero__btns { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: var(--space-xl);
}
.stat__num { font-size: 1.9rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat__label { font-size: var(--fs-xs); color: var(--muted); margin-top: .2rem; }

/* ===== SECTIONS ===== */
.section        { padding-block: var(--space-2xl); }
.section--sm    { padding-block: var(--space-xl); }
.section--alt   { background: var(--surface); }
.section--alt2  { background: var(--surface2); }

/* ===== GRIDS ===== */
/* Mobile: 1 col → Tablet: 2 cols → Desktop: 3 cols */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ===== CARDS ===== */
.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(108,99,255,.25); }
.card__icon  { margin-bottom: 1rem; color: var(--accent); }
.card__icon svg { width: 32px; height: 32px; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.card__title svg { display: inline-block; vertical-align: middle; width: 20px; height: 20px; margin-right: 4px; color: var(--accent); }
.card__text  { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.card__link  {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--primary); font-size: var(--fs-sm); font-weight: 600;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.card__link:hover { gap: .65rem; }

.card--service { border-top: 3px solid var(--primary); }
.card--service:hover { border-top-color: var(--accent); }

/* Horizontal card variant (service listing) */
.card--h {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.card--h .card__icon-wrap {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(108,99,255,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__visual { order: -1; }
}
.split__visual { display: flex; justify-content: center; align-items: center; }
.split__blob {
  width: min(320px, 80vw); height: min(320px, 80vw);
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(108,99,255,.12) 0%, transparent 60%), radial-gradient(circle at 70% 70%, rgba(255,101,132,.08) 0%, transparent 60%), var(--dark);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(108,99,255,.2);
  box-shadow: 0 0 40px rgba(108,99,255,.1), inset 0 0 60px rgba(0,0,0,.3);
}
.split__blob::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}
.split__blob::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--primary) 3px, transparent 3px),
    radial-gradient(circle at 50% 15%, var(--accent) 2px, transparent 2px),
    radial-gradient(circle at 80% 45%, var(--primary) 3px, transparent 3px),
    radial-gradient(circle at 35% 70%, var(--accent) 2px, transparent 2px),
    radial-gradient(circle at 65% 80%, var(--primary) 2px, transparent 2px),
    radial-gradient(circle at 15% 55%, var(--accent) 3px, transparent 3px),
    radial-gradient(circle at 85% 20%, var(--primary) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, var(--accent) 4px, transparent 4px);
  animation: nodePulse 3s ease-in-out infinite alternate;
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
@keyframes nodePulse {
  0% { opacity: .5; filter: blur(0px); }
  100% { opacity: 1; filter: blur(1px); }
}
/* Floating data lines inside blob */
.split__blob .deco-line {
  position: absolute; height: 1px; opacity: .4;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: dataFlow 4s linear infinite;
}
.split__blob .deco-line:nth-child(1) { width: 60%; top: 25%; left: 10%; animation-delay: 0s; }
.split__blob .deco-line:nth-child(2) { width: 40%; top: 50%; left: 30%; animation-delay: 1.5s; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.split__blob .deco-line:nth-child(3) { width: 55%; top: 72%; left: 15%; animation-delay: 3s; }
@keyframes dataFlow {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { opacity: .6; }
  100% { opacity: 0; transform: translateX(20px); }
}
/* ===== Code Window Effect ===== */
.code-window {
  width: min(380px, 85vw);
  height: min(340px, 80vw);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(108,99,255,.3);
  box-shadow: 0 0 40px rgba(108,99,255,.15), 0 20px 60px rgba(0,0,0,.4);
  background: #0d1117;
  font-family: 'Courier New', Consolas, monospace;
}
.code-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid rgba(108,99,255,.15);
}
.code-window__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.code-window__dot--red { background: #ff5f57; }
.code-window__dot--yellow { background: #febc2e; }
.code-window__dot--green { background: #28c840; }
.code-window__bar-title {
  margin-left: 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .5px;
}
.code-window__body {
  height: calc(100% - 38px);
  overflow: hidden;
  position: relative;
}
.code-window__body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, #0d1117);
  pointer-events: none;
  z-index: 2;
}
.code-window__body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 20px;
  background: linear-gradient(#0d1117, transparent);
  pointer-events: none;
  z-index: 2;
}
.code-scroll {
  height: 100%;
  overflow: hidden;
}
.code-scroll__inner {
  animation: codeScroll 12s linear infinite;
}
.code-scroll__inner pre {
  margin: 0;
  padding: 16px;
  font-size: .75rem;
  line-height: 1.7;
  color: #e6edf3;
  white-space: pre;
}
.code-scroll__inner code {
  font-family: inherit;
}
/* Syntax highlighting */
.code-scroll__inner s {
  text-decoration: none;
  color: #ff7b72;
  font-style: normal;
}
.code-scroll__inner v {
  color: #a5d6ff;
  font-style: normal;
}
.code-scroll__inner f {
  color: #d2a8ff;
  font-style: normal;
}
.code-scroll__inner c {
  color: #8b949e;
  font-style: italic;
}
.code-scroll__inner k {
  color: #79c0ff;
  font-style: normal;
}
@keyframes codeScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.split__text .section-sub { margin-bottom: var(--space-md); }

/* ===== 3D Figure 8 ===== */
.eight-3d {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}
.eight-3d__shape {
  position: relative;
  width: 120px;
  height: 240px;
  animation: eight3dSpin 4s linear infinite;
  transform-style: preserve-3d;
}
.eight-3d__ring {
  position: absolute;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  border-radius: 50%;
  border: 4px solid transparent;
  box-sizing: border-box;
  transform-style: preserve-3d;
}
.eight-3d__ring--top {
  top: 0;
  border-color: var(--primary);
  box-shadow:
    0 0 15px rgba(108,99,255,.5),
    0 0 40px rgba(108,99,255,.2),
    inset 0 0 15px rgba(108,99,255,.15);
}
.eight-3d__ring--bottom {
  bottom: 0;
  border-color: var(--accent);
  box-shadow:
    0 0 15px rgba(255,101,132,.5),
    0 0 40px rgba(255,101,132,.2),
    inset 0 0 15px rgba(255,101,132,.15);
}
/* Add depth with pseudo-elements */
.eight-3d__ring::before,
.eight-3d__ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
}
.eight-3d__ring--top::before {
  border-color: rgba(108,99,255,.3);
  transform: translateZ(15px);
}
.eight-3d__ring--top::after {
  border-color: rgba(108,99,255,.3);
  transform: translateZ(-15px);
}
.eight-3d__ring--bottom::before {
  border-color: rgba(255,101,132,.3);
  transform: translateZ(15px);
}
.eight-3d__ring--bottom::after {
  border-color: rgba(255,101,132,.3);
  transform: translateZ(-15px);
}
@keyframes eight3dSpin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* ===== Laptop with building sites ===== */
.laptop {
  width: min(340px, 85vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.laptop__screen {
  width: 100%;
  aspect-ratio: 16/10;
  background: #111;
  border-radius: 10px 10px 0 0;
  border: 3px solid #333;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(108,99,255,.15);
}
.laptop__content {
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.laptop__base {
  width: 115%;
  height: 12px;
  background: linear-gradient(180deg, #444, #2a2a2a);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.laptop__base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #555;
  border-radius: 0 0 4px 4px;
}

/* Site cycling */
.laptop__site {
  position: absolute;
  inset: 0;
  padding: 8px;
  opacity: 0;
  animation: siteCycle 12s infinite;
}
.laptop__site--1 { animation-delay: 0s; background: #f8f9fa; }
.laptop__site--2 { animation-delay: 4s; background: #1a1a2e; }
.laptop__site--3 { animation-delay: 8s; background: #fff5f0; }

@keyframes siteCycle {
  0%     { opacity: 0; }
  3%     { opacity: 1; }
  30%    { opacity: 1; }
  33.33% { opacity: 0; }
  100%   { opacity: 0; }
}

/* Mini site elements - building animation */
.ls-nav {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  background: #fff;
  border-bottom: 1px solid #eee;
  border-radius: 3px 3px 0 0;
  animation: buildIn .4s ease both;
}
.ls-nav--dark { background: #1e1e3a; border-color: #2a2a4a; }
.ls-nav--accent { background: #6c63ff; border-color: #574fd6; }
.ls-logo {
  width: 20px; height: 6px;
  background: #6c63ff;
  border-radius: 2px;
  animation: buildIn .3s .1s ease both;
}
.ls-nav--dark .ls-logo { background: #8b85ff; }
.ls-nav--accent .ls-logo { background: #fff; }
.ls-link {
  width: 14px; height: 3px;
  background: #ccc;
  border-radius: 1px;
  animation: buildIn .3s ease both;
}
.ls-link:nth-child(2) { animation-delay: .2s; }
.ls-link:nth-child(3) { animation-delay: .3s; }
.ls-link:nth-child(4) { animation-delay: .4s; }
.ls-nav--dark .ls-link { background: #444; }
.ls-nav--accent .ls-link { background: rgba(255,255,255,.5); }

.ls-hero {
  padding: 12px 8px;
  text-align: center;
  animation: buildIn .5s .3s ease both;
}
.ls-title {
  width: 60%; height: 8px;
  background: #333;
  border-radius: 2px;
  margin: 0 auto 6px;
  animation: buildIn .4s .5s ease both;
}
.ls-subtitle {
  width: 80%; height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 0 auto 8px;
  animation: buildIn .4s .6s ease both;
}
.ls-btn {
  width: 40px; height: 10px;
  background: #6c63ff;
  border-radius: 3px;
  margin: 0 auto;
  animation: buildIn .3s .8s ease both;
}
.ls-btn--accent { background: #ff6584; }

.ls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px 8px;
  animation: buildIn .5s 1s ease both;
}
.ls-grid--2 { grid-template-columns: 1fr 1fr; }
.ls-card {
  height: 30px;
  background: #e8e8f0;
  border-radius: 3px;
  border: 1px solid #ddd;
  animation: buildIn .3s ease both;
}
.ls-card:nth-child(1) { animation-delay: 1.1s; }
.ls-card:nth-child(2) { animation-delay: 1.3s; }
.ls-card:nth-child(3) { animation-delay: 1.5s; }
.ls-card--tall { height: 45px; }

/* Site 2 specific */
.ls-split {
  display: flex; gap: 6px;
  padding: 8px;
  animation: buildIn .5s .3s ease both;
}
.ls-img {
  width: 45%; aspect-ratio: 1;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  border-radius: 4px;
  animation: buildIn .4s .5s ease both;
}
.ls-text { flex: 1; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.ls-line {
  width: 90%; height: 4px;
  background: #444;
  border-radius: 2px;
  animation: buildIn .3s .7s ease both;
}
.ls-line--short { width: 55%; }
.ls-text .ls-title { width: 80%; margin: 0 0 4px; background: #eee; }
.ls-text .ls-btn { margin: 4px 0 0; }

/* Site 2 dark theme cards */
.laptop__site--2 .ls-card { background: #2a2a4a; border-color: #3a3a5a; }

/* Site 3 shop */
.ls-shop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px 8px;
  animation: buildIn .5s .3s ease both;
}
.ls-product {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f0e6ff 60%, #fff 60%);
  border-radius: 4px;
  border: 1px solid #e8ddf5;
  animation: buildIn .3s ease both;
}
.ls-product:nth-child(1) { animation-delay: .5s; }
.ls-product:nth-child(2) { animation-delay: .7s; }
.ls-product:nth-child(3) { animation-delay: .9s; }
.ls-product:nth-child(4) { animation-delay: 1.1s; }
.ls-footer {
  margin-top: 5px;
  height: 12px;
  background: #6c63ff;
  border-radius: 0 0 3px 3px;
  animation: buildIn .3s 1.3s ease both;
}

@keyframes buildIn {
  from { opacity: 0; transform: translateY(6px) scaleY(0.5); }
  to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* ===== Challenge Before/After ===== */
.challenge-effect {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(380px, 90vw);
}
.challenge-before, .challenge-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ch-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ff4444;
  text-transform: uppercase;
}
.ch-label--success { color: var(--success); }
.challenge-arrow {
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: .5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* Old broken site */
.ch-screen {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  padding: 4px;
}
.ch-screen--old {
  background: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(255,50,50,.1);
}
.ch-old-nav {
  height: 8px;
  background: #2a2a2a;
  border-radius: 2px;
  margin-bottom: 4px;
}
.ch-old-hero {
  display: flex; gap: 4px;
  margin-bottom: 4px;
}
.ch-old-img {
  width: 45%;
  aspect-ratio: 1;
  background: #2a2a2a;
  border-radius: 2px;
}
.ch-broken {
  position: relative;
  overflow: hidden;
}
.ch-broken::after {
  content: '✕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4444;
  font-size: .7rem;
  background: rgba(255,50,50,.08);
}
.ch-old-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.ch-old-line {
  height: 3px;
  background: #333;
  border-radius: 1px;
}
.ch-old-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 6px;
}
.ch-old-block {
  height: 22px;
  background: #222;
  border-radius: 2px;
  border: 1px solid #2a2a2a;
}
.ch-loading {
  height: 3px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.ch-loading__bar {
  width: 30%;
  height: 100%;
  background: #ff4444;
  border-radius: 2px;
  animation: loadingSlow 3s ease-in-out infinite;
}
@keyframes loadingSlow {
  0% { width: 0; }
  80% { width: 30%; }
  100% { width: 35%; }
}
.ch-score {
  position: absolute;
  bottom: 6px; right: 6px;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}
.ch-score--bad {
  background: rgba(255,50,50,.2);
  color: #ff4444;
  animation: scoreBlink 2s infinite;
}
@keyframes scoreBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* New modern site */
.ch-screen--new {
  background: #0d0d1a;
  border: 1px solid rgba(108,99,255,.3);
  box-shadow: 0 4px 20px rgba(108,99,255,.15);
  animation: newSiteGlow 3s ease-in-out infinite alternate;
}
@keyframes newSiteGlow {
  0% { box-shadow: 0 4px 20px rgba(108,99,255,.1); }
  100% { box-shadow: 0 4px 30px rgba(108,99,255,.25); }
}
.ch-new-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-bottom: 1px solid rgba(108,99,255,.15);
}
.ch-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: block;
}
.ch-new-link {
  width: 12px; height: 2px;
  background: rgba(255,255,255,.2);
  border-radius: 1px;
}
.ch-new-hero {
  display: flex;
  gap: 4px;
  padding: 6px 4px;
}
.ch-new-img {
  width: 45%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 3px;
  animation: imgShimmer 3s ease-in-out infinite alternate;
}
@keyframes imgShimmer {
  0% { opacity: .7; }
  100% { opacity: 1; }
}
.ch-new-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.ch-new-line {
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 1px;
}
.ch-new-line--sub {
  background: rgba(255,255,255,.1);
}
.ch-new-btn {
  width: 28px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 2px;
}
.ch-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 4px 4px;
}
.ch-new-card {
  height: 26px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.15);
  border-radius: 3px;
}
.ch-score--good {
  background: rgba(92,219,149,.15);
  color: var(--success);
}
.ch-lighthouse {
  position: absolute;
  bottom: 6px; left: 6px;
  font-size: .6rem;
  font-weight: 800;
  color: var(--success);
  background: rgba(92,219,149,.12);
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
}
.ch-lighthouse small {
  font-size: .45rem;
  opacity: .7;
}

@media (max-width: 480px) {
  .challenge-effect { flex-direction: column; }
  .challenge-arrow { transform: rotate(90deg); }
}

/* ===== Evolution Timeline ===== */
.evo-timeline {
  width: min(300px, 80vw);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
}
.evo-line {
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--border);
  overflow: hidden;
}
.evo-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  animation: evoLineGrow 4s ease-out forwards;
}
@keyframes evoLineGrow {
  to { height: 100%; }
}
.evo-step {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateX(-10px);
  animation: evoStepIn .5s ease forwards;
}
.evo-step--1 { animation-delay: .2s; }
.evo-step--2 { animation-delay: .9s; }
.evo-step--3 { animation-delay: 1.6s; }
.evo-step--4 { animation-delay: 2.3s; }
.evo-step--5 { animation-delay: 3s; }
@keyframes evoStepIn {
  to { opacity: 1; transform: translateX(0); }
}
.evo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 12px rgba(108,99,255,.2);
}
.evo-icon--accent {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(255,101,132,.3);
  animation: evoGlow 2s ease-in-out infinite alternate;
}
@keyframes evoGlow {
  0% { box-shadow: 0 0 12px rgba(255,101,132,.2); }
  100% { box-shadow: 0 0 24px rgba(255,101,132,.45); }
}
.evo-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.evo-tag {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .5px;
}
.evo-tag--accent { color: var(--accent); }
.evo-bar {
  width: 100%;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}
.evo-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  animation: evoBarGrow 1s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}
.evo-step--1 .evo-fill { animation-delay: .5s; }
.evo-step--2 .evo-fill { animation-delay: 1.2s; }
.evo-step--3 .evo-fill { animation-delay: 1.9s; }
.evo-step--4 .evo-fill { animation-delay: 2.6s; }
.evo-step--5 .evo-fill { animation-delay: 3.3s; }
@keyframes evoBarGrow {
  to { transform: scaleX(1); }
}
.evo-fill--full {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ===== Palette Burst ===== */
.palette-burst {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center palette wheel */
.palette-center {
  position: relative;
  width: 100px;
  height: 100px;
  animation: paletteSpin 12s linear infinite;
}
.palette-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.palette-seg {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0; left: 50%;
  transform-origin: 0% 100%;
  transform: rotate(var(--r));
  background: var(--c);
}
.palette-hole {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--bg);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 10px rgba(0,0,0,.3);
  z-index: 1;
}
@keyframes paletteSpin {
  to { transform: rotate(360deg); }
}

/* Paint drops bursting out */
.paint-drop {
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: var(--c);
  border-radius: 50% 50% 50% 0;
  transform: translate(0, 0) rotate(45deg) scale(0);
  animation: dropBurst 3s ease-in-out var(--d) infinite;
  box-shadow: 0 0 10px var(--c);
}
@keyframes dropBurst {
  0% { transform: translate(0, 0) rotate(45deg) scale(0); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translate(var(--x), var(--y)) rotate(45deg) scale(1); opacity: .9; }
  70% { transform: translate(calc(var(--x) * 1.15), calc(var(--y) * 1.15)) rotate(45deg) scale(.7); opacity: .5; }
  100% { transform: translate(calc(var(--x) * 1.3), calc(var(--y) * 1.3)) rotate(45deg) scale(0); opacity: 0; }
}

/* Paint splashes - larger irregular shapes */
.paint-splash {
  position: absolute;
  width: 22px; height: 8px;
  background: var(--c);
  border-radius: 40%;
  transform: translate(0, 0) scale(0);
  animation: splashBurst 3.5s ease-out var(--d) infinite;
  opacity: 0;
  filter: blur(.5px);
}
@keyframes splashBurst {
  0% { transform: translate(0, 0) scale(0) rotate(0deg); opacity: 0; }
  15% { opacity: .7; }
  50% { transform: translate(var(--x), var(--y)) scale(1) rotate(180deg); opacity: .6; }
  100% { transform: translate(calc(var(--x) * 1.4), calc(var(--y) * 1.4)) scale(0) rotate(360deg); opacity: 0; }
}

/* Brush strokes */
.brush-stroke {
  position: absolute;
  width: 80px; height: 6px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  border-radius: 3px;
  transform: translateY(var(--y)) rotate(var(--r)) scaleX(0);
  animation: brushSwipe 4s ease-in-out var(--d) infinite;
  opacity: 0;
}
@keyframes brushSwipe {
  0% { transform: translateY(var(--y)) rotate(var(--r)) scaleX(0); opacity: 0; }
  20% { opacity: .6; }
  50% { transform: translateY(var(--y)) rotate(var(--r)) scaleX(1); opacity: .5; }
  80% { opacity: .2; }
  100% { transform: translateY(var(--y)) rotate(var(--r)) scaleX(0); opacity: 0; }
}

/* ===== SEO Laptop - Google ranking climb ===== */
.seo-laptop {
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seo-laptop__screen {
  width: 100%;
  aspect-ratio: 16/11;
  background: #111;
  border-radius: 10px 10px 0 0;
  border: 3px solid #333;
  border-bottom: none;
  overflow: hidden;
  position: relative;
}
.seo-laptop__content {
  position: absolute;
  inset: 5px;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.seo-laptop__base {
  width: 115%;
  height: 12px;
  background: linear-gradient(180deg, #444, #2a2a2a);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.seo-laptop__base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #555;
  border-radius: 0 0 4px 4px;
}

/* Google search bar */
.seo-search {
  padding: 6px 8px 4px;
  text-align: center;
}
.seo-search__logo {
  font-size: .55rem;
  letter-spacing: -.5px;
  margin-bottom: 4px;
}
.seo-search__bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 3px 8px;
  margin-bottom: 2px;
}
.seo-search__text {
  flex: 1;
  font-size: .45rem;
  color: #333;
  text-align: left;
}
.seo-search__icon {
  font-size: .45rem;
}
.seo-search__info {
  font-size: .35rem;
  color: #999;
  text-align: left;
  padding-left: 2px;
}

/* Search results */
.seo-results {
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-result {
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.seo-result__url {
  width: 50%;
  height: 2px;
  background: #28a745;
  border-radius: 1px;
  margin-bottom: 2px;
}
.seo-result__title {
  width: 75%;
  height: 4px;
  background: #1a0dab;
  border-radius: 1px;
  margin-bottom: 2px;
}
.seo-result__desc {
  width: 90%;
  height: 2px;
  background: #e0e0e0;
  border-radius: 1px;
}

/* Agency result - highlighted */
.seo-result--agency {
  background: rgba(108,99,255,.06);
  border-radius: 4px;
  padding: 5px;
  border: 1px solid rgba(108,99,255,.2);
  border-bottom: 1px solid rgba(108,99,255,.2);
  animation: seoClimb 6s ease-in-out infinite;
}
.seo-result__url--agency {
  width: auto;
  height: auto;
  background: none;
  font-size: .4rem;
  color: #28a745;
  font-weight: 600;
}
.seo-result__title--agency {
  width: auto;
  height: auto;
  background: none;
  font-size: .5rem;
  color: #6c63ff;
  font-weight: 700;
}
.seo-result__desc--agency {
  width: 85%;
  height: 2px;
  background: #ccc;
}
.seo-result__stars {
  font-size: .4rem;
  color: #fbbc05;
  margin-top: 2px;
}

/* Climbing animation */
@keyframes seoClimb {
  0%, 5% { transform: translateY(0); }
  25% { transform: translateY(-12px); }
  50% { transform: translateY(-24px); }
  75%, 100% { transform: translateY(-36px); }
}

/* Competitors fade as agency climbs */
.seo-result--competitor:nth-child(1) { animation: compFade 6s ease-in-out infinite; animation-delay: 2.5s; }
.seo-result--competitor:nth-child(2) { animation: compFade 6s ease-in-out infinite; animation-delay: 1.5s; }
.seo-result--competitor:nth-child(3) { animation: compFade 6s ease-in-out infinite; animation-delay: .5s; }
@keyframes compFade {
  0%, 20% { opacity: 1; transform: translateY(0); }
  40%, 100% { opacity: .4; transform: translateY(10px); }
}

/* Position badge */
.seo-position {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: .6rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 1px;
  box-shadow: 0 2px 10px rgba(108,99,255,.4);
  animation: posCount 6s ease-in-out infinite;
}
.seo-position__hash { font-size: .45rem; opacity: .7; }
.seo-position__num { font-size: .7rem; }
@keyframes posCount {
  0%, 5%   { content: '10'; }
  25%      { background: #8b85ff; }
  50%      { background: #34a853; }
  75%, 100% { background: #34a853; box-shadow: 0 2px 14px rgba(52,168,83,.5); }
}

/* ===== Eye follows mouse ===== */
.eye-container {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(108,99,255,.08) 0%, transparent 60%);
  border-radius: 50%;
}
.eye {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 40% 35%, #f0f0ff, #c8c8e8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 0 6px #1a1a35,
    0 0 0 10px rgba(108,99,255,.3),
    0 0 40px rgba(108,99,255,.2),
    inset 0 8px 20px rgba(0,0,0,.15);
  overflow: hidden;
}
.eye::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.4), transparent 60%);
  pointer-events: none;
  z-index: 3;
}
.eye__iris {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #8b7dff, #4a3fbf, #2a1f8f);
  position: relative;
  transition: transform .08s ease-out;
  box-shadow: inset 0 0 20px rgba(0,0,0,.4);
}
.eye__pupil {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle at 45% 40%, #1a1a2e, #000);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.eye__reflect {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  position: absolute;
  top: 25%;
  left: 30%;
  z-index: 2;
  filter: blur(.5px);
}
.eye__reflect::after {
  content: '';
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  position: absolute;
  bottom: -12px;
  right: -8px;
}

/* ===== CHECKLIST ===== */
.checklist { display: flex; flex-direction: column; gap: .55rem; margin-bottom: var(--space-md); }
.checklist li {
  display: flex; align-items: flex-start; gap: .7rem;
  color: var(--muted); font-size: var(--fs-sm); line-height: 1.5;
}
.checklist li::before {
  content: '✓'; color: var(--success); font-weight: 700;
  flex-shrink: 0; margin-top: .05rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column;
}
.testimonial__stars { color: var(--warning); font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial__quote {
  font-size: var(--fs-sm); color: var(--muted);
  line-height: 1.75; margin-bottom: 1.25rem;
  font-style: italic; flex: 1;
}
.testimonial__author { font-weight: 700; font-size: var(--fs-sm); }
.testimonial__role   { color: var(--muted); font-size: var(--fs-xs); }
.testimonial__company { color: var(--primary); font-size: var(--fs-xs); font-weight: 600; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border: 1px solid rgba(108,99,255,.2);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.cta-banner h2  { font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.cta-banner p   { color: var(--muted); margin-bottom: 1.75rem; max-width: 520px; margin-inline: auto; }
.cta-banner__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== STATS BAND ===== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px)  { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stats-band .stat__num   { font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.stats-band .stat__label { color: var(--muted); font-size: var(--fs-sm); margin-top: .3rem; }

/* ===== PARTNERS ===== */
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
}
.partner-badge {
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1.3rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ===== TRUST SIGNALS ===== */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  padding: 1.25rem 0;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: var(--muted); font-weight: 500;
}
.trust-item span { font-size: .9rem; }

/* ===== BLOG CARDS ===== */
.blog-card { display: flex; flex-direction: column; }
.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--surface3), var(--surface2));
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.blog-card__img svg { width: 48px; height: 48px; }
.blog-card__body {
  padding: 1.5rem; flex: 1;
  display: flex; flex-direction: column;
}
.blog-card__meta { color: var(--muted); font-size: var(--fs-xs); margin-bottom: .6rem; }
.blog-card__meta .tag { color: var(--primary); font-weight: 600; }
.blog-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.35; }
.blog-card__excerpt { color: var(--muted); font-size: var(--fs-sm); flex: 1; line-height: 1.65; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .65rem; max-width: 800px; margin-inline: auto; }
.faq-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item__q {
  width: 100%; background: none; border: none; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.4rem;
  font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer; text-align: left;
  transition: background var(--transition);
  gap: .75rem;
}
.faq-item__q:hover { background: rgba(255,255,255,.03); }
.faq-item__icon {
  color: var(--primary); font-size: 1.25rem;
  transition: transform var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--muted); font-size: var(--fs-sm); line-height: 1.75;
}
.faq-item.open .faq-item__a { max-height: 600px; padding: 0 1.4rem 1.25rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.6fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: .9rem; }
.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(108,99,255,.15); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item__label { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: .2rem; }
.contact-item__value { font-weight: 600; font-size: var(--fs-sm); }

/* ===== FORM ===== */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__group { display: flex; flex-direction: column; gap: .35rem; }
.form__group label {
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
}
input, textarea, select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .82rem 1.05rem;
  font-size: var(--fs-sm);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 130px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238888b0' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
select option { background: var(--surface2); }
.form__feedback { color: var(--success); font-size: var(--fs-sm); min-height: 1.2em; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.page-hero__glow {
  position: absolute; pointer-events: none;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,.18) 0%, transparent 65%);
  top: -100px; right: -100px;
}
.page-hero .section-sub { margin-bottom: 1.75rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
  color: var(--muted); font-size: var(--fs-xs); margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__sep { opacity: .4; }
.breadcrumb .current { color: var(--primary); }

/* ===== STEP CARDS ===== */
.step-card { position: relative; padding-top: 3rem; }
.step-card__num {
  position: absolute; top: 1.2rem; left: 1.6rem;
  font-size: var(--fs-xs); font-weight: 800; color: var(--primary);
  letter-spacing: 1px; text-transform: uppercase;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.pricing-card--featured {
  border-color: rgba(108,99,255,.4);
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(-6px);
}
@media (max-width: 639px) { .pricing-card--featured { transform: none; } }
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .5px;
  padding: .28rem .9rem; border-radius: 50px;
  white-space: nowrap;
}
.pricing-card__tier  { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: .65rem; }
.pricing-card__price { font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: .3rem; }
.pricing-card__price span { font-size: var(--fs-base); font-weight: 400; color: var(--muted); }
.pricing-card__desc  { color: var(--muted); font-size: var(--fs-xs); margin-bottom: 1.4rem; }
.pricing-card .checklist { flex: 1; margin-bottom: 1.5rem; }
.pricing-card .btn { justify-content: center; }

/* ===== TEAM CARDS ===== */
.team-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card__avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.team-card__avatar svg { width: 36px; height: 36px; }
.team-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.team-card__role { color: var(--primary); font-size: var(--fs-xs); font-weight: 600; margin-bottom: .65rem; letter-spacing: .3px; }
.team-card__bio  { color: var(--muted); font-size: var(--fs-xs); line-height: 1.65; }
.team-card__certs { margin-top: .85rem; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.cert-badge {
  background: rgba(108,99,255,.12); border: 1px solid rgba(108,99,255,.2);
  color: var(--primary-light); font-size: .7rem; font-weight: 700;
  padding: .18rem .6rem; border-radius: 50px;
}

/* ===== RICH TEXT CONTENT ===== */
.rich-content h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-block: 2rem 1rem; }
.rich-content h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); margin-block: 1.5rem .75rem; color: var(--primary-light); }
.rich-content p  { color: var(--muted); margin-bottom: .9rem; line-height: 1.8; font-size: var(--fs-sm); }
.rich-content ul { margin-bottom: .9rem; padding-left: 1.2rem; }
.rich-content ul li { color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; list-style: disc; margin-bottom: .35rem; }
.rich-content strong { color: var(--text); font-weight: 600; }
.rich-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ===== INLINE LINKS / CTA ===== */
.inline-cta {
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.18);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-block: 2rem;
}
.inline-cta p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ===== RELATED SERVICES ===== */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }
.related-card {
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; gap: .75rem;
  transition: border-color var(--transition), background var(--transition);
}
.related-card:hover { border-color: rgba(108,99,255,.3); background: var(--surface2); }
.related-card__icon { flex-shrink: 0; color: var(--accent); }
.related-card__icon svg { width: 22px; height: 22px; }
.related-card__title { font-size: var(--fs-sm); font-weight: 600; }
.related-card__desc { font-size: var(--fs-xs); color: var(--muted); margin-top: .25rem; }

/* ===== FOOTER ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: var(--space-xl); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: var(--space-xl);
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer__logo { font-size: 1.25rem; font-weight: 800; margin-bottom: .75rem; }
.footer__logo span { color: var(--primary); }
.footer__desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.footer__title { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a { color: var(--muted); font-size: var(--fs-sm); transition: color var(--transition); }
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: var(--fs-xs);
  flex-wrap: wrap; gap: .75rem;
}
.footer__bottom a { color: var(--muted); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--text); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MISC HELPERS ===== */
.divider { border: none; border-top: 1px solid var(--border); margin-block: 3rem; }
.badge-green  { background: rgba(92,219,149,.12); color: var(--success); border: 1px solid rgba(92,219,149,.25); border-radius: 50px; padding: .2rem .7rem; font-size: var(--fs-xs); font-weight: 700; }
.notice-box {
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
}

/* ===== PRINT ===== */
@media print {
  .header, .nav__burger, .cta-banner, .footer { display: none; }
  body { background: #fff; color: #000; }
  .page-hero { padding-top: 1rem; }
}
