/* ПроВес — pro-ves.ru site styles. Palette from the App Store slides. */
:root {
  --tiffany: #81D8D0;
  --tiffany-mid: #3BC4BA;
  --tiffany-deep: #2BA89F;
  --salmon: #F2A38F;
  --dark: #202020;
  --muted: #6B7270;
  --line: #E8ECEB;
  --bg-soft: #F4FBFA;
  --white: #FFFFFF;
  --radius: 22px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(43, 168, 159, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(32,32,32,.22); }
.btn-accent { background: linear-gradient(135deg, var(--tiffany-mid), var(--tiffany-deep)); color: #fff; }
.btn-accent:hover { box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--dark); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.navlink { font-weight: 500; color: var(--muted); font-size: 15px; }
.nav a.navlink:hover { color: var(--dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, var(--tiffany) 0%, var(--tiffany-mid) 45%, var(--tiffany-deep) 100%);
  color: #fff;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { font-size: 52px; line-height: 1.05; font-weight: 800; margin: 0 0 18px; letter-spacing: -.5px; }
.hero h1 .none { text-transform: none; }
.hero p.lead { font-size: 19px; opacity: .95; margin: 0 0 30px; max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone img {
  width: 270px; border-radius: 38px;
  box-shadow: 0 40px 90px rgba(20,20,20,.32); border: 6px solid rgba(255,255,255,.9);
}
.pill-trial {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35);
  padding: 7px 15px; border-radius: 100px; font-weight: 600; font-size: 13px;
}

/* ── Store badges ────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 14px; font-size: 14px;
}
.store-badge small { display: block; font-size: 10px; opacity: .7; line-height: 1; }
.store-badge b { font-size: 15px; font-weight: 600; line-height: 1.2; }
.hero .store-badge { background: rgba(32,32,32,.9); }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { color: var(--tiffany-deep); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 38px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.4px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ── Features ────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--tiffany), var(--tiffany-deep)); color: #fff; margin-bottom: 18px;
}
.feature.salmon .ic { background: linear-gradient(135deg, #F7C0B1, var(--salmon)); }
.feature h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ── Screenshots gallery ─────────────────────────────── */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 22px 22px; scroll-snap-type: x mandatory; scroll-padding: 0 22px; cursor: grab; }
.shots.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.shots.dragging .shot { pointer-events: none; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
.shot { flex: 0 0 auto; width: 240px; scroll-snap-align: center; padding: 0; border: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; transition: transform .18s ease; }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 100%; border-radius: 26px; box-shadow: 0 22px 50px rgba(20,20,20,.14); pointer-events: none; }
.shots-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.shots-dot { width: 7px; height: 7px; border-radius: 100px; background: var(--line); transition: background .2s, width .2s; }
.shots-dot.is-active { background: var(--tiffany-mid); width: 20px; }

/* ── Lightbox ────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(15,22,21,.86); backdrop-filter: blur(4px); padding: 30px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(420px, 90vw); max-height: 88vh; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 100px; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.26); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 100px; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 600px) { .lb-nav { width: 42px; height: 42px; font-size: 24px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ── Pricing ─────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; }
.price-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 34px 30px; position: relative;
}
.price-card.best { border-color: var(--tiffany-mid); box-shadow: var(--shadow); }
.price-card .tag {
  position: absolute; top: -13px; right: 26px; background: var(--salmon); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 100px;
}
.price-card h3 { font-size: 17px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.price-card .amount { font-size: 46px; font-weight: 800; letter-spacing: -1px; }
.price-card .amount span { font-size: 17px; font-weight: 600; color: var(--muted); }
.price-card .sub { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 15px; }
.price-card li svg { flex: 0 0 auto; color: var(--tiffany-deep); margin-top: 2px; }
.pay-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; background: #fff;
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 17px;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--tiffany-deep); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }

/* ── CTA band ────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--tiffany-mid), var(--tiffany-deep)); color: #fff; border-radius: 30px; text-align: center; padding: 60px 30px; }
.cta-band h2 { font-size: 34px; font-weight: 800; margin: 0 0 14px; }
.cta-band p { opacity: .95; margin: 0 0 28px; font-size: 17px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 30px; color: var(--muted); font-size: 14px; }
.site-footer .container { display: block; }
.site-footer a:hover { color: var(--dark); }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--dark); margin-bottom: 12px; }
.footer-logo img { width: 26px; height: 26px; }
.footer-legal-entity { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 340px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; align-content: flex-start; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.lang-switch { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.lang-switch a { color: var(--muted); }
.lang-switch a.is-active { color: var(--tiffany-deep); font-weight: 700; }

/* ── Cookie banner ───────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20,20,20,.16); padding: 18px 20px; max-width: 920px; margin: 0 auto;
}
.cookie-inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { flex: 1 1 420px; }
.cookie-text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cookie-text a { color: var(--tiffany-deep); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 560px) { .cookie-actions { width: 100%; flex-direction: column; } .cookie-actions .btn { width: 100%; } }

/* ── Legal pages ─────────────────────────────────────── */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.legal-tabs a { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.legal-tabs a:hover { color: var(--dark); }
.legal-tabs a.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.legal-body h2 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.legal-body h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.legal-body h2:first-child, .legal-body h3:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #353a39; font-size: 15px; }
.legal-body ul { padding-left: 20px; margin: 8px 0 14px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--tiffany-deep); font-weight: 600; }
.legal-body .region { border-left: 3px solid var(--tiffany-mid); padding: 2px 0 2px 18px; margin: 18px 0; background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.legal-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.legal-langs a { color: var(--muted); }
.legal-langs a.is-active { color: var(--tiffany-deep); font-weight: 700; }

/* ── Auth / account cards ────────────────────────────── */
.shell { min-height: 80vh; display: grid; place-items: center; padding: 60px 22px; background: var(--bg-soft); }
.card {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line);
  border-radius: 26px; padding: 38px 34px; box-shadow: 0 14px 44px rgba(20,20,20,.06);
}
.card h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.card .muted { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.input {
  width: 100%; font-family: inherit; font-size: 16px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--dark); outline: none;
}
.input:focus { border-color: var(--tiffany-mid); }
.input.otp { text-align: center; letter-spacing: 10px; font-weight: 700; font-size: 24px; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.alert-error { background: #FDEEEA; color: #B5482F; }
.alert-ok { background: #E9F8F6; color: var(--tiffany-deep); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; color: var(--dark); border: 1.5px solid var(--line); }
.btn-google:hover { background: var(--bg-soft); }

/* account */
.acct { max-width: 720px; margin: 0 auto; padding: 56px 22px; }
.status-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; margin-bottom: 22px; }
.status-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row .k { color: var(--muted); font-size: 14px; }
.status-row .v { font-weight: 600; }
.badge-active { background: #E9F8F6; color: var(--tiffany-deep); padding: 5px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.badge-off { background: #F3F3F3; color: var(--muted); padding: 5px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pay-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.pay-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero-cta, .stores { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-phone { order: -1; }
  .hero-phone img { width: 220px; }
  .features { grid-template-columns: 1fr; }
  .nav .navlink { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .section-head h2, .cta-band h2 { font-size: 28px; }
  .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  /* Compact header so brand + buttons never overlap on phones. */
  .container { padding: 0 16px; }
  .site-header .container { height: 58px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .nav { gap: 0; }
  .nav-actions { gap: 8px; }
  .site-header .btn { padding: 8px 13px; font-size: 13px; }
}
@media (max-width: 360px) {
  .brand span { display: none; } /* logo mark only on very narrow screens */
}
