/* =========================================================
   MPOS — mpos.az
   Palette: deep ink navy + warm paper + brand cyan + lime accent
   ========================================================= */

:root {
  --ink: #0a1628;
  --ink-2: #12223a;
  --ink-3: #1c3050;
  --paper: #f5f2eb;
  --paper-2: #ebe5d8;
  --white: #ffffff;
  --brand: #00aeef;
  --brand-deep: #0086c3;
  --lime: #c8f542;
  --text: #0a1628;
  --muted: #5a6577;
  --muted-light: #a7b3c6;
  --line: rgba(10, 22, 40, .12);
  --line-light: rgba(255, 255, 255, .12);
  --danger: #ff6b4a;

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(10,22,40,.06), 0 12px 32px -12px rgba(10,22,40,.18);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.55);
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }

mark {
  background: linear-gradient(transparent 58%, rgba(0,174,239,.28) 58%, rgba(0,174,239,.28) 92%, transparent 92%);
  color: inherit;
  padding: 0 .08em;
}

/* ---------- Tag (eyebrow) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.tag::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.tag--dark { color: var(--lime); }
.tag:has(.pulse)::before { display: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,245,66,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,245,66,0); } 100% { box-shadow: 0 0 0 0 rgba(200,245,66,0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: .95rem; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px -10px rgba(0,174,239,.8); }
.btn--brand:hover { background: var(--brand-deep); }
.btn--outline-light { border-color: var(--line-light); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

.link-arrow { display: inline-flex; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--brand-deep); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none; }
.header__bar {
  pointer-events: auto;
  width: min(100% - 24px, 1120px); margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
  transition: box-shadow .3s;
}
.header__logo img { height: 34px; width: auto; }
.header__nav { display: flex; gap: 4px; margin-left: auto; }
.header__nav a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--muted); transition: background .2s, color .2s; }
.header__nav a:hover, .header__nav a.is-active { color: var(--ink); background: var(--paper); }
.header__nav .header__nav-cta { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0,174,239,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(200,245,66,.10), transparent 60%),
    var(--ink);
  color: var(--white);
  padding-top: 150px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  opacity: .45;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding-bottom: 90px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { display: block; font-style: normal; color: var(--brand); }
.hero__lead { margin-top: 24px; max-width: 34rem; font-size: 1.12rem; color: var(--muted-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .92rem; color: var(--muted-light); }
.hero__perks li { display: flex; align-items: center; gap: 8px; }
.hero__perks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .7rem; font-weight: 800; }

.hero__visual { position: relative; }
.screen {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line-light);
  background: var(--ink-2); border-radius: var(--r);
  overflow: hidden; position: relative; text-align: left;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.screen:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.screen--static { transform: none; }
.screen__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--ink-3); border-bottom: 1px solid var(--line-light); }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.screen__bar i:nth-child(2) { background: #febc2e; }
.screen__bar i:nth-child(3) { background: #28c840; }
.screen__bar b { margin-left: 12px; font-family: var(--font-mono); font-weight: 500; font-size: .74rem; color: var(--muted-light); }
.screen img { width: 100%; }
.screen__play {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: rgba(10,22,40,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white); font-weight: 700; font-size: .9rem;
  transition: transform .3s var(--ease), background .3s;
}
.screen__play svg { width: 46px; height: 46px; padding: 13px; border-radius: 50%; background: var(--lime); fill: var(--ink); }
.screen:hover .screen__play { transform: translate(-50%, -50%) scale(1.06); background: var(--ink); }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--muted);
  animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; color: var(--ink); font-size: .95rem; }
.chip--a { top: -22px; right: 18px; }
.chip--b { bottom: -26px; left: -18px; animation-delay: -3s; }
.chip__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: var(--white); font-weight: 800; }
.chip__icon--lime { background: var(--lime); color: var(--ink); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Ticker */
.ticker { position: relative; border-top: 1px solid var(--line-light); background: var(--lime); color: var(--ink); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { padding: 16px 28px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: "✦"; font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section--tight { padding-top: 40px; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }

.head { max-width: 760px; margin-bottom: 56px; }
.head > p:last-child { margin-top: 20px; font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .tag { justify-content: center; }
.head--center > p:last-child { margin-inline: auto; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.head--split > p:last-child { margin: 0 0 6px; }

/* Checks */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: rgba(0,174,239,.12); color: var(--brand-deep); font-size: .75rem; font-weight: 800; }
.checks--grid { grid-template-columns: 1fr 1fr; margin-top: 28px; }

/* ---------- Modules (tabs) ---------- */
.modules { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.modules__tabs { display: grid; gap: 10px; align-content: start; }
.modules__tabs button {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px;
  text-align: left; padding: 20px 22px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.modules__tabs button:hover { border-color: var(--ink); }
.modules__tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateX(6px); }
.modules__num { grid-row: span 2; font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--brand); padding-top: 6px; }
.modules__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.modules__sub { font-size: .88rem; color: var(--muted); }
.modules__tabs button[aria-selected="true"] .modules__sub { color: var(--muted-light); }

.modules__panels { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 44px; height: 100%; align-items: center; animation: panelIn .5s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.panel h3 { font-size: 1.9rem; margin-bottom: 16px; }
.panel p { color: var(--muted); margin-bottom: 26px; }
.panel__art { background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }

.stock { display: grid; gap: 16px; font-size: .88rem; }
.stock__row { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; }
.stock__row span { font-weight: 600; }
.stock__row b { height: 10px; border-radius: 99px; background: var(--paper-2); position: relative; overflow: hidden; }
.stock__row b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--brand); border-radius: inherit; }
.stock__row em { font-style: normal; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.stock__row--low b::after { background: var(--danger); }
.stock__row--low em { color: var(--danger); font-weight: 700; }

.paytypes { display: grid; gap: 10px; }
.paytypes span { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-family: var(--font-mono); font-size: .9rem; }
.paytypes span:first-child { background: var(--ink); color: var(--white); }
.paytypes b { font-family: var(--font-body); }

.order { display: grid; gap: 6px; }
.order small { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.order strong { font-family: var(--font-display); font-size: 2.2rem; }
.order span { color: var(--muted); }
.order i { margin-top: 12px; font-style: normal; font-weight: 700; font-size: .85rem; padding: 10px 14px; border-radius: 10px; background: rgba(200,245,66,.35); color: #3b5300; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 30px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat p { color: var(--muted); font-size: .96rem; }
.feat__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--ink); color: var(--lime); font-size: 1.35rem; font-weight: 700; }
.feat__kicker { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }

.feat--hero { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--brand); border-color: var(--brand); color: var(--white); }
.feat--hero h3 { font-size: 2rem; margin: 10px 0 14px; }
.feat--hero p { color: rgba(255,255,255,.88); font-size: 1rem; }
.feat--hero .feat__kicker { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills li { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .84rem; font-weight: 700; }

.receipt {
  background: #fffdf7; color: var(--ink);
  padding: 22px 20px 18px; font-family: var(--font-mono); font-size: .8rem;
  border-radius: 6px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.45);
  transform: rotate(3deg);
  --tooth: 10px;
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / var(--tooth) 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat;
  mask: radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / var(--tooth) 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat;
  padding-bottom: 28px;
  transition: transform .5s var(--ease);
}
.feat--hero:hover .receipt { transform: rotate(0); }
.receipt__head { text-align: center; font-weight: 700; letter-spacing: .15em; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); }
.receipt__line { display: flex; justify-content: space-between; padding: 4px 0; }
.receipt__line--muted { color: var(--muted); }
.receipt__total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px dashed rgba(10,22,40,.3); font-weight: 700; font-size: 1.05rem; }
.receipt__btn { margin-top: 14px; padding: 10px; text-align: center; border-radius: 6px; background: var(--ink); color: var(--lime); font-weight: 700; letter-spacing: .1em; }
.receipt__barcode { height: 32px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }

.balance { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--paper); display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); }
.balance strong { font-family: var(--font-mono); color: #2f8a3b; font-size: .95rem; }

.feat--dark { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 32px; align-items: center; background: var(--ink); border-color: var(--ink); color: var(--white); }
.feat--dark p { color: var(--muted-light); }
.feat--dark .feat__kicker { color: var(--lime); }
.feat--dark .feat__kicker { grid-column: 1 / -1; }
.feat--dark h3 { max-width: 22rem; }
.branches { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1080px) {
  .feat--dark { grid-template-columns: 1fr; row-gap: 10px; }
  .branches { padding-top: 8px; }
}
.branches span { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-light); font-family: var(--font-mono); font-size: .78rem; color: var(--muted-light); }
.branches span:last-child { border-style: dashed; color: var(--lime); }

/* ---------- Analytics ---------- */
.analytics { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.analytics__copy > p { margin-top: 20px; color: var(--muted); font-size: 1.06rem; }
.big-num { color: var(--brand); }
.analytics__shot { position: relative; margin: 0; }
.analytics__shot .screen { background: var(--white); border-color: var(--line); box-shadow: 0 40px 80px -40px rgba(10,22,40,.45); }
.analytics__shot .screen__bar { background: var(--paper); border-color: var(--line); }
.analytics__shot .screen__bar b { color: var(--muted); }
.metric {
  position: absolute; left: -28px; bottom: -28px;
  padding: 18px 22px; border-radius: var(--r);
  background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
}
.metric small { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-light); }
.metric strong { font-family: var(--font-display); font-size: 2rem; color: var(--lime); line-height: 1.1; }
.metric span { font-size: .8rem; color: var(--muted-light); }

