/* ===== TOKENS & RESET ===== */
:root {
  --primary:      #2dd4bf;
  --secondary:    #a78bfa;
  --bg:           #0a0f1e;
  --surface:      #111827;
  --text:         #dee1f7;
  --text-muted:   #64748b;
  --border:       #1e2d45;
  --input-bg:     #1a2235;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; scroll-padding-top: 30px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif', serif;
  overflow-x: hidden;
  line-height: 1.7;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 75px 0; }

.section-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--text);
}
.section-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.82;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-body { max-width: 600px; margin: 0 auto; }

/* ===== CURSOR FOLLOWER (desktop only) ===== */
#cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.55s ease;
}
#cursor-follower.fading {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}

/* ===== TOUCH SPLASH (mobile) ===== */
.splash-drop {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform-origin: center;
  animation: splash-drop var(--dur) ease-out forwards;
}
@keyframes splash-drop {
  0%   { opacity: 0.92; transform: translate(-50%, -50%) scale(0.65); }
  14%  { opacity: 1;    transform: translate(calc(-50% + var(--dx) * 0.1), calc(-50% + var(--dy) * 0.1)) scale(1.15); }
  100% { opacity: 0;    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.12); }
}

/* ===== STAR FIELD ===== */
.star-layer {
  position: fixed;
  inset: -80px;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration) infinite ease-in-out;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.1; }
  50%       { opacity: 0.48; }
}
.ambient-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 65vh;
  background: radial-gradient(ellipse at center,
    rgba(45,212,191,0.12) 0%,
    rgba(167,139,250,0.06) 45%,
    transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

/* ===== LED BORDER CARD ===== */
.led-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  padding: 1px;
  overflow: hidden;
  border-radius: 14px;
}
.led-border {
  position: absolute;
  top: 50%; left: 50%;
  width: 300%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from 0deg,
    transparent 0%,
    rgba(45,212,191,0.03) 38%,
    rgba(45,212,191,0.18) 44%,
    #2dd4bf 46%,
    #a78bfa 54%,
    rgba(167,139,250,0.18) 56%,
    rgba(167,139,250,0.03) 62%,
    transparent 100%
  );
  animation: rotate-led 8s linear infinite;
}
@keyframes rotate-led {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
.led-content {
  position: relative;
  z-index: 3;
  background: var(--bg);
  border-radius: 13px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.widget-mock .led-content { height: 480px; overflow: hidden; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2dd4bf, #34d399);
  color: #0a0f1e;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(45,212,191,0.38); }
.btn-cta-lg  { padding: 14px 32px; font-size: 0.88rem; border-radius: 10px; }
.btn-cta-xl  { padding: 18px 44px; font-size: 0.95rem; border-radius: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(45,212,191,0.06);
}

/* ===== SCROLL FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,15,30,0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.site-nav.scrolled { background: rgba(10,15,30,0.97); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #f5f0e8, #2dd4bf, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 14px 28px 22px;
  border-top: 1px solid var(--border);
  background: rgba(10,15,30,0.98);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid rgba(30,45,69,0.5);
}
.nav-mobile-cta { margin-top: 14px; width: 100%; text-align: center; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 86px 0 63px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.07;
  color: var(--text);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.78;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-trust {
  font-family: 'Manrope', sans-serif;
  font-size: 0.77rem;
  color: var(--text-muted);
}
.hero-widget-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible;
}

/* ── Widget Mock ── */
.widget-mock { position: relative; width: 100%; max-width: 340px; zoom: 0.8; }

.wm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #111827;
  border-bottom: 1px solid var(--border);
  border-radius: 13px 13px 0 0;
}
.wm-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #0a0f1e;
}
.wm-header-text { display: flex; flex-direction: column; gap: 2px; }
.wm-brand { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.wm-status {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Manrope', sans-serif; font-size: 0.72rem; color: var(--text-muted);
}
.wm-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }

.wm-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 168px;
  max-height: 300px;
  overflow-y: hidden;
}
.wm-msg { display: flex; flex-direction: column; max-width: 85%; }
.wm-assistant { align-self: flex-start; }
.wm-user      { align-self: flex-end;   }
.wm-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.52;
  font-family: 'Manrope', sans-serif;
}
.wm-assistant .wm-bubble {
  background: linear-gradient(135deg, #1e1b4b, #1e3a5f);
  border: 1px solid rgba(167,139,250,0.22);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.wm-user .wm-bubble {
  background: linear-gradient(135deg, #2dd4bf, #34d399);
  color: #0a0f1e;
  font-weight: 600;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 10px rgba(45,212,191,0.25);
}
.wm-typing {
  display: flex; gap: 5px;
  padding: 9px 13px;
  background: linear-gradient(135deg, #1e1b4b, #1e3a5f);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.wm-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: wm-bounce 1.4s infinite ease-in-out both;
}
.wm-typing span:nth-child(1) { animation-delay: -0.32s; }
.wm-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes wm-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40%           { transform: scale(1); opacity: 1;   }
}

.wm-lead-strip {
  margin: 0 16px 12px;
  padding: 9px 13px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.79rem;
  color: var(--primary);
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wm-lead-strip.visible { opacity: 1; }

.wm-input-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 16px;
  padding: 10px 12px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.wm-input-ph {
  flex: 1;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: opacity 0.15s;
}
.wm-input-ph.hidden { opacity: 0; width: 0; flex: 0; overflow: hidden; }
.wm-input-typed {
  display: none; flex: 1;
  font-size: 0.82rem; color: var(--text);
  font-family: 'Manrope', sans-serif;
}
.wm-input-typed.active { display: block; }
.wm-input-typed.active::after {
  content: '|';
  animation: blink 0.75s step-end infinite;
  color: var(--primary); margin-left: 1px;
}
.wm-input-typed.done::after { display: none; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.wm-send {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--primary);
  border: none;
  color: #0a0f1e;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  cursor: default;
  transition: transform 0.12s, background 0.12s;
}
.wm-send.sending { transform: scale(0.82); background: var(--secondary); }

.wm-notif {
  position: absolute;
  top: -38px; right: -14px;
  z-index: 20;
  background: var(--surface);
  border: 1px solid rgba(45,212,191,0.38);
  border-radius: 20px;
  padding: 7px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary);
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wm-notif.visible { opacity: 1; transform: translateY(0); }
.wm-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px var(--primary); }

/* ── Widget scenes ── */
.scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.scene.active { opacity: 1; pointer-events: auto; }

.scene-url {
  align-items: center; justify-content: center;
  padding: 28px 22px; gap: 14px; text-align: center;
}
.scene-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-badge {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(45,212,191,0.09);
  border: 1px solid rgba(45,212,191,0.2);
  padding: 4px 12px; border-radius: 20px;
}
.scene-title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; font-family: 'Manrope', sans-serif; }
.scene-sub { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; font-family: 'Manrope', sans-serif; }
.url-input-mock {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.79rem;
  color: var(--primary);
  text-align: left;
  min-height: 38px;
  display: flex; align-items: center;
}
.typing-cursor::after {
  content: '|';
  animation: blink 0.75s step-end infinite;
  color: var(--primary); margin-left: 1px;
}
.typing-cursor.done::after { display: none; }
.progress-bar {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
  opacity: 0; transition: opacity 0.3s;
}
.progress-bar.show { opacity: 1; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px; width: 0%;
  transition: width 0.9s ease;
}
.progress-fill.full { width: 100%; }
.scene-status {
  font-size: 0.73rem; color: var(--text-muted);
  min-height: 18px; transition: color 0.3s;
  font-family: 'Manrope', sans-serif;
}
.scene-status.ok { color: #34d399; }

.scene-embed {
  align-items: center; justify-content: center;
  padding: 24px 20px; gap: 13px; text-align: center;
}
.mini-browser {
  width: 100%; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  background: #0d1424;
  transform-origin: center center;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.75s ease;
}
.mini-browser.zooming { transform: scale(4); opacity: 0; }
.mini-browser-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 10px;
  background: #111827;
  border-bottom: 1px solid var(--border);
}
.mini-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mini-dot:nth-child(1) { background: #ef4444; }
.mini-dot:nth-child(2) { background: #f59e0b; }
.mini-dot:nth-child(3) { background: #22c55e; }
.mini-url {
  font-size: 0.63rem; color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 2px 10px; border-radius: 4px; margin-left: 4px;
}
.mini-browser-body { padding: 12px; }
.mock-lines { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.mock-line { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; }
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; } .mock-line.w45 { width: 45%; }
.embed-snippet {
  background: rgba(45,212,191,0.06);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 6px; padding: 8px 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.63rem; color: var(--primary);
  text-align: left; min-height: 30px;
  opacity: 0; transition: opacity 0.35s;
  word-break: break-all;
}
.embed-snippet.show { opacity: 1; }

/* ── Scene 4: Use Cases ── */
.scene-use { padding: 0; overflow: hidden; }
.uc-slider {
  display: flex; width: 300%; flex: 1;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
.uc-slide {
  width: 33.333%; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 30px 28px; gap: 11px; text-align: center;
}
.uc-icon-wrap {
  width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px; flex-shrink: 0;
}
.uc-teal { background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.28); box-shadow: 0 0 22px rgba(45,212,191,0.18); color: var(--primary); }
.uc-purple { background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.28); box-shadow: 0 0 22px rgba(167,139,250,0.18); color: var(--secondary); }
.uc-grad { background: linear-gradient(135deg, rgba(45,212,191,0.08), rgba(167,139,250,0.08)); border: 1px solid rgba(45,212,191,0.22); box-shadow: 0 0 22px rgba(45,212,191,0.12); color: var(--primary); }
.uc-eyebrow { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); font-family: 'Manrope', sans-serif; }
.uc-headline { font-size: 1.15rem; font-weight: 700; color: var(--text); line-height: 1.25; font-family: 'Manrope', sans-serif; }
.uc-body { font-size: 0.74rem; color: var(--text-muted); line-height: 1.65; max-width: 245px; font-family: 'Manrope', sans-serif; }
.uc-dots { display: flex; gap: 5px; justify-content: center; padding-bottom: 20px; flex-shrink: 0; }
.uc-dot { height: 6px; width: 6px; border-radius: 3px; background: var(--border); transition: width 0.35s ease, background 0.35s ease, box-shadow 0.35s ease; }
.uc-dot.active { width: 18px; background: var(--primary); box-shadow: 0 0 6px rgba(45,212,191,0.55); }

/* ── Thinking bubble ── */
.wm-thinking {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(45,212,191,0.07), rgba(167,139,250,0.07));
  border: 1px solid rgba(45,212,191,0.28);
  border-radius: 14px; border-bottom-left-radius: 4px;
  font-size: 0.72rem; color: var(--primary);
  font-weight: 600; letter-spacing: 0.02em;
  font-family: 'Manrope', sans-serif;
  width: fit-content; max-width: 90%;
  animation: think-pulse 1.6s ease-in-out infinite;
}
@keyframes think-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
  50%      { box-shadow: 0 0 8px 2px rgba(45,212,191,0.18); }
}
.wm-think-dots { display: flex; gap: 4px; }
.wm-think-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
  animation: wm-bounce 1.4s infinite ease-in-out both;
}
.wm-think-dots span:nth-child(1) { animation-delay: -0.32s; }
.wm-think-dots span:nth-child(2) { animation-delay: -0.16s; }

