/* ==========================================================================
   WorkWaves Bots — styles
   ========================================================================== */
:root {
  --bg: #070b1f;
  --bg-2: #0c1230;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2ff;
  --muted: #a3adcf;
  --dim: #6f7aa3;
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --wa: #25d366;
  --wa-dark: #1ea952;
  --danger: #fb7185;
  --grad: linear-gradient(110deg, #22d3ee 0%, #6366f1 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.18));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-orbs span:nth-child(1) { width: 520px; height: 520px; background: #0891b2; top: -160px; left: -120px; }
.bg-orbs span:nth-child(2) { width: 460px; height: 460px; background: #6d28d9; top: 30%; right: -160px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 380px; height: 380px; background: #1d4ed8; bottom: -140px; left: 30%; animation-delay: -12s; opacity: 0.25; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.8);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.95); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-wa { background: var(--wa); color: #04210f; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #2ee374; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.arrow { font-style: normal; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .18), 0 0 14px var(--cyan);
}

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 31, 0.6); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(99, 102, 241, .9);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo-text b { font-weight: 700; margin-left: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 170px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; }
.hero h1 .grad { display: inline-block; }
.lead { font-size: 18px; color: var(--muted); margin-top: 24px; max-width: 560px; }
.lead strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-head); font-size: 28px; }
.hero-stats span { color: var(--dim); font-size: 14px; }

/* Phone mock */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-visual::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: var(--grad); filter: blur(70px); opacity: .35;
}
.phone {
  position: relative; width: 320px; border-radius: 36px; padding: 14px;
  background: linear-gradient(160deg, #141b40, #0a0f29);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; border-bottom: 1px solid var(--border); }
.phone-top b { display: block; font-size: 15px; }
.phone-top small { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); display: inline-block; }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.avatar svg { width: 24px; height: 24px; }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 6px 10px; min-height: 330px; }
.msg {
  max-width: 82%; padding: 10px 14px; font-size: 14px; line-height: 1.45; border-radius: 16px;
  opacity: 0; transform: translateY(10px) scale(.97);
  animation: pop .45s var(--d) cubic-bezier(.2, .9, .3, 1.3) forwards;
}
.msg.in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; background: var(--surface-2); border-radius: 16px; opacity: 0; animation: pop .4s var(--d) forwards; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(15, 21, 52, .75); border: 1px solid var(--border-strong); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--font-head); font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-ico { font-size: 20px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); }
.fc-1 { top: 40px; left: -10px; animation-delay: -2s; }
.fc-2 { top: 190px; right: -20px; animation-delay: -4s; }
.fc-3 { bottom: 40px; left: 0; animation-delay: -1s; }

/* Waves */
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 160px; }
.waves path { transform-origin: center; }
.w1 { fill: rgba(34, 211, 238, .12); animation: wave 9s ease-in-out infinite alternate; }
.w2 { fill: rgba(139, 92, 246, .14); animation: wave 12s ease-in-out infinite alternate-reverse; }
.w3 { fill: var(--bg); }
@keyframes wave { to { transform: translateX(-40px) scaleY(1.15); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2, .request-copy h2 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; }
.section-sub { color: var(--muted); max-width: 440px; font-size: 17px; }

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap;
}
.tab {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 11px;
  color: var(--muted); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .8); }
