/* ЩасКупим — лендинг. Цвета совпадают с lib/theme/brand.dart. */
:root {
  --primary: #1268E6;
  --primary-dark: #0B49A8;
  --primary-light: #4C8DF0;
  --pro: #F5A524;
  --success: #188A4B;
  --urgent: #DC3B41;
  --warning: #D9700A;

  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --surface-variant: #E7F0FD;
  --outline: #EAEEF4;
  --text: #14254D;
  --text-2: #5C6680;
  --accent-text: #1268E6;
  --success-text: #157A43;
  --chip-text: #0B49A8;
  --success-container: #E6F6EC;
  --pro-container: #FFF3E3;

  --glass: rgba(255, 255, 255, .72);
  --glass-border: rgba(20, 37, 77, .08);
  --shadow-lg: 0 30px 80px -20px rgba(18, 104, 230, .35), 0 12px 30px -12px rgba(20, 37, 77, .18);
  --shadow-md: 0 10px 30px -12px rgba(20, 37, 77, .18);
  --blob-1: #4C8DF0;
  --blob-2: #1268E6;
  --blob-3: #8EC5FF;
  --blob-4: #F5A524;

  --radius: 20px;
  --radius-lg: 32px;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10151E; --bg-soft: #141A25; --surface: #1A212D; --surface-2: #1F2734;
    --surface-variant: #1C2B47; --outline: #273042; --text: #EEF2FA; --text-2: #A3ACC0; --accent-text: #74A9F7; --success-text: #4ACB82; --chip-text: #A8C8FA;
    --success-container: #16301F; --pro-container: #3A2A10;
    --glass: rgba(26, 33, 45, .72); --glass-border: rgba(255, 255, 255, .08);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 12px 30px -12px rgba(0, 0, 0, .5);
    --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, .5);
    --blob-1: #1C4FA8; --blob-2: #0B49A8; --blob-3: #2B6CD4; --blob-4: #8A5A10;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10151E; --bg-soft: #141A25; --surface: #1A212D; --surface-2: #1F2734;
  --surface-variant: #1C2B47; --outline: #273042; --text: #EEF2FA; --text-2: #A3ACC0; --accent-text: #74A9F7; --success-text: #4ACB82; --chip-text: #A8C8FA;
  --success-container: #16301F; --pro-container: #3A2A10;
  --glass: rgba(26, 33, 45, .72); --glass-border: rgba(255, 255, 255, .08);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 12px 30px -12px rgba(0, 0, 0, .5);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, .5);
  --blob-1: #1C4FA8; --blob-2: #0B49A8; --blob-3: #2B6CD4; --blob-4: #8A5A10;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 17px; line-height: 1.55; overflow-x: hidden;
  transition: background .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none;
}
.header-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 16px;
  padding: 10px 12px 10px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-md);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { color: var(--accent-text); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; color: var(--text-2); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-variant); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-variant); transform: rotate(-8deg); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { width: auto; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--primary-light), var(--primary) 50%, var(--primary-dark));
  background-size: 200% 200%; box-shadow: 0 12px 30px -10px rgba(18, 104, 230, .7);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(18, 104, 230, .8); }