/* ── Lead capture form ── */
.wm-capture-form {
  zoom: 0.85;
  background: linear-gradient(135deg, #1a1040, #0f2040);
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 14px; border-bottom-left-radius: 4px;
  padding: 13px; width: 215px;
}
.wm-capture-title {
  font-size: 0.78rem; font-weight: 700; color: var(--text);
  margin-bottom: 11px; line-height: 1.35;
  font-family: 'Manrope', sans-serif;
}
.wm-capture-field { margin-bottom: 7px; }
.wm-capture-label {
  display: block; font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 3px;
  font-family: 'Manrope', sans-serif;
}
.wm-field-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px; padding: 5px 9px;
  font-size: 0.74rem; color: var(--text);
  min-height: 26px; font-family: 'Manrope', sans-serif;
  transition: border-color 0.2s, background 0.2s;
}
.wm-field-input.active {
  border-color: rgba(45,212,191,0.45);
  background: rgba(45,212,191,0.05);
}
.wm-capture-btn {
  width: 100%; margin-top: 8px;
  background: linear-gradient(135deg, #2dd4bf, #34d399);
  color: #0a0f1e; font-weight: 700; font-size: 0.76rem;
  font-family: 'Manrope', sans-serif;
  border: none; border-radius: 7px; padding: 8px 12px;
  cursor: default; letter-spacing: 0.04em;
  transition: transform 0.12s, box-shadow 0.12s;
}
.wm-capture-btn.clicked {
  transform: scale(0.95);
  box-shadow: 0 0 14px rgba(45,212,191,0.45);
}

/* ── Success panel ── */
.wm-success {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 22px 16px; text-align: center;
  width: 215px;
  animation: success-fade-in 0.4s ease forwards;
}
.wm-success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(45,212,191,0.1);
  border: 2px solid rgba(45,212,191,0.4);
  display: flex; align-items: center; justify-content: center;
  animation: success-glow 1.8s ease-in-out infinite;
}
@keyframes success-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(45,212,191,0.2); }
  50%      { box-shadow: 0 0 22px 8px rgba(45,212,191,0.38); }
}
.wm-success-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw-check 0.5s ease 0.15s forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@keyframes success-fade-in {
  from { opacity: 0; transform: scale(0.82); }
  to   { opacity: 1; transform: scale(1); }
}
.wm-success-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--primary); font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
}
.wm-success-sub {
  font-size: 0.72rem; color: var(--text-muted);
  line-height: 1.55; font-family: 'Manrope', sans-serif;
  max-width: 180px;
}