.tab .count { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.cat-blurb { color: var(--muted); margin: 16px 0 30px; min-height: 1.6em; }

/* ---------- Package cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  animation: cardIn .5s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card.selected {
  border-color: transparent;
  background:
    linear-gradient(180deg, #11183d, #0c1232) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 20px 60px -24px rgba(99, 102, 241, .9);
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan);
}
.card-ico svg { width: 26px; height: 26px; }
.card[data-cat="cloud"] .card-ico { color: #c4b5fd; }
.chips { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chip {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
}
.chip.badge { background: var(--grad); color: #fff; border-color: transparent; }
.chip.sel { background: rgba(34, 211, 238, .15); color: var(--cyan); border-color: rgba(34, 211, 238, .35); }
.card h3 { font-size: 22px; font-weight: 700; }
.card .tagline { color: var(--muted); font-size: 14.5px; margin-top: 8px; min-height: 46px; }
.price { margin: 22px 0 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .cur { font-size: 14px; color: var(--muted); font-weight: 600; }
.price .amt { font-family: var(--font-head); font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price .per { color: var(--dim); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: #d7dcf5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(45, 212, 191, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232dd4bf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.card .ticks { flex: 1; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.card-actions .btn { padding: 11px 12px; font-size: 14px; }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.demo-player { display: flex; flex-direction: column; gap: 14px; }
.demo-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-strong); background: #0a0f29; box-shadow: var(--shadow);
}
.demo-frame iframe, .demo-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.demo-cover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--poster, none) center/cover, radial-gradient(circle at 30% 20%, rgba(34, 211, 238, .25), transparent 55%), radial-gradient(circle at 80% 90%, rgba(168, 85, 247, .3), transparent 55%), #0b1130;
}
.cover-ui { position: absolute; inset: 9% 7%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; opacity: .45; }
.cover-ui span { border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.cover-ui span:nth-child(1) { grid-column: span 2; }
.cover-ui span:nth-child(4) { grid-row: span 2; }
.demo-player[style*="--poster"] .cover-ui { display: none; }
.play {
  position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: var(--grad); display: grid; place-items: center; box-shadow: 0 14px 40px -8px rgba(99, 102, 241, .9);
  transition: transform .2s;
}
.play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(168, 85, 247, .6); animation: ring 2.2s infinite; }
.play svg { width: 34px; height: 34px; margin-left: 4px; }
.play:hover { transform: scale(1.08); }
.cover-label { position: absolute; left: 20px; bottom: 16px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(7, 11, 31, .7); border: 1px solid var(--border); }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chapter {
  text-align: left; padding: 12px 14px; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: border-color .2s, color .2s;
}
.chapter b { display: block; font-family: var(--font-head); font-size: 12px; color: var(--dim); }
.chapter:hover, .chapter.active { color: var(--text); border-color: var(--cyan); }
.chapter.active b { color: var(--cyan); }

.dash {
  padding: 22px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px;
  background: rgba(15, 21, 52, .8); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head b { font-family: var(--font-head); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wa); padding: 4px 10px; border-radius: 99px; background: rgba(37, 211, 102, .12); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: blink 1.4s infinite; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis .kpi b { font-size: 19px; }
.meter-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.meter-row b { color: var(--text); font-family: var(--font-head); font-size: 13px; }
.meter-track { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 0 12px rgba(99, 102, 241, .7); transition: width .6s ease; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--dim); }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.lg-tried { background: rgba(255, 255, 255, .18); }
.lg-opened { background: var(--grad); }
.lg-full { background: #34d399; }
.chart rect { transition: y .5s ease, height .5s ease; }
.usage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.usage span { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.usage small { display: block; color: var(--dim); font-size: 11px; }
.usage b { font-family: var(--font-head); font-size: 15px; font-variant-numeric: tabular-nums; }
.f-dot.info { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.f-dot.bad { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.dash-note a { color: var(--cyan); }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.kpi small { display: block; color: var(--dim); font-size: 12px; }
.kpi b { font-family: var(--font-head); font-size: 22px; font-variant-numeric: tabular-nums; }
.chart { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.chart small { color: var(--dim); font-size: 12px; }
.chart svg { width: 100%; height: 80px; margin-top: 6px; overflow: visible; }
.chart path, .chart circle { transition: d .6s ease, cx .6s, cy .6s; }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); animation: cardIn .4s both; }
.feed b { display: block; font-size: 13px; }
.feed small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed > li > div { min-width: 0; }
.feed time { color: var(--dim); font-size: 11px; }
.f-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.dash-note { color: var(--dim); font-size: 12px; text-align: center; }

/* ---------- Compare ---------- */
.compare-sec { padding-top: 20px; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.compare-card {
  padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.compare-card h3 { font-size: 26px; margin: 18px 0 10px; }
.compare-card p { color: var(--muted); margin-bottom: 20px; }
.compare-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.compare-ico.local { background: rgba(34, 211, 238, .14); }
.compare-ico.cloud { background: rgba(139, 92, 246, .18); }
.compare-vs {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; background: var(--grad); color: #fff;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--grad); opacity: .08; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 21px; margin: 12px 0 8px; }
.steps p { color: var(--muted); }

/* ---------- Request ---------- */
.request-sec { background: linear-gradient(180deg, transparent, rgba(12, 18, 48, .9) 20%, rgba(12, 18, 48, .9) 80%, transparent); }
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.wa-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--wa); }
.request-card {
  padding: 34px; border-radius: 24px;
  background: rgba(15, 21, 52, .8); border: 1px solid var(--border-strong); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); display: grid; gap: 20px;
}
.selected { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.selected small { color: var(--dim); font-weight: 600; font-size: 13px; }
.selected-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.selected-row b { font-family: var(--font-head); font-size: 19px; }
.selected-check { color: var(--teal); font-size: 20px; font-weight: 700; }
.selected.flash { animation: flash .8s; }
@keyframes flash { 30% { background: rgba(34, 211, 238, .08); } }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 600; font-size: 14.5px; }
.field small { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-strong);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23a3adcf' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option, .field select optgroup { background: #0c1230; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .15); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(251, 113, 133, .12); }
.err { display: none; color: var(--danger); font-size: 13px; font-style: normal; }
.field.invalid .err { display: block; }
.form-foot { color: var(--dim); font-size: 13.5px; text-align: center; }
.form-foot.warn { color: #fbbf24; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--cyan); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--dim); font-size: 14px; }

/* ---------- WA floating button ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #04210f; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .8);
  transition: transform .2s;
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 18, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 36px; border-radius: 26px; background: linear-gradient(180deg, #121a42, #0b1130);
  border: 1px solid var(--border-strong); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .25s, transform .25s;
}
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-x {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted);
}
.modal-x:hover { color: var(--text); }
.m-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.m-head h3 { font-size: 28px; }
.m-head .chip { display: inline-block; margin-top: 6px; }
.m-tag { color: var(--muted); }
.m-price { padding: 18px 20px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--border); margin: 22px 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.m-price .amt { font-family: var(--font-head); font-size: 36px; font-weight: 800; }
.m-price .cur, .m-price .per { color: var(--muted); }
.m-section-title { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 24px 0 14px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.spec small { display: block; color: var(--dim); font-size: 12px; }
.spec b { font-size: 15px; }
.m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 12px; background: #1a2350; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-weight: 500;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .request-grid, .demo-grid { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 480px; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: rgba(7, 11, 31, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 12px 4px; }
  .hero { padding: 48px 0 140px; }
  .hero-stats { gap: 28px; }
  .float-card { display: none; }
  .phone { width: 290px; }
  .section { padding: 72px 0; }
  .request-card, .modal-panel { padding: 24px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 10px 10px; }
  .m-actions, .specs { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
