:root{
  --bg0:#f8fafc;
  --bg1:#ffffff;
  --text:#0b1220;
  --muted: rgba(2,6,23,.72);
  --border: rgba(2,6,23,.10);
  --glass: rgba(255,255,255,.70);
  --glassBorder: rgba(2,6,23,.10);
  --primaryA:#3b82f6;
  --primaryB:#ef4444;
  --shadow: 0 18px 60px rgba(2,6,23,.12);
}

html.dark,
html[data-theme="dark"]{
  --bg0:#0b1220;
  --bg1:#0f172a;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --border: rgba(255,255,255,.12);
  --glass: rgba(15,23,42,.55);
  --glassBorder: rgba(255,255,255,.10);
  --primaryA:#35c6ff;
  --primaryB:#ff3b3b;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

html{
  background: var(--bg0);
}

body{
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(900px 560px at 80% 10%, rgba(59,130,246,.16), transparent 55%),
    radial-gradient(780px 520px at 20% 20%, rgba(239,68,68,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
}

.glass{
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glassBorder);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .glass{
  background: rgba(255,255,255,.90);
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}

html[data-theme="dark"] .glass{
  background: rgba(9,14,28,.72);
  border-color: rgba(148,163,184,.18);
  box-shadow: 0 20px 54px rgba(0,0,0,.40);
}

.grad-primary{
  background-image: linear-gradient(135deg, var(--primaryA) 0%, var(--primaryB) 100%);
}

.nexa-brand-badge{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.nexa-brand-icon-frame{
  overflow: hidden;
  flex: 0 0 auto;
  background: transparent;
}

.text-muted{
  color: var(--muted);
}

.section-alt{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .section-alt{
  background: rgba(255,255,255,.46);
}

html[data-theme="dark"] .section-alt{
  background: rgba(2,6,23,.24);
}

.divider-y{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.btn-secondary{
  background: rgba(255,255,255,.72);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.btn-secondary:hover{
  background: rgba(255,255,255,.92);
}

html[data-theme="dark"] .btn-secondary{
  background: rgba(15,23,42,.70);
  color: rgba(255,255,255,.90);
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
}

html[data-theme="dark"] .btn-secondary:hover{
  background: rgba(30,41,59,.86);
}

.marketing-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
}

.marketing-cta:hover{
  transform: translateY(-2px);
}

.marketing-cta svg{
  transition: transform .18s ease, opacity .18s ease;
}

.marketing-cta:hover svg{
  transform: translateX(4px);
  opacity: 1;
}

.hero-conversation{
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-conversation-glow{
  position: absolute;
  width: min(430px, 86%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 32%, rgba(255,255,255,.76), transparent 22%),
    radial-gradient(circle at 56% 54%, rgba(59,130,246,.30), transparent 48%),
    radial-gradient(circle at 76% 72%, rgba(239,68,68,.20), transparent 52%);
  filter: blur(3px);
  opacity: .88;
  z-index: 0;
}

html[data-theme="dark"] .hero-conversation-glow{
  opacity: .76;
}

.hero-conversation-line{
  position: absolute;
  width: min(460px, 96%);
  height: 280px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transform: rotate(-13deg);
  z-index: 1;
}

.hero-conversation-thread{
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 8px;
}

.hero-bubble{
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(15,23,42,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(14px) scale(.975);
  animation-duration: .82s;
  animation-timing-function: cubic-bezier(.22,1,.36,1);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  will-change: opacity, transform;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.38;
}

html[data-theme="dark"] .hero-bubble{
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}

.hero-bubble p{
  margin: 0;
}

.hero-bubble-visitor{
  align-self: flex-end;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  border-color: transparent;
}

.hero-bubble-primary{
  max-width: 348px;
  padding: 18px 20px;
  border-radius: 30px 30px 8px 30px;
  font-size: 14.5px;
  box-shadow: 0 26px 70px rgba(59,130,246,.22);
}

.hero-bubble-nexa{
  align-self: flex-start;
  max-width: 340px;
  padding: 17px 18px;
  border-radius: 30px 30px 30px 8px;
  color: var(--text);
  background: rgba(255,255,255,.76);
}

html[data-theme="dark"] .hero-bubble-nexa{
  background: rgba(9,14,28,.76);
}

.hero-bubble-light{
  max-width: 292px;
  padding: 15px 17px;
  border-radius: 26px 26px 8px 26px;
  color: var(--text);
  background: rgba(255,255,255,.70);
  border-color: var(--border);
  box-shadow: 0 18px 48px rgba(15,23,42,.10);
}

html[data-theme="dark"] .hero-bubble-light{
  background: rgba(9,14,28,.70);
  box-shadow: 0 20px 54px rgba(0,0,0,.30);
}

.hero-bubble-final{
  max-width: 360px;
  border-color: rgba(59,130,246,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(248,250,252,.64));
  box-shadow: 0 24px 68px rgba(59,130,246,.14);
}

html[data-theme="dark"] .hero-bubble-final{
  border-color: rgba(103,232,249,.22);
  background: linear-gradient(135deg, rgba(15,23,42,.80), rgba(2,6,23,.58));
}

.hero-bubble-head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 950;
}

.hero-speaker{
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .76;
}

.bubble-step-1{
  animation-name: heroBubbleIn;
  animation-delay: .1s;
}

.bubble-step-2{
  animation-name: heroBubbleIn;
  animation-delay: 2.75s;
}

.bubble-step-3{
  animation-name: heroBubbleIn;
  animation-delay: 3.65s;
}

.bubble-step-4{
  animation-name: heroBubbleIn;
  animation-delay: 5.65s;
}

.typing-copy{
  display: grid;
  gap: 2px;
}

.typing-line{
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
}

.typing-line-1{
  animation: heroTyping .95s steps(36, end) .28s 1 forwards;
}

.typing-line-2{
  animation: heroTyping 1.05s steps(38, end) 1.34s 1 forwards;
}

.typing-line-3{
  animation: heroTyping .62s steps(17, end) 3.92s 1 forwards;
}

.typing-line-4{
  animation: heroTyping .78s steps(28, end) 4.66s 1 forwards;
}

.flow-panel{
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .flow-panel{
  background: rgba(2,6,23,.34);
}

.proof-step{
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.proof-step.last{
  border-bottom: 0;
}

.proof-index{
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  -webkit-background-clip: text;
  background-clip: text;
}

.capability-panel{
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .capability-panel{
  background: rgba(2,6,23,.36);
}

.capability-row{
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.capability-row.last{
  border-bottom: 0;
}

.capability-icon{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #1d4ed8;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
}

html[data-theme="dark"] .capability-icon{
  color: #67e8f9;
  background: rgba(56,189,248,.12);
  border-color: rgba(103,232,249,.22);
}

.traction-section{
  position: relative;
  padding: 72px 0 18px;
  border-top: 1px solid var(--border);
}

.traction-section::before{
  content: "";
  position: absolute;
  inset: 22% 4% 4%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 22%, rgba(59,130,246,.18), transparent 34%),
    radial-gradient(circle at 76% 58%, rgba(14,165,233,.13), transparent 36%);
  filter: blur(18px);
  opacity: .78;
}

html[data-theme="dark"] .traction-section::before{
  opacity: .54;
}

.traction-heading{
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.traction-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.traction-capsule{
  min-height: 154px;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px 22px;
  border-radius: 46px;
  border: 1px solid rgba(148,163,184,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(248,250,252,.66));
  box-shadow: 0 22px 58px rgba(15,23,42,.08);
  animation: tractionCapsuleIn .62s ease both;
  animation-delay: var(--delay, 0ms);
}

.traction-capsule:nth-child(1){
  --wave-y: 14px;
}

.traction-capsule:nth-child(2){
  --wave-y: -18px;
}

.traction-capsule:nth-child(3){
  --wave-y: 20px;
}

.traction-capsule:nth-child(4){
  --wave-y: -10px;
}

html[data-theme="dark"] .traction-capsule{
  border-color: rgba(148,163,184,.16);
  background: linear-gradient(135deg, rgba(15,23,42,.74), rgba(2,6,23,.50));
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
}

.traction-capsule.accent{
  border-color: rgba(59,130,246,.24);
  background: linear-gradient(135deg, rgba(239,246,255,.98), rgba(255,255,255,.72));
  box-shadow: 0 26px 72px rgba(59,130,246,.16);
}

html[data-theme="dark"] .traction-capsule.accent{
  border-color: rgba(103,232,249,.24);
  background: linear-gradient(135deg, rgba(30,64,175,.34), rgba(2,6,23,.54));
}

.traction-value{
  color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(42px, 4.7vw, 62px);
  font-weight: 950;
  line-height: .9;
  white-space: nowrap;
}

.traction-label{
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.traction-copy p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

html[data-theme="dark"] .price-card{
  background: rgba(9,14,28,.72);
}

.price-card:hover{
  transform: translateY(-6px);
  border-color: rgba(59,130,246,.20);
  box-shadow: 0 28px 72px rgba(15,23,42,.14);
}

.price-card.featured{
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  transform: translateY(-10px);
  box-shadow: 0 26px 70px rgba(59,130,246,.24);
}

.price-card.featured:hover{
  transform: translateY(-14px);
  box-shadow: 0 30px 78px rgba(59,130,246,.30);
}

.price-badge{
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #1d4ed8;
  background: rgba(255,255,255,.90);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-card-cta{
  min-height: 56px;
}

.price-card-cta-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .82;
}

.contact-shell{
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.contact-form{
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 30px;
}

.contact-toggle{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(148,163,184,.10);
}

.contact-toggle button{
  min-height: 42px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  transition: all .2s ease;
}

.contact-toggle button.active{
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  box-shadow: 0 12px 30px rgba(59,130,246,.18);
}

.landing-input,
.contact-textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.landing-input{
  min-height: 46px;
  padding: 0 14px;
}

.contact-textarea{
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-hp{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-9999px);
}

.contact-feedback{
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  border: 1px solid transparent;
}

.contact-feedback.success{
  color: #166534;
  border-color: rgba(34,197,94,.22);
  background: rgba(34,197,94,.10);
}

.contact-feedback.error{
  color: #991b1b;
  border-color: rgba(239,68,68,.22);
  background: rgba(239,68,68,.10);
}

html[data-theme="dark"] .contact-feedback.success{
  color: #86efac;
  border-color: rgba(134,239,172,.20);
  background: rgba(34,197,94,.12);
}

html[data-theme="dark"] .contact-feedback.error{
  color: #fecaca;
  border-color: rgba(252,165,165,.22);
  background: rgba(239,68,68,.12);
}

.landing-input:focus,
.contact-textarea:focus{
  border-color: rgba(59,130,246,.52);
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}

html[data-theme="dark"] .landing-input,
html[data-theme="dark"] .contact-textarea{
  background: rgba(15,23,42,.76);
  color: rgba(255,255,255,.92);
}

.faq-list{
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .faq-list{
  background: rgba(2,6,23,.34);
}

.faq-item{
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child{
  border-bottom: 0;
}

.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 950;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item p{
  margin: -6px 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.final-cta{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(248,250,252,.64));
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .final-cta{
  background: linear-gradient(135deg, rgba(15,23,42,.72), rgba(2,6,23,.54));
}

.seo-page{
  background:
    radial-gradient(900px 580px at 78% 8%, rgba(59,130,246,.14), transparent 58%),
    radial-gradient(760px 520px at 12% 24%, rgba(239,68,68,.10), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

.seo-hero-visual{
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.seo-hero-visual::before{
  content: "";
  position: absolute;
  width: min(500px, 90%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,.82), transparent 24%),
    radial-gradient(circle at 52% 50%, rgba(59,130,246,.26), transparent 48%),
    radial-gradient(circle at 74% 72%, rgba(239,68,68,.18), transparent 54%);
  filter: blur(4px);
  z-index: -2;
}

html[data-theme="dark"] .seo-hero-visual::before{
  opacity: .70;
}

.seo-browser{
  position: relative;
  width: min(470px, 100%);
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.76);
  box-shadow: 0 30px 90px rgba(15,23,42,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="dark"] .seo-browser{
  background: rgba(2,6,23,.58);
  box-shadow: 0 34px 100px rgba(0,0,0,.42);
}

.seo-browser-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.seo-browser-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.60);
}

.seo-browser-dot:nth-child(1){
  background: rgba(239,68,68,.70);
}

.seo-browser-dot:nth-child(2){
  background: rgba(245,158,11,.70);
}

.seo-browser-dot:nth-child(3){
  background: rgba(34,197,94,.70);
}

.seo-url{
  margin-left: 8px;
  min-width: 0;
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(148,163,184,.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-browser-body{
  padding: 22px;
}

.seo-chat-card{
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255,255,255,.72);
}

html[data-theme="dark"] .seo-chat-card{
  background: rgba(15,23,42,.58);
}

.seo-question{
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 18px 18px 6px 18px;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.seo-answer{
  margin: 0;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 6px;
  color: var(--text);
  background: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

html[data-theme="dark"] .seo-answer{
  background: rgba(2,6,23,.44);
}

.seo-source-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.seo-source-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(148,163,184,.10);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.seo-floating-note{
  position: absolute;
  right: 0;
  bottom: 40px;
  width: min(250px, 70%);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 22px 60px rgba(15,23,42,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .seo-floating-note{
  background: rgba(15,23,42,.78);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.seo-grid-card{
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 18px 54px rgba(15,23,42,.08);
}

html[data-theme="dark"] .seo-grid-card{
  background: rgba(2,6,23,.34);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.seo-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(59,130,246,.08);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .seo-kicker{
  color: #67e8f9;
  border-color: rgba(103,232,249,.20);
  background: rgba(56,189,248,.10);
}

.seo-step-list{
  counter-reset: seo-step;
}

.seo-step-card{
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.64);
}

html[data-theme="dark"] .seo-step-card{
  background: rgba(2,6,23,.34);
}

.seo-step-number{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  font-size: 16px;
  font-weight: 950;
}

.seo-comparison{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .seo-comparison{
  background: rgba(2,6,23,.34);
}

.seo-comparison > div{
  padding: 30px;
}

.seo-comparison > div + div{
  border-left: 1px solid var(--border);
}

.seo-bullet-list{
  display: grid;
  gap: 13px;
}

.seo-bullet-list li{
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.58;
}

.seo-bullet-list li::before{
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
}

.seo-case{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(59,130,246,.14), rgba(239,68,68,.10)),
    rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .seo-case{
  background:
    linear-gradient(135deg, rgba(56,189,248,.14), rgba(239,68,68,.12)),
    rgba(2,6,23,.38);
}

.seo-mini-chat{
  display: grid;
  gap: 12px;
}

.seo-mini-chat p{
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

html[data-theme="dark"] .seo-mini-chat p{
  background: rgba(2,6,23,.42);
}

.seo-mini-chat .visitor{
  justify-self: end;
  max-width: 82%;
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
}

.seo-faq-panel{
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .seo-faq-panel{
  background: rgba(2,6,23,.34);
}

.lead-page{
  background:
    radial-gradient(820px 520px at 84% 8%, rgba(59,130,246,.18), transparent 58%),
    radial-gradient(700px 500px at 16% 28%, rgba(239,68,68,.10), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

.lead-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 58px;
  align-items: center;
}

.lead-kicker{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(59,130,246,.08);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .lead-kicker{
  color: #67e8f9;
  border-color: rgba(103,232,249,.20);
  background: rgba(56,189,248,.10);
}

.lead-board{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(248,250,252,.58)),
    radial-gradient(circle at 88% 12%, rgba(59,130,246,.18), transparent 34%);
  box-shadow: 0 34px 100px rgba(15,23,42,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="dark"] .lead-board{
  background:
    linear-gradient(145deg, rgba(15,23,42,.78), rgba(2,6,23,.50)),
    radial-gradient(circle at 88% 12%, rgba(56,189,248,.14), transparent 36%);
  box-shadow: 0 34px 100px rgba(0,0,0,.42);
}

.lead-board-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.lead-status-pill{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #166534;
  background: rgba(34,197,94,.12);
  font-size: 12px;
  font-weight: 950;
}

html[data-theme="dark"] .lead-status-pill{
  color: #86efac;
}

.lead-status-pill::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.lead-board-body{
  padding: 24px;
}

.lead-funnel{
  display: grid;
  gap: 12px;
}

.lead-stage{
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.64);
}

html[data-theme="dark"] .lead-stage{
  background: rgba(2,6,23,.34);
}

.lead-stage-index{
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  font-size: 13px;
  font-weight: 950;
}

.lead-stage-score{
  min-width: 72px;
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(148,163,184,.12);
  text-align: center;
  font-size: 12px;
  font-weight: 950;
}

.lead-summary-card{
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(59,130,246,.20);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(239,68,68,.08));
}

.lead-metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.lead-metric{
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255,255,255,.66);
}

html[data-theme="dark"] .lead-metric{
  background: rgba(2,6,23,.34);
}

.lead-metric strong{
  display: block;
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1;
  color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead-route-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.lead-route-card{
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 18px 54px rgba(15,23,42,.08);
}

html[data-theme="dark"] .lead-route-card{
  background: rgba(2,6,23,.34);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.lead-route-card:nth-child(1),
.lead-route-card:nth-child(4){
  grid-column: span 7;
}

.lead-route-card:nth-child(2),
.lead-route-card:nth-child(3){
  grid-column: span 5;
}

.lead-route-card::after{
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(239,68,68,.10));
}

.lead-route-number{
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 17px;
  color: #fff;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
  font-weight: 950;
}

.lead-conversation-grid{
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .58fr);
  gap: 26px;
  align-items: stretch;
}

.lead-chat-lane,
.lead-dossier{
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .lead-chat-lane,
html[data-theme="dark"] .lead-dossier{
  background: rgba(2,6,23,.34);
}

.lead-chat-lane{
  display: grid;
  gap: 14px;
  padding: 26px;
}

.lead-message{
  max-width: 78%;
  margin: 0;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  background: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.55;
}

html[data-theme="dark"] .lead-message{
  background: rgba(15,23,42,.58);
}

.lead-message.visitor{
  justify-self: end;
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--primaryA), var(--primaryB));
}

.lead-dossier{
  padding: 24px;
}

.lead-dossier-row{
  display: grid;
  gap: 6px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.lead-dossier-row:last-child{
  border-bottom: 0;
}

.lead-dossier-label{
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.lead-dossier-value{
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
}

.lead-playbook{
  display: grid;
  gap: 14px;
}

.lead-playbook-row{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.64);
}

html[data-theme="dark"] .lead-playbook-row{
  background: rgba(2,6,23,.34);
}

.lead-playbook-icon{
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #1d4ed8;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
  font-size: 20px;
  font-weight: 950;
}

html[data-theme="dark"] .lead-playbook-icon{
  color: #67e8f9;
  background: rgba(56,189,248,.12);
  border-color: rgba(103,232,249,.22);
}

.lead-band{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(59,130,246,.14), rgba(239,68,68,.10)),
    rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .lead-band{
  background:
    linear-gradient(135deg, rgba(56,189,248,.14), rgba(239,68,68,.12)),
    rgba(2,6,23,.38);
}

@keyframes heroBubbleIn{
  from{ opacity: 0; transform: translateY(14px) scale(.975); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroTyping{
  from{ clip-path: inset(0 100% 0 0); }
  to{ clip-path: inset(0 0 0 0); }
}

@keyframes tractionCapsuleIn{
  from{ opacity: 0; transform: translateY(18px) scale(.985); }
  to{ opacity: 1; transform: translateY(var(--wave-y, 0)) scale(1); }
}

@media (max-width: 1024px){
  .lead-hero-grid,
  .lead-conversation-grid{
    grid-template-columns: 1fr;
  }

  .lead-route-card:nth-child(1),
  .lead-route-card:nth-child(2),
  .lead-route-card:nth-child(3),
  .lead-route-card:nth-child(4){
    grid-column: span 6;
  }

  .contact-shell,
  .final-cta,
  .seo-comparison{
    grid-template-columns: 1fr;
  }

  .seo-comparison > div + div{
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .traction-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .traction-capsule{
    min-height: 132px;
    border-radius: 999px;
    grid-template-columns: minmax(112px, .42fr) 1fr;
    gap: 20px;
    align-items: center;
  }

  .traction-capsule:nth-child(1),
  .traction-capsule:nth-child(2),
  .traction-capsule:nth-child(3),
  .traction-capsule:nth-child(4){
    --wave-y: 0;
  }

  .pricing-grid{
    grid-template-columns: 1fr;
  }

  .price-card.featured{
    transform: none;
  }
}

@media (max-width: 760px){
  .lead-board-body,
  .lead-chat-lane,
  .lead-dossier,
  .lead-route-card,
  .lead-playbook-row{
    padding: 20px;
  }

  .lead-stage{
    grid-template-columns: 38px 1fr;
  }

  .lead-stage-score{
    grid-column: 2;
    width: max-content;
  }

  .lead-metrics,
  .lead-route-grid{
    grid-template-columns: 1fr;
  }

  .lead-route-card:nth-child(1),
  .lead-route-card:nth-child(2),
  .lead-route-card:nth-child(3),
  .lead-route-card:nth-child(4){
    grid-column: auto;
  }

  .lead-message{
    max-width: 92%;
  }

  .lead-playbook-row{
    grid-template-columns: 1fr;
  }

  .seo-hero-visual{
    min-height: auto;
    padding-top: 10px;
  }

  .seo-floating-note{
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .seo-browser-body,
  .seo-grid-card,
  .seo-step-card,
  .seo-comparison > div{
    padding: 20px;
  }

  .seo-step-card{
    grid-template-columns: 1fr;
  }

  .hero-conversation{
    min-height: auto;
    margin-top: 6px;
  }

  .hero-conversation-line{
    width: 92%;
    height: 240px;
  }

  .hero-conversation-thread{
    width: min(360px, 100%);
    gap: 12px;
    padding: 8px 4px;
  }

  .hero-bubble{
    max-width: 292px;
    padding: 13px 15px;
    font-size: 13px;
  }

  .hero-bubble-primary,
  .hero-bubble-final{
    max-width: 318px;
  }

  .proof-step,
  .capability-row{
    grid-template-columns: 1fr;
  }

  .traction-section,
  .final-cta{
    padding: 24px;
    border-radius: 30px;
  }

  .traction-section{
    padding-top: 42px;
  }

  .traction-heading{
    margin-bottom: 26px;
  }

  .traction-grid{
    grid-template-columns: 1fr;
  }

  .traction-capsule{
    min-height: 118px;
    grid-template-columns: minmax(94px, .36fr) 1fr;
    gap: 16px;
    padding: 20px 22px;
  }

  .traction-value{
    font-size: 42px;
  }

  .traction-label{
    font-size: 13px;
  }

  .traction-copy p{
    font-size: 13px;
  }

  .contact-form{
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-bubble,
  .typing-line,
  .traction-capsule{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: inset(0 0 0 0) !important;
  }
}
