:root {
  --shell: linear-gradient(180deg,#0d4653 0%,#0a3242 20%,#08202f 48%,#061724 100%);
  --card: rgba(255,255,255,.055);
  --card-hi: rgba(255,255,255,.09);
  --text: #eaf7f8;
  --hint: rgba(234,247,248,.62);
  --hint-soft: rgba(234,247,248,.5);
  --sep: rgba(255,255,255,.1);
  --accent: oklch(0.82 0.13 188);
  --accentSoft: rgba(72,222,214,.12);
  --glass: rgba(255,255,255,.13);
  --glassHi: rgba(255,255,255,.26);
  --ok: oklch(0.82 0.12 172);
  --bad: #ff6b6b;
  --star: #f5c451;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #061724;
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { background: var(--shell); position: relative; overflow-x: hidden; }
body::before {
  content: ""; position: fixed; top: -200px; left: -140px; width: 800px; height: 800px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(41,150,160,.35), rgba(41,150,160,0));
  pointer-events: none; z-index: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: oklch(0.9 0.1 188); }

.page { position: relative; max-width: 1296px; margin: 0 auto; padding: 0 24px; z-index: 1; }

/* --- Header --- */
header.topbar {
  display: flex; align-items: center; gap: 32px;
  max-width: 1296px; margin: 0 auto; padding: 26px 24px;
  position: relative; z-index: 1;
}
.brand {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px 0 16px;
  border-radius: 15px; background: var(--glass); border: 1px solid var(--glassHi);
  backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 22px rgba(0,0,0,.25);
}
.brand-mark { height: 20px; width: auto; flex: none; display: block; }
.brand-text { font-size: 17px; font-weight: 800; letter-spacing: .6px; color: #fff; }
.brand-text span { font-weight: 500; opacity: .85; }
nav.top-nav { display: flex; gap: 30px; margin-left: 16px; font-size: 14.5px; font-weight: 600; }
nav.top-nav a { color: rgba(234,247,248,.72); }
nav.top-nav a:hover { color: #fff; }
.topbar-spacer { flex: 1; }
.btn-ghost {
  height: 44px; padding: 0 20px; border-radius: 14px; display: flex; align-items: center;
  font-size: 14.5px; font-weight: 600; color: rgba(234,247,248,.8);
}
.btn-ghost:hover { color: #fff; }
.btn-glass {
  height: 44px; padding: 0 24px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glassHi);
  backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 22px rgba(0,0,0,.25);
  display: flex; align-items: center; font-size: 14.5px; font-weight: 700; color: #fff;
}
.btn-glass:hover { background: var(--glassHi); color: #fff; }
.btn-glass.lg { height: 56px; padding: 0 30px; border-radius: 17px; font-size: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 12px 30px rgba(0,0,0,.3); }

.lang-toggle {
  display: flex; gap: 2px; padding: 3px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glassHi); backdrop-filter: blur(14px);
}
.lang-toggle button {
  height: 32px; padding: 0 13px; border-radius: 9px; border: none; background: transparent; cursor: pointer;
  font-size: 12.5px; font-weight: 700; color: rgba(234,247,248,.6); font-family: inherit;
}
.lang-toggle button.active { background: rgba(255,255,255,.14); color: #fff; }

/* --- Hero --- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 40px 0 90px; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border-radius: 99px;
  background: var(--accentSoft); border: 1px solid rgba(72,222,214,.3); font-size: 12.5px; font-weight: 700;
  letter-spacing: .4px; color: oklch(0.86 0.12 188); text-transform: uppercase;
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { font-size: 58px; line-height: 1.05; letter-spacing: -2.2px; font-weight: 800; margin: 24px 0 0; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--hint); margin: 20px 0 0; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn-outline {
  height: 56px; padding: 0 26px; border-radius: 17px; border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; font-size: 16px; font-weight: 600; color: rgba(234,247,248,.82);
}
.btn-outline:hover { border-color: rgba(255,255,255,.34); color: rgba(234,247,248,.82); }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-size: 27px; font-weight: 800; letter-spacing: -1px; }
.hero-stats .label { font-size: 13px; color: var(--hint-soft); margin-top: 5px; }

/* --- Phone mockup --- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.24), rgba(255,255,255,.05));
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.phone-screen { border-radius: 32px; overflow: hidden; background: linear-gradient(168deg,#0e4c59,#0a3040 55%,#071c29); display: flex; flex-direction: column; min-height: 560px; }
.phone-status { flex: none; display: flex; justify-content: space-between; padding: 14px 24px 6px; font-size: 12px; font-weight: 700; }
.phone-brand { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 16px 12px; font-size: 13px; font-weight: 800; }
.phone-body { flex: 1; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-sub-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.phone-sub-status { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--ok); }
.phone-sub-status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.phone-sub-until { font-size: 21px; font-weight: 800; margin-top: 9px; }
.phone-sub-left { font-size: 11.5px; color: var(--hint-soft); margin-top: 4px; }
.phone-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,.13); margin-top: 13px; overflow: hidden; }
.phone-bar-fill { height: 100%; width: 62%; border-radius: 99px; background: var(--accent); }
.phone-btn { margin-top: 14px; height: 38px; border-radius: 13px; background: var(--glass); border: 1px solid var(--glassHi); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }
.phone-link-card { padding: 14px 16px; border-radius: 18px; background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.1); }
.phone-link-label { font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--hint-soft); }
.phone-link-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.phone-link-text { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgba(234,247,248,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-link-copy { flex: none; height: 24px; padding: 0 10px; border-radius: 8px; background: var(--glass); border: 1px solid var(--glassHi); display: flex; align-items: center; font-size: 10.5px; font-weight: 700; }
.phone-loc-list { border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.phone-loc-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.phone-loc-row:last-child { border-bottom: none; }
.phone-loc-row.active { background: rgba(72,222,214,.09); }
.phone-loc-flag { font-size: 17px; }
.phone-loc-city { font-size: 12.5px; font-weight: 700; }
.phone-loc-name { font-size: 10px; color: var(--hint-soft); margin-top: 1px; }
.phone-loc-badge { flex: none; font-size: 10px; font-weight: 800; color: var(--hint-soft); }
.phone-loc-badge.active { color: var(--ok); }
.phone-tabs { flex: none; display: grid; grid-template-columns: repeat(4,1fr); padding: 8px 8px 16px; border-top: 1px solid rgba(255,255,255,.1); }
.phone-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--hint-soft); }
.phone-tab.active { color: #fff; }
.phone-tab-pill { display: flex; align-items: center; justify-content: center; width: 38px; height: 24px; border-radius: 9px; font-size: 13px; }
.phone-tab.active .phone-tab-pill { background: var(--glass); border: 1px solid var(--glassHi); }
.phone-tab-label { font-size: 8.5px; font-weight: 700; }

/* --- Apps strip --- */
.apps-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--sep);
  font-size: 14px; font-weight: 600; color: var(--hint);
}
.apps-strip span.plat { color: rgba(234,247,248,.9); }

/* --- Section shell --- */
.section { padding: 100px 0 0; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.section h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.3px; margin: 14px 0 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head-row p { font-size: 14.5px; line-height: 1.55; color: var(--hint); max-width: 400px; margin: 0; }

/* --- Grids --- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 40px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.pricing-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .pricing-grid-2 { grid-template-columns: 1fr; } }

.feature-card, .loc-card, .step-card {
  padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--sep);
}
.feature-card { backdrop-filter: blur(12px); }
.feature-card:hover { border-color: rgba(72,222,214,.4); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 14px; background: var(--accentSoft);
  display: flex; align-items: center; justify-content: center; color: oklch(0.86 0.12 188);
}
.feature-title { font-size: 17.5px; font-weight: 700; margin-top: 18px; letter-spacing: -.3px; }
.feature-desc { font-size: 14px; line-height: 1.55; color: var(--hint); margin-top: 8px; }

.loc-card .flag { font-size: 30px; }
.loc-name { font-size: 16px; font-weight: 700; margin-top: 14px; }
.loc-city { font-size: 12px; color: var(--hint-soft); margin-top: 3px; }
.loc-ping-row { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.loc-ping { font-size: 16px; font-weight: 800; letter-spacing: -.4px; }
.loc-ping-label { font-size: 11px; color: rgba(234,247,248,.45); }
.loc-bar-track { height: 4px; border-radius: 99px; background: rgba(255,255,255,.09); margin-top: 11px; overflow: hidden; }
.loc-bar-fill { height: 100%; border-radius: 99px; background: var(--ok); }
.loc-bar-fill.hot { background: var(--star); }

.step-num { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; color: var(--accent); }
.step-title { font-size: 18px; font-weight: 700; margin-top: 15px; letter-spacing: -.3px; }
.step-desc { font-size: 14px; line-height: 1.55; color: var(--hint); margin-top: 8px; }

/* --- Pricing --- */
.pricing-lead { text-align: center; }
.pricing-lead p { font-size: 15.5px; color: var(--hint); max-width: 540px; margin: 10px auto 0; line-height: 1.6; }
.plan-card { position: relative; padding: 32px; border-radius: 25px; background: var(--card); border: 1px solid var(--sep); backdrop-filter: blur(12px); }
.plan-card.hot { background: rgba(255,255,255,.09); border-color: rgba(72,222,214,.4); box-shadow: 0 22px 55px rgba(0,0,0,.3); }
.plan-badge { position: absolute; top: 22px; right: 22px; height: 25px; padding: 0 12px; border-radius: 99px; background: rgba(245,196,81,.16); border: 1px solid rgba(245,196,81,.35); display: flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .4px; color: var(--star); text-transform: uppercase; }
.plan-name { font-size: 18px; font-weight: 700; }
.plan-desc { font-size: 13.5px; color: var(--hint); margin-top: 7px; line-height: 1.5; min-height: 40px; }
.plan-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -1.6px; }
.plan-unit { font-size: 14px; color: var(--hint-soft); }
.plan-save { font-size: 12.5px; font-weight: 700; color: var(--ok); margin-top: 8px; }
.plan-items { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sep); }
.plan-items div { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: rgba(234,247,248,.8); }
.plan-items span { color: var(--ok); font-weight: 800; }
.plan-cta { margin-top: 22px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 700; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.plan-cta:hover { background: rgba(255,255,255,.14); color: #fff; }
.plan-card.hot .plan-cta { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.26); }
.pricing-foot { text-align: center; font-size: 12.5px; color: rgba(234,247,248,.42); margin-top: 20px; }

/* --- FAQ --- */
.faq-box { border-radius: 22px; background: var(--card); border: 1px solid var(--sep); overflow: hidden; }
.faq-row { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-row:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer; }
.faq-q-text { flex: 1; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.faq-chev { flex: none; font-size: 11px; color: var(--accent); transition: transform .25s; }
.faq-row.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; padding: 0 24px; font-size: 14px; line-height: 1.6; color: var(--hint); transition: max-height .3s ease, opacity .25s, padding .25s; }
.faq-row.open .faq-a { max-height: 240px; opacity: 1; padding: 0 24px 20px; }

/* --- CTA banner --- */
.cta-banner { border-radius: 30px; padding: 60px; background: radial-gradient(120% 130% at 15% 0%, rgba(72,222,214,.18), rgba(72,222,214,0) 60%), rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.cta-banner h2 { font-size: 40px; letter-spacing: -1.4px; margin: 0; }
.cta-banner p { font-size: 16px; color: var(--hint); margin: 14px auto 0; max-width: 480px; line-height: 1.6; }

/* --- Footer --- */
footer.site-foot { margin-top: 90px; padding: 40px 0 50px; border-top: 1px solid var(--sep); display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 9px; }
.foot-nav { display: flex; gap: 24px; font-size: 13.5px; color: rgba(234,247,248,.55); flex-wrap: wrap; }
.foot-copy { font-size: 13px; color: rgba(234,247,248,.4); margin-left: auto; }

/* --- Simple utility pages (verify/forgot/reset) --- */
.wrap { max-width: 460px; margin: 60px auto; padding: 0 20px; position: relative; z-index: 1; }
.card {
  border-radius: 22px; background: var(--card); backdrop-filter: blur(12px); padding: 30px; border: 1px solid var(--sep);
}
.card h1 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 10px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--hint); margin: 0 0 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--hint); margin: 14px 0 6px; }
label:first-child { margin-top: 0; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--sep);
  background: rgba(255,255,255,.05); color: var(--text); font-family: inherit; font-size: 15px; outline: none;
}
input:focus { border-color: var(--glassHi); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 13px 18px; margin-top: 18px; border-radius: 14px; border: 1px solid var(--glassHi);
  background: var(--glass); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); transition: .15s;
}
.btn:hover { background: var(--glassHi); }
.btn:disabled { opacity: .5; cursor: default; }
.msg { font-size: 13.5px; padding: 12px 14px; border-radius: 12px; margin-top: 14px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255,107,107,.12); color: var(--bad); }
.msg.ok { background: var(--accentSoft); color: var(--ok); }
.foot-link { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--hint); }

