/* ==================================================================
   MAXBOT Studio — лендинг
   ================================================================== */

/* ---------------------------- header ---------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 12, 24, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 34px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .02em; font-size: 1.06rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(107, 92, 255, .9);
  flex: 0 0 auto;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.45); margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color .18s, background .18s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .btn-ghost { color: rgba(255, 255, 255, .82); }
.header-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.header-actions .btn-primary { height: 40px; font-size: .88rem; padding: 0 18px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 16px; right: 16px;
  z-index: 99;
  background: #0d1326;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; padding: 12px; border-radius: 10px; color: #fff; font-weight: 500; }
.mobile-nav a:hover { background: rgba(255,255,255,.07); }

/* ---------------------------- hero ------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 620px at 82% 0%, rgba(92, 104, 255, .38), transparent 62%),
    radial-gradient(760px 520px at 4% 92%, rgba(69, 196, 255, .16), transparent 60%),
    #080c18;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 62px) 0 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; width: 520px; height: 520px; right: -120px; top: 80px;
  background: radial-gradient(circle, rgba(123, 92, 255, .5), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 54px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #54e6b1;
  box-shadow: 0 0 0 4px rgba(84, 230, 177, .16);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(84, 230, 177, .32); }
  50% { box-shadow: 0 0 0 6px rgba(84, 230, 177, 0); }
}
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -.038em;
  font-weight: 800;
  max-width: 640px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #a99bff 0%, #79a8ff 45%, #5fe0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .68);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { height: 52px; padding: 0 26px; border-radius: 13px; font-size: .98rem; }
.hero-cta .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.hero-checks li { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: rgba(255, 255, 255, .58); }
.hero-checks svg { color: #54e6b1; flex: 0 0 auto; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats .stat { padding: 22px 8px 26px; }
.hero-stats .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .08); padding-left: 26px; }
.hero-stats b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.hero-stats span { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.hero-stats .grad-num {
  background: linear-gradient(100deg, #a99bff, #6fe4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------- phone ----------------------------- */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 8px 20px 26px; }
