/* ===== TOKENS ===== */
:root {
  --bg-primary:    #0a0810;
  --bg-secondary:  #0e0a18;
  --bg-tertiary:   #120e1f;
  --bg-card:       #15112a;
  --bg-card-hover: #1c1735;
  --border:        rgba(155, 125, 232, 0.10);
  --border-soft:   rgba(155, 125, 232, 0.06);
  --border-hover:  rgba(155, 125, 232, 0.30);
  --purple:        #7c5cbf;
  --purple-light:  #9b7de8;
  --purple-glow:   #b89dff;
  --purple-dim:    rgba(124, 92, 191, 0.12);
  --cyan:          #67e8f9;
  --red-muted:     rgba(239, 68, 68, 0.55);
  --text-primary:  #f5f2ff;
  --text-secondary:#a8a3c4;
  --text-muted:    #5e587a;
  --text-faint:    #3d3854;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     20px;
  --ease:          0.3s cubic-bezier(.2,.7,.2,1);
  --ease-out:      0.5s cubic-bezier(.16,1,.3,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--purple-light); }

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

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===== CURSOR ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--purple-glow);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--purple-glow);
  transition: transform 0.05s linear, width .25s ease, height .25s ease;
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(155, 125, 232, 0.35);
  border-radius: 50%;
  transition: transform 0.15s ease-out, width .3s ease, height .3s ease, border-color .25s ease;
  margin: -16px 0 0 -16px;
}
.cursor-dot.is-hover { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.cursor-ring.is-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: var(--purple-light); }
@media (max-width: 900px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--text-muted);
}
/* Hide the leading number span so eyebrows show only the line + label */
.eyebrow > span:first-child:not(.eyebrow-line) { display: none; }
.eyebrow span:last-child { color: var(--purple-light); }

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 14px;
  text-wrap: pretty;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #9b7de8 0%, #7c5cbf 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(155, 125, 232, 0.35),
    0 8px 24px rgba(124, 92, 191, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b89dff 0%, #8b6ecf 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(184, 157, 255, 0.5),
    0 12px 36px rgba(124, 92, 191, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.btn-primary svg { transition: transform var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: rgba(155, 125, 232, 0.06);
  border-color: var(--purple-light);
  color: var(--purple-glow);
}

.btn-sm  { padding: 10px 18px; font-size: 0.8125rem; }
.btn-lg  { padding: 16px 28px; font-size: 0.9375rem; }
.btn-full { width: 100%; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: transform 0.4s var(--ease), background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 8, 16, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header.hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  height: 36px;
}
.logo-img {
  height: 28px;
  width: auto;
  opacity: 0.95;
}
.logo-divider {
  width: 1px;
  height: 22px;
  background: var(--border-hover);
}
.logo-mec {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--purple-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.header-nav a:hover { color: var(--text-primary); }
.header-nav a:hover::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .header-nav { display: flex; }
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(155, 125, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 125, 232, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 90%);
}
.hero-spotlight {
  position: absolute;
  width: 700px; height: 700px;
  left: var(--mx, 50%);
  top: var(--my, 40%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(155, 125, 232, 0.18) 0%, rgba(124, 92, 191, 0.05) 35%, transparent 65%);
  filter: blur(40px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.orb-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #7c5cbf 0%, transparent 70%);
  top: -120px; left: -120px;
  animation: orbFloat 18s ease-in-out infinite;
}
.orb-b {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #4f3899 0%, transparent 70%);
  bottom: -140px; right: -100px;
  animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.1); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}
@media (min-width: 960px) {
  .hero-container { grid-template-columns: 1.05fr 1fr; gap: 80px; }
}

.hero-content {
  animation: fadeUp 1s var(--ease-out) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--purple-light);
  background: rgba(155, 125, 232, 0.06);
  border: 1px solid rgba(155, 125, 232, 0.18);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--purple-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-glow);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 500;
  font-variation-settings: "wdth" 95;
  line-height: 0.98;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-h1 em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--purple-glow);
  letter-spacing: 0;
}
.h1-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineUp 0.9s var(--ease-out) forwards;
}
.h1-line:nth-child(1) { animation-delay: 0.1s; }
.h1-line:nth-child(2) { animation-delay: 0.22s; }
.h1-line:nth-child(3) { animation-delay: 0.34s; }
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 540px;
  animation: fadeUp 1s var(--ease-out) 0.5s both;
}
.hero-support {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 500px;
  font-style: italic;
  font-family: var(--font-serif);
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
  animation: fadeUp 1s var(--ease-out) 0.7s both;
}