/* ── Branded inline arrow ── */
.arr {
  display: inline-block;
  color: var(--primary);
  filter: drop-shadow(0 0 3px rgba(45,212,191,0.65));
  font-style: normal;
  font-size: 0.82em;
  margin: 0 3px;
  vertical-align: middle;
  line-height: 1;
}

/* ===== PAIN STRIP ===== */
.pain-strip {
  background: rgba(255,255,255,0.018);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.pain-strip::before,
.pain-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.pain-strip::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.pain-strip::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.pain-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: pain-scroll 38s linear infinite;
  width: max-content;
}
@keyframes pain-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.pain-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 44px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pain-icon { color: var(--primary); display: flex; align-items: center; flex-shrink: 0; }
.pain-divider { display: inline-block; width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }

/* ===== EXPLAINER ===== */
.explainer { background: rgba(255,255,255,0.012); }
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.flow-node {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  padding: 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-width: 155px;
  transition: border-color 0.3s, transform 0.3s;
}
.flow-node:hover { border-color: rgba(45,212,191,0.4); transform: translateY(-3px); }
.flow-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.flow-icon.teal   { background: rgba(45,212,191,0.1);  border-color: rgba(45,212,191,0.25);  color: var(--primary);   }
.flow-icon.purple { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.25); color: var(--secondary); }
.flow-label { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.88rem; color: var(--text); }
.flow-sub   { font-family: 'Manrope', sans-serif; font-size: 0.74rem; color: var(--text-muted); }
.flow-arrow { color: var(--border); font-size: 1.3rem; flex-shrink: 0; font-family: 'Manrope', sans-serif; }

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 10px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: rgba(45,212,191,0.35); transform: translateY(-3px); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(45,212,191,0.14);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}
.step-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 18px;
}
.step-icon.teal   { background: rgba(45,212,191,0.1);  border-color: rgba(45,212,191,0.25);  color: var(--primary);   }
.step-icon.purple { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.25); color: var(--secondary); }
.step-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-body  { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.step-connector {
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 88px;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: -7px; top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: var(--secondary);
}

/* ===== USE CASES ===== */
.use-cases { background: rgba(255,255,255,0.012); }
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.use-inner { padding: 28px; }
.use-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.22);
  color: var(--primary);
}
.use-icon.purple { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.22); color: var(--secondary); }
.use-tag {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 8px;
}
.use-tag.purple { color: var(--secondary); }
.use-title { font-size: 1.08rem; margin-bottom: 10px; color: var(--text); }
.use-body  { font-family: 'Manrope', sans-serif; font-size: 0.87rem; color: var(--text-muted); line-height: 1.72; }

