:root {
  --bg: #07080d;
  --bg-alt: #0b0d16;
  --surface: #12141f;
  --surface-2: #191c2a;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f4f5f9;
  --text-dim: #a3aac2;
  --text-faint: #6b7290;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --cta-1: #f97316;
  --cta-2: #ec4899;
  --radius: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --fs-h1: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
}

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--cta-1));
  z-index: 210; box-shadow: 0 0 10px rgba(139,92,246,0.6);
}

/* ---------- soft cursor glow (desktop only) ---------- */

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 280px; height: 280px;
  margin-left: -140px; margin-top: -140px; border-radius: 50%;
  pointer-events: none; z-index: 3; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 70%);
  will-change: transform;
}
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

h1, h2, h3 { font-family: "Unbounded", "Inter", sans-serif; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.text-gradient {
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--border-strong); cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.btn:active { transform: scale(0.96); }
.btn-cta {
  background: linear-gradient(100deg, var(--cta-1), var(--cta-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 26px rgba(236,72,153,0.35);
}
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(236,72,153,0.45); }
  .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--border-strong); }
}
.btn-ghost { background: transparent; color: var(--text); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; background: transparent;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), padding 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,8,13,0.75); backdrop-filter: blur(14px);
  border-bottom-color: var(--border); padding: 12px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: "Unbounded", sans-serif; font-weight: 700; color: #07080d;
}
.brand-name { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.05rem; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-size: 0.92rem; font-weight: 500; color: var(--text-dim); transition: color 160ms ease; }
.main-nav a:hover { color: var(--text); }
.header-cta { flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }

@media (max-width: 940px) {
  .main-nav { position: fixed; top: 64px; left: 16px; right: 16px; background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm); flex-direction: column; padding: 10px; gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out); }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 11px 12px; border-radius: 8px; }
  .main-nav a:hover { background: var(--surface-2); }
  .header-cta { display: none; }
  .burger { display: flex; }
}
@media (min-width: 941px) and (max-width: 1040px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 16px; }
}

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; animation: aurora-drift 18s ease-in-out infinite alternate; }
.hero-glow-1 { width: 520px; height: 520px; background: var(--violet); opacity: 0.25; top: -120px; right: -100px; }
.hero-glow-2 { width: 420px; height: 420px; background: var(--cyan); opacity: 0.16; bottom: -140px; left: -100px; animation-delay: -6s; }
.hero-glow-3 { width: 320px; height: 320px; background: var(--cta-1); opacity: 0.10; top: 40%; left: 38%; animation-delay: -11s; animation-duration: 22s; }
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(36px, -26px) scale(1.15); }
  100% { transform: translate(-24px, 18px) scale(0.92); }
}
.hero-inner { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px;
}
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); } 70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