/* Hero visual — constellation */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.constellation {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  perspective: 1000px;
}
.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.constellation-lines line {
  stroke: url(#lineGrad);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  animation: dashFlow 8s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

.core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 157, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #1c1735 0%, #15112a 100%);
  border: 1px solid rgba(155, 125, 232, 0.30);
  box-shadow:
    0 0 0 1px rgba(155, 125, 232, 0.15),
    0 20px 60px rgba(124, 92, 191, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.core-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--purple-light);
  animation: pulseRing 3s ease-out infinite;
  opacity: 0;
}
.core-pulse.delay-1 { animation-delay: 1s; }
.core-pulse.delay-2 { animation-delay: 2s; }
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}
.core-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.core-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.core-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.core-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--purple-light);
}
.status-dot {
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.node {
  position: absolute;
  left: calc(var(--nx, 50) * 1%);
  top: calc(var(--ny, 50) * 1%);
  transform: translate(-50%, -50%);
  background: rgba(28, 23, 53, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(155, 125, 232, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: default;
  transition: transform 0.4s var(--ease), border-color var(--ease), background var(--ease);
  animation: nodeFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--ndelay, 0) * 0.5s);
}
.node:hover {
  border-color: var(--purple-light);
  background: rgba(40, 32, 70, 0.95);
  transform: translate(-50%, -50%) scale(1.08);
  z-index: 4;
}
.node-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--purple-light);
}
.node-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}
@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--purple-light), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -36px;
  left: 0;
  width: 100%;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--purple-glow));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  to { transform: translateY(72px); }
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  padding: 24px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--text-primary);
  font-style: italic;
  font-variation-settings: "wdth" 90;
}
.marquee-track span {
  letter-spacing: -0.02em;
}
.marquee-dot {
  color: var(--purple-light);
  font-size: 0.8em;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== PAIN SECTION ===== */
.pain-section { background: var(--bg-secondary); }
.pain-section .section-h2 em { font-size: 1.05em; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
  overflow: hidden;
}
.pain-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.pain-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.pain-card p {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.5;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* SPOTLIGHT GLOW (cursor-tracking) */
.spotlight-card {
  position: relative;
}
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(155, 125, 232, 0.10),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.spotlight-card:hover .card-glow { opacity: 1; }

/* ===== WHAT IS MEC ===== */
.what-section { background: var(--bg-primary); }

.what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .what-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

.what-content .eyebrow { justify-content: flex-start; }
.what-content .section-h2 { text-align: left; }
.what-content .section-text { max-width: none; text-align: left; margin: 0 0 14px; }

.what-negatives {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.what-negatives li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.what-negatives li span {
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.highlight-quote {
  position: relative;
  background:
    radial-gradient(circle at 70% 0%, rgba(155, 125, 232, 0.08), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.highlight-quote .quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5rem;
  color: var(--purple);
  line-height: 0.6;
  margin-bottom: 8px;
  opacity: 0.6;
}
.highlight-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.highlight-quote .quote-foot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== ANALYZE ===== */
.analyze-section { background: var(--bg-secondary); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.analysis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
  overflow: hidden;
}
.analysis-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  background: linear-gradient(135deg, var(--purple-glow), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
}
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: rgba(155, 125, 232, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===== FOR WHO ===== */
.forwho-section { background: var(--bg-primary); }

.check-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-primary);
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
  line-height: 1.5;
}
.check-list li:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.check-mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--purple-glow), var(--purple));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 12px rgba(155, 125, 232, 0.25);
}

/* ===== NOT FOR WHO ===== */
.notwho-section { background: var(--bg-secondary); }

.notwho-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .notwho-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
}

.notwho-text .eyebrow { justify-content: flex-start; }
.notwho-text .section-h2 { text-align: left; }
.notwho-text .section-text { max-width: none; text-align: left; margin: 0 0 14px; }

.cross-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cross-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.5;
  transition: all var(--ease);
}
.cross-list li:hover {
  border-color: rgba(239, 68, 68, 0.2);
  background: var(--bg-card-hover);
}
.cross-mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--red-muted);
  color: var(--red-muted);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== PROCESS CAROUSEL ===== */
