/* chill vpn — лендинг. Цвета и шрифты — как в приложении (src/theme.ts). */
:root {
  --bg: #f6ece2; --bg2: #efe4d8; --card: #ffffff; --ink: #0e0f1c; --ink2: #4a4f6a; --ink3: #8a8fa8;
  --line: #e8dccf; --blue: #5b8def; --mint: #57d9b0; --sky: #6fc3f0; --space: #04091d;
  --grad: linear-gradient(120deg, #88efd1 0%, #6fc3f0 48%, #5b8def 100%);
  --r: 28px; --shadow: 0 18px 50px -24px rgba(14, 15, 28, 0.28);
  --disp: 'Montserrat', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.02em; margin: 0; overflow-wrap: break-word; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 16px;
  font: 700 16px var(--body); cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-grad { background: var(--grad); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(91, 141, 239, .6); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }

/* навигация */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 236, 226, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-login { font-weight: 700; font-size: 15px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--card); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav[hidden] { display: none; }
.mnav { display: flex; flex-direction: column; padding: 8px 24px 20px; gap: 4px; }
.mnav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(87, 217, 176, .25); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; margin: 22px 0 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink2); max-width: 540px; margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; gap: 28px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--ink2); font-size: 15px; }
.hero-facts b { display: block; font: 700 28px var(--disp); color: var(--ink); }
.hero-art { position: relative; }
.hero-art img { border-radius: 40px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.hero-glow { position: absolute; inset: 8% -6% -6% 8%; background: var(--grad); filter: blur(60px); opacity: .45; border-radius: 50%; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .92);
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.chip i { font-style: normal; font-weight: 600; color: var(--mint); margin-left: 4px; }
.chip .ok { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.chip-1 { top: 10%; left: -6%; } .chip-2 { top: 44%; right: -5%; animation-delay: 1.4s; } .chip-3 { bottom: 9%; left: 4%; animation-delay: 2.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* секции */
.section { padding: 80px 24px; }
.head { max-width: 720px; margin-bottom: 40px; }
.head-c { text-align: center; margin-left: auto; margin-right: auto; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sub { color: var(--ink2); font-size: 17px; margin: 16px 0 0; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: var(--r); padding: 22px 24px 28px; box-shadow: var(--shadow); }
.card-cream { background: #f6ece2; box-shadow: inset 0 0 0 1.5px var(--line); }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; margin-bottom: 18px; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink2); }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mini { background: var(--card); border-radius: 20px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.mini b { display: block; font-family: var(--disp); margin-bottom: 4px; }
.mini span { color: var(--ink2); font-size: 14px; }

/* космос */
.space { position: relative; overflow: hidden; background: var(--space); color: #fff; padding: 110px 0; }
.space-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; opacity: .9; }
.space::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 9, 29, .96) 0%, rgba(4, 9, 29, .7) 45%, rgba(4, 9, 29, 0) 75%); }
.space-in { position: relative; z-index: 1; }
.space h2 { max-width: 560px; }
.tag-dark { color: #88efd1; }
.lead-dark { color: rgba(255, 255, 255, .78); margin-top: 16px; }
.flags { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 600px; }
.flags li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); font-weight: 600; }
.flags span { font-size: 20px; }

/* приложения */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.head-row .head { margin-bottom: 0; }
.head-art { width: 240px; border-radius: 32px; box-shadow: var(--shadow); flex: none; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin: 10px 0 44px; }
.phone { margin: 0; width: 250px; padding: 10px; border-radius: 44px; background: var(--ink); box-shadow: 0 30px 60px -28px rgba(14, 15, 28, .55); }
.phone img { border-radius: 34px; }
.phone-mid { width: 280px; transform: translateY(-24px); }
.apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.app { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .15s; }
.app:hover { transform: translateY(-3px); }
.app b { font-family: var(--disp); font-size: 18px; margin-top: 12px; }
.app > span:last-child { color: var(--blue); font-weight: 600; font-size: 14px; }
.app-soon { opacity: .75; } .app-soon > span:last-child { color: var(--ink3); }
.app-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--bg2) center / 26px no-repeat; }
.app-and { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2357d9b0'%3E%3Cpath d='M6 18c0 .55.45 1 1 1h1v3.5a1.5 1.5 0 003 0V19h2v3.5a1.5 1.5 0 003 0V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8A1.5 1.5 0 002 9.5v7a1.5 1.5 0 003 0v-7A1.5 1.5 0 003.5 8zm17 0A1.5 1.5 0 0019 9.5v7a1.5 1.5 0 003 0v-7A1.5 1.5 0 0020.5 8zm-4.97-5.84l1.3-1.3a.5.5 0 00-.7-.7l-1.48 1.48A5.84 5.84 0 0012 1c-.96 0-1.86.23-2.66.63L7.85.15a.5.5 0 10-.7.7l1.31 1.31A5.98 5.98 0 006 7h12a5.98 5.98 0 00-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z'/%3E%3C/svg%3E"); }
.app-ios { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230e0f1c'%3E%3Cpath d='M16.4 12.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.8-2-1.6-.2-3.1.9-3.9.9s-2.1-.9-3.4-.9C5.8 6.8 4.2 7.8 3.3 9.4c-1.9 3.2-.5 8 1.3 10.6.9 1.3 1.9 2.7 3.3 2.6 1.3-.1 1.8-.8 3.4-.8s2 .8 3.4.8c1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-2.9 1.4-3-.1 0-2.9-1.1-2.9-4.4zM13.8 4.8c.7-.9 1.2-2 1.1-3.2-1 0-2.3.7-3 1.6-.7.8-1.3 2-1.1 3.1 1.1.1 2.3-.6 3-1.5z'/%3E%3C/svg%3E"); }
.app-win { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b8def'%3E%3Cpath d='M2 4.5l8-1.1v7.8H2V4.5zm9-1.2L22 2v9.2H11V3.3zM2 12.8h8v7.8l-8-1.1v-6.7zm9 0h11V22l-11-1.5v-7.7z'/%3E%3C/svg%3E"); }
.app-mac { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a4f6a'%3E%3Cpath d='M3 4h18a1 1 0 011 1v11a1 1 0 01-1 1h-7v2h3v2H7v-2h3v-2H3a1 1 0 01-1-1V5a1 1 0 011-1zm1 2v9h16V6H4z'/%3E%3C/svg%3E"); }
.app-tg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232aabee'%3E%3Cpath d='M21.9 4.3l-3.2 15c-.2 1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9-8.2c.4-.4-.1-.6-.6-.2L6.3 13 1.5 11.5c-1-.3-1-1 .2-1.5L20.5 2.9c.9-.3 1.6.2 1.4 1.4z'/%3E%3C/svg%3E"); }

/* тарифы */
.trial { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto 34px; padding: 14px 16px 14px 14px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.trial img { width: 64px; height: 64px; border-radius: 50%; }
.trial div { flex: 1; } .trial b { display: block; font-family: var(--disp); font-size: 18px; } .trial span { color: var(--ink2); font-size: 14px; }
.seg { display: flex; justify-content: center; gap: 6px; padding: 6px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; margin: 0 auto 30px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 10px 18px; border-radius: 12px; font: 700 14px var(--body); color: var(--ink2); cursor: pointer; }
.seg button.on { background: var(--ink); color: #fff; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price { background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price.feat { background: var(--grad); }
.price.na { opacity: .5; box-shadow: none; background: transparent; outline: 1.5px dashed var(--line); }
.price h3 { font-size: 26px; } .price .who { color: var(--ink2); margin: 4px 0 18px; font-size: 15px; }
.price.feat .who { color: rgba(14, 15, 28, .7); }
.price .amount { font: 700 46px/1 var(--disp); } .price .amount small { font-size: 22px; margin-left: 4px; }
.price .per { color: var(--ink2); font-size: 14px; margin: 8px 0 18px; } .price.feat .per { color: rgba(14, 15, 28, .75); }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.price li::before { content: '✓'; font-weight: 700; color: var(--mint); margin-right: 8px; } .price.feat li::before { color: var(--ink); }
.price .badge { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.price .btn { width: 100%; }
.note { text-align: center; color: var(--ink2); font-size: 15px; margin-top: 26px; }

/* подарки */
.gifts { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 30px; background: var(--card); border-radius: 32px; padding: 24px 32px 24px 24px; box-shadow: var(--shadow); }
.gifts img { border-radius: 24px; }
.gifts h3 { font-size: 28px; margin: 0 0 8px; } .gifts p { color: var(--ink2); margin: 0 0 16px; }
.gift-chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.gift-chips li { padding: 8px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.gift-chips span { color: var(--ink2); margin-right: 6px; }

/* поддержка */
.support { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; background: var(--card); border-radius: 36px; padding: 36px; box-shadow: var(--shadow); }
.support img { border-radius: 26px; }

/* вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-side img { max-width: 300px; border-radius: 28px; margin-top: 28px; box-shadow: var(--shadow); }
.faq details { background: var(--card); border-radius: 20px; padding: 0 22px; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 16px; font: 700 24px var(--disp); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink2); }

/* финальный призыв */
.final { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 30px; background: var(--grad); border-radius: 40px; padding: 48px 56px; margin: 40px 0 90px; overflow: hidden; }
.final h2 { font-size: clamp(32px, 4.6vw, 56px); } .final p { font-size: 18px; margin: 12px 0 26px; color: rgba(14, 15, 28, .75); }
.final img { border-radius: 30px; max-width: 320px; justify-self: end; }

/* подвал */
.foot { background: var(--space); color: rgba(255, 255, 255, .72); padding: 60px 0 30px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand img { height: 32px; width: auto; } .foot-brand p { margin: 14px 0 0; font-size: 15px; }
.foot h4 { color: #fff; font: 700 15px var(--disp); margin: 0 0 12px; }
.foot a { display: block; font-size: 15px; padding: 4px 0; } .foot a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* адаптив */
@media (max-width: 1060px) {
  .apps { grid-template-columns: repeat(3, 1fr); } .minis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; } .burger { display: flex; }
  .hero, .support, .faq-grid, .final { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 24px; } .hero-art { max-width: 520px; margin: 0 auto; }
  .cards3, .prices { grid-template-columns: minmax(0, 1fr); }
  .final { padding: 36px 28px; text-align: left; } .final img { justify-self: start; max-width: 220px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .space::after { background: linear-gradient(180deg, rgba(4, 9, 29, .6), rgba(4, 9, 29, .95)); }
}
@media (max-width: 760px) {
  .gifts { grid-template-columns: minmax(0, 1fr); padding: 20px; } .gifts img { max-width: 200px; }
  .head-row { flex-direction: column; align-items: flex-start; } .head-art { width: 180px; }
  .phones { gap: 12px; } .phone { width: 30%; padding: 5px; border-radius: 24px; } .phone img { border-radius: 19px; } .phone-mid { width: 34%; transform: translateY(-12px); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; } .section { padding: 60px 16px; }
  .apps { grid-template-columns: 1fr 1fr; } .minis { grid-template-columns: 1fr; }
  .chip-1 { left: 8px; } .chip-2 { right: 8px; } .chip { font-size: 12px; padding: 8px 10px; }
  .nav-right .btn-sm { padding: 0 12px; }
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; } .btn-sm { width: auto; }
  .trial { flex-wrap: wrap; } .support { padding: 20px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } .btn, .app { transition: none; } }
/* 27.09.2026: на телефоне свечение героя не выходит за правый край — иначе страница ездила вбок */
@media (max-width: 760px) { .hero-glow { inset: 8% 0 -6% 8%; } }