.hero-title { font-size: var(--fs-h1); font-weight: 700; max-width: 900px; margin-bottom: 26px; }
.hero-sub { font-size: var(--fs-lead); color: var(--text-dim); max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-value { font-family: "Unbounded", sans-serif; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; color: var(--text); }
.hero-stat-label { font-size: 0.82rem; color: var(--text-faint); max-width: 180px; margin-top: 4px; }

/* ---------- floating background messages (decorative, illustrative only) ---------- */

.float-msgs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.float-msg {
  position: absolute; padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem; color: var(--text-dim); white-space: nowrap;
  filter: blur(0.3px); opacity: 0; backdrop-filter: blur(2px);
  animation: msg-drift 9s ease-in-out infinite;
}
.fm1 { top: 14%; left: 4%; animation-delay: 0.2s; }
.fm2 { top: 66%; left: 2%; animation-delay: 2.4s; }
.fm3 { top: 24%; right: 3%; animation-delay: 1.1s; }
.fm4 { top: 78%; right: 6%; animation-delay: 3.6s; }
.fm5 { top: 48%; right: -2%; animation-delay: 4.8s; }
@keyframes msg-drift {
  0% { opacity: 0; transform: translateY(14px); }
  12% { opacity: 0.55; transform: translateY(0); }
  85% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-14px); }
}
@media (max-width: 860px) {
  .float-msg { display: none; }
  .fm1, .fm2 { display: block; font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .float-msg { display: none; }
}

/* ---------- mechanism chat mockups ---------- */

.mock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.mock-phone {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 28px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mock-phone:hover, .mock-browser:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,0.45); }
}
.mock-phone::before, .mock-phone::after { content: ""; position: absolute; background: var(--border-strong); border-radius: 3px; z-index: 3; }
.mock-phone::before { left: 0; top: 68px; width: 3px; height: 38px; }
.mock-phone::after { right: 0; top: 88px; width: 3px; height: 56px; }
.mock-phone-head {
  display: flex; align-items: center; gap: 9px; padding: 16px 20px;
  border-bottom: 1px solid var(--border); font-size: 0.85rem; font-weight: 700; color: var(--text-dim);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--d, #8b5cf6); box-shadow: 0 0 10px var(--d, #8b5cf6); }
.mock-phone-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.mock-msg { display: flex; gap: 10px; align-items: flex-start; position: relative; }
.mock-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--a) 25%, transparent); color: var(--a);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}
.mock-bubble {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px;
  padding: 10px 14px; font-size: 0.86rem; color: var(--text-dim); max-width: 320px;
}
.mock-msg-flagged { margin-bottom: 18px; }
.mock-msg-flagged .mock-bubble { border-color: rgba(245,158,11,0.5); color: var(--text); }
.mock-tag {
  position: absolute; left: 40px; bottom: -22px; font-size: 0.72rem; font-weight: 700;
  color: #fcd34d; background: rgba(245,158,11,0.12); padding: 3px 10px; border-radius: 100px;
}
.mock-msg-out { flex-direction: row-reverse; }
.mock-msg-out .mock-bubble { border-radius: 14px 14px 4px 14px; background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.35); color: var(--text); margin-left: auto; }
.mock-caption { padding: 12px 20px 18px; font-size: 0.72rem; color: var(--text-faint); text-align: center; border-top: 1px solid var(--border); }

/* ---------- browser / CRM mockup ---------- */

.mock-browser {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.mock-browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mock-browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bc); opacity: 0.85; }
.mock-browser-url {
  margin-left: 10px; font-size: 0.74rem; color: var(--text-faint); background: var(--surface-2);
  padding: 4px 12px; border-radius: 100px; flex: 1; max-width: 220px;
}
.mock-browser-body { padding: 18px; min-height: 260px; display: flex; align-items: stretch; }
.mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.mock-kanban-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mock-kanban-head { font-size: 0.72rem; font-weight: 700; color: var(--text-dim); display: flex; justify-content: space-between; }
.mock-kanban-head span { background: var(--surface); border-radius: 100px; padding: 1px 7px; font-size: 0.68rem; }
.mock-kanban-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 10px; font-size: 0.76rem; color: var(--text-dim);
}
.mock-kanban-card-accent { border-color: rgba(139,92,246,0.4); color: var(--text); }
.mock-kanban-card-success { border-color: rgba(16,185,129,0.4); color: #6ee7b7; font-weight: 700; }
@media (max-width: 560px) {
  .mock-kanban { grid-template-columns: 1fr; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden; margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee-scroll 30s linear infinite; }
.marquee-track span {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border-strong);
  font-size: 0.85rem; color: var(--text-dim); background: var(--surface); white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; z-index: 1;
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--text-faint), transparent); animation: scroll-cue 1.8s var(--ease-in-out) infinite; }
@keyframes scroll-cue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); transform-origin: top; opacity: 1; } 60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ---------- sections ---------- */

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 640px) { .section { padding: 72px 0; } }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-title { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: var(--fs-lead); }
.lead-text { font-size: var(--fs-lead); color: var(--text-dim); margin: 18px 0 24px; max-width: 480px; }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-card-glow { position: absolute; inset: 10%; background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%); filter: blur(40px); }
.founder-art { width: 100%; max-width: 320px; position: relative; }
.about-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-points li { padding-left: 22px; position: relative; color: var(--text-dim); font-size: 0.95rem; }
.about-points li::before { content: "→"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.about-points b { color: var(--text); }

/* ---------- services ---------- */

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
@media (min-width: 860px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:first-child { grid-column: span 2; }
}
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  transform-style: preserve-3d; will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { border-color: var(--border-strong); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
  .service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c); display: flex; align-items: center; justify-content: center;
  transition: transform 220ms var(--ease-out);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; font-family: "Unbounded", sans-serif; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- case study ---------- */

.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; margin-bottom: 48px; }
@media (max-width: 640px) { .case-card { padding: 26px 20px; } }
.case-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
.case-block { margin-bottom: 22px; }
.case-block:last-child { margin-bottom: 0; }
.case-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); margin-bottom: 6px; }
.case-block p { color: var(--text-dim); }
.case-visual { display: flex; justify-content: center; }
.case-svg { max-width: 320px; }
.case-stat-row {
  display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border);
}
.case-stat { font-size: 0.85rem; color: var(--text-faint); }
.case-stat span { display: block; font-family: "Unbounded", sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }

.niches { text-align: center; }
.niches-label { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 16px; }

/* ---------- process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 20px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan)); opacity: 0.3;
  transform: scaleX(0); transform-origin: left; z-index: 0;
}
.process-grid.line-drawn::before { transform: scaleX(1); transition: transform 1.1s var(--ease-out); }
@media (max-width: 860px) { .process-grid::before { display: none; } }
.process-step { position: relative; padding-top: 8px; z-index: 1; }
.process-num { font-family: "Unbounded", sans-serif; font-size: 2.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--border-strong); margin-bottom: 14px; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- FAQ (animated sliding accordion) ---------- */

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.faq-item.open { border-color: rgba(34,211,238,0.45); box-shadow: 0 16px 38px rgba(0,0,0,0.3); }
@media (hover: hover) and (pointer: fine) {
  .faq-item:not(.open):hover { border-color: var(--border-strong); transform: translateY(-1px); }
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
  background: rgba(34,211,238,0.12);
  transition: transform 340ms var(--ease-out), background 240ms ease, color 240ms ease;
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-item.open .faq-icon { transform: rotate(180deg); background: linear-gradient(100deg, var(--violet), var(--cyan)); color: #07080d; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 420ms var(--ease-out); }
.faq-a-inner {
  padding: 0 22px 22px; opacity: 0; transform: translateY(-10px);
  transition: opacity 320ms var(--ease-out) 60ms, transform 320ms var(--ease-out) 60ms;
}
.faq-item.open .faq-a-inner { opacity: 1; transform: translateY(0); }
.faq-a-inner p { color: var(--text-dim); font-size: 0.92rem; max-width: 62ch; }

/* ---------- sticky floating CTA ---------- */

.sticky-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.sticky-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta-btn { box-shadow: 0 12px 32px rgba(236,72,153,0.42); }
@media (max-width: 640px) {
  .sticky-cta { left: 16px; right: 16px; bottom: 16px; }
  .sticky-cta-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: opacity 1ms; }
}

/* ---------- exit-intent modal ---------- */

.exit-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.exit-modal.show { display: flex; }
.exit-modal-backdrop { position: absolute; inset: 0; background: rgba(4,5,9,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exit-modal-card {
  position: relative; max-width: 420px; width: 100%; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 38px 30px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(16px) scale(0.98);
  animation: exit-modal-in 320ms var(--ease-out) forwards;
}
@keyframes exit-modal-in { to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .exit-modal-card { animation: none; opacity: 1; transform: none; } }
.exit-modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-dim);
  font-size: 0.95rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: color 160ms ease, border-color 160ms ease;
}
.exit-modal-close:hover { color: var(--text); border-color: var(--border-strong); }
.exit-modal-kicker { font-size: 0.78rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.exit-modal-card h3 { font-family: "Unbounded", sans-serif; font-size: 1.28rem; font-weight: 700; margin-bottom: 12px; line-height: 1.25; }
.exit-modal-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 22px; }

/* ---------- CTA / contact ---------- */

.cta-section { overflow: hidden; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(700px circle at 80% 20%, rgba(139,92,246,0.18), transparent 60%); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; z-index: 1; align-items: start; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 36px; } }
.cta-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; color: var(--text-dim); font-size: 0.95rem; }

.lead-form { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,0.2); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.74rem; color: var(--text-faint); text-align: center; margin-top: 12px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px; border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.14); color: #6ee7b7; font-size: 0.88rem; font-weight: 600; text-align: center;
}
.form-success.show { display: block; }
.lead-form.submitted .form-row, .lead-form.submitted button, .lead-form.submitted .form-note { display: none; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 24px; background: var(--bg-alt); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.footer-brand p { width: 100%; color: var(--text-faint); font-size: 0.82rem; margin-top: 4px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 0.78rem; color: var(--text-faint); }

/* ---------- reveal animations (GSAP toggles .is-visible) ---------- */

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