.howworks-section { background: var(--bg-primary); }

.process-carousel {
  max-width: 1080px;
  margin: 0 auto;
}

.carousel-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  flex-shrink: 0;
}
.carousel-arrow:hover {
  background: var(--bg-card-hover);
  border-color: var(--purple-light);
  color: var(--purple-glow);
  transform: scale(1.06);
}
.carousel-arrow:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
.carousel-arrow:disabled { opacity: 0.4; cursor: not-allowed; }

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 0%, rgba(155, 125, 232, 0.08), transparent 60%),
    var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.carousel-track {
  display: flex;
  list-style: none;
  transition: transform 0.7s cubic-bezier(.7,.0,.2,1);
  will-change: transform;
}

.process-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 380px;
}
@media (max-width: 720px) {
  .process-slide { grid-template-columns: 1fr; min-height: 0; }
}

.slide-aside {
  position: relative;
  padding: 40px 32px;
  background:
    linear-gradient(160deg, rgba(155, 125, 232, 0.12) 0%, transparent 60%),
    rgba(10, 8, 16, 0.4);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
@media (max-width: 720px) {
  .slide-aside { border-right: none; border-bottom: 1px solid var(--border); padding: 28px; }
}
.slide-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 125, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 125, 232, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.slide-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}
.slide-bignum {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 9rem);
  font-weight: 400;
  font-variation-settings: "wdth" 85;
  line-height: 0.85;
  background: linear-gradient(140deg, var(--purple-glow) 0%, var(--purple) 50%, rgba(124, 92, 191, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
  margin: 12px 0;
}
.slide-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: rgba(155, 125, 232, 0.08);
  border: 1px solid rgba(155, 125, 232, 0.2);
  border-radius: 999px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.slide-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
@media (max-width: 720px) {
  .slide-body { padding: 28px; }
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
.slide-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
}
.slide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.slide-chips span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 5px 12px;
  background: rgba(155, 125, 232, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all var(--ease);
}
.slide-chips span:hover {
  border-color: var(--border-hover);
  color: var(--purple-light);
}

/* Slide-in stagger when becoming active */
.process-slide.is-active .slide-title,
.process-slide.is-active .slide-text,
.process-slide.is-active .slide-chips,
.process-slide.is-active .slide-step,
.process-slide.is-active .slide-bignum,
.process-slide.is-active .slide-tag {
  animation: slideInUp 0.7s var(--ease-out) both;
}
.process-slide.is-active .slide-step { animation-delay: 0.05s; }
.process-slide.is-active .slide-bignum { animation-delay: 0.1s; }
.process-slide.is-active .slide-tag { animation-delay: 0.15s; }
.process-slide.is-active .slide-title { animation-delay: 0.2s; }
.process-slide.is-active .slide-text { animation-delay: 0.28s; }
.process-slide.is-active .slide-chips { animation-delay: 0.36s; }

@keyframes slideInUp {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.carousel-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.progress-dot {
  width: 48px;
  height: 4px;
  border: none;
  background: rgba(155, 125, 232, 0.15);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  transition: background var(--ease);
}
.progress-dot:hover { background: rgba(155, 125, 232, 0.25); }
.dot-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--purple-light), var(--purple-glow));
  transform-origin: left;
  transform: scaleX(0);
}
.progress-dot.is-active .dot-fill {
  animation: dotFill 5s linear forwards;
}
@keyframes dotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.progress-dot.is-complete .dot-fill { transform: scaleX(1); }

/* ===== DELIVERABLES ===== */
.deliverables-section { background: var(--bg-secondary); }

.deliverables-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .deliverables-list { grid-template-columns: 1fr 1fr; }
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.5;
  transition: all var(--ease);
}
.deliverables-list li:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.deliver-arrow {
  flex-shrink: 0;
  color: var(--purple-light);
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ===== TRANSFORM (Antes/Depois — interactive) ===== */
.comparison-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.comparison-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(239, 68, 68, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(103, 232, 249, 0.06), transparent 60%);
  pointer-events: none;
}

.transform-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.transform-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.state-toggle {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color var(--ease);
  width: 280px;
}
.state-toggle:hover { border-color: var(--border-hover); }
.state-toggle:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }

.toggle-track {
  position: absolute;
  inset: 6px;
  display: block;
}
.toggle-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.10));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 999px;
  transition: all 0.6s cubic-bezier(.7,0,.2,1);
}
[data-state="after"] ~ * .toggle-thumb,
.state-toggle.is-after .toggle-thumb {
  left: 50%;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.25), rgba(103, 232, 249, 0.10));
  border-color: rgba(103, 232, 249, 0.4);
}

.toggle-labels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  text-align: center;
}
.toggle-label {
  padding: 10px 16px;
  color: var(--text-muted);
  transition: color 0.4s ease;
}
.state-toggle:not(.is-after) .toggle-label.is-before { color: #ef9999; }
.state-toggle.is-after .toggle-label.is-after { color: var(--cyan); }

.transform-hint {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
}

.transform-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.transform-row {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 0;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--row-delay, 0s);
}
.transform-wrap.visible .transform-row {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  .transform-row { grid-template-columns: 1fr; gap: 8px; }
}

.row-state {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: all 0.6s cubic-bezier(.7,0,.2,1);
  position: relative;
}

.state-before {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: var(--text-muted);
}
.state-before .state-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
}
.state-before .state-text {
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.5);
  text-decoration-thickness: 1px;
}

.state-after {
  background: rgba(103, 232, 249, 0.04);
  border: 1px solid rgba(103, 232, 249, 0.18);
  color: var(--text-primary);
}
.state-after .state-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.12);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* State-based reveals */
.transform-stage[data-state="before"] .state-before {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.08);
}
.transform-stage[data-state="before"] .state-before .state-mark {
  background: rgba(239, 68, 68, 0.22);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}
.transform-stage[data-state="before"] .state-after {
  opacity: 0.35;
  transform: translateX(-12px);
  filter: blur(1px);
}
.transform-stage[data-state="before"] .row-arc { opacity: 0.3; color: var(--text-muted); }

.transform-stage[data-state="after"] .state-after {
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.4);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(103, 232, 249, 0.10);
}
.transform-stage[data-state="after"] .state-after .state-mark {
  background: rgba(103, 232, 249, 0.22);
  box-shadow: 0 0 16px rgba(103, 232, 249, 0.4);
}
.transform-stage[data-state="after"] .state-before {
  opacity: 0.35;
  transform: translateX(12px);
  filter: blur(1px);
}
.transform-stage[data-state="after"] .row-arc { color: var(--cyan); opacity: 1; }

.row-arc {
  height: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.6s ease, opacity 0.6s ease;
}
.row-arc svg { width: 100%; height: 100%; }
.row-arc path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}
.transform-stage[data-state="after"] .row-arc path { stroke-dashoffset: 0; }
@media (max-width: 720px) {
  .row-arc { transform: rotate(90deg); height: 24px; }
}

/* ===== AUTHORITY (editorial layout) ===== */
.authority-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.authority-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155, 125, 232, 0.10), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
  position: relative;
}
@media (min-width: 900px) {
  .authority-grid { grid-template-columns: 1fr 1.05fr; gap: 60px; }
}

.authority-side .eyebrow { justify-content: flex-start; }
.authority-side .section-h2 { text-align: left; margin-bottom: 36px; }

.authority-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  padding-left: 28px;
}
.authority-stack::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--purple-light) 12%, var(--purple-light) 88%, transparent);
  opacity: 0.5;
}

.authority-p {
  position: relative;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
}
.authority-p .p-marker {
  position: absolute;
  left: -5px;
  top: 12px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--purple-light);
  box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 12px rgba(155, 125, 232, 0.5);
  transform: scale(0);
  transition: transform 0.6s var(--ease-out);
}
.authority-grid.visible .authority-p .p-marker { transform: scale(1); }
.authority-grid.visible .authority-p:nth-child(1) .p-marker { transition-delay: 0.2s; }
.authority-grid.visible .authority-p:nth-child(2) .p-marker { transition-delay: 0.35s; }
.authority-grid.visible .authority-p:nth-child(3) .p-marker { transition-delay: 0.5s; }

.authority-feature {
  position: relative;
  background:
    radial-gradient(circle at 80% 100%, rgba(155, 125, 232, 0.18), transparent 60%),
    radial-gradient(circle at 0% 0%, rgba(124, 92, 191, 0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  min-height: 340px;
}
.authority-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 125, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 125, 232, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 90%);
  pointer-events: none;
}
.authority-feature::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(184, 157, 255, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.feature-quote-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 7rem;
  color: var(--purple-light);
  line-height: 0.5;
  position: relative;
  z-index: 1;
  height: 38px;
  opacity: 0.7;
}