.btn-ghost { background: var(--surface); border: 1px solid var(--outline); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary-light); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 130px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Мягкие пятна: радиальный градиент вместо filter: blur — заметно легче для слабых телефонов. */
.blob { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; }
.blob.b1 { width: 900px; height: 900px; background: radial-gradient(closest-side, var(--blob-1), transparent); top: -330px; left: -270px; animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 760px; height: 760px; background: radial-gradient(closest-side, var(--blob-3), transparent); top: -2%; right: -280px; animation: drift2 22s ease-in-out infinite alternate; }
.blob.b3 { width: 640px; height: 640px; background: radial-gradient(closest-side, var(--blob-2), transparent); bottom: -270px; left: 25%; animation: drift3 20s ease-in-out infinite alternate; opacity: .45; }
.blob.b4 { width: 420px; height: 420px; background: radial-gradient(closest-side, var(--blob-4), transparent); top: 38%; left: 2%; animation: drift2 16s ease-in-out infinite alternate-reverse; opacity: .3; }
@keyframes drift1 { to { transform: translate(140px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-120px, 80px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-80px, -120px) scale(1.2); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--outline) 1px, transparent 1px), linear-gradient(90deg, var(--outline) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floater { position: absolute; width: 56px; height: 56px; will-change: transform; opacity: 0; transition: opacity 1s; }
.floater.on { opacity: .95; }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border); font-size: 14px; font-weight: 700; color: var(--text-2);
  backdrop-filter: blur(10px);
}
.eyebrow .dot { background: #157A43; color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); margin: 22px 0 22px; font-weight: 800; }
.grad-text {
  background: linear-gradient(100deg, var(--primary) 0%, var(--primary-light) 40%, #7FB4FF 60%, var(--primary) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 26px; color: var(--accent-text); }
.hero-stats span { font-size: 14px; color: var(--text-2); }
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.hero-visual .phone { transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hero-visual:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
.float-card {
  position: absolute; z-index: 3; padding: 12px 16px; border-radius: 18px; display: flex; align-items: center; gap: 10px;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; font-weight: 700;
  animation: bob 5s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--text-2); font-size: 12px; }
.float-card .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card.fc1 { top: 40%; left: -8%; }
.float-card.fc2 { bottom: 14%; right: -4%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- Phone mockup ---------- */
.phone {
  --pw: 300px;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2A3448, #0D121B); box-shadow: var(--shadow-lg), inset 0 0 0 2px #3A475F;
  flex: none;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #05070B; transform: translateX(-50%); z-index: 5; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.35;
}
.statusbar { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 12px; font-weight: 800; }
.app-top { padding: 14px 16px 10px; }
.app-top .group-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--chip-text); background: var(--surface-variant); padding: 3px 9px; border-radius: 999px; }
.app-top h4, .app-top .list-title { font-family: var(--font-display); font-size: 17px; margin: 8px 0 2px; }
.app-top .meta { color: var(--text-2); font-size: 11.5px; }
.progress { height: 6px; border-radius: 6px; background: var(--outline); margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--success), #4CC985); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.items { list-style: none; margin: 0; padding: 4px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; overflow: hidden; }
.item {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--surface-2);
  transition: background .35s, opacity .35s, transform .35s; cursor: pointer; user-select: none;
}
.item.new { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.6) translateY(-10px); opacity: 0; } }
.item .pic { width: 30px; height: 30px; flex: none; }
.item .name { flex: 1; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .name small { display: block; font-weight: 600; color: var(--text-2); font-size: 10.5px; }
.check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C7D0DE; flex: none; display: grid; place-items: center; transition: all .3s; }
.check svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3.5; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s .1s; }
.item.done { background: var(--success-container); }
.item.done .name { color: var(--text-2); text-decoration: line-through; text-decoration-thickness: 2px; }
.item.done .check { background: var(--success); border-color: var(--success); }
.item.done .check svg { stroke-dashoffset: 0; }
.item .who { width: 22px; height: 22px; border-radius: 50%; flex: none; opacity: 0; transform: scale(.4); transition: all .35s; }
.item.done .who { opacity: 1; transform: none; }
.item .urgent { font-size: 9.5px; font-weight: 800; color: var(--urgent); background: #FDECEC; padding: 2px 6px; border-radius: 6px; }
:root[data-theme="dark"] .item .urgent { background: #3A1A1C; }
.add-row { margin: 8px 12px 14px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--outline); }
.add-row input { flex: 1; min-width: 0; border: 0; background: none; outline: none; border-radius: 8px; font: inherit; font-weight: 600; color: var(--text); }
.add-row input::placeholder { color: var(--text-2); }
.add-row .typed { flex: 1; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.add-row .typed.has { color: var(--text); }
.add-row .typed::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--primary); margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.add-row button, .add-row .plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; flex: none; }
.add-row svg { width: 18px; height: 18px; }
.toast {
  position: absolute; left: 12px; right: 12px; top: 54px; z-index: 6; display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 12px;
  transform: translateY(-140%); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.2, .4, 1), opacity .3s;
}
.toast.show { transform: none; opacity: 1; }
.toast img { width: 24px; height: 24px; border-radius: 50%; }