/* --- Мобильная навигация (лендинг) --- */
.mobile-menu-btn { display: none; width: 38px; height: 38px; flex: none; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; padding: 0; }
.mobile-menu-btn span { width: 16px; height: 1.8px; background: var(--text); display: block; border-radius: 2px; }
.mobile-only-flex { display: none; }
.mobile-menu {
  display: none; flex-direction: column; margin: 0 24px 16px; padding: 8px; border-radius: 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--text); }
.mobile-menu a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.hero-stats-mobile { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.hero-stats-mobile > div { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--sep); }
.hero-stats-mobile .num { font-size: 19px; font-weight: 800; letter-spacing: -.6px; }
.hero-stats-mobile .label { font-size: 11px; color: var(--hint-soft); margin-top: 4px; line-height: 1.3; }
.sticky-cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 12px 20px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(6,23,36,0), rgba(6,23,36,.94) 40%);
}
.sticky-cta-bar .btn-glass { margin-top: 0; }

@media (max-width: 700px) {
  header.topbar { padding: 16px 20px; gap: 12px; }
  nav.top-nav, .desktop-only-flex { display: none; }
  .mobile-menu-btn, .mobile-only-flex { display: flex; }
  .hero { padding-top: 12px; padding-bottom: 20px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-glass, .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { display: none; }
  .hero-stats-mobile { display: grid; }
  .phone-wrap { display: none; }
  .apps-strip { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section { padding-top: 56px; }
  .section h2 { font-size: 28px; letter-spacing: -1px; }
  .section-head-row { align-items: flex-start; }
  body { padding-bottom: 84px; }
  .sticky-cta-bar { display: flex; }
}