.feature-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.feature-quote-text em {
  font-size: 1.05em;
  color: var(--purple-glow);
}
.feature-quote-line {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--purple-light);
  margin: 14px 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out) 0.3s;
}
.authority-grid.visible .feature-quote-line { transform: scaleX(1); }

.feature-quote-foot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.foot-bar {
  width: 24px; height: 1px;
  background: var(--text-muted);
}
.foot-text { color: var(--purple-light); }

/* ===== CTA SECTIONS ===== */
.cta-section {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(124, 92, 191, 0.12), transparent 70%);
  pointer-events: none;
}

/* CTA mid — LIGHT variant for contrast */
.cta-section.is-light {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155, 125, 232, 0.12), transparent 70%),
    linear-gradient(180deg, #f7f5fb 0%, #ece8f5 100%);
  color: #1a1428;
}
.cta-section.is-light::before {
  background:
    radial-gradient(ellipse 40% 70% at 50% 50%, rgba(124, 92, 191, 0.08), transparent 70%);
}
.cta-section.is-light .cta-h2 {
  color: #1a1428;
}
.cta-section.is-light .cta-h2 em {
  color: var(--purple);
}
.cta-section.is-light .cta-text {
  color: #5a5170;
}
/* Light section decorative grid */
.cta-section.is-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 191, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, black 50%, transparent 95%);
  pointer-events: none;
  opacity: 0.4;
}

.cta-final-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.cta-final-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124, 92, 191, 0.10), transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.cta-content .btn { margin-top: 18px; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-primary); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease), background var(--ease);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--ease);
}
.faq-q-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.faq-q-text { letter-spacing: -0.01em; }
.faq-icon {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(155, 125, 232, 0.08);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: background var(--ease), border-color var(--ease);
}
.faq-icon span {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--purple-light);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-icon span:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon {
  background: rgba(155, 125, 232, 0.18);
  border-color: var(--purple-light);
}
.faq-item.open .faq-icon span:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  padding: 0 26px 22px 64px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* ===== FORM ===== */
.form-section { background: var(--bg-secondary); }

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}
.form-header {
  text-align: center;
  margin-bottom: 48px;
}
.form-header .eyebrow { justify-content: center; }

.mec-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
label span { color: var(--purple-light); }

input, select, textarea {
  background: rgba(10, 8, 16, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple-light);
  background: rgba(10, 8, 16, 0.6);
  box-shadow: 0 0 0 3px rgba(155, 125, 232, 0.15);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b7de8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
select option { background: var(--bg-card); color: var(--text-primary); }

textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.form-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 6px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
  background: var(--bg-card);
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: var(--radius-lg);
}
.form-success.visible { display: block; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.10);
  border: 1px solid rgba(103, 232, 249, 0.3);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.form-success p { color: var(--text-secondary); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hover), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.95;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer-agency {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-agency strong { color: var(--purple-light); font-weight: 600; }

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease);
  padding: 6px 0;
}
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ===== INLINE CTA (in-section CTAs) ===== */
.inline-cta {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 32px 8px;
  position: relative;
  text-align: center;
}
.inline-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple-light), transparent);
  box-shadow: 0 0 16px rgba(155, 125, 232, 0.5);
}
.inline-cta::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 12px var(--purple-glow);
  animation: pulseDot 2s ease-in-out infinite;
}
.inline-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
  max-width: 580px;
  margin: 0;
}
.inline-cta-text em {
  font-size: 1.04em;
}

/* On the light CTA section's previous sibling pattern — no change needed */

/* ===== RESPONSIVE ===== */
@media (max-width: 959px) {
  .hero-visual { display: none; }
  .hero-container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero-section { padding: 120px 0 80px; min-height: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { gap: 16px; }
  .meta-divider { display: none; }
  .pain-grid, .cards-grid { grid-template-columns: 1fr; }
  .section-text { text-align: left; }
  .section-header .section-text { text-align: center; }
  .timeline-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-number { width: 48px; height: 48px; }
  .step-line { left: 24px; top: 48px; }
  .faq-question { padding: 18px 18px; gap: 12px; }
  .faq-answer { padding: 0 18px 18px 18px; }
  .faq-q-num { display: none; }
  .mec-form { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-nav { display: none; }
}

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