/* ---------- Focus ---------- */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.focus__copy { position: sticky; top: 120px; }
.focus__copy h2 em { font-style: normal; color: var(--brand); }
.focus__copy > p { margin-top: 22px; color: var(--muted-light); font-size: 1.08rem; }
.steps { counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 30px 30px 30px 96px; border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line-light);
  transition: border-color .3s, background .3s;
}
.steps li:hover { border-color: var(--brand); background: var(--ink-3); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 28px; top: 28px;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lime); color: var(--ink);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted-light); }

/* ---------- Pricing ---------- */
.billing { display: flex; width: max-content; margin: 0 auto 36px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.billing button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.billing button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.billing__save { padding: 3px 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .72rem; }

.plan { max-width: 920px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10,22,40,.4); }
.plan__main { position: relative; padding: 44px; background: var(--ink); color: var(--white); }
.plan__features { padding: 44px; background: var(--white); }
.plan__badge { display: inline-block; margin-bottom: 26px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .78rem; font-weight: 800; }
.plan__kicker { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.plan__features .plan__kicker { margin-bottom: 22px; color: var(--brand-deep); }
.plan__name { font-size: 1.7rem; }
.plan__price { display: flex; align-items: flex-end; gap: 12px; margin: 26px 0 18px; }
.plan__price strong { font-family: var(--font-display); font-size: 5.5rem; font-weight: 800; line-height: .85; letter-spacing: -.05em; transition: opacity .2s; }
.plan__price span { font-weight: 700; line-height: 1.25; color: var(--muted-light); }
.plan__price em { font-style: normal; font-weight: 500; }
.plan__desc { color: var(--muted-light); margin-bottom: 30px; min-height: 3.2em; }
.plan.is-switching [data-monthly] { opacity: 0; }
.plan [data-monthly] { transition: opacity .2s; }
.plan__features .checks { gap: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
.faq__intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.faq__intro > p { margin-top: 18px; color: var(--muted); }
.faq__list { display: grid; gap: 12px; }
.faq__list details { border-radius: var(--r); border: 1px solid var(--line); background: var(--white); transition: background .3s, border-color .3s; }
.faq__list details[open] { background: var(--paper); border-color: transparent; }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: 1.3rem; font-weight: 500;
  transition: transform .3s var(--ease), background .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--brand); }