/* ===== FEATURES ===== */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.feat-tile:hover { border-color: rgba(45,212,191,0.35); transform: translateY(-3px); }
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,212,191,0.1);
  color: var(--primary);
  margin-bottom: 14px;
}
.feat-tile:nth-child(even) .feat-icon { background: rgba(167,139,250,0.1); color: var(--secondary); }
.feat-title { font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feat-body  { font-family: 'Manrope', sans-serif; font-size: 0.81rem; color: var(--text-muted); line-height: 1.62; }

/* ===== EMBED SECTION ===== */
.embed-section { background: rgba(255,255,255,0.012); }
.embed-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.setup-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.setup-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Manrope', sans-serif; font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.35s;
}
.setup-item.checked { color: var(--text); }
.check-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  transition: border-color 0.35s, background 0.35s, color 0.35s;
  color: transparent;
}
.setup-item.checked .check-circle {
  border-color: var(--primary);
  background: rgba(45,212,191,0.1);
  color: var(--primary);
}
.check-circle svg { display: none; }
.setup-item.checked .check-circle svg { display: block; }

.code-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.code-lang { font-family: 'Manrope', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.code-copy {
  font-family: 'Manrope', sans-serif; font-size: 0.74rem; font-weight: 600;
  color: var(--primary); background: none;
  border: 1px solid rgba(45,212,191,0.3); border-radius: 5px;
  padding: 3px 10px; cursor: pointer;
  transition: background 0.15s;
}
.code-copy:hover { background: rgba(45,212,191,0.08); }
.code-copy.copied { color: #34d399; border-color: rgba(52,211,153,0.35); }
pre.code-pre {
  margin: 0; padding: 22px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem; line-height: 1.72;
  overflow-x: auto; color: var(--text);
}
.tok-tag  { color: var(--primary); }
.tok-attr { color: var(--secondary); }
.tok-str  { color: #86efac; }
.thats-it {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700;
  color: var(--primary);
  margin-top: 20px; text-align: center;
}

/* ===== STATS ===== */
.stats-section {
  background: rgba(45,212,191,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: var(--border); gap: 1px;
}
.stat-tile { background: var(--bg); padding: 52px 24px; text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900; color: var(--primary);
  display: block; line-height: 1; margin-bottom: 10px;
}
.stat-label { font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.stat-sub   { font-family: 'Manrope', sans-serif; font-size: 0.76rem; color: var(--text-muted); }

/* ===== FULL SYSTEM ===== */
.full-system { background: rgba(167,139,250,0.018); }
.system-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.system-intro .section-body { margin-top: 10px; }
.system-story {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.8; margin-top: 16px;
}
.system-story em { color: var(--text); font-style: normal; }

.system-flow-scroll { overflow-x: auto; padding-bottom: 10px; margin-bottom: 60px; }
.system-flow {
  display: flex; align-items: center;
  min-width: 880px; padding: 4px 4px 8px;
}
.sys-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 104px; flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.sys-node.lit { opacity: 1; border-color: rgba(45,212,191,0.5); box-shadow: 0 0 20px rgba(45,212,191,0.1); }
.sys-node-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(45,212,191,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.sys-node-lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.sys-conn {
  flex: 1; min-width: 20px; height: 2px;
  position: relative; overflow: hidden;
  background: var(--border);
}
.sys-conn-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.42s ease;
}
.sys-conn.drawn .sys-conn-fill { width: 100%; }

.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 52px; }
.auto-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.auto-tile:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-3px); }
.auto-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.22);
  color: var(--secondary);
  margin-bottom: 14px;
}
.auto-tile:nth-child(odd) .auto-icon { background: rgba(45,212,191,0.1); border-color: rgba(45,212,191,0.22); color: var(--primary); }
.auto-title { font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.auto-body  { font-family: 'Manrope', sans-serif; font-size: 0.81rem; color: var(--text-muted); line-height: 1.62; }

.system-quote {
  display: block; text-align: center;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  background: linear-gradient(135deg, #f5f0e8, #2dd4bf, #3b82f6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 44px; padding: 0 16px;
  line-height: 1.4;
}
.system-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT / CONSULT ===== */
.consult-section { background: rgba(255,255,255,0.012); }
.consult-inner { max-width: 680px; margin: 0 auto; }
.consult-content { padding: 48px; }
.form-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.7; margin-top: 8px; margin-bottom: 4px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.76rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-input, .form-textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  font-family: 'Manrope', sans-serif; font-size: 0.92rem;
  color: var(--text); outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.1);
}
.form-input.invalid, .form-textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}
.form-error {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.71rem;
  color: #f87171;
  min-height: 14px;
  margin-top: -2px;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); opacity: 0.55; }
