/* =========================================================
   BIZKO — Landing Page
   Design system + components
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — official bizko palette (manual de marca v1.0) */
  --violet-700: #5a4bd4;
  --violet-600: #6d5ee8;   /* hover / darker */
  --violet-500: #8b7cf6;   /* Violeta Bizko · primary */
  --violet-400: #c4b5fd;   /* Lila suave */
  --indigo-600: #4c3fb0;   /* deep violet-indigo */
  --indigo-500: #6d5ee8;
  --blue-500: #6d7cf6;     /* cool violet-blue accent */

  --accent: #12b76a;       /* functional success (stock / positive) */
  --accent-strong: #039855;
  --amber: #f59e0b;        /* warnings */
  --coral: #f97362;        /* Coral acción · CTA / notificaciones */
  --coral-strong: #f2543f;
  --lila: #c4b5fd;
  --lavanda: #f5f3ff;

  /* Neutrals — indigo-noche based */
  --ink-950: #151238;
  --ink-900: #1e1b4b;      /* Indigo noche */
  --ink-800: #26224f;
  --ink-700: #322d64;
  --slate-600: #4a4570;
  --slate-500: #6a6592;
  --slate-400: #9591b8;
  --slate-300: #c9c5e2;
  --slate-200: #e4e0f4;
  --slate-100: #efecfb;
  --slate-50: #f8f6ff;
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-soft: #f6f4ff;
  --bg-ink: #1e1b4b;
  --text: #1e1b4b;         /* Indigo noche · texto principal */
  --text-soft: #4a4570;
  --text-muted: #837fa6;
  --border: #ebe8fa;
  --border-strong: #ddd8f2;

  /* Effects */
  --grad-brand: linear-gradient(125deg, #8b7cf6 0%, #6d5ee8 60%, #5a4bd4 100%);
  --grad-brand-soft: linear-gradient(125deg, #a99bfb 0%, #8b7cf6 100%);
  --grad-accent: linear-gradient(120deg, #f97362 0%, #f2543f 100%); /* coral CTA */
  --grad-ink: linear-gradient(160deg, #2a2560 0%, #1e1b4b 62%, #17133f 100%);

  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .07);
  --shadow-md: 0 8px 24px -8px rgba(30, 27, 75, .18);
  --shadow-lg: 0 24px 60px -18px rgba(30, 27, 75, .28);
  --shadow-xl: 0 40px 90px -30px rgba(30, 27, 75, .42);
  --ring: 0 0 0 1px rgba(139, 124, 246, .14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--ink {
  background: var(--grad-ink);
  color: #efecff;
}
.section--soft { background: var(--bg-soft); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet-600);
  background: rgba(139, 124, 246, .08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: #c9bffc; background: rgba(139, 124, 246, .18); }
.tag-demo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
  color: var(--coral-strong); background: rgba(249,115,98,.1);
  border: 1px solid rgba(249,115,98,.32); padding: 4px 11px; border-radius: 100px;
  margin-left: 10px; vertical-align: middle;
}
.section--ink .tag-demo { color: #ffb3a8; background: rgba(249,115,98,.16); border-color: rgba(249,115,98,.4); }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--text-soft);
  max-width: 620px;
}
.section--ink .lead { color: #b9b6d8; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 650;
  font-size: .98rem;
  padding: 13px 24px;
  border-radius: 100px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(249, 115, 98, .75);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-strong); box-shadow: 0 18px 40px -14px rgba(249, 115, 98, .85); }
.btn-accent {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(249, 115, 98, .6);
}
.btn-accent:hover { transform: translateY(-2px); background: var(--coral-strong); }
.btn-ghost {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet-400); color: var(--violet-600); }
.section--ink .btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.section--ink .btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-wa {
  background: #25d366; color: #063d1e;
  box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .55);
}
.btn-wa:hover { transform: translateY(-2px); background: #1fbe5b; color: #042e16; }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -16px rgba(20,10,60,.4); }
.nav { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em; text-transform: lowercase; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 8px 18px -8px rgba(139, 124, 246,.7);
}
.brand__mark svg { width: 20px; height: 20px; }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav__links a {
  font-size: .93rem; font-weight: 550; color: var(--text-soft); white-space: nowrap;
  padding: 8px 11px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--violet-600); background: rgba(139, 124, 246,.06); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__login { font-size: .93rem; font-weight: 600; color: var(--text); padding: 8px 6px; }
.nav__login:hover { color: var(--violet-600); }
.nav__wa { display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; font-weight: 600; color: var(--text); padding: 8px 10px; border-radius: 100px; transition: .15s; }
.nav__wa svg { width: 18px; height: 18px; color: #25d366; }
.nav__wa:hover { color: #1fbe5b; background: rgba(37,211,102,.08); }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 68px 0 40px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(139, 124, 246,.16), transparent 60%),
    radial-gradient(45% 50% at 8% 20%, rgba(59,130,246,.12), transparent 60%),
    radial-gradient(40% 45% at 60% 90%, rgba(34,211,165,.10), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(139, 124, 246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { text-align: center; max-width: 860px; margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-strong);
  padding: 7px 8px 7px 14px; border-radius: 100px;
  font-size: .84rem; font-weight: 600; color: var(--text-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero__badge b { color: var(--violet-600); }
.hero__badge .pill {
  background: var(--grad-accent); color: #ffffff;
  font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 100px;
}
.hero h1 { margin-bottom: 20px; }
.hero__sub { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--text-soft); font-weight: 500; max-width: 640px; margin: 0 auto 14px; }
.hero__desc { font-size: 1rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 30px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero__trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; color: var(--text-muted); font-size: .88rem; margin-top: 18px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--accent-strong); }

/* Hero product visual */
.hero__product {
  margin-top: 54px;
  position: relative;
  perspective: 1600px;
}
.hero__product-inner { position: relative; z-index: 1; }
.floaty { position: absolute; z-index: 3; }
.floaty--1 { top: -22px; left: -8px; }
.floaty--2 { bottom: 40px; right: -10px; }
@media (max-width: 720px) { .floaty { display: none; } }

/* ---------- Browser / App frame ---------- */
.frame {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #f6f6fb; border-bottom: 1px solid var(--border);
}
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame__dots i:nth-child(1){ background:#ff5f57; }
.frame__dots i:nth-child(2){ background:#febc2e; }
.frame__dots i:nth-child(3){ background:#28c840; }
.frame__url {
  margin-left: 10px; flex: 1; max-width: 340px;
  background: #fff; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 5px 12px; font-size: .78rem; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.frame__url svg { width: 12px; height: 12px; color: var(--accent-strong); }

/* ---------- App mockup (dashboard) ---------- */
.app { display: grid; grid-template-columns: 208px 1fr; min-height: 460px; background: #fbfbfe; }
.app__side { background: #1e1b4b; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.app__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-head); font-weight: 700; text-transform: lowercase; margin-bottom: 20px; padding: 0 6px; }
.app__brand .brand__mark { width: 26px; height: 26px; font-size: .85rem; border-radius: 8px; }
.app__nav-i {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px; color: #a9a3d6; font-size: .84rem; font-weight: 550;
}
.app__nav-i svg { width: 17px; height: 17px; opacity: .9; }
.app__nav-i.active { background: rgba(139, 124, 246,.24); color: #fff; }
.app__side-foot { margin-top: auto; }
.app__upgrade {
  background: linear-gradient(140deg, rgba(139, 124, 246,.35), rgba(249, 115, 98, .30));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px; color: #e9e6ff; font-size: .76rem;
}
.app__upgrade b { display: block; color: #fff; margin-bottom: 4px; font-size: .84rem; }
.app__upgrade .mini-btn { margin-top: 9px; display: inline-block; background: #fff; color: #4c3fb0; font-weight: 700; font-size: .72rem; padding: 6px 12px; border-radius: 7px; }

.app__main { padding: 22px 24px; overflow: hidden; }
.app__topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.app__hello h4 { font-size: 1.15rem; font-weight: 800; }
.app__hello p { font-size: .8rem; color: var(--text-muted); }
.app__search {
  background: #fff; border: 1px solid var(--border); border-radius: 9px;
  padding: 8px 14px; font-size: .78rem; color: var(--text-muted);
  display: none; align-items: center; gap: 8px; min-width: 200px;
}
.app__search svg { width: 14px; height: 14px; }
.app__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; }
.kpi__label { font-size: .72rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi__val { font-size: 1.3rem; font-weight: 800; margin: 5px 0 3px; letter-spacing: -.02em; }
.kpi__delta { font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.kpi__delta.up { color: var(--accent-strong); }
.kpi__delta.down { color: var(--coral); }
.kpi__ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.kpi__ic svg { width: 15px; height: 15px; }

.app__panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 15px 16px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel__head h5 { font-size: .9rem; font-weight: 700; }
.panel__head .tag { font-size: .68rem; font-weight: 700; color: var(--violet-600); background: rgba(139, 124, 246,.1); padding: 3px 8px; border-radius: 6px; }

/* Bar chart */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 6px; }
.bars .bar { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #a78bfa, #7c3aed); position: relative; min-height: 8px; }
.bars .bar.accent { background: linear-gradient(180deg, #22c98a, #12b76a); }
.bars .bar span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: .64rem; color: var(--text-muted); }
.bars-x { display: flex; gap: 10px; margin-top: 22px; }

/* AI assistant mini */
.ai-mini { display: flex; flex-direction: column; gap: 10px; }
.ai-bubble { font-size: .78rem; padding: 9px 12px; border-radius: 12px; max-width: 90%; line-height: 1.45; }
.ai-bubble.user { align-self: flex-end; background: var(--grad-brand); color: #fff; border-bottom-right-radius: 4px; }
.ai-bubble.bot { align-self: flex-start; background: var(--slate-100); color: var(--text); border-bottom-left-radius: 4px; }
.ai-bubble.bot b { color: var(--violet-600); }

/* Floating cards on hero */
.floatcard {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .8rem;
  display: flex; align-items: center; gap: 11px; min-width: 190px;
}
.floatcard__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.floatcard__ic svg { width: 19px; height: 19px; color: #fff; }
.floatcard b { display: block; font-size: .88rem; }
.floatcard small { color: var(--text-muted); }

/* ---------- Logos / social proof ---------- */
.proof { padding: 30px 0 8px; }
.proof p { text-align: center; font-size: .82rem; color: var(--text-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px; }
.proof__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.proof__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 650; color: var(--slate-500);
  background: var(--bg-soft); padding: 9px 16px; border-radius: 100px; border: 1px solid var(--border);
}

/* ---------- Value cards (modules) ---------- */
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.modcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.modcard__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 15px; }
.modcard__ic svg { width: 23px; height: 23px; color: #fff; }
.modcard h3 { font-size: 1.08rem; margin-bottom: 7px; }
.modcard p { font-size: .92rem; color: var(--text-soft); }

/* icon backgrounds */
.ic-violet { background: linear-gradient(140deg, #9b8cf8, #6d5ee8); }
.ic-indigo { background: linear-gradient(140deg, #6d5ee8, #4c3fb0); }
.ic-blue   { background: linear-gradient(140deg, #7c8cf6, #4f5ee0); }
.ic-teal   { background: linear-gradient(140deg, #22c98a, #0ea86e); }
.ic-amber  { background: linear-gradient(140deg, #fbbf24, #f59e0b); }
.ic-coral  { background: linear-gradient(140deg, #fb8b7c, #f2543f); }
.ic-cyan   { background: linear-gradient(140deg, #8ba0f8, #5b78ec); }
.ic-pink   { background: linear-gradient(140deg, #b898f7, #9a6ef0); }
.ic-lime   { background: linear-gradient(140deg, #3fd68a, #16a864); }

/* ---------- Business types ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bizcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.bizcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--violet-400); }
.bizcard__emoji { font-size: 2rem; margin-bottom: 10px; display: block; }
.bizcard h4 { font-size: .98rem; margin-bottom: 5px; }
.bizcard p { font-size: .8rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature--rev .feature__media { order: -1; }
.feature__body .eyebrow { margin-bottom: 16px; }
.feature__body h2 { margin-bottom: 16px; }
.feature__list { margin-top: 22px; display: grid; gap: 11px; }
.feature__list li { position: relative; padding-left: 31px; font-size: .96rem; color: var(--text-soft); }
.feature__list li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--accent-strong); }
.feature__cta { margin-top: 26px; }

.feature__media { position: relative; }
.mediacard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mediacard__head { padding: 13px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mediacard__head h5 { font-size: .92rem; font-weight: 700; }
.mediacard__head .dots { display: flex; gap: 5px; }
.mediacard__head .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-200); display: block; }
.mediacard__body { padding: 18px; }

/* POS mockup */
.pos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.pos__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pos__item { background: var(--slate-50); border: 1px solid var(--border); border-radius: 11px; padding: 11px 9px; text-align: center; }
.pos__item .thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; margin-bottom: 7px; }
.pos__item span { font-size: .72rem; font-weight: 600; display: block; }
.pos__item b { font-size: .74rem; color: var(--violet-600); }
.pos__ticket { background: var(--slate-50); border: 1px solid var(--border); border-radius: 13px; padding: 14px; display: flex; flex-direction: column; }
.pos__ticket h6 { font-size: .78rem; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; }
.pos__line { display: flex; justify-content: space-between; font-size: .74rem; padding: 6px 0; border-bottom: 1px dashed var(--border); color: var(--text-soft); }
.pos__total { display: flex; justify-content: space-between; font-weight: 800; margin-top: 10px; font-size: .95rem; }
.pos__pay { margin-top: 12px; background: var(--grad-accent); color: #ffffff; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; font-size: .8rem; }

/* Catalog mockup */
.catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.cat-item { border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: #fff; }
.cat-item .ph { aspect-ratio: 16/10; position: relative; }
.cat-item .ph .badge { position: absolute; top: 8px; left: 8px; background: #fff; color: var(--violet-600); font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.cat-item__b { padding: 10px 11px; }
.cat-item__b b { font-size: .82rem; display: block; }
.cat-item__b .row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.cat-item__b .price { color: var(--violet-600); font-weight: 800; font-size: .85rem; }
.cat-item__b .add { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 700; }
.swatches { display: flex; gap: 4px; margin-top: 7px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--border); display: block; }

/* Inventory mockup */
.inv-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .82rem; }
.inv-row:last-child { border-bottom: none; }
.inv-name { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.inv-name .sq { width: 30px; height: 30px; border-radius: 8px; }
.inv-name small { display: block; color: var(--text-muted); font-weight: 500; font-size: .72rem; }
.inv-stock { font-weight: 700; }
.inv-pill { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.inv-pill.ok { background: rgba(18, 183, 106,.12); color: var(--accent-strong); }
.inv-pill.low { background: rgba(245,158,11,.14); color: #b45309; }
.inv-pill.out { background: rgba(225,29,72,.1); color: #e11d48; }

/* CRM pipeline */
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.pipe-col { background: var(--slate-50); border: 1px solid var(--border); border-radius: 12px; padding: 10px 8px; }
.pipe-col h6 { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); margin-bottom: 9px; display: flex; align-items: center; gap: 5px; }
.pipe-col h6 .dot { width: 7px; height: 7px; border-radius: 50%; }
.pipe-card { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 8px; margin-bottom: 7px; box-shadow: var(--shadow-sm); }
.pipe-card b { font-size: .72rem; display: block; }
.pipe-card small { font-size: .64rem; color: var(--text-muted); }
.pipe-card .av { width: 18px; height: 18px; border-radius: 50%; background: var(--grad-brand); margin-top: 6px; }

/* ---------- IA section ---------- */
.ai-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-chat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(8px);
}
.ai-chat__head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.ai-chat__head .orb { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: 0 0 30px rgba(139, 124, 246,.6); }
.ai-chat__head .orb svg { width: 22px; height: 22px; color: #fff; }
.ai-chat__head b { color: #fff; display: block; font-size: .96rem; }
.ai-chat__head small { color: #22c98a; font-size: .76rem; display: inline-flex; align-items: center; gap: 5px; }
.ai-chat__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c98a; box-shadow: 0 0 8px #22c98a; }
.ai-msgs { display: flex; flex-direction: column; gap: 13px; }
.ai-msg { max-width: 88%; font-size: .88rem; padding: 11px 14px; border-radius: 14px; line-height: 1.5; }
.ai-msg.q { align-self: flex-end; background: var(--grad-brand); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.a { align-self: flex-start; background: rgba(255,255,255,.08); color: #e6e3fb; border-bottom-left-radius: 4px; border: 1px solid rgba(255,255,255,.08); }
.ai-msg.a b { color: #22c98a; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ai-chip { font-size: .78rem; color: #cfcbf0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 7px 13px; border-radius: 100px; }

.ai-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.ai-cap { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #cdcae8; }
.ai-cap svg { width: 19px; height: 19px; color: #22c98a; flex-shrink: 0; }

/* ---------- Marketing flow ---------- */
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: stretch; }
.flow-step {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 15px 12px; text-align: center; position: relative;
}
.flow-step__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin: 0 auto 10px; }
.flow-step__ic svg { width: 20px; height: 20px; color: #fff; }
.flow-step b { font-size: .82rem; display: block; }
.flow-step small { font-size: .72rem; color: var(--text-muted); }
.flow-arrow { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); z-index: 2; color: var(--violet-400); }
.flow-arrow svg { width: 20px; height: 20px; }

/* ---------- Automation cards ---------- */
.auto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.auto-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.auto-card__trigger { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem; margin-bottom: 16px; }
.auto-card__trigger .tic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.auto-card__trigger .tic svg { width: 18px; height: 18px; color: #fff; }
.auto-steps { display: flex; flex-direction: column; gap: 0; }
.auto-step { display: flex; align-items: center; gap: 11px; font-size: .88rem; color: var(--text-soft); padding: 7px 0; position: relative; padding-left: 26px; }
.auto-step::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border-strong); }
.auto-step:first-child::before { top: 50%; }
.auto-step:last-child::before { bottom: 50%; }
.auto-step .node { position: absolute; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--violet-400); }
.auto-step.done .node { background: var(--accent-strong); border-color: var(--accent-strong); }

/* ---------- Channels ---------- */
.channels { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.channel {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: 11px 20px; font-weight: 650; font-size: .95rem; box-shadow: var(--shadow-sm);
}
.channel .ci { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.channel .ci svg { width: 15px; height: 15px; }
.channel small { font-size: .68rem; color: var(--text-muted); font-weight: 600; background: var(--slate-100); padding: 2px 7px; border-radius: 5px; }

/* ---------- Pricing ---------- */
.pricing-toggle { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 5px; margin: 0 auto 44px; }
.pricing-toggle button { padding: 9px 20px; border-radius: 100px; font-weight: 650; font-size: .9rem; color: var(--text-soft); transition: .2s; }
.pricing-toggle button.active { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-sm); }
.pricing-toggle .save { font-size: .68rem; background: rgba(18, 183, 106,.14); color: var(--accent-strong); padding: 2px 7px; border-radius: 5px; margin-left: 5px; font-weight: 800; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-brand) border-box;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.plan--featured:hover { transform: scale(1.02) translateY(-4px); }
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 15px; border-radius: 100px; letter-spacing: .03em; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(139, 124, 246,.7);
}
.plan__name { font-size: 1.05rem; font-weight: 800; }
.plan__desc { font-size: .84rem; color: var(--text-muted); margin: 5px 0 16px; min-height: 38px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan__price .cur { font-size: 1.1rem; font-weight: 700; color: var(--text-soft); }
.plan__price .amt { font-size: 2.6rem; font-weight: 850; letter-spacing: -.03em; }
.plan__price .per { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.plan__note { font-size: .76rem; color: var(--text-muted); margin-bottom: 20px; }
.plan .btn { margin-bottom: 20px; }
.plan__feats { display: grid; gap: 10px; }
.plan__feats li { position: relative; padding-left: 26px; font-size: .87rem; color: var(--text-soft); }
.plan__feats li svg { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; color: var(--accent-strong); }
.plan__feats li b { color: var(--text); font-weight: 700; }

/* Marketing add-on */
.addon {
  margin-top: 22px;
  background: var(--grad-ink); color: #efecff;
  border-radius: var(--radius-lg); padding: 34px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center;
  position: relative; overflow: hidden;
}
.addon::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 124, 246,.4), transparent 65%); pointer-events: none;
}
.addon__body { position: relative; z-index: 1; }
.addon__tag { display: inline-block; background: var(--grad-accent); color: #ffffff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.addon h3 { font-size: 1.7rem; color: #fff; margin-bottom: 12px; }
.addon p { color: #b9b6d8; font-size: .95rem; margin-bottom: 18px; }
.addon__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.addon__price .amt { font-size: 2rem; font-weight: 850; color: #fff; }
.addon__price small { color: #b9b6d8; }
.addon__feats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.addon__feats li { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: #d6d3f0; }
.addon__feats li svg { width: 17px; height: 17px; color: #22c98a; flex-shrink: 0; }
.credits-note {
  margin-top: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 13px 16px; font-size: .84rem; color: #cfcbf0;
  display: flex; align-items: center; gap: 10px; position: relative; z-index: 1;
}
.credits-note svg { width: 20px; height: 20px; color: #22c98a; flex-shrink: 0; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
.compare th, .compare td { padding: 15px 16px; text-align: center; font-size: .88rem; border-bottom: 1px solid var(--border); }
.compare thead th { position: sticky; top: 0; background: #fff; z-index: 2; }
.compare thead th:first-child { text-align: left; }
.compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.compare thead .pname { font-size: 1rem; font-weight: 800; }
.compare thead .pprice { font-size: .78rem; color: var(--text-muted); font-weight: 600; display: block; margin-top: 2px; }
.compare thead .featured-col { background: linear-gradient(180deg, rgba(139, 124, 246,.08), transparent); }
.compare tbody td.featured-col { background: rgba(139, 124, 246,.03); }
.compare tbody tr:hover td { background: var(--slate-50); }
.compare tbody tr:hover td.featured-col { background: rgba(139, 124, 246,.06); }
.compare .yes svg { width: 19px; height: 19px; color: var(--accent-strong); display: inline; }
.compare .no { color: var(--slate-300); font-weight: 700; }
.compare .grp td { background: var(--bg-soft); font-weight: 800; text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step__num { width: 44px; height: 44px; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--text-soft); }

/* ---------- Demo module switcher ---------- */
.demo { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.demo__tabs { display: flex; flex-direction: column; gap: 6px; }
.demo__tab {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 15px; border-radius: 13px; font-weight: 600; font-size: .95rem;
  color: var(--text-soft); transition: .18s; border: 1px solid transparent;
}
.demo__tab .dt-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.demo__tab .dt-ic svg { width: 18px; height: 18px; color: #fff; }
.demo__tab small { display: block; font-size: .74rem; color: var(--text-muted); font-weight: 500; }
.demo__tab:hover { background: #fff; }
.demo__tab.active { background: #fff; border-color: var(--border-strong); box-shadow: var(--shadow-sm); color: var(--text); }
.demo__screen { min-height: 430px; }
.demo__panel { display: none; animation: fade .35s var(--ease); }
.demo__panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.benefit__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-accent); display: grid; place-items: center; flex-shrink: 0; }
.benefit__ic svg { width: 20px; height: 20px; color: #ffffff; }
.benefit b { font-size: .98rem; }
.benefit p { font-size: .82rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--violet-400); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-align: left; font-weight: 650; font-size: 1rem; color: var(--text); }
.faq-q .chev { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; transition: .25s; }
.faq-q .chev svg { width: 15px; height: 15px; color: var(--violet-600); transition: transform .25s; }
.faq-item.open .chev { background: var(--grad-brand); }
.faq-item.open .chev svg { transform: rotate(180deg); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; font-size: .93rem; color: var(--text-soft); }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; overflow: hidden; text-align: center; }
.finalcta__inner {
  background: var(--grad-ink); border-radius: var(--radius-xl); padding: 66px 40px; position: relative; overflow: hidden;
}
.finalcta__inner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 20% 10%, rgba(139, 124, 246,.38), transparent 60%),
    radial-gradient(45% 55% at 85% 90%, rgba(249, 115, 98,.22), transparent 60%);
  pointer-events: none;
}
.finalcta__inner > * { position: relative; z-index: 1; }
.finalcta h2 { color: #fff; margin-bottom: 14px; }
.finalcta p { color: #c4c1e2; max-width: 520px; margin: 0 auto 30px; font-size: 1.08rem; }
.finalcta__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta__mini { margin-top: 22px; font-size: .84rem; color: #a9a3d6; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: #b6b3d4; padding: 66px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: .92rem; max-width: 300px; color: #8f8cb3; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: .2s; }
.footer__social a:hover { background: var(--grad-brand); }
.footer__social svg { width: 18px; height: 18px; color: #cfcbf0; }
.footer__soon { font-size: .72rem; color: #6c6a8c; margin-top: 10px; }
.footer__col h5 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer__col a { display: block; font-size: .9rem; color: #8f8cb3; padding: 6px 0; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: #6c6a8c; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3);
}

/* ---------- Product gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-md);
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  text-align: left; width: 100%; display: block;
}
.gal-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--violet-400); }
.gal-preview { aspect-ratio: 16 / 11; overflow: hidden; position: relative; background: #fbfaff; border-bottom: 1px solid var(--border); }
.gal-preview .frame { border: none; border-radius: 0; box-shadow: none; pointer-events: none; }
.gal-preview .frame__bar { padding: 9px 13px; }
.gal-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(255,255,255,.06)); pointer-events: none; }
.gal-badge {
  position: absolute; top: 11px; right: 11px; z-index: 4;
  background: rgba(30,27,75,.82); color: #fff; font-size: .64rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px; letter-spacing: .03em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.gal-badge.is-demo { background: rgba(249,115,98,.92); }
.gal-cap { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.gal-cap .n { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--violet-500); flex-shrink: 0; }
.gal-cap b { font-size: .96rem; font-weight: 700; }
.gal-cap .zoom { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; color: var(--violet-600); flex-shrink: 0; transition: .18s; }
.gal-item:hover .gal-cap .zoom { background: var(--violet-500); color: #fff; }
.gal-cap .zoom svg { width: 16px; height: 16px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(21,18,56,.74); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.lightbox.open { display: flex; animation: fade .25s var(--ease); }
.lightbox__inner { width: 100%; max-width: 1000px; }
.lightbox__bar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: #fff; }
.lightbox__bar .n { font-family: var(--font-head); font-weight: 700; color: var(--lila); }
.lightbox__bar b { font-family: var(--font-head); font-size: 1.1rem; }
.lightbox__bar .lb-tag { font-size: .68rem; font-weight: 700; background: rgba(249,115,98,.9); color: #fff; padding: 4px 10px; border-radius: 100px; }
.lightbox__spacer { margin-left: auto; }
.lightbox__nav { display: flex; gap: 10px; }
.lb-btn { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: .18s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 20px; height: 20px; }
.lightbox__stage { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); max-height: 78vh; overflow-y: auto; }
.lightbox__stage .frame { border: none; border-radius: 0; box-shadow: none; }
body.lb-open { overflow: hidden; }

/* ---------- Contact form ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 46px; align-items: center; }
.contact__aside .eyebrow { margin-bottom: 16px; }
.contact__aside h2 { margin-bottom: 14px; }
.contact__direct { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; max-width: 340px; }
.contact__direct .btn { justify-content: flex-start; }
.contact__direct .btn svg { width: 20px; height: 20px; }
.contact__points { margin-top: 26px; display: grid; gap: 11px; }
.contact__points li { display: flex; align-items: center; gap: 11px; font-size: .93rem; color: var(--text-soft); }
.contact__points li svg { width: 19px; height: 19px; color: var(--accent-strong); flex-shrink: 0; }

.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg);
}
.contact-card h3 { font-size: 1.25rem; margin-bottom: 5px; }
.contact-card > p { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.form-row label .req { color: var(--coral); }
.field {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong);
  border-radius: 11px; font-family: inherit; font-size: .92rem; background: #fff;
  color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: var(--slate-400); }
.field:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(139,124,246,.16); }
.field.invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(249,115,98,.14); }
textarea.field { resize: vertical; min-height: 86px; }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b7cf6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 150px; }
.form-note { font-size: .76rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-note a { color: var(--violet-600); font-weight: 600; }
.form-ok {
  display: none; text-align: center; padding: 22px 10px;
}
.form-ok.show { display: block; }
.form-ok .ok-ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(18,183,106,.12); color: var(--accent-strong); display: grid; place-items: center; margin: 0 auto 14px; }
.form-ok .ok-ic svg { width: 28px; height: 28px; }
.form-ok h4 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 6px; }
.form-ok p { font-size: .9rem; color: var(--text-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .modgrid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-arrow { display: none; }
  .addon { grid-template-columns: 1fr; gap: 24px; }
  .demo { grid-template-columns: 1fr; }
  .demo__tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .demo__tab { flex-shrink: 0; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__actions .btn-primary { display: none; }
  .nav__toggle { display: block; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .nav.mobile-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 14px 18px 20px; box-shadow: var(--shadow-lg);
  }
  .nav.mobile-open .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .feature, .ai-hero { grid-template-columns: 1fr; gap: 32px; }
  .feature--rev .feature__media { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .ai-caps { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .contact__direct { max-width: none; }
  .section { padding: 68px 0; }
  .steps { grid-template-columns: 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
  .addon__feats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app__panels { grid-template-columns: 1fr; }
  .modgrid, .biz-grid, .plans, .benefits, .flow, .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .lightbox__bar b { font-size: .98rem; }
  .pos, .catalog { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mobile-cta { display: block; }
  .finalcta__inner { padding: 48px 24px; }
  .addon { padding: 26px 22px; }
  body { padding-bottom: 76px; }
  .hero__cta .btn { flex: 1; }
}

@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