/* ---------- Sections ---------- */
section { position: relative; padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: 19px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Marquee of products */
.marquee { padding: 26px 0; border-block: 1px solid var(--outline); background: var(--bg-soft); overflow: hidden; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.marquee-track img { width: 34px; height: 34px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Видимый фокус с клавиатуры (WCAG 2.4.7). */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent-text); outline-offset: 3px;
}
.add-row input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.item[role="button"] { cursor: pointer; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sync demo */
.sync { background: var(--bg-soft); overflow: hidden; }
.sync-stage { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(20px, 8vw, 140px); }
.sync-stage .phone { --pw: 280px; }
.phone-label { text-align: center; margin-top: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; }
.phone-label img { width: 28px; height: 28px; border-radius: 50%; }
.sync-line { position: absolute; left: 50%; top: 46%; width: clamp(20px, 8vw, 140px); transform: translateX(-50%); height: 4px; }
.sync-line::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--primary-light) 0 8px, transparent 8px 16px); opacity: .5; }
.pulse { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(18, 104, 230, .25), 0 0 24px var(--primary); transform: translate(-50%, -50%); opacity: 0; }
.pulse.go-r { animation: travelR .7s ease-in-out; }
.pulse.go-l { animation: travelL .7s ease-in-out; }
@keyframes travelR { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 1; } }
@keyframes travelL { 0% { left: 100%; opacity: 1; } 100% { left: 0; opacity: 1; } }
.hint { text-align: center; color: var(--text-2); margin-top: 34px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hint svg { width: 20px; height: 20px; color: var(--primary); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--outline);
  overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 104, 230, .12), transparent 45%);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { opacity: 1; }