.phone-group {
  display: flex;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: visible;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.1);
}
.phone-group.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}
.phone-cc-wrap { position: relative; flex-shrink: 0; }
.phone-cc-btn {
  display: flex; align-items: center; gap: 5px;
  background: #f8fafc; border: none; border-right: 1px solid #cbd5e1;
  color: #0f172a; font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 600;
  padding: 11px 10px 11px 12px; cursor: pointer; outline: none;
  white-space: nowrap; height: 100%; border-radius: 9px 0 0 9px;
}
.phone-cc-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.phone-cc-arrow { flex-shrink: 0; color: #64748b; transition: transform 0.15s; }
.phone-cc-btn[aria-expanded="true"] .phone-cc-arrow { transform: rotate(180deg); }
.phone-cc-drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; max-height: 270px;
  overflow-y: auto; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,0.18); z-index: 200;
}
.phone-cc-group { padding: 6px 0 2px; }
.phone-cc-group + .phone-cc-group { border-top: 1px solid #f1f5f9; }
.phone-cc-group-label {
  padding: 4px 12px 3px; font-family: 'Manrope', sans-serif;
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #94a3b8;
}
.phone-cc-option {
  padding: 7px 14px; font-family: 'Manrope', sans-serif;
  font-size: 0.84rem; color: #0f172a; cursor: pointer; transition: background 0.1s;
}
.phone-cc-option:hover { background: #f1f5f9; }
.phone-cc-option.active { background: rgba(45,212,191,0.1); color: #0d9488; font-weight: 600; }
.phone-group .phone-number {
  background: transparent;
  border: none;
  border-radius: 0 9px 9px 0;
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  width: 100%;
}
.phone-group .phone-number::placeholder { color: var(--text-muted); opacity: 0.55; }
.form-textarea { resize: vertical; min-height: 96px; }
.form-submit-wrap { margin-top: 22px; }
.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #2dd4bf, #34d399);
  color: #0a0f1e;
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em;
  border: none; border-radius: 10px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,212,191,0.3); }
.form-note {
  font-family: 'Manrope', sans-serif; font-size: 0.77rem;
  color: var(--text-muted); text-align: center; margin-top: 14px;
}
.form-success { display: none; text-align: center; padding: 32px 0; }
.form-success.visible { display: block; }
.success-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin: 0 auto 16px;
}
.success-title { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--text); margin-bottom: 8px; }
.success-sub   { font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: var(--text-muted); }