.phone-stage::before {
  content: "";
  position: absolute; inset: 8% 6% 2%;
  background: radial-gradient(circle at 50% 40%, rgba(107, 92, 255, .55), rgba(69, 196, 255, .12) 55%, transparent 72%);
  filter: blur(38px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 312px;
  height: 624px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a3350, #0c1020 40%);
  padding: 10px;
  box-shadow: 0 46px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone-screen {
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #eef1f8;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-status {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: .68rem;
  font-weight: 600;
  color: #1a2138;
  background: #fff;
}
.phone-status .dots { display: flex; align-items: center; gap: 4px; }
.phone-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: #1a2138; display: block; }
.phone-status .battery { width: 18px; height: 9px; border: 1px solid #1a2138; border-radius: 3px; position: relative; }
.phone-status .battery::after { content: ""; position: absolute; inset: 1.5px; right: 4px; background: #1a2138; border-radius: 1px; }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: #0c1020; border-radius: 999px; z-index: 5;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 11px;
  background: #fff;
  border-bottom: 1px solid #e8ebf3;
}
.chat-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #e9c8a0, #b07f52);
  display: grid; place-items: center; font-size: 1rem; flex: 0 0 auto;
}
.chat-head .who { line-height: 1.2; min-width: 0; }
.chat-head b { display: block; font-size: .82rem; color: #10162a; }
.chat-head span { display: block; font-size: .66rem; color: #6b7590; }
.chat-head .chat-more { margin-left: auto; color: #8b93a9; display: flex; flex-direction: column; gap: 3px; }
.chat-head .chat-more i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: block; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(107, 92, 255, .07), transparent 70%),
    #eef1f8;
  scrollbar-width: none;
}
.chat-body::-webkit-scrollbar { display: none; }
.chat-date { align-self: center; font-size: .62rem; color: #8b93a9; background: rgba(255, 255, 255, .7); padding: 3px 9px; border-radius: 999px; margin-bottom: 2px; }
.msg { display: flex; gap: 7px; max-width: 92%; animation: msg-in .3s ease both; }
.msg .avatar-sm {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #e9c8a0, #b07f52);
  display: grid; place-items: center; font-size: .75rem; flex: 0 0 auto; align-self: flex-end;
}
.bubble {
  background: #fff;
  border-radius: 14px 14px 14px 5px;
  padding: 9px 12px;
  font-size: .79rem;
  line-height: 1.42;
  color: #1a2138;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  white-space: pre-line;
}
.msg.user { margin-left: auto; flex-direction: row-reverse; max-width: 84%; }
.msg.user .bubble {
  background: linear-gradient(135deg, #6d7cff, #4c8dff);
  color: #fff;
  border-radius: 14px 14px 5px 14px;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; }
.chat-buttons button {
  border: 0;
  background: #fff;
  border-radius: 9px;
  padding: 8px 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #4c6bff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  transition: transform .15s, background .15s;
  line-height: 1.2;
}
.chat-buttons button:hover { transform: translateY(-1px); background: #f7f8ff; }
.chat-buttons button.wide { grid-column: span 2; }
.chat-input {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 12px;
  background: #fff;
  border-top: 1px solid #e8ebf3;
}
.chat-input .fake-field { flex: 1; height: 32px; border-radius: 10px; background: #f1f3f9; display: flex; align-items: center; padding: 0 10px; font-size: .7rem; color: #9aa2b6; }
.chat-input .send { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.typing { display: inline-flex; gap: 3px; align-items: center; padding: 10px 13px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa2b6; animation: typing 1.2s ease infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  color: #10162a;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .55);
  font-size: .76rem;
  line-height: 1.25;
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: .8rem; }
.float-card span { color: #6b7590; font-size: .68rem; }
.float-card .fc-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.fc-1 { top: 96px; right: -6px; animation-delay: -1s; }
.fc-1 .fc-icon { background: #e6f7f1; color: #12a874; }
.fc-2 { bottom: 82px; left: -18px; animation-delay: -3s; }
.fc-2 .fc-icon { background: #f0edff; color: #6b5cff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------- sections -------------------------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: #fff; }
.section-dark { background: #080c18; color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-dark .kicker { color: #8fa6ff; }
.section-title {
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--ink);
}
.section-dark .section-title { color: #fff; }
.section-lead { margin-top: 14px; font-size: 1.02rem; line-height: 1.6; color: var(--muted); }
.section-dark .section-lead { color: rgba(255, 255, 255, .58); }

.trust-strip { padding: 26px 0 8px; background: #080c18; border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip .inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; color: rgba(255,255,255,.42); font-size: .78rem; }
.trust-strip b { color: rgba(255,255,255,.72); font-weight: 600; }
.trust-strip .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.25); }

/* ---------------------------- features -------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; inset: auto -40px -60px auto;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(107, 92, 255, .1), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dcdff0; }
.feature-card:hover::after { opacity: 1; }
.icon-tile {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--brand);
  margin-bottom: 18px;
  border: 1px solid rgba(107, 92, 255, .1);
}
.icon-tile svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; }
.feature-card p { margin-top: 8px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.feature-meta { display: inline-flex; margin-top: 16px; font-size: .74rem; font-weight: 600; color: var(--brand); background: var(--violet-soft); padding: 5px 10px; border-radius: 7px; }

/* ---------------------------- steps ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.step-card .num {
  width: 34px; height: 34px; border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-weight: 800; font-size: .88rem;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.step-card h3 { margin-top: 18px; font-size: 1.05rem; font-weight: 700; }
.step-card p { margin-top: 8px; font-size: .87rem; color: var(--muted); line-height: 1.6; }
.step-card .mini {
  margin-top: 18px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 11px 12px;
  font-size: .76rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.step-card .mini .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.step-card .mini .dot.green { background: var(--success); }
.step-card .mini code { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }

/* ---------------------------- showcase -------------------------- */
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 54px; align-items: center; }
.showcase-copy .section-lead { max-width: 460px; }
.showcase-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.showcase-list li { display: flex; gap: 12px; }
.showcase-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(84, 230, 177, .14);
  color: #54e6b1;
  display: grid; place-items: center;
  flex: 0 0 auto; margin-top: 1px;
}
.showcase-list b { display: block; font-size: .93rem; font-weight: 600; }
.showcase-list span { display: block; font-size: .84rem; color: rgba(255, 255, 255, .5); margin-top: 2px; line-height: 1.5; }

.builder-mock {
  position: relative;
  border-radius: 20px;
  background: #0f1526;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.builder-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.builder-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.16); display: block; }
.builder-bar i:nth-child(1) { background: #ff6b6b; }
.builder-bar i:nth-child(2) { background: #ffd93d; }
.builder-bar i:nth-child(3) { background: #54e6b1; }
.builder-bar span { margin-left: 8px; font-size: .68rem; color: rgba(255,255,255,.4); }
.builder-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; padding: 14px; }
.builder-blocks { display: flex; flex-direction: column; gap: 7px; }
.b-block {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: .72rem;
  color: rgba(255, 255, 255, .8);
}
.b-block.active { background: rgba(107, 92, 255, .18); border-color: rgba(140, 130, 255, .55); box-shadow: 0 0 0 1px rgba(140, 130, 255, .2); }
.b-block .grip { display: grid; gap: 2px; opacity: .4; }
.b-block .grip i { width: 8px; height: 1.5px; background: currentColor; display: block; }
.b-block .b-ico { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: .7rem; flex: 0 0 auto; }
.b-block .b-tag { margin-left: auto; font-size: .58rem; padding: 2px 6px; border-radius: 5px; background: rgba(84, 230, 177, .12); color: #54e6b1; }
.b-connect { width: 1px; height: 8px; background: rgba(255, 255, 255, .15); margin-left: 22px; }
.builder-preview {
  align-self: start;
  border-radius: 14px;
  background: #eef1f8;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.builder-preview .bp-head { background: #fff; padding: 8px 10px; font-size: .62rem; color: #10162a; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #e8ebf3; }
.builder-preview .bp-head .ava { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg,#e9c8a0,#b07f52); }
.builder-preview .bp-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.builder-preview .bubble { font-size: .64rem; padding: 7px 9px; border-radius: 10px 10px 10px 4px; }
.builder-preview .chat-buttons { gap: 4px; }
.builder-preview .chat-buttons button { font-size: .6rem; padding: 6px 4px; border-radius: 7px; }
.builder-note {
  position: absolute;
  right: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 7px;
  font-size: .68rem;
  color: #54e6b1;
  background: rgba(10, 16, 32, .9);
  border: 1px solid rgba(84, 230, 177, .25);
  padding: 7px 10px;
  border-radius: 9px;
}

/* ---------------------------- analytics ------------------------- */
.analytics-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 54px; align-items: center; }
.analytics-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ac-head h4 { font-size: .95rem; font-weight: 700; }
.ac-head .badge { font-size: .68rem; }
.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.ac-stat { padding: 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.ac-stat b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ac-stat span { font-size: .68rem; color: var(--muted-2); }
.bar-chart { display: flex; align-items: flex-end; gap: 7px; height: 132px; padding-top: 8px; }
.bar-chart .bar-col { flex: 1; display: flex; flex-direction: column; gap: 3px; justify-content: flex-end; height: 100%; }
.bar-chart .bar {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: var(--grad);
  min-height: 4px;
  transition: height .8s cubic-bezier(.2, .8, .3, 1);
}
.bar-chart .bar.ghost { background: #edf0f9; }
.bar-labels { display: flex; gap: 7px; margin-top: 6px; }
.bar-labels span { flex: 1; text-align: center; font-size: .58rem; color: var(--muted-2); }
.funnel { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.funnel-row { display: flex; align-items: center; gap: 10px; font-size: .72rem; }
.funnel-row .fl { width: 80px; color: var(--muted); flex: 0 0 auto; }
.funnel-row .ft { flex: 1; height: 8px; border-radius: 99px; background: #eef1f8; overflow: hidden; }
.funnel-row .ft i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.funnel-row b { width: 34px; text-align: right; font-size: .7rem; }

/* ---------------------------- usecases -------------------------- */
.usecases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.usecase {
  padding: 20px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.usecase .emoji { font-size: 1.5rem; display: block; margin-bottom: 9px; }
.usecase b { display: block; font-size: .8rem; font-weight: 600; }
.usecase span { display: block; font-size: .68rem; color: var(--muted-2); margin-top: 2px; }

/* ---------------------------- pricing --------------------------- */
.pricing-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 42px; }
.price-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: #eef0f8; border: 1px solid var(--border); margin-top: 22px; }
.price-toggle button {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 9px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  transition: background .2s, color .2s, box-shadow .2s;
}
.price-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.price-toggle .save { font-size: .68rem; color: var(--success); background: var(--success-soft); padding: 2px 6px; border-radius: 5px; margin-left: 5px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.popular {
  background: radial-gradient(700px 300px at 80% -10%, rgba(107, 92, 255, .5), transparent 60%), #0b1020;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 34px 70px -30px rgba(60, 60, 200, .7);
}
.plan-card.popular:hover { transform: translateY(-4px); }
.plan-popular {
  position: absolute; top: -12px; left: 28px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 6px 16px -4px rgba(107, 92, 255, .9);
}
.plan-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.plan-desc { margin-top: 5px; font-size: .8rem; color: var(--muted); min-height: 36px; }
.plan-card.popular .plan-desc { color: rgba(255,255,255,.55); }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 4px; }
.plan-price b { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price span { font-size: .84rem; color: var(--muted); }
.plan-card.popular .plan-price span { color: rgba(255,255,255,.5); }
.plan-price-note { font-size: .72rem; color: var(--muted-2); min-height: 18px; }
.plan-btn { margin: 20px 0 22px; }
.plan-card.popular .plan-btn { background: #fff; color: #0b1020; border-color: #fff; }
.plan-features { display: flex; flex-direction: column; gap: 10px; font-size: .84rem; }
.plan-features li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-3); }
.plan-features li svg { flex: 0 0 auto; margin-top: 2px; color: var(--success); }
.plan-card.popular .plan-features li { color: rgba(255,255,255,.78); }
.plan-card.popular .plan-features li svg { color: #54e6b1; }
.plan-note { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--muted-2); }

/* ---------------------------- faq ------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: .94rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 22px; height: 22px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: transform .25s, background .25s, color .25s;
  color: var(--muted);
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--violet-soft); color: var(--brand); border-color: transparent; }
.faq-answer { padding: 0 22px 20px; font-size: .88rem; line-height: 1.65; color: var(--muted); }
.faq-answer a { color: var(--brand); font-weight: 500; }

/* ---------------------------- cta ------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(69, 196, 255, .35), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(107, 92, 255, .5), transparent 60%),
    #0a0f20;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 34px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 65%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .62); font-size: .96rem; max-width: 460px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-actions .btn { height: 52px; }
.cta-actions .note { font-size: .74rem; color: rgba(255,255,255,.4); text-align: center; }

/* ---------------------------- footer --------------------------- */
.site-footer { background: #060a14; color: rgba(255, 255, 255, .55); padding: 56px 0 30px; font-size: .85rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin-top: 14px; max-width: 300px; line-height: 1.6; font-size: .82rem; color: rgba(255,255,255,.42); }
.footer-col h5 { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .5); transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .76rem; color: rgba(255,255,255,.35); flex-wrap: wrap; }
.footer-bottom .made { display: flex; align-items: center; gap: 6px; }

/* ---------------------------- reveal --------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- responsive ----------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 18px; padding-bottom: 34px; }
  .phone-stage { order: 0; padding-top: 0; }
  .hero-copy { max-width: 680px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(3) { border-left: 0; }
  .hero-stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .showcase-grid, .analytics-grid { grid-template-columns: 1fr; gap: 34px; }
  .usecases { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card.popular { order: -1; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-actions { max-width: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .phone { width: 286px; height: 576px; transform: none; }
  .phone-stage { margin: 26px auto 0; padding: 0 0 10px; }
  .float-card { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  .container, .container-wide { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-cta .btn { width: 100%; }
  .hero-stats b { font-size: 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .builder-body { grid-template-columns: 1fr; }
  .builder-preview { display: none; }
  .cta-band { padding: 34px 22px; border-radius: 20px; }
  .plan-card { padding: 26px 22px; }
  .faq-item summary { padding: 15px 16px; font-size: .88rem; }
  .faq-answer { padding: 0 16px 16px; }
  .site-footer { padding-top: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion: reveal everything at once */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