.faq__list details p { padding: 0 24px 24px; color: var(--muted); max-width: 40rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: clamp(28px, 5vw, 64px); border-radius: 36px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(0,174,239,.35), transparent 70%),
    var(--ink);
  color: var(--white);
}
.contact__copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact__copy > p { margin-top: 18px; color: var(--muted-light); font-size: 1.06rem; }
.contact__list { margin: 36px 0 0; display: grid; gap: 0; }
.contact__list > div { padding: 18px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; }
.contact__list dt { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-light); }
.contact__list dd { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.contact__list dd a:hover { color: var(--brand); }

.form { display: grid; gap: 16px; padding: 30px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); align-content: start; }
.form label { display: grid; gap: 8px; }
.form label > span { display: flex; justify-content: space-between; font-weight: 700; font-size: .88rem; }
.form__count { font-family: var(--font-mono); font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
.form input[aria-invalid="true"] { border-color: var(--danger); }
.form__note { min-height: 1.4em; font-size: .88rem; font-weight: 600; color: var(--muted); }
.form__note.is-error { color: var(--danger); }
.form__note.is-ok { color: #2f8a3b; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 28px; background: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__logo img { height: 36px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 18rem; color: var(--muted); }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h4 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.footer nav a { font-weight: 600; transition: color .2s; }
.footer nav a:hover { color: var(--brand-deep); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer__bottom img { height: 24px; width: auto; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,12,24,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; width: min(1000px, 100%); animation: pop .4s var(--ease); }
.modal__frame { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close { position: absolute; right: 0; top: -54px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 800; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feat--hero { grid-row: auto; }
  .modules { grid-template-columns: 1fr; }
  .modules__tabs { grid-template-columns: repeat(3, 1fr); }
  .modules__tabs button[aria-selected="true"] { transform: translateY(-4px); }
}

@media (max-width: 920px) {
  .header__nav {
    position: fixed; left: 12px; right: 12px; top: 80px;
    flex-direction: column; gap: 4px; padding: 14px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .header__nav a { padding: 14px 16px; font-size: 1.05rem; color: var(--ink); }
  .header__nav .header__nav-cta { display: flex; margin-top: 8px; color: var(--white); }
  .header__nav .header__nav-cta:hover { background: var(--brand-deep); color: var(--white); }
  .header__cta { margin-left: auto; }
  .burger { display: block; }

  .hero { padding-top: 120px; }
  .hero__grid, .analytics, .focus, .faq, .contact, .head--split { grid-template-columns: 1fr; }
  .hero__grid { gap: 64px; }
  .screen { transform: none; }
  .head--split { gap: 18px; }
  .focus { gap: 40px; }
  .focus__copy { position: static; }
  .faq { gap: 36px; }
  .panel { grid-template-columns: 1fr; padding: 30px; }
  .plan { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 30px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .metric { left: 12px; bottom: -32px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .header__nav { margin-left: 0; }
  .burger { margin-left: auto; }
  .hero__actions .btn { width: 100%; }
  .chip--a { right: 8px; top: -26px; }
  .chip--b { left: 8px; }
  .modules__tabs { grid-template-columns: 1fr; }
  .modules__tabs button[aria-selected="true"] { transform: none; }
  .features { grid-template-columns: 1fr; }
  .feat--hero, .feat--dark { grid-column: auto; }
  .feat--hero { grid-template-columns: 1fr; }
  .feat { padding: 24px; }
  .checks--grid { grid-template-columns: 1fr; }
  .steps li { padding: 84px 24px 26px; }
  .steps li::before { left: 24px; top: 24px; }
  .plan__main, .plan__features { padding: 30px 24px; }
  .plan__price strong { font-size: 4.4rem; }
  .billing button { padding: 10px 16px; }
  .contact { border-radius: 24px; }
  .contact__list > div { grid-template-columns: 1fr; gap: 6px; }
  .form { padding: 22px; }
  .screen__play small { display: none; }
  .screen__play { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
