/* =========================================================
   Simplr Flows — styles.css
   Dark, premium AI-agency aesthetic with purple brand gradient
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand gradient (from the logo) */
  --violet-bright: #A533FA;
  --violet:        #7720C5;
  --indigo-deep:   #400C8A;
  --purple-darkest:#3D0874;
  --brand-gradient: linear-gradient(135deg, #A533FA 0%, #7720C5 50%, #400C8A 100%);

  /* Dark UI theme (default) */
  --bg:       #0A0712;
  --bg-2:     #0E0A1A;
  --surface:  #160E2A;
  --surface-2:#1C1336;
  --border:   #2A2140;
  --text:     #F5F3FA;
  --muted:    #B7AED0; /* nudged lighter than spec for AA contrast on dark */
  --accent:   #A533FA;

  --glow: rgba(165, 51, 250, 0.35);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;

  --shadow-card: 0 10px 40px -12px rgba(0,0,0,0.6);
  --shadow-glow: 0 12px 50px -10px var(--glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light mode (toggle) */
html[data-theme="light"] {
  --bg:       #F6F4FB;
  --bg-2:     #EEEAF8;
  --surface:  #FFFFFF;
  --surface-2:#F3F0FB;
  --border:   #E2DBF2;
  --text:     #160E2A;
  --muted:    #5A5172;
  --glow: rgba(165, 51, 250, 0.22);
  --shadow-card: 0 10px 40px -16px rgba(64, 12, 138, 0.25);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: hidden; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--violet);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 12px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(165,51,250,0.16), rgba(64,12,138,0.10));
  backdrop-filter: blur(6px);
}
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--alt { background: color-mix(in srgb, var(--bg-2) 82%, transparent); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 18px; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  background-size: 180% 180%;
  box-shadow: 0 8px 26px -8px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px var(--glow);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 180% 50%; }
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--violet-bright); transform: translateY(-2px); box-shadow: 0 10px 30px -14px var(--glow); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Animated page background ---------- */
.bg-animate {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(119,32,197,0.18), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(64,12,138,0.16), transparent 60%);
}
.bg-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.bg-blob--1 {
  width: 48vw; height: 48vw; min-width: 360px; min-height: 360px;
  top: -12%; left: -8%;
  background: radial-gradient(circle, var(--violet-bright), transparent 64%);
  opacity: 0.35;
  animation: drift-1 28s ease-in-out infinite;
}
.bg-blob--2 {
  width: 44vw; height: 44vw; min-width: 340px; min-height: 340px;
  top: 24%; right: -14%;
  background: radial-gradient(circle, var(--indigo-deep), transparent 64%);
  opacity: 0.32;
  animation: drift-2 34s ease-in-out infinite;
}
.bg-blob--3 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  bottom: -16%; left: 18%;
  background: radial-gradient(circle, var(--violet), transparent 64%);
  opacity: 0.30;
  animation: drift-3 31s ease-in-out infinite;
}
.bg-blob--4 {
  width: 30vw; height: 30vw; min-width: 260px; min-height: 260px;
  top: 50%; left: 42%;
  background: radial-gradient(circle, var(--violet-bright), transparent 64%);
  opacity: 0.22;
  animation: drift-4 38s ease-in-out infinite;
}
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(165,51,250,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165,51,250,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%);
  animation: grid-pan 40s linear infinite;
}
.bg-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}
html[data-theme="light"] .bg-animate { opacity: 0.7; }
@keyframes drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-7vw, 5vh, 0) scale(1.08); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(5vw, -6vh, 0) scale(1.15); }
}
@keyframes drift-4 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-5vw, -4vh, 0) scale(0.9); }
}
@keyframes grid-pan {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}

/* ---------- Floating background orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--violet-bright), transparent 65%); top: -120px; right: -80px; }
.orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, var(--indigo-deep), transparent 65%); bottom: -180px; left: -140px; opacity: 0.45; }
.orb--3 { width: 360px; height: 360px; background: radial-gradient(circle, var(--violet), transparent 65%); top: 40%; left: 45%; opacity: 0.3; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 50px; width: auto; }
.site-header.scrolled .brand img { height: 42px; transition: height .3s var(--ease); }
.footer-brand .brand img { height: 56px; }
.brand .wordmark { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.brand .wordmark b { font-weight: 700; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 0.96rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand-gradient); transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
/* The nav's inline CTA exists only for the mobile dropdown; hide it on desktop
   so it doesn't duplicate the CTA in the header actions. */
.nav .header-actions .btn { display: none; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); display: grid; place-items: center;
  transition: border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--violet-bright); transform: translateY(-1px); }
.theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .sun { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: block; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 90px));
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 75% -10%, rgba(119,32,197,0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 30%, rgba(64,12,138,0.22), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(165,51,250,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165,51,250,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.05rem, 7.5vw, 4.6rem); margin: 22px 0 0; overflow-wrap: break-word; }
.hero .subhead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.25rem); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 30px; color: var(--muted); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.hero-trust .stars { color: #FFC861; letter-spacing: 2px; }

/* Hero floating visual */
.hero-visual { position: relative; height: 440px; }
.float-card {
  position: absolute;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: bob 6s ease-in-out infinite;
  will-change: transform;
}
.float-card .fc-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-gradient); color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow);
}
.float-card .fc-title { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.float-card .fc-sub { color: var(--muted); font-size: 0.82rem; }
.float-card--a { top: 12%; left: 2%; animation-delay: 0s; }
.float-card--b { top: 44%; right: 0%; animation-delay: 1.2s; }
.float-card--c { bottom: 6%; left: 14%; animation-delay: 2.1s; }
.hero-blob {
  position: absolute; inset: 12% 18%;
  background: var(--brand-gradient);
  border-radius: 42% 58% 56% 44% / 50% 44% 56% 50%;
  filter: blur(8px); opacity: 0.55;
  animation: morph 12s ease-in-out infinite, bob 8s ease-in-out infinite;
  box-shadow: 0 0 90px 10px var(--glow);
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes morph {
  0%,100% { border-radius: 42% 58% 56% 44% / 50% 44% 56% 50%; }
  50% { border-radius: 58% 42% 40% 60% / 44% 56% 44% 56%; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .mouse {
  width: 22px; height: 36px; border: 2px solid var(--border); border-radius: 12px; position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 3px; background: var(--violet-bright);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

/* ---------- Stats bar ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat { text-align: center; padding: 26px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.stat .label { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx,80%) 0%, rgba(165,51,250,0.12), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--violet-bright) 50%, var(--border)); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-card .num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--border); position: absolute; top: 22px; right: 26px; }
.service-card.flagship { border-color: color-mix(in srgb, var(--violet) 45%, var(--border)); background: linear-gradient(160deg, rgba(165,51,250,0.10), var(--surface) 55%); }
.service-card .badge { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--brand-gradient); color: #fff; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(165,51,250,0.18), rgba(64,12,138,0.12)); border: 1px solid var(--border); color: var(--violet-bright); margin-bottom: 22px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 0.8rem; color: var(--text); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); }

/* Supporting services */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.support-item { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-2); transition: transform .25s var(--ease), border-color .25s; }
.support-item:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--violet-bright) 40%, var(--border)); }
.support-item .si-icon { color: var(--violet-bright); flex: none; }
.support-item h4 { font-size: 1rem; margin-bottom: 4px; }
.support-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- AI spotlight ---------- */
.spotlight { position: relative; overflow: hidden; background: color-mix(in srgb, var(--bg-2) 82%, transparent); }
.spotlight::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(165,51,250,0.22), transparent 60%);
  pointer-events: none;
}
.spotlight .container { position: relative; z-index: 2; }
.spotlight-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.spotlight-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0; }
.spotlight-head p { color: var(--muted); font-size: 1.1rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.highlight-card {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.highlight-card .hc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-gradient); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 30px -10px var(--glow); }
.highlight-card p { color: var(--muted); }
.highlight-card b { color: var(--text); font-family: var(--font-display); }
.spotlight .cta-row { text-align: center; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step .step-no { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--violet-bright); display: flex; align-items: center; gap: 10px; }
.step .dur { color: var(--muted); font-size: 0.82rem; font-weight: 500; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; }
.step h3 { font-size: 1.3rem; margin: 16px 0 10px; }
.step p { color: var(--muted); }
.step .line { position: absolute; top: 50px; right: -18px; color: var(--border); z-index: 3; }

/* ---------- Results / case studies ---------- */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result-card { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(160deg, rgba(165,51,250,0.08), var(--surface) 60%); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.result-card .metric { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.result-card p { color: var(--muted); }
.result-card .tags { margin-top: 18px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: transform .25s var(--ease), border-color .25s; }
.why-item:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--violet-bright) 40%, var(--border)); }
.why-item .check { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-gradient); color: #fff; }
.why-item p { font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 30px; border-block: 1px solid var(--border); background: var(--bg-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--muted); padding: 12px 26px; border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.price-card.featured { border-color: color-mix(in srgb, var(--violet) 55%, var(--border)); background: linear-gradient(165deg, rgba(165,51,250,0.12), var(--surface) 55%); position: relative; }
.price-card.featured .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-gradient); color: #fff; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 24px -8px var(--glow); }
.price-card h3 { font-size: 1.3rem; }
.price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 2rem; margin: 14px 0; }
.price-card .price span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.price-card .desc { color: var(--muted); margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 28px; }