/* ===== FINAL CTA STRIP ===== */
.final-strip {
  border-top: 2px solid var(--primary);
  background: rgba(45,212,191,0.025);
  padding: 54px 0;
  text-align: center;
}
.final-strip .section-h2 { margin-bottom: 12px; }
.final-strip .section-body { margin: 0 auto 32px; max-width: 420px; text-align: center; }

/* ===== FOOTER ===== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo  { display: flex; align-items: center; gap: 10px; }
.footer-wm {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.28rem;
  background: linear-gradient(135deg, #f5f0e8, #2dd4bf, #3b82f6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-copy    { font-family: 'Manrope', sans-serif; font-size: 0.73rem; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col-head {
  display: block; font-family: 'Manrope', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--text-muted); margin-bottom: 12px;
}
.footer-link { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: var(--text-muted); padding: 5px 0; transition: color 0.15s; }
.footer-link:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; font-family: 'Manrope', sans-serif; font-size: 0.73rem; color: var(--text-muted); text-align: center; }
.link-teal { color: var(--primary); border-bottom: 1px solid rgba(45,212,191,0.28); }
.link-teal:hover { border-bottom-color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { width: 2px; height: 32px; margin: 0 auto; background: linear-gradient(180deg, var(--primary), var(--secondary)); }
  .step-connector::after { right: 50%; top: auto; bottom: -14px; transform: translateX(50%); border: 7px solid transparent; border-top-color: var(--secondary); border-left-color: transparent; }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .hero { padding: 96px 0 45px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { text-align: center; }
  .hero-widget-wrap { display: flex; margin-top: 12px; }
  .widget-mock { max-width: 360px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .embed-inner { grid-template-columns: 1fr; gap: 40px; }
  .use-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .consult-content { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .system-cta-row { flex-direction: column; align-items: stretch; }
  .system-cta-row .btn-cta,
  .system-cta-row .btn-ghost { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 600px) {
  .flow-diagram {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .flow-node {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }
  .flow-arrow {
    transform: rotate(90deg);
    font-size: 1.1rem;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 42px 0; }
  .hero { padding: 88px 0 39px; }
  .hero-h1 { font-size: 2.15rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-cta, .btn-ghost { text-align: center; justify-content: center; }
  .feat-grid { grid-template-columns: 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-tile { padding: 36px 14px; }
  .thats-it { font-size: 1.4rem; }
  .code-wrap { margin-right: 2px; max-width: 100%; }
  pre.code-pre { padding: 18px 14px; font-size: 0.78rem; white-space: pre-wrap; word-break: break-all; }
  .consult-content { padding: 24px 16px; }
  .system-quote { font-size: 1.18rem; }
  .final-strip { padding: 39px 0; }
  .pain-track { animation-duration: 24s; }
  .section-h2 { font-size: 1.62rem; }
}