.feature .f-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.feature .f-ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.feature p { color: var(--text-2); font-size: 16px; }
.feature .tag-pro { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 800; color: #4A2E00; background: var(--pro); padding: 3px 9px; border-radius: 999px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.ico-blue { background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); }
.ico-green { background: linear-gradient(135deg, #3CC47A, #13804A); }
.ico-orange { background: linear-gradient(135deg, #FFC15E, #E58A1F); }
.ico-red { background: linear-gradient(135deg, #FF7A7E, #C9363B); }
.ico-violet { background: linear-gradient(135deg, #9D7BFF, #5B3CC4); }
.ico-teal { background: linear-gradient(135deg, #4DD0E1, #0F8C9C); }

/* mini budget visual inside wide feature */
.budget-vis { display: flex; align-items: center; gap: 22px; }
.ring { --p: 0; width: 130px; height: 130px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--outline) 0); transition: --p 1.6s; }
.ring > div { width: 100px; height: 100px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; }
.ring strong { font-family: var(--font-display); font-size: 22px; display: block; }
.ring small { color: var(--text-2); font-size: 11px; }
.legend { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend em { font-style: normal; color: var(--text-2); font-weight: 600; margin-left: auto; padding-left: 14px; white-space: nowrap; }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }

/* Screens gallery */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px max(16px, calc((100vw - 1180px) / 2)) 50px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; flex: none; text-align: center; transition: transform .4s; }
.shot .phone { --pw: 260px; }
.shot:hover { transform: translateY(-10px); }
.shot h3 { font-size: 17px; margin-top: 22px; font-weight: 700; }
.shot p { color: var(--text-2); font-size: 14px; margin-top: 4px; max-width: 260px; }
.gallery-nav { display: flex; justify-content: center; gap: 12px; }
.gallery-nav .icon-btn { width: 48px; height: 48px; background: var(--surface); border: 1px solid var(--outline); }

/* mock screen pieces */
.m-card { margin: 0 12px 8px; padding: 11px 12px; border-radius: 14px; background: var(--surface-2); }
.m-row { display: flex; align-items: center; gap: 9px; }
.m-row b { flex: 1; font-weight: 700; }
.m-sub { color: var(--text-2); font-size: 10.5px; font-weight: 600; }
.m-badge { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.b-green { color: var(--success); background: var(--success-container); }
.b-orange { color: var(--warning); background: var(--pro-container); }
.b-blue { color: var(--primary); background: var(--surface-variant); }
.m-big { font-family: var(--font-display); font-size: 24px; margin: 2px 0; }
.m-bar { height: 7px; border-radius: 6px; background: var(--outline); overflow: hidden; margin-top: 7px; }
.m-bar i { display: block; height: 100%; border-radius: 6px; }
.m-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 18px; border-top: 1px solid var(--outline); background: var(--surface); }
.m-tabbar span { width: 22px; height: 22px; border-radius: 7px; background: var(--outline); }
.m-tabbar span.on { background: var(--primary); }
.m-emoji { width: 28px; height: 28px; flex: none; }
.poll-opt { position: relative; margin-top: 7px; padding: 8px 10px; border-radius: 10px; background: var(--surface); overflow: hidden; font-weight: 700; display: flex; justify-content: space-between; }
.poll-opt i { position: absolute; inset: 0 auto 0 0; background: var(--surface-variant); z-index: 0; border-radius: 10px; }
.poll-opt span { position: relative; z-index: 1; }
.bubble { max-width: 78%; padding: 8px 11px; border-radius: 14px; margin: 0 12px 7px; font-weight: 600; }
.bubble.in { background: var(--surface-2); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble small { display: block; font-size: 9.5px; opacity: .7; }
.receipt { margin: 4px 14px; padding: 14px; border-radius: 6px; background: #fff; color: #222; font-family: 'Courier New', monospace; font-size: 10.5px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12); -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x; }
.receipt div { display: flex; justify-content: space-between; }
.receipt hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
.scan-line { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--primary); box-shadow: 0 0 14px var(--primary); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 58%; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--outline); }
.step::before {
  counter-increment: step; content: counter(step); font-family: var(--font-display); font-size: 80px; font-weight: 800; line-height: 1;
  position: absolute; right: 22px; top: 14px; color: var(--surface-variant);
}
.step h3 { font-size: 21px; margin: 16px 0 10px; position: relative; }
.step p { color: var(--text-2); position: relative; }
.step-vis { height: 130px; display: grid; place-items: center; position: relative; }
.qr { width: 110px; height: 110px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(11, 1fr); gap: 1px; }
.qr i { background: #14254D; border-radius: 1.5px; }
.qr i.o { background: transparent; }
.avatars { display: flex; }
.avatars img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--surface); margin-left: -14px; animation: hop 3s ease-in-out infinite; }
.avatars img:nth-child(2) { animation-delay: .2s; } .avatars img:nth-child(3) { animation-delay: .4s; } .avatars img:nth-child(4) { animation-delay: .6s; }
@keyframes hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-10px); } }
.cart-go { width: 96px; animation: roll 3.4s ease-in-out infinite; }
@keyframes roll { 0% { transform: translateX(-40px) rotate(-3deg); } 50% { transform: translateX(40px) rotate(3deg); } 100% { transform: translateX(-40px) rotate(-3deg); } }

/* Web app CTA */
.webapp-card {
  position: relative; border-radius: 40px; padding: 64px; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, #0B49A8, #1268E6 55%, #4C8DF0);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 50px; align-items: center;
}
.webapp-card > * { min-width: 0; }
.webapp-card::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(#8EC5FF, transparent 70%); top: -200px; right: -100px; opacity: .5; z-index: -1; animation: drift2 14s ease-in-out infinite alternate; }
.webapp-card h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.webapp-card p { opacity: .85; margin-top: 16px; font-size: 18px; }
.webapp-card .kicker { color: #BFD8FF; }
.webapp-card .btn-white { background: #fff; color: var(--primary-dark); margin-top: 30px; }
.webapp-card .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checklist li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 13px; flex: none; }
.laptop { position: relative; }
.laptop-screen { border-radius: 16px 16px 0 0; background: #0D121B; padding: 10px 10px 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.browser { border-radius: 8px 8px 0 0; background: var(--bg); color: var(--text); overflow: hidden; aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--surface-2); border-bottom: 1px solid var(--outline); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; } .browser-bar i:nth-child(2) { background: #FEBC2E; } .browser-bar i:nth-child(3) { background: #28C840; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: 10px; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--text-2); }
.browser-body { flex: 1; display: grid; grid-template-columns: 30% 1fr; font-size: 11px; min-height: 0; }
.browser-side { background: var(--surface-2); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.browser-side div { padding: 6px 8px; border-radius: 8px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.browser-side div.on { background: var(--surface-variant); color: var(--primary); }
.browser-main { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.browser-main .item { padding: 6px 8px; font-size: 11px; }
.browser-main .item .pic { width: 22px; height: 22px; }
.browser-main .check { width: 18px; height: 18px; }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#C9D2E0, #8C98AD); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--outline); margin-top: 26px; }
.billing-toggle button { padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--text-2); transition: all .25s; }
.billing-toggle button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.billing-toggle .save { font-size: 11px; color: var(--success-text); font-weight: 800; margin-left: 4px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; padding: 38px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--outline); display: flex; flex-direction: column; }
.plan.pro { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--pro), var(--primary)) border-box; box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -14px; left: 38px; background: linear-gradient(90deg, var(--pro), #FFC15E); color: #5A3700; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.plan .price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan .price strong { font-family: var(--font-display); font-size: 46px; font-weight: 800; }
.plan .price span { color: var(--text-2); font-weight: 600; }
.plan .note { color: var(--text-2); font-size: 14px; min-height: 22px; }
.plan .note.me-price { color: var(--text); font-weight: 600; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-bottom: 12px; border-bottom: 1px dashed var(--outline); }
.plan li span { color: var(--text-2); }
.plan li b { text-align: right; }
.plan.pro li b { color: var(--accent-text); }
.plan .btn { width: 100%; }
.price-disclaimer { text-align: center; color: var(--text-2); font-size: 14px; margin-top: 26px; }

/* Download */
.download { text-align: center; }
.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 14px; justify-content: center; margin-top: 10px; }
.stores .store { min-width: 0; }
.stores .store-main { grid-column: 1 / -1; justify-self: center; min-width: 260px; }
.store {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 16px; text-align: left;
  background: #0D121B; color: #fff; text-decoration: none; min-width: 210px; transition: transform .2s;
}
:root[data-theme="dark"] .store:not(.store-main) { background: #fff; color: #0D121B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store:not(.store-main) { background: #fff; color: #0D121B; } }
.store:hover { transform: translateY(-3px); }
.store.store-main { background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .7; font-weight: 600; }
.store b { font-size: 18px; }
.store .soon { position: absolute; top: -9px; right: -8px; background: var(--pro); color: #5A3700; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--outline); padding: 0 26px; transition: background .3s; }
.faq details[open] { background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--primary); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--text-2); }

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--outline); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--text-2); font-size: 15px; margin-top: 14px; max-width: 340px; }
.footer h4, .footer .foot-h { font-family: var(--font); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer ul a { text-decoration: none; font-weight: 600; display: inline-block; padding: 9px 0; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--outline); color: var(--text-2); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .webapp-card { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 24px;
    background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .header-bar { position: relative; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: grid; }
  .header .btn-sm { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; grid-template-columns: 1fr; }
  .budget-vis { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; }
  .sync-stage .phone { --pw: 230px; }
  .sync-stage { gap: 16px; }
  .sync-stage > div:last-of-type { display: none; }
  .sync-line { display: none; }
  .float-card.fc1 { left: 0; } .float-card.fc2 { right: 0; }
  .phone { --pw: 270px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand span.full { display: none; }
  .plan { padding: 30px 24px; }
  .webapp-card { padding: 36px 22px; border-radius: 28px; }
  .stores { grid-template-columns: repeat(1, minmax(0, 260px)); }
  .stores .store { padding: 12px 14px 12px 12px; }
  .stores .store b { font-size: 16px; }
  .floaters { display: none; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
  .hero-stats div { align-items: center; }
  .hero-stats span { font-size: 13px; }
}

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

/* Money section (19.10.2026) — насыщенный фон, карточки-«стекло» */
.money-sec { position: relative; padding: 100px 0; color: #fff; overflow: hidden;
  background: radial-gradient(900px 500px at 10% 0%, rgba(255, 79, 160, .55), transparent 60%),
              radial-gradient(800px 500px at 100% 100%, rgba(20, 199, 154, .45), transparent 60%),
              linear-gradient(135deg, #1A3FB8 0%, #4B2BC8 55%, #2A1673 100%); }
.money-sec .kicker { color: #FFE14D; }
.money-sec .section-head h2 { color: #fff; }
.money-sec .section-head p { color: rgba(255, 255, 255, .85); }
.money-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto 34px; max-width: 900px; }
.money-stats > div { text-align: center; padding: 18px 12px; border-radius: 22px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.money-stats strong { display: block; font-family: var(--font-display); font-size: 30px; color: #FFE14D; line-height: 1.15; }
.money-stats span { font-size: 15px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.money-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mcard { position: relative; padding: 26px 22px 24px; border-radius: 26px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.mcard:hover { transform: translateY(-6px) rotate(-.4deg); background: rgba(255, 255, 255, .16); }
.mcard .memo { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 34px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transform: rotate(-8deg); margin: 18px 0 16px; }
.mcard h3 { font-size: 19px; line-height: 1.25; margin-bottom: 8px; color: #fff; }
.mcard p { font-size: 15px; color: rgba(255, 255, 255, .86); }
.mtag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.mtag.free { background: #22C55E; color: #fff; }
.mtag.pro { background: var(--pro); color: #4A2E00; }
.more-link { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--accent-text); }
/* «Дела» (пакет 186): светлый фон, насыщенные цветные карточки — отличается от фиолетовых «Денег». */
.tasks-sec { background: var(--bg-soft); color: var(--text); }
.tasks-sec .kicker { color: var(--accent-text); }
.tasks-sec .section-head h2 { color: var(--text); }
.tasks-sec .section-head p { color: var(--text-2, #5F6880); }
.tasks-stats > div { background: var(--surface); border: 1px solid var(--outline); box-shadow: var(--shadow-md); }
.tasks-stats strong { color: var(--accent-text); }
.tasks-stats span { color: var(--text-2, #5F6880); }
.tcard { color: #fff; border: none; backdrop-filter: none; box-shadow: 0 14px 30px rgba(20, 30, 60, .14); }
.tcard:hover { background: none; }
.tcard p { color: rgba(255, 255, 255, .92); }
.tcard.t1 { background: linear-gradient(140deg, #1E9E57, #14C79A); }
.tcard.t2 { background: linear-gradient(140deg, #F07B12, #FFB13D); }
.tcard.t3 { background: linear-gradient(140deg, #1268E6, #4C8DF0); }
.tcard.t4 { background: linear-gradient(140deg, #D9366B, #FF6B9B); }
.tcard.t5 { background: linear-gradient(140deg, #7C5CF6, #A78BFA); }
.tcard.t6 { background: linear-gradient(140deg, #0FB5C9, #3DD6C5); }
.tasks-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .money-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .money-sec { padding: 70px 0; }
  .money-grid, .money-stats { grid-template-columns: 1fr; }
  .money-stats strong { font-size: 26px; }
}

/* Якоря под закреплённой шапкой (25.10.2026). */
section[id], h3[id] { scroll-margin-top: 96px; }