/* ---------- Audit CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  position: relative; z-index: 2;
  background: var(--brand-gradient);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: 0 30px 80px -30px var(--glow);
  overflow: hidden;
}
.cta-inner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.22), transparent 60%);
  pointer-events: none;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); position: relative; }
.cta-inner p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 18px auto 30px; position: relative; font-size: 1.1rem; }
.cta-inner .btn { position: relative; background: #fff; color: var(--indigo-deep); }
.cta-inner .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(0,0,0,0.4); animation: none; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(10px); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.testi-card .stars { color: #FFC861; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card blockquote { font-size: 1.05rem; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-gradient); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.testi-card .who .name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.testi-card .who .biz { color: var(--muted); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .icon { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; position: relative; }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: var(--violet-bright); border-radius: 2px; }
.faq-q .icon::before { width: 12px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.faq-item[aria-expanded="true"] .faq-q .icon::after, .faq-q[aria-expanded="true"] .icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 7px; }
.field label .req { color: var(--violet-bright); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 0.98rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-bright); box-shadow: 0 0 0 3px rgba(165,51,250,0.18); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { color: var(--muted); font-size: 0.82rem; margin-top: 14px; text-align: center; }

.contact-aside h3 { font-size: 1.5rem; margin-bottom: 16px; }
.contact-aside p { color: var(--muted); margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list > a, .contact-list > span { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s, transform .2s; }
.contact-list > a > span:last-child, .contact-list > span > span:last-child { min-width: 0; }
.contact-list a:hover { border-color: var(--violet-bright); transform: translateX(3px); }
.contact-list .ci-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(165,51,250,0.18), rgba(64,12,138,0.12)); color: var(--violet-bright); flex: none; }
.contact-list .ci-label { font-size: 0.78rem; color: var(--muted); }
.contact-list .ci-value { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 60px 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text); font-size: 0.95rem; transition: color .2s; }
.footer-col a:hover { color: var(--violet-bright); }
.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); color: var(--muted); font-size: 0.88rem; }

/* ---------- AI chat widget ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  height: 58px; border-radius: 999px; padding: 0 22px 0 18px;
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-gradient); color: #fff;
  font-family: var(--font-display); font-weight: 600;
  border: none; box-shadow: 0 14px 40px -10px var(--glow);
  transition: transform .25s var(--ease);
}
.chat-fab:hover { transform: translateY(-3px) scale(1.03); }
.chat-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 91;
  width: min(360px, calc(100vw - 44px)); height: 460px; max-height: calc(100vh - 130px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-header { padding: 16px 18px; background: var(--brand-gradient); color: #fff; display: flex; align-items: center; gap: 12px; }
.chat-header .ch-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); display: grid; place-items: center; }
.chat-header .ch-title { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.chat-header .ch-status { font-size: 0.75rem; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
.chat-header .ch-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6EE7A8; }
.chat-header .ch-close { margin-left: auto; background: rgba(255,255,255,0.15); border: none; color: #fff; width: 30px; height: 30px; border-radius: 8px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.msg.bot { background: var(--bg-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--brand-gradient); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-quick button { font-size: 0.8rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); transition: border-color .2s; }
.chat-quick button:hover { border-color: var(--violet-bright); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; padding: 11px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; }
.chat-input input:focus { outline: none; border-color: var(--violet-bright); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--brand-gradient); color: #fff; display: grid; place-items: center; flex: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; max-width: 460px; margin: 20px auto 0; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .highlight-grid, .steps, .results-grid, .why-grid, .testi-grid, .pricing-grid, .support-grid { grid-template-columns: 1fr; }
  .step .line { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-links, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 22px 26px;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; width: 100%; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav.open .header-actions { display: flex; }
  .nav .header-actions { width: 100%; margin-top: 16px; }
  .nav.open .header-actions .btn { display: inline-flex; width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .section { padding-block: clamp(52px, 12vw, 96px); }
  .section-head { margin-bottom: 36px; }

  .hero { padding-top: calc(var(--header-h) + 26px); }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero .subhead { margin-top: 18px; }
  .hero-cta { gap: 10px; margin-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { margin-top: 24px; }
  .hero-visual { height: 290px; margin-top: 10px; }
  .float-card { padding: 13px 15px; gap: 11px; }
  .float-card .fc-icon { width: 38px; height: 38px; }
  .float-card .fc-title { font-size: 0.9rem; }
  .float-card .fc-sub { font-size: 0.76rem; }

  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 20px 12px; }
  .stat .num { font-size: clamp(1.7rem, 8vw, 2.4rem); }

  .service-card { padding: 26px 22px; }
  .spotlight-head h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .step { padding: 26px 22px; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .orb { filter: blur(50px); opacity: 0.35; }
  .hero-blob { display: none; }

  .chat-fab { right: 14px; bottom: 14px; height: 52px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 78px; max-height: calc(100vh - 110px); }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.85rem; }
  .float-card--c { display: none; }
  .nav-links a { font-size: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card, .hero-blob, .marquee-track, .scroll-cue .mouse::after { animation: none; }
  .orb { display: none; }
}
