:root {
  --bg: #f8f9fc;
  --surface: rgba(255, 255, 255, .74);
  --surface-strong: rgba(255, 255, 255, .9);
  --text: #11141a;
  --muted: #6d7480;
  --soft: #8a92a0;
  --line: rgba(17, 20, 26, .105);
  --line-soft: rgba(17, 20, 26, .075);
  --blue: #179cff;
  --blue-deep: #0874d9;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(23, 33, 55, .09);
  --header-height: 58px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 12%, rgba(83, 142, 255, .15), transparent 29%),
    radial-gradient(circle at 89% 18%, rgba(148, 107, 255, .12), transparent 31%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fc 52%, #f8f9fc 100%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .42;
}
.ambient-a { width: 520px; height: 520px; left: -210px; top: -180px; background: rgba(88, 153, 255, .27); }
.ambient-b { width: 620px; height: 620px; right: -240px; top: 190px; background: rgba(172, 136, 255, .20); }

.site-header {
  width: min(1200px, calc(100% - 48px));
  height: var(--header-height);
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 54px rgba(20, 28, 48, .055);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 18px;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #11141a;
  -webkit-font-smoothing: antialiased;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: .88;
  letter-spacing: .045em;
  transform: scaleX(1.06);
  transform-origin: left center;
}

.brand-main {
  color: #10141c;
}

.brand-accent {
  color: #188fff;
  letter-spacing: .035em;
}

.footer-brand .brand-word {
  font-size: 20px;
}

.nav { display: flex; align-items: center; gap: 28px; color: #68717f; font-size: 14px; font-weight: 600; }
.nav a { transition: color .2s ease, transform .2s ease; }
.nav a:hover { color: var(--text); transform: translateY(-1px); }

.hero {
  width: min(1200px, calc(100% - 48px));
  min-height: 585px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
  padding: 72px 0 40px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #6c7480;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(22, 31, 55, .045);
}
.hero h1 {
  margin: 28px 0 0;
  max-width: 720px;
  font-size: clamp(58px, 6.7vw, 104px);
  line-height: .92;
  letter-spacing: -0.079em;
  font-weight: 700;
}
.hero-text {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.65;
  font-weight: 500;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.hero-visual {
  position: relative;
  height: 520px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 156, 255, .14), rgba(23, 156, 255, .035) 42%, transparent 70%);
  filter: blur(18px);
}
.hero-visual img {
  position: relative;
  width: min(620px, 100%);
  opacity: .33;
  transform: translateX(18px);
  filter: saturate(.9) contrast(.96);
  animation: floatGlobe 12s ease-in-out infinite;
}
@keyframes floatGlobe {
  0%, 100% { transform: translateX(18px) translateY(0) scale(1); }
  50% { transform: translateX(18px) translateY(-10px) scale(1.015); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-1px) scale(1.015); }
.btn-primary { background: #12151b; color: #fff; box-shadow: 0 16px 42px rgba(18, 21, 27, .16); }
.btn-primary:hover { box-shadow: 0 18px 48px rgba(18, 21, 27, .2); }
.btn-secondary, .btn-soft, .btn-card {
  background: rgba(255,255,255,.76);
  border-color: var(--line);
  color: #171a20;
  box-shadow: 0 12px 32px rgba(28, 36, 58, .045);
}
.btn-card { width: 100%; min-height: 48px; margin-top: auto; }

.plans-section, .how-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.plans-section { padding: 28px 0 84px; }
.how-section { padding: 20px 0 80px; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: .98;
  letter-spacing: -0.065em;
  font-weight: 700;
}
.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 220px));
  justify-content: center;
  gap: 16px;
}
.plan-card {
  min-height: 318px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 54px rgba(23, 33, 55, .07);
  backdrop-filter: blur(16px);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(23, 156, 255, .18); box-shadow: 0 24px 66px rgba(23, 33, 55, .095); }
.plan-price { font-weight: 700; letter-spacing: -0.05em; line-height: .95; color: var(--text); }
.plan-price span { font-size: clamp(46px, 4.2vw, 62px); }
.plan-duration { margin-top: 12px; color: #5f6876; font-size: 18px; font-weight: 700; }
.plan-divider { height: 1px; background: var(--line-soft); margin: 24px 0 18px; }
ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
li { color: var(--muted); font-size: 15px; font-weight: 600; }
li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 11px; border-radius: 999px; background: var(--blue); vertical-align: 1px; box-shadow: 0 0 0 4px rgba(23, 156, 255, .09); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 28px;
  min-height: 170px;
  border-radius: 26px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 48px rgba(23, 33, 55, .055);
}
.step h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -0.035em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.glass { background: var(--surface); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
.payment-layout, .success-screen { width: min(860px, calc(100% - 36px)); margin: 76px auto 96px; }
.payment-card, .success-card { border-radius: 36px; padding: clamp(26px, 5vw, 54px); }
.back-link { display: inline-flex; margin-bottom: 28px; color: var(--muted); font-weight: 700; }
.payment-card h1, .success-card h1 { margin: 16px 0 8px; font-size: clamp(42px, 7vw, 72px); letter-spacing: -0.06em; line-height: 1; }
.summary-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.summary-box div { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.64); border: 1px solid var(--line); }
.summary-box span { display: block; color: var(--muted); margin-bottom: 8px; }
.summary-box strong { font-size: 26px; }
.instruction { margin-top: 28px; }
.instruction h2 { font-size: 28px; letter-spacing: -0.04em; }
ol { padding-left: 22px; color: var(--muted); line-height: 1.85; }
.note { padding: 16px 18px; border-radius: 18px; background: rgba(16,18,22,.06); color: var(--muted); }
.confirm-form { display: grid; gap: 12px; margin-top: 26px; }
label { color: var(--muted); font-weight: 700; }
input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; font: inherit; background: rgba(255,255,255,.74); outline: none; }
input:focus { border-color: rgba(23,156,255,.44); }
.alert-box { margin: 24px 0; padding: 16px 18px; border-radius: 18px; background: rgba(180, 60, 60, .08); border: 1px solid rgba(180, 60, 60, .16); color: #7c2929; line-height: 1.55; }
.success-card { text-align: center; }
.success-icon { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 24px; display: grid; place-items: center; background: #111318; color: #fff; font-size: 36px; font-weight: 800; }
.success-card p { max-width: 600px; margin: 0 auto 28px; color: var(--muted); line-height: 1.7; }
.subscription-layout { display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: stretch; margin-top: 28px; text-align: left; }
.subscription-box, .qr-card { border: 1px solid var(--line-soft); background: rgba(255,255,255,.62); border-radius: 24px; padding: 18px; }
.subscription-label { display: block; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.subscription-row { display: flex; gap: 10px; }
.subscription-row input { min-width: 0; }
.subscription-actions { margin-top: 12px; }
.qr-card { display: grid; place-items: center; }
.qr-card img { width: 100%; max-width: 170px; display: block; }
.subscription-note { margin-top: 22px !important; font-size: 14px; }
.subscription-note.warning { color: #8a3d2e; }

.footer {
  width: min(1200px, calc(100% - 48px));
  margin: 20px auto 28px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}
.telegram-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.telegram-icon { width: 22px; height: 22px; color: #229ed9; transition: transform .22s ease, filter .22s ease; }
.telegram-link:hover .telegram-icon { transform: translateY(-1px); filter: drop-shadow(0 0 8px rgba(34,158,217,.35)); }

.plan-card, .step, .payment-card, .success-card { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease, box-shadow .24s ease, border-color .24s ease; }
.plan-card.is-visible, .step.is-visible, .payment-card.is-visible, .success-card.is-visible { opacity: 1; transform: translateY(0); }
.plan-card:hover.is-visible { transform: translateY(-4px); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero h1 { max-width: 840px; }
  .hero-visual { height: 360px; margin-top: -24px; }
  .hero-visual img { width: min(460px, 86%); }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { width: min(100% - 28px, 1200px); padding: 0 16px; }
  .nav { display: none; }
  .brand-word { font-size: 21px; }
  .hero, .plans-section, .how-section, .footer { width: min(100% - 32px, 1200px); }
  .hero { padding: 54px 0 30px; gap: 10px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); letter-spacing: -0.075em; }
  .hero-text { font-size: 17px; }
  .hero-actions { margin-top: 26px; }
  .hero-visual { height: 260px; }
  .plans-grid, .steps, .subscription-layout, .summary-box { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(36px, 11vw, 52px); }
  .payment-layout, .success-screen { margin-top: 52px; }
  .subscription-row { flex-direction: column; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* v5.2 refinements */
.hero .hero-kicker { display: none; }
.section-head.centered .eyebrow { display: none; }

.product-steps {
  perspective: 1200px;
}

.product-step {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.product-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 0%, rgba(23, 156, 255, .12), transparent 42%),
              linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.52));
  opacity: .9;
  pointer-events: none;
}

.product-step > * {
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #168fff;
  background: rgba(23, 156, 255, .08);
  border: 1px solid rgba(23, 156, 255, .18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 34px rgba(23,156,255,.11);
}

.product-step.is-visible {
  animation: productFloatIn .62s cubic-bezier(.16, 1, .3, 1) both;
}

.product-step:nth-child(2).is-visible { animation-delay: .08s; }
.product-step:nth-child(3).is-visible { animation-delay: .16s; }

.product-step:hover {
  transform: translateY(-7px) rotateX(1.6deg) rotateY(-1.2deg) !important;
  border-color: rgba(23, 156, 255, .22);
  box-shadow: 0 30px 78px rgba(23, 33, 55, .09);
}

@keyframes productFloatIn {
  from { opacity: 0; transform: translateY(26px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.confirm-form input:required {
  border-color: rgba(23,156,255,.24);
}

.confirm-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 80, 80, .38);
}

/* v5.3.1 - clean step icons, no numeric labels */
.step-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 18px;
  font-size: 0;
  letter-spacing: 0;
  background: rgba(23, 156, 255, .075);
  border: 1px solid rgba(23, 156, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 16px 36px rgba(23,156,255,.10);
}
.step-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}
.step-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-step:hover .step-icon {
  background: rgba(23, 156, 255, .105);
  border-color: rgba(23, 156, 255, .24);
  transform: translateY(-1px);
}

/* v5.5 - clickable app install cards */
.apps-section {
  margin-top: 30px;
  text-align: left;
}

.apps-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(22, 32, 52, .10);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.58));
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(16, 31, 64, .06), inset 0 1px 0 rgba(255,255,255,.86);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.app-download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 156, 255, .25);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.68));
  box-shadow: 0 24px 64px rgba(16, 31, 64, .10), 0 0 0 6px rgba(23,156,255,.045), inset 0 1px 0 rgba(255,255,255,.92);
}

.app-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #111318;
  background: rgba(17,19,24,.055);
  border: 1px solid rgba(17,19,24,.07);
}

.app-icon.android {
  color: #11a85b;
  background: rgba(17,168,91,.08);
  border-color: rgba(17,168,91,.12);
}

.app-icon.desktop {
  color: #168fff;
  background: rgba(23,156,255,.08);
  border-color: rgba(23,156,255,.14);
}

.app-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.app-icon svg path { fill: currentColor; }

.app-download-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.app-download-body strong {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.app-download-body small {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 880px) {
  .apps-grid { grid-template-columns: 1fr; }
}

/* v5.6 compliance pages and footer */
.footer-compliance {
  align-items: flex-start;
}
.footer-main,
.footer-links,
.footer-support {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-main {
  min-width: 210px;
}
.footer-copy {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}
.footer-links {
  justify-content: center;
  flex: 1;
}
.footer-links a,
.email-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a:hover,
.email-link:hover {
  color: var(--text);
}
.footer-support {
  justify-content: flex-end;
}
.legal-page {
  width: min(100% - 48px, 1040px);
  margin: 72px auto 80px;
}
.legal-shell {
  padding: clamp(28px, 5vw, 58px);
}
.legal-shell h1 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -0.065em;
}
.legal-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.legal-content {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.legal-content h2 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}
.legal-content a,
.legal-consent a,
.support-mini a {
  color: var(--blue-deep);
  font-weight: 800;
}
.legal-consent {
  margin: 6px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.contact-card {
  min-height: 150px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.62);
  box-shadow: 0 18px 48px rgba(16,31,64,.06), inset 0 1px 0 rgba(255,255,255,.86);
  display: grid;
  gap: 8px;
  align-content: center;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23,156,255,.25);
  box-shadow: 0 24px 64px rgba(16,31,64,.10), 0 0 0 6px rgba(23,156,255,.045), inset 0 1px 0 rgba(255,255,255,.92);
}
.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(23,156,255,.08);
  color: var(--blue-deep);
  font-weight: 900;
}
.contact-card strong {
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.025em;
}
.contact-card span:last-child {
  color: var(--muted);
  font-weight: 800;
}
.compact-content {
  margin-top: 30px;
}
.support-mini {
  margin: 18px auto 28px;
  max-width: 760px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.62);
  color: var(--muted);
  display: grid;
  gap: 6px;
  text-align: left;
}
.support-mini strong {
  color: var(--text);
}
@media (max-width: 760px) {
  .footer-compliance,
  .footer-main,
  .footer-links,
  .footer-support {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
  .legal-page { width: min(100% - 32px, 1040px); margin-top: 52px; }
  .contacts-grid { grid-template-columns: 1fr; }
}

/* Account */
.account-screen {
  width: min(1180px, calc(100% - 40px));
  margin: 72px auto 90px;
}
.account-shell {
  display: grid;
  gap: 22px;
}
.account-hero,
.account-login-card,
.account-card {
  border-radius: 34px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 72px rgba(16,31,64,.08), inset 0 1px 0 rgba(255,255,255,.92);
}
.account-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}
.account-hero h1,
.account-login-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.07em;
  line-height: .95;
}
.account-hero p,
.account-login-card p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}
.account-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.account-card {
  padding: 26px;
  display: grid;
  gap: 16px;
}
.account-status-card {
  grid-column: 1 / -1;
}
.account-label {
  color: var(--blue-deep);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .18em;
}
.account-order {
  font-size: clamp(18px, 2.6vw, 30px);
  color: var(--text);
  overflow-wrap: anywhere;
}
.account-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.account-meta-grid div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line-soft);
}
.account-meta-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}
.account-meta-grid strong {
  color: var(--text);
  overflow-wrap: anywhere;
}
.account-subscription-row input {
  min-width: 0;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qr-account-card {
  place-items: center;
  text-align: center;
}
.qr-account-card img {
  width: min(280px, 100%);
  height: auto;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(16,31,64,.08);
}
.account-apps {
  margin-top: 8px;
}
.account-login-card {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 38px;
}
.account-login-form {
  margin-top: 24px;
}
.account-help {
  margin-top: 16px;
  font-size: 14px;
}
@media (max-width: 860px) {
  .account-hero { flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .account-meta-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .account-screen { width: min(100% - 28px, 1180px); margin-top: 44px; }
  .account-hero, .account-login-card, .account-card { border-radius: 26px; padding: 22px; }
  .account-meta-grid { grid-template-columns: 1fr; }
}
.notice-box {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(38, 132, 255, .18);
  background: rgba(38, 132, 255, .08);
  color: #1857a4;
  font-weight: 600;
}
.account-inline-form {
  margin-top: 16px;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.link-button:hover { text-decoration: underline; }
.account-subscriptions-list {
  display: grid;
  gap: 20px;
}
.account-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.account-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 162, 255, .10);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compact-account-grid {
  margin-top: 8px;
}
.inner-account-card {
  background: rgba(255,255,255,.54);
  box-shadow: none;
}
@media (max-width: 560px) {
  .account-card-topline { flex-direction: column; }
}


/* v6.1.2 - clean key delivery page */
.subscription-layout-clean {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
}
.subscription-row-clean {
  align-items: stretch;
}
.subscription-row-clean input {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  color: var(--text);
  background: rgba(255,255,255,.72);
}
.subscription-row-clean .btn {
  white-space: nowrap;
}
.qr-card {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}
.qr-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.qr-card img {
  width: min(100%, 220px);
  height: auto;
}
.support-mini-email {
  max-width: 460px;
  text-align: center;
  justify-items: center;
}
.support-mini-email span,
.support-mini-email a {
  font-weight: 800;
}
.connect-guide {
  margin-top: 30px;
  text-align: left;
}
.connect-guide h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.connect-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.connect-step {
  min-height: 150px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(22, 32, 52, .10);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.58));
  box-shadow: 0 18px 48px rgba(16, 31, 64, .06), inset 0 1px 0 rgba(255,255,255,.86);
  display: grid;
  gap: 8px;
  align-content: start;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
.connect-step:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 156, 255, .25);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.68));
  box-shadow: 0 24px 64px rgba(16,31,64,.10), 0 0 0 6px rgba(23,156,255,.045), inset 0 1px 0 rgba(255,255,255,.92);
}
.connect-step-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-deep);
  background: rgba(23,156,255,.08);
  border: 1px solid rgba(23,156,255,.14);
}
.connect-step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.connect-step strong {
  color: var(--text);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.connect-step span:last-child {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 880px) {
  .subscription-layout-clean,
  .connect-steps { grid-template-columns: 1fr; }
  .qr-card img { width: min(100%, 260px); }
}

/* v7.1 Dashboard refinement */
.dashboard-screen {
  padding-top: 42px;
}
.dashboard-shell {
  max-width: 1120px;
  gap: 22px;
}
.dashboard-top {
  padding: 22px 26px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: accountRise .45s ease both;
}
.dashboard-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.dashboard-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, rgba(23,156,255,.13), rgba(111,70,255,.10));
  border: 1px solid rgba(23,156,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.dashboard-avatar svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.dashboard-top h1 {
  margin: 5px 0 3px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  word-break: break-word;
}
.dashboard-top p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
  font-size: 14px;
}
.dashboard-logout {
  min-width: 104px;
}
.keys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 520px));
  justify-content: center;
  align-items: start;
  gap: 22px;
}
.key-card {
  padding: 22px;
  border-radius: 30px;
  display: grid;
  gap: 18px;
  min-height: auto;
  animation: accountRise .5s ease both;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.key-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23,156,255,.20);
  box-shadow: 0 28px 72px rgba(16,31,64,.10), 0 0 0 8px rgba(23,156,255,.045), inset 0 1px 0 rgba(255,255,255,.88);
}
.key-card-muted {
  opacity: .92;
}
.key-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.key-overline {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.key-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  word-break: break-word;
}
.key-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid rgba(22,32,52,.08);
}
.key-status.is-active {
  color: #118a43;
  background: rgba(30, 201, 97, .12);
  border-color: rgba(30, 201, 97, .18);
}
.key-status.is-warning {
  color: #a96500;
  background: rgba(255, 184, 77, .15);
  border-color: rgba(255, 184, 77, .25);
}
.key-status.is-pending {
  color: var(--blue-deep);
  background: rgba(23,156,255,.10);
  border-color: rgba(23,156,255,.16);
}
.key-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.key-info-row div {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(22,32,52,.07);
}
.key-info-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}
.key-info-row strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}
.key-link-box {
  display: grid;
  gap: 8px;
}
.key-link-box label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.key-link-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(22,32,52,.10);
  background: rgba(255,255,255,.72);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}
.key-link-box input:focus {
  border-color: rgba(23,156,255,.35);
  box-shadow: 0 0 0 4px rgba(23,156,255,.10), inset 0 1px 0 rgba(255,255,255,.86);
}
.key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}
.btn-ghost {
  color: var(--blue-deep);
  background: rgba(23,156,255,.08);
  border: 1px solid rgba(23,156,255,.12);
}
.key-alert {
  padding: 18px;
  border-radius: 22px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  background: rgba(23,156,255,.08);
  border: 1px solid rgba(23,156,255,.12);
}
.key-alert strong {
  color: var(--text);
}
.key-alert.warning {
  background: rgba(255,184,77,.12);
  border-color: rgba(255,184,77,.22);
}
.empty-keys {
  max-width: 620px;
  margin: 10px auto 0;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 34px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  animation: accountRise .5s ease both;
}
.empty-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--blue-deep);
  background: rgba(23,156,255,.10);
  border: 1px solid rgba(23,156,255,.14);
}
.empty-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}
.empty-keys h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 6vw, 58px);
  line-height: .98;
  letter-spacing: -0.06em;
}
.empty-keys p {
  max-width: 430px;
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
}
.dashboard-help {
  padding: 20px 22px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.dashboard-help h2 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}
.dashboard-help p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}
.dashboard-help-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.compact-apps {
  margin-top: 0;
}
.dashboard-main {
  display: grid;
  gap: 22px;
}
.dashboard-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.dashboard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(22,32,52,.08);
  font-size: 13px;
  font-weight: 800;
}
.key-card-footnote {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.qr-modal.is-open {
  display: flex;
}
.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, .38);
  backdrop-filter: blur(16px);
}
.qr-modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 28px;
  border-radius: 32px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  animation: accountRise .25s ease both;
}
.qr-modal-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.qr-modal-card img {
  width: min(100%, 280px);
  height: auto;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(22,32,52,.08);
}
.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(22,32,52,.10);
  background: rgba(255,255,255,.72);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
@keyframes accountRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) {
  .keys-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dashboard-top,
  .dashboard-help {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-identity {
    align-items: flex-start;
  }
  .dashboard-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
  .key-card-head,
  .key-actions,
  .dashboard-help-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .key-info-row {
    grid-template-columns: 1fr;
  }
  .key-actions .btn,
  .dashboard-help-actions .btn,
  .dashboard-logout {
    width: 100%;
  }
}

/* v7.2 Dashboard product layout */
.dashboard-v72 {
  padding-top: 34px;
}
.dashboard-shell-v72 {
  max-width: 1180px;
  gap: 26px;
}
.dashboard-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px 2px;
}
.dashboard-titlebar h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 52px);
  line-height: .98;
  letter-spacing: -0.06em;
}
.dashboard-titlebar p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}
.keys-grid-v72 {
  grid-template-columns: 1fr;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
.key-card-v72 {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 34px;
  gap: 24px;
}
.key-card-v72-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.key-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.key-location-badge {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 28px;
  background: rgba(23,156,255,.09);
  border: 1px solid rgba(23,156,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}
.key-info-row-v72 {
  gap: 14px;
}
.key-info-row-v72 div {
  padding: 18px 20px;
  border-radius: 22px;
}
.key-copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  min-height: 60px;
  border-radius: 22px;
  border: 1px solid rgba(22,32,52,.10);
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
  overflow: hidden;
}
.key-copy-field input {
  min-height: 60px;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.copy-icon-button {
  width: 46px;
  height: 46px;
  margin-right: 7px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.copy-icon-button:hover {
  color: var(--blue-deep);
  background: rgba(23,156,255,.09);
  transform: translateY(-1px);
}
.copy-icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.key-actions-v72 {
  justify-content: space-between;
  gap: 14px;
}
.key-actions-v72 .btn-ghost {
  margin-left: auto;
}
.account-apps-v72 {
  margin: 30px auto 0;
  max-width: 1120px;
  width: 100%;
}
.account-apps-v72 h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.045em;
}
.apps-grid-v72 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.apps-grid-v72 .app-download-card {
  min-height: 104px;
  padding: 18px;
  border-radius: 24px;
}
.dashboard-help-v72 {
  order: 99;
  margin-top: 38px;
  padding: 18px 22px;
  border-radius: 26px;
}
.dashboard-help-v72 h2 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.dashboard-help-v72 p {
  font-size: 14px;
}
.empty-keys-v72 {
  margin-top: 0;
}
@media (max-width: 860px) {
  .dashboard-titlebar,
  .key-card-v72-head,
  .dashboard-help-v72 {
    flex-direction: column;
    align-items: stretch;
  }
  .apps-grid-v72 {
    grid-template-columns: 1fr;
  }
  .key-info-row-v72 {
    grid-template-columns: 1fr;
  }
  .key-actions-v72 .btn-ghost {
    margin-left: 0;
  }
}

/* v7.2.1 UI polish: prevent accidental text cursor/selection on decorative UI */
.hero,
.hero *,
.plans-section,
.plans-section *,
.how-section,
.how-section *,
.plan-card,
.step-card,
.site-header,
.site-header *,
.footer,
.footer *,
.btn,
.brand,
.nav,
.badge,
.pill,
.ambient,
.globe-visual,
.account-shell,
.account-shell h1,
.account-shell h2,
.account-shell h3,
.key-card-v72,
.key-card-v72 :not(input):not(textarea),
.app-download-card,
.app-download-card * {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
.key-input,
.subscription-row input,
#subscription-link,
.account-email,
.selectable-text {
  -webkit-user-select: text;
  user-select: text;
}

.brand,
.brand *,
.site-header img,
.footer img,
.app-icon svg,
.telegram-icon {
  -webkit-user-drag: none;
  user-drag: none;
}

/* v7.3 Mobile account entry: no burger, one clear action */
.mobile-account-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(17, 20, 26, .085);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #11141a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(20, 28, 48, .055);
  backdrop-filter: blur(18px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  -webkit-user-select: none;
  user-select: none;
}
.mobile-account-link svg {
  width: 17px;
  height: 17px;
  color: #188fff;
  flex: 0 0 auto;
}
.mobile-account-link:hover {
  transform: translateY(-1px);
  border-color: rgba(24,143,255,.26);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 42px rgba(24, 143, 255, .10);
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 28px);
    height: 66px;
    margin-top: 18px;
    padding: 0 18px 0 22px;
    top: 12px;
  }
  .desktop-nav,
  .nav {
    display: none !important;
  }
  .mobile-account-link {
    display: inline-flex;
  }
  .brand-word {
    font-size: 25px;
    letter-spacing: .055em;
  }
  .hero {
    padding-top: 62px;
  }
  .hero h1 {
    font-size: clamp(50px, 14.5vw, 66px);
    line-height: .93;
    letter-spacing: -.07em;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 340px);
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .mobile-account-link span {
    display: none;
  }
  .mobile-account-link {
    width: 42px;
    padding: 0;
  }
  .brand-word {
    font-size: 23px;
  }
}

/* Referral program, wallet and 3-day trial */
.trial-section{width:min(1180px,calc(100% - 40px));margin:0 auto 72px}.trial-card{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;padding:42px;border-radius:30px}.trial-card h2{font-size:clamp(34px,4vw,54px);margin:8px 0 12px}.trial-card p{max-width:650px;color:var(--muted,#667085)}.trial-form{display:grid;gap:12px}.trial-form input{width:100%;height:52px;border:1px solid rgba(17,20,26,.12);border-radius:14px;padding:0 16px;font:inherit;background:rgba(255,255,255,.8)}.trial-form small{color:#667085}.balance-option{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid rgba(24,143,255,.2);background:rgba(24,143,255,.06);border-radius:16px;cursor:pointer}.balance-option input{width:18px;height:18px;margin-top:2px}.balance-option span{display:grid;gap:3px}.balance-option small{color:#667085}.loyalty-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.loyalty-card{padding:26px;border-radius:24px}.loyalty-card h2{font-size:24px;margin:8px 0}.loyalty-card p{color:#667085}.loyalty-balance{display:block;font-size:42px;letter-spacing:-.04em;margin:8px 0}.referral-copy{margin:16px 0}.wallet-history{margin-top:14px}.wallet-history summary{cursor:pointer;font-weight:700}.wallet-list{display:grid;gap:8px;margin-top:12px}.wallet-list>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid rgba(17,20,26,.08);font-size:14px}.wallet-list .plus{color:#079455}.wallet-list .minus{color:#d92d20}@media(max-width:760px){.trial-card,.loyalty-grid{grid-template-columns:1fr}.trial-card{padding:26px;gap:24px}.trial-section{width:min(100% - 28px,1180px)}}

/* Trial as the first pricing card */
.trial-plan-card {
  position: relative;
  border-color: rgba(23, 156, 255, .26);
  background:
    radial-gradient(circle at 15% 0%, rgba(23,156,255,.13), transparent 42%),
    rgba(255,255,255,.76);
}
.trial-plan-card:hover {
  border-color: rgba(23, 156, 255, .42);
  box-shadow: 0 26px 72px rgba(23, 156, 255, .13);
}
.trial-plan-badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #087ccf;
  background: rgba(23,156,255,.09);
  border: 1px solid rgba(23,156,255,.17);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.trial-plan-card ul { margin-bottom: 16px; }
.trial-plan-form {
  display: grid;
  gap: 9px;
  margin-top: auto;
}
.trial-plan-form input {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(255,255,255,.86);
}
.trial-plan-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  background: #168fff;
  color: #fff;
}
.trial-plan-button:hover { background: #087edc; }
.trial-card-message {
  margin: 0 0 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(180,60,60,.08);
  border: 1px solid rgba(180,60,60,.14);
  color: #7c2929;
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .trial-plan-card { order: 999; }
}

/* Account dashboard v2: keys first, compact loyalty sidebar */
.dashboard-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.dashboard-primary-v2 {
  min-width: 0;
}
.dashboard-primary-v2 .keys-grid-v72 {
  max-width: none;
  margin: 0;
}
.dashboard-sidebar-v2 {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}
.dashboard-stat-card,
.dashboard-referral-card {
  border-radius: 28px;
  padding: 24px;
  min-width: 0;
  overflow: hidden;
  animation: accountRise .5s ease both;
}
.dashboard-stat-card {
  background:
    radial-gradient(circle at 100% 0, rgba(23,156,255,.15), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
}
.dashboard-referral-card {
  background:
    radial-gradient(circle at 100% 0, rgba(111,70,255,.14), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
}
.dashboard-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.dashboard-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.dashboard-card-icon.balance-icon {
  color: var(--blue-deep);
  background: rgba(23,156,255,.1);
  border: 1px solid rgba(23,156,255,.15);
}
.dashboard-card-icon.referral-icon {
  color: #6f46ff;
  background: rgba(111,70,255,.1);
  border: 1px solid rgba(111,70,255,.15);
  margin: 0;
  flex: 0 0 auto;
}
.dashboard-card-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.dashboard-balance-value {
  display: block;
  margin: 8px 0 10px;
  color: var(--text);
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.06em;
}
.dashboard-stat-card > p,
.referral-card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}
.wallet-history-v2 {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(22,32,52,.08);
}
.wallet-history-v2 summary {
  color: var(--text);
  font-size: 14px;
}
.referral-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dashboard-referral-card h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.referral-card-text {
  margin-top: 18px;
}
.referral-stats-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.referral-stats-v2 > div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(22,32,52,.07);
}
.referral-stats-v2 strong,
.referral-stats-v2 span {
  display: block;
}
.referral-stats-v2 strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.04em;
}
.referral-stats-v2 span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.referral-copy-v2 {
  margin-top: 16px;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) 42px;
  border-radius: 18px;
}
.referral-copy-v2 input {
  min-height: 54px;
  padding-left: 14px;
  font-size: 13px;
  text-overflow: ellipsis;
}
.referral-button-v2 {
  width: 100%;
  margin-top: 12px;
}
.dashboard-layout-v2 .key-card-v72 {
  width: 100%;
}
@media (max-width: 1040px) {
  .dashboard-layout-v2 {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 900px) {
  .dashboard-layout-v2 {
    grid-template-columns: 1fr;
  }
  .dashboard-sidebar-v2 {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
  }
}
@media (max-width: 680px) {
  .dashboard-sidebar-v2 {
    grid-template-columns: 1fr;
  }
  .dashboard-stat-card,
  .dashboard-referral-card {
    padding: 20px;
    border-radius: 24px;
  }
  .dashboard-layout-v2 {
    gap: 18px;
  }
  .referral-card-head {
    align-items: center;
  }
}

/* v8.0 - animated network hero, ambient background and micro-interactions */
body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 8%, rgba(76, 145, 255, .16), transparent 31%),
    radial-gradient(circle at 92% 15%, rgba(151, 104, 255, .15), transparent 34%),
    radial-gradient(circle at 52% 72%, rgba(74, 220, 209, .08), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7fc 52%, #f9faff 100%);
  background-size: 120% 120%, 125% 125%, 130% 130%, 100% 100%;
  animation: ambientBackground 95s ease-in-out infinite alternate;
}

@keyframes ambientBackground {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100% { background-position: 5% 6%, 94% 8%, 54% 88%, 0 0; }
}

.ambient { will-change: transform; }
.ambient-a { animation: ambientDriftA 90s ease-in-out infinite alternate; }
.ambient-b { animation: ambientDriftB 110s ease-in-out infinite alternate; }
.ambient-c {
  width: 520px;
  height: 520px;
  left: 38%;
  top: 68%;
  background: rgba(75, 221, 209, .13);
  opacity: .32;
  animation: ambientDriftC 100s ease-in-out infinite alternate;
}
@keyframes ambientDriftA { to { transform: translate3d(70px, 46px, 0) scale(1.08); } }
@keyframes ambientDriftB { to { transform: translate3d(-82px, 58px, 0) scale(.94); } }
@keyframes ambientDriftC { to { transform: translate3d(64px, -84px, 0) scale(1.12); } }

.light-beams {
  position: fixed;
  inset: -35%;
  z-index: -2;
  pointer-events: none;
  opacity: .32;
  transform: rotate(-13deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 170px,
    rgba(255,255,255,.26) 210px,
    transparent 260px 430px
  );
  filter: blur(18px);
  animation: beamFlow 135s linear infinite;
}
@keyframes beamFlow { to { transform: rotate(-13deg) translateX(430px); } }

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle, rgba(91, 166, 255, .10), rgba(148, 114, 255, .045) 34%, transparent 68%);
  transition: opacity .5s ease;
  will-change: transform;
}
body.has-pointer .cursor-light { opacity: 1; }

.nav a { position: relative; padding: 7px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 1px;
  height: 1px;
  background: linear-gradient(90deg, #168fff, #8a6cff);
  transition: left .25s ease, right .25s ease;
}
.nav a:hover::after { left: 0; right: 0; }

.hero-copy h1,
.hero-copy .hero-text {
  opacity: 0;
  transform: translateY(28px);
  animation: heroReveal .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-copy .hero-text { animation-delay: .14s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

.hero-visual {
  min-height: 520px;
  isolation: isolate;
  perspective: 1000px;
}
.hero-visual::before {
  width: min(650px, 118%);
  height: min(650px, 118%);
  background:
    radial-gradient(circle at 48% 46%, rgba(51, 171, 255, .19), rgba(64, 159, 255, .07) 37%, rgba(143, 100, 255, .035) 55%, transparent 72%);
  animation: globeAura 24s ease-in-out infinite alternate;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 74%;
  height: 18%;
  bottom: 5%;
  left: 13%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(64, 137, 255, .10);
  filter: blur(28px);
  animation: globeShadow 26s ease-in-out infinite alternate;
}
@keyframes globeAura { to { transform: scale(1.07); opacity: .72; } }
@keyframes globeShadow { to { transform: scaleX(.86); opacity: .58; } }

.network-globe {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  height: min(590px, 100%);
  display: block;
  filter: drop-shadow(0 22px 52px rgba(45, 128, 220, .10));
  animation: globeFloat 28s ease-in-out infinite;
}
@keyframes globeFloat {
  0%,100% { transform: translateY(2px) rotateZ(-.12deg); }
  50% { transform: translateY(-4px) rotateZ(.12deg); }
}

.network-orbit {
  position: absolute;
  z-index: 1;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(70, 159, 255, .095);
  border-radius: 50%;
  pointer-events: none;
}
.network-orbit-a { transform: rotateX(64deg) rotateZ(-16deg); animation: orbitSpinA 120s linear infinite; }
.network-orbit-b { width: 61%; transform: rotateY(68deg) rotateZ(28deg); animation: orbitSpinB 150s linear infinite reverse; }
@keyframes orbitSpinA { to { transform: rotateX(64deg) rotateZ(344deg); } }
@keyframes orbitSpinB { to { transform: rotateY(68deg) rotateZ(388deg); } }

.network-status,
.network-location {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: #606b7b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 14px 40px rgba(38, 64, 111, .09), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  animation: tagFloat 5s ease-in-out infinite alternate;
}
.network-status { top: 10%; right: 8%; color: #3e4857; }
.network-location-a { top: 31%; left: 2%; animation-delay: -.8s; }
.network-location-b { right: 1%; bottom: 27%; animation-delay: -1.7s; }
.network-location-c { left: 13%; bottom: 13%; animation-delay: -2.6s; }
.network-status-dot,
.network-location span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25c98a;
  box-shadow: 0 0 0 4px rgba(37,201,138,.12), 0 0 14px rgba(37,201,138,.46);
}
.network-location span { background: #259fff; box-shadow: 0 0 0 4px rgba(37,159,255,.10), 0 0 13px rgba(37,159,255,.38); }
@keyframes tagFloat { to { transform: translateY(-7px); } }

.plan-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.plan-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -95px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 164, 255, .16), transparent 68%);
  opacity: 0;
  transition: opacity .3s ease, transform .35s ease;
  pointer-events: none;
}
.plan-card:hover::after { opacity: 1; transform: translate(-10px, 12px) scale(1.14); }
.plan-card:hover.is-visible {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(23, 156, 255, .25);
  box-shadow: 0 30px 78px rgba(23, 33, 55, .12), 0 0 0 6px rgba(23,156,255,.035);
}
.btn-card { overflow: hidden; position: relative; }
.btn-card::after {
  content: "→";
  margin-left: 0;
  width: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: width .22s ease, opacity .22s ease, transform .22s ease, margin-left .22s ease;
}
.btn-card:hover::after { width: 14px; margin-left: 7px; opacity: 1; transform: translateX(0); }

.section-head,
.hero-visual {
  opacity: 0;
  transform: translateY(22px);
}
.section-head.is-visible,
.hero-visual.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

@media (max-width: 1080px) {
  .hero-visual { min-height: 390px; }
  .network-globe { width: min(450px, 88%); height: min(450px, 88%); }
  .network-status { right: 15%; }
  .network-location-a { left: 12%; }
  .network-location-b { right: 12%; }
}

@media (max-width: 760px) {
  body { animation-duration: 30s; }
  .light-beams { opacity: .17; }
  .cursor-light { display: none; }
  .hero-visual { min-height: 300px; height: 300px; margin-top: 8px; }
  .network-globe { width: 300px; height: 300px; }
  .network-orbit { width: 280px; }
  .network-orbit-b { width: 230px; }
  .network-status { top: 2%; right: 1%; }
  .network-location { padding: 7px 10px; font-size: 10px; }
  .network-location-a { top: 30%; left: 0; }
  .network-location-b { right: 0; bottom: 22%; }
  .network-location-c { left: 9%; bottom: 5%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .cursor-light, .light-beams { display: none; }
}

/* v9.0 - server country flags around the animated network */
.network-location {
  gap: 7px;
  padding: 9px 12px 9px 10px;
  white-space: nowrap;
  transition: border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.network-location:hover {
  border-color: rgba(23,156,255,.25);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 48px rgba(38,64,111,.13), 0 0 0 5px rgba(23,156,255,.035), inset 0 1px 0 rgba(255,255,255,.96);
}
.network-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(20,30,50,.12));
}
.network-country { line-height: 1; }
.network-live-dot {
  width: 6px;
  height: 6px;
  margin-left: 1px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #25c98a;
  box-shadow: 0 0 0 3px rgba(37,201,138,.11), 0 0 12px rgba(37,201,138,.42);
}
.network-location-a { top: 27%; left: -2%; animation-delay: -.8s; }
.network-location-b { right: -1%; bottom: 25%; animation-delay: -1.7s; }
.network-location-c { left: 8%; bottom: 10%; animation-delay: -2.6s; }
.network-location-d { top: 12%; left: 14%; animation-delay: -3.3s; }
.network-location-e { top: 39%; right: -5%; animation-delay: -4.1s; }
.network-location-f { right: 13%; bottom: 7%; animation-delay: -4.8s; }

@media (max-width: 1080px) {
  .network-location-a { left: 8%; }
  .network-location-b { right: 7%; }
  .network-location-c { left: 17%; bottom: 8%; }
  .network-location-d { left: 20%; top: 8%; }
  .network-location-e { right: 4%; top: 39%; }
  .network-location-f { right: 18%; bottom: 4%; }
}

@media (max-width: 760px) {
  .network-location {
    gap: 5px;
    padding: 6px 8px 6px 7px;
    font-size: 9px;
  }
  .network-flag { width: 17px; height: 14px; font-size: 13px; }
  .network-live-dot { width: 5px; height: 5px; box-shadow: 0 0 0 2px rgba(37,201,138,.10); }
  .network-location-a { top: 25%; left: -3%; }
  .network-location-b { right: -3%; bottom: 24%; }
  .network-location-c { left: 5%; bottom: 4%; }
  .network-location-d { top: 11%; left: 9%; }
  .network-location-e { top: 38%; right: -5%; }
  .network-location-f { right: 8%; bottom: 2%; }
}
.network-location .network-flag,
.network-location .network-country {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.network-location .network-country {
  width: auto;
  height: auto;
  display: inline;
}


/* v10.0 - cross-platform SVG flags and cleaner hero */
.network-status { display: none !important; }
.network-flag {
  display: block;
  width: 22px;
  height: 16px;
  flex: 0 0 22px;
  border-radius: 3px !important;
  overflow: hidden;
  background: transparent !important;
  box-shadow: 0 2px 7px rgba(20,30,50,.16) !important;
  filter: none;
}
.network-flag path { vector-effect: non-scaling-stroke; }
@media (max-width: 760px) {
  .network-flag { width: 18px; height: 13px; flex-basis: 18px; }
}

/* v11.0 - country badges orbit around the globe */
.hero-visual .network-location {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0;
  animation: none !important;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: auto;
}

/* A faint common track makes the circular movement readable. */
.hero-visual::marker { display: none; }
.country-orbit-track {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(610px, 103%);
  height: min(390px, 70%);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(58, 157, 243, .085);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 34px rgba(70, 159, 255, .025);
}

@media (max-width: 1080px) {
  .country-orbit-track {
    width: min(500px, 98%);
    height: min(320px, 72%);
  }
}

@media (max-width: 760px) {
  .country-orbit-track {
    width: 330px;
    height: 225px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .network-location {
    will-change: auto;
  }
}


/* ===== ACCOUNT HWID DEVICES ===== */

.account-device-panel {
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 18px;
  background: rgba(248, 250, 252, .82);
}

.account-device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.account-device-head span {
  color: #747d8c;
  font-size: 13px;
  font-weight: 600;
}

.account-device-head strong {
  color: #11151d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.account-device-list {
  display: grid;
  gap: 8px;
}

.account-device-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
}

.account-device-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f1f6fb;
  font-size: 18px;
}

.account-device-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-device-copy strong {
  overflow: hidden;
  color: #11151d;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-device-copy span {
  overflow: hidden;
  color: #8a92a0;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-device-delete {
  appearance: none;
  -webkit-appearance: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(217, 70, 70, .14);
  border-radius: 10px;
  background: rgba(255, 76, 76, .08);
  color: #d94b4b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.account-device-delete:hover {
  background: rgba(255, 76, 76, .13);
  border-color: rgba(217, 70, 70, .22);
}

.account-device-delete:active {
  transform: scale(.97);
}

.account-device-delete:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

.account-device-empty {
  padding: 8px 2px;
  color: #8a92a0;
  font-size: 12px;
}

.account-device-limit {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 76, 76, .07);
  color: #c94a4a;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .account-device-panel {
    padding: 13px;
  }

  .account-device-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }

  .account-device-icon {
    width: 34px;
    height: 34px;
  }

  .account-device-delete {
    min-height: 32px;
    padding: 0 9px;
    font-size: 10px;
  }
}


/* Device tariff selector */
.device-plan-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}

.device-plan-label {
  color: var(--muted, #9298a8);
  font-size: 14px;
  font-weight: 600;
}

.device-plan-options {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.device-plan-option {
  appearance: none;
  border: 0;
  min-width: 58px;
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.62);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.device-plan-option:hover {
  color: #fff;
}

.device-plan-option.active {
  color: #fff;
  background: rgba(255,255,255,.11);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.09),
    0 6px 18px rgba(0,0,0,.18);
}

.device-plan-option:active {
  transform: scale(.97);
}

@media (max-width: 640px) {
  .device-plan-picker {
    gap: 10px;
    margin-bottom: 22px;
  }

  .device-plan-label {
    width: 100%;
    text-align: center;
  }

  .device-plan-option {
    min-width: 64px;
  }
}

/* Device tariff selector — light theme fix */
.device-plan-options {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.device-plan-option {
  color: #6b7280;
}

.device-plan-option:hover {
  color: #111827;
  background: rgba(255,255,255,.78);
}

.device-plan-option.active {
  color: #111827;
  background: #ffffff;
  box-shadow:
    0 6px 18px rgba(15,23,42,.10),
    inset 0 0 0 1px rgba(15,23,42,.06);
}

.device-plan-label {
  color: #7b8494;
}


/* Account device tariff upgrade */
.account-device-upgrade {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.account-device-upgrade-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.account-device-upgrade-copy strong {
  font-size: 14px;
  font-weight: 700;
}

.account-device-upgrade-copy span {
  font-size: 12px;
  color: #7b8494;
}

.account-device-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-device-upgrade-actions form {
  margin: 0;
}

.account-upgrade-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .account-device-upgrade-actions,
  .account-device-upgrade-actions form,
  .account-upgrade-button {
    width: 100%;
  }
}

/* Admin account preview */
.account-preview-banner {
  max-width: 1180px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}

.account-preview-banner div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-preview-banner strong {
  font-size: 13px;
}

.account-preview-banner span {
  font-size: 12px;
  color: #778197;
}

.account-preview-banner a {
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-upgrade-button:disabled {
  opacity: .72;
  cursor: default;
}


/* =========================================================
   Trial e-mail verification
   ========================================================= */

.trial-verify-page {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 70px;
}

.trial-verify-card {
  position: relative;
  width: min(100%, 520px);
  padding: 38px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(24, 143, 255, .14);
  border-radius: 28px;
  box-shadow:
    0 24px 70px rgba(43, 76, 130, .10),
    0 4px 18px rgba(24, 143, 255, .06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.trial-verify-card h1 {
  margin: 18px 0 12px;
  color: #11141a;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.trial-verify-text {
  margin: 0 0 26px;
  color: #667085;
  font-size: 16px;
  line-height: 1.55;
}

.trial-verify-text strong {
  color: #11141a;
  font-weight: 700;
}

.trial-verify-form {
  display: grid;
  gap: 14px;
}

.trial-verify-form input[type="text"] {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(17, 20, 26, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  color: #11141a;
  font: inherit;
  font-size: 18px;
  text-align: center;
  letter-spacing: .12em;
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.trial-verify-form input[type="text"]:focus {
  border-color: rgba(24, 143, 255, .65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 143, 255, .10);
}

.trial-verify-form .trial-plan-button {
  width: 100%;
  min-height: 56px;
  margin-top: 2px;
}

.trial-change-email {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  color: #667085;
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease;
}

.trial-change-email:hover {
  color: #188fff;
}

@media (max-width: 640px) {
  .trial-verify-page {
    padding: 110px 16px 40px;
    align-items: flex-start;
  }

  .trial-verify-card {
    padding: 28px 22px;
    border-radius: 24px;
  }
}

/* =========================================================
   Account desktop layout alignment
   ========================================================= */

@media (min-width: 901px) {

  .dashboard-shell-v72 {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .dashboard-layout-v2 {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
  }

  .dashboard-primary-v2 {
    min-width: 0;
  }

  .dashboard-sidebar-v2 {
    width: 100%;
    min-width: 0;
  }

  .account-apps-v72 {
    width: 100%;
    max-width: none;
    margin: 34px 0 0;
  }

  .apps-grid-v72 {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .apps-grid-v72 .app-download-card {
    min-width: 0;
  }

  .dashboard-help-v72 {
    width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {

  .dashboard-layout-v2 {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .apps-grid-v72 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Legal pages mobile fix */
@media (max-width: 760px) {
  .legal-page {
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 38px auto 56px;
    min-width: 0;
  }

  .legal-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 18px;
    border-radius: 24px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .legal-shell h1 {
    max-width: 100%;
    margin: 10px 0 16px;
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .legal-lead {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .legal-content {
    min-width: 0;
    max-width: 100%;
    gap: 14px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .legal-content h2 {
    max-width: 100%;
    margin-top: 16px;
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .legal-content p,
  .legal-content li,
  .legal-content a,
  .legal-content span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legal-content p {
    font-size: 15px;
    line-height: 1.65;
  }

  .legal-content ul,
  .legal-content ol {
    max-width: 100%;
    padding-left: 20px;
  }

  .legal-content pre,
  .legal-content code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legal-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .legal-content img,
  .legal-content iframe {
    max-width: 100%;
    height: auto;
  }
}

/* Mobile performance optimization */
@media (max-width: 760px) {

  /* Desktop-only dynamic decoration */
  .cursor-light,
  .light-beams {
    display: none !important;
  }

  /* Keep ambient background, but make it cheap */
  .ambient {
    filter: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* Blur is expensive on mobile GPUs */
  .glass,
  .plan-card,
  .step {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Reduce expensive animated repainting */
  .plan-card,
  .step {
    transition:
      opacity .25s ease,
      transform .25s ease !important;
  }

  .plan-card:hover,
  .plan-card:hover.is-visible {
    transform: none !important;
  }
}


/* =========================================================
   INEEDCOM GLANCE BUTTON
   ========================================================= */

.ic-glance-btn{
  --glance-x:50%;
  --glance-y:50%;
  --glance-shift-x:0px;
  --glance-shift-y:0px;

  position:relative;
  overflow:hidden;
  isolation:isolate;

  transition:
    transform .16s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.ic-glance-btn::before{
  content:"";
  position:absolute;
  inset:-55%;

  background:
    radial-gradient(
      circle at var(--glance-x) var(--glance-y),
      rgba(82,167,255,.34) 0%,
      rgba(82,167,255,.16) 18%,
      rgba(82,167,255,.06) 32%,
      rgba(82,167,255,0) 52%
    );

  pointer-events:none;
  z-index:0;
  opacity:.55;

  transition:
    opacity .18s ease;
}

.ic-glance-btn::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;

  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,.16),
      rgba(255,255,255,0) 28%,
      rgba(85,165,255,.10) 68%,
      rgba(255,255,255,.05)
    );

  pointer-events:none;
  z-index:0;
}

.ic-glance-btn > *{
  position:relative;
  z-index:1;

  transform:
    translate(
      var(--glance-shift-x),
      var(--glance-shift-y)
    );

  transition:
    transform .12s ease;
}

.ic-glance-btn:hover{
  transform:translateY(-1px);

  box-shadow:
    0 12px 28px rgba(37,99,235,.16),
    inset 0 0 0 1px rgba(96,165,250,.24);
}

.ic-glance-btn:hover::before{
  opacity:1;
}

.ic-glance-btn:active{
  transform:
    translateY(0)
    scale(.985);
}

.ic-glance-btn.glance-pulse{
  animation:ic-glance-pulse .38s ease;
}

@keyframes ic-glance-pulse{
  0%{
    box-shadow:
      0 0 0 0 rgba(59,130,246,.30);
  }

  60%{
    box-shadow:
      0 0 0 10px rgba(59,130,246,0);
  }

  100%{
    box-shadow:
      0 0 0 0 rgba(59,130,246,0);
  }
}

@media (hover:none), (pointer:coarse){
  .ic-glance-btn{
    --glance-x:50%;
    --glance-y:50%;
    --glance-shift-x:0px !important;
    --glance-shift-y:0px !important;
  }

  .ic-glance-btn::before{
    opacity:.38;
  }
}

@media (prefers-reduced-motion:reduce){
  .ic-glance-btn,
  .ic-glance-btn > *{
    transition:none !important;
  }

  .ic-glance-btn.glance-pulse{
    animation:none !important;
  }
}


/* =========================================================
   INEEDCOM FACEPAY BUTTON
   ========================================================= */

.ic-glance-btn{
  --face-x:50%;
  --face-y:50%;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.ic-facepay-label{
  position:relative;
  z-index:6;
}

.ic-facepay-track,
.ic-facepay-aura,
.ic-facepay-scan,
.ic-facepay-beam,
.ic-facepay-status{
  position:absolute;
  pointer-events:none;
}

/* cursor-following "eye" */
.ic-facepay-aura{
  z-index:1;
  width:92px;
  height:92px;
  left:var(--face-x);
  top:var(--face-y);
  transform:translate(-50%,-50%);
  border-radius:50%;
  opacity:.32;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.28) 0%,
      rgba(93,174,255,.17) 28%,
      rgba(93,174,255,.06) 48%,
      transparent 72%
    );

  filter:blur(3px);

  transition:
    left .09s linear,
    top .09s linear,
    opacity .2s ease;
}

/* subtle orbit */
.ic-facepay-track{
  z-index:2;
  width:56px;
  height:56px;
  left:var(--face-x);
  top:var(--face-y);
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(150,205,255,.16);
  opacity:0;
}

/* scanning sheet */
.ic-facepay-scan{
  z-index:3;
  left:-20%;
  top:0;
  width:34%;
  height:100%;
  opacity:0;
  transform:skewX(-16deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(168,220,255,.08),
      rgba(210,238,255,.42),
      rgba(168,220,255,.08),
      transparent
    );

  filter:blur(.6px);
}

/* thin scan beam */
.ic-facepay-beam{
  z-index:4;
  top:8%;
  bottom:8%;
  width:1px;
  left:-5%;
  opacity:0;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(220,245,255,.9),
      transparent
    );

  box-shadow:
    0 0 10px rgba(110,190,255,.75),
    0 0 24px rgba(80,150,255,.35);
}

/* success glyph */
.ic-facepay-status{
  z-index:7;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(.65);
  opacity:0;

  width:24px;
  height:24px;
  border-radius:50%;

  display:grid;
  place-items:center;

  font-size:13px;
  font-weight:800;

  color:#eafff5;
  background:rgba(25,190,120,.18);
  border:1px solid rgba(80,235,165,.46);

  box-shadow:
    0 0 0 4px rgba(45,210,135,.06),
    0 0 20px rgba(45,210,135,.28);
}

/* FLARE */
.ic-glance-btn[data-face-state="flare"] .ic-facepay-aura{
  opacity:1;
  animation:ic-face-flare .22s ease both;
}

.ic-glance-btn[data-face-state="flare"] .ic-facepay-track{
  opacity:1;
  animation:ic-face-ring .42s ease-out both;
}

/* SCAN */
.ic-glance-btn[data-face-state="scan"] .ic-facepay-scan{
  opacity:1;
  animation:ic-face-scan .52s cubic-bezier(.2,.75,.2,1) both;
}

.ic-glance-btn[data-face-state="scan"] .ic-facepay-beam{
  opacity:1;
  animation:ic-face-beam .52s cubic-bezier(.2,.75,.2,1) both;
}

.ic-glance-btn[data-face-state="scan"] .ic-facepay-track{
  opacity:.75;
  animation:ic-face-track-spin .52s linear both;
}

/* PASS */
.ic-glance-btn[data-face-state="pass"] .ic-facepay-label{
  opacity:0;
  transform:scale(.96);
}

.ic-glance-btn[data-face-state="pass"] .ic-facepay-status{
  animation:ic-face-pass .32s cubic-bezier(.2,.9,.25,1.15) both;
}

.ic-glance-btn[data-face-state="pass"]{
  box-shadow:
    0 0 0 1px rgba(57,210,145,.18) inset,
    0 12px 30px rgba(20,160,105,.12);
}

/* FAIL, ready for later use */
.ic-glance-btn[data-face-state="fail"]{
  animation:ic-face-fail .28s ease;
}

@keyframes ic-face-flare{
  0%{
    transform:translate(-50%,-50%) scale(.55);
  }
  100%{
    transform:translate(-50%,-50%) scale(1.15);
  }
}

@keyframes ic-face-ring{
  0%{
    transform:translate(-50%,-50%) scale(.55);
    opacity:0;
  }
  45%{
    opacity:.9;
  }
  100%{
    transform:translate(-50%,-50%) scale(1.45);
    opacity:.15;
  }
}

@keyframes ic-face-scan{
  from{
    left:-35%;
  }
  to{
    left:105%;
  }
}

@keyframes ic-face-beam{
  from{
    left:-5%;
  }
  to{
    left:105%;
  }
}

@keyframes ic-face-track-spin{
  from{
    transform:translate(-50%,-50%) rotate(0deg);
  }
  to{
    transform:translate(-50%,-50%) rotate(180deg);
  }
}

@keyframes ic-face-pass{
  0%{
    opacity:0;
    transform:translate(-50%,-50%) scale(.6);
  }

  65%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.12);
  }

  100%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
  }
}

@keyframes ic-face-fail{
  0%,100%{ transform:translateX(0); }
  30%{ transform:translateX(-3px); }
  70%{ transform:translateX(3px); }
}

@media (hover:none), (pointer:coarse){
  .ic-facepay-aura{
    left:50%;
    top:50%;
  }
}

@media (prefers-reduced-motion:reduce){
  .ic-facepay-aura,
  .ic-facepay-track,
  .ic-facepay-scan,
  .ic-facepay-beam,
  .ic-facepay-status{
    animation-duration:.01ms !important;
  }
}


/* FacePay cleanup: no cheap blue glow */
.ic-glance-btn:hover{
  box-shadow:none !important;
}

.ic-glance-btn::before{
  background:none !important;
  opacity:0 !important;
}

.ic-facepay-aura{
  background:none !important;
  filter:none !important;
  opacity:0 !important;
}

.ic-facepay-track{
  border-color:rgba(120,130,145,.22) !important;
  box-shadow:none !important;
}

.ic-facepay-scan{
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.06),
      rgba(255,255,255,.30),
      rgba(255,255,255,.06),
      transparent
    ) !important;
}

.ic-facepay-beam{
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(255,255,255,.78),
      transparent
    ) !important;

  box-shadow:
    0 0 8px rgba(255,255,255,.20) !important;
}

.ic-glance-btn[data-face-state="pass"]{
  box-shadow:none !important;
}

.ic-facepay-status{
  color:#dff8ec !important;
  background:rgba(30,160,105,.12) !important;
  border-color:rgba(60,190,130,.30) !important;
  box-shadow:none !important;
}


/* =========================================================
   FACEPAY SCAN MOVEMENT FIX
   ========================================================= */

.ic-facepay-scan{
  left:0 !important;
  width:34% !important;

  transform:
    translateX(-140%)
    skewX(-16deg) !important;

  will-change:transform, opacity;
}

.ic-facepay-beam{
  left:0 !important;

  transform:
    translateX(-20px) !important;

  will-change:transform, opacity;
}

.ic-glance-btn[data-face-state="scan"] .ic-facepay-scan{
  animation:
    ic-face-scan-transform
    .58s
    cubic-bezier(.22,.72,.18,1)
    both !important;
}

.ic-glance-btn[data-face-state="scan"] .ic-facepay-beam{
  animation:
    ic-face-beam-transform
    .58s
    cubic-bezier(.22,.72,.18,1)
    both !important;
}

@keyframes ic-face-scan-transform{
  0%{
    transform:
      translateX(-140%)
      skewX(-16deg);
    opacity:0;
  }

  10%{
    opacity:.85;
  }

  90%{
    opacity:.85;
  }

  100%{
    transform:
      translateX(420%)
      skewX(-16deg);
    opacity:0;
  }
}

@keyframes ic-face-beam-transform{
  0%{
    transform:translateX(-20px);
    opacity:0;
  }

  10%{
    opacity:1;
  }

  90%{
    opacity:1;
  }

  100%{
    transform:translateX(420px);
    opacity:0;
  }
}


/* =========================================================
   FACEPAY SCAN FINAL FIX
   full-width moving scanner
   ========================================================= */

.ic-facepay-scan{
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:100% !important;

  transform:
    translateX(-110%) !important;

  opacity:0 !important;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 34%,
      rgba(255,255,255,.05) 42%,
      rgba(255,255,255,.34) 49%,
      rgba(255,255,255,.58) 50%,
      rgba(255,255,255,.34) 51%,
      rgba(255,255,255,.05) 58%,
      transparent 66%,
      transparent 100%
    ) !important;

  filter:none !important;
  will-change:transform, opacity;
}

.ic-facepay-beam{
  display:none !important;
}

.ic-glance-btn[data-face-state="scan"] .ic-facepay-scan{
  animation:
    facepay-sweep-final
    .72s
    cubic-bezier(.22,.70,.20,1)
    both !important;
}

@keyframes facepay-sweep-final{
  0%{
    transform:translateX(-110%);
    opacity:0;
  }

  8%{
    opacity:1;
  }

  92%{
    opacity:1;
  }

  100%{
    transform:translateX(110%);
    opacity:0;
  }
}


/* Disable obsolete FacePay animations */
.ic-glance-btn[data-face-state="scan"] .ic-facepay-scan{
  animation-name:facepay-sweep-final !important;
}


/* FacePay scan is animated by JS only */
.ic-glance-btn[data-face-state="scan"] .ic-facepay-scan{
  animation:none !important;
}

.ic-facepay-scan{
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:100% !important;
  opacity:0;
  transform:translateX(-110%);
  will-change:transform, opacity;
}


.ic-glance-btn::after{
  display:none !important;
}


/* =========================================================
   HOW SECTION CLEANUP
   remove blue haze, keep icon accents
   ========================================================= */

#how,
.how-section,
.steps-section{
  background:none !important;
  box-shadow:none !important;
}

#how::before,
#how::after,
.how-section::before,
.how-section::after,
.steps-section::before,
.steps-section::after{
  display:none !important;
}

/* Cards: neutral, no blue glow */
#how .card,
#how .step-card,
.how-section .card,
.how-section .step-card,
.steps-section .card,
.steps-section .step-card{
  background:rgba(255,255,255,.88) !important;
  box-shadow:
    0 14px 34px rgba(15,23,42,.06) !important;
  border-color:rgba(15,23,42,.08) !important;
}

/* Icon boxes: neutral glass instead of blue puddle */
#how .icon,
#how .step-icon,
.how-section .icon,
.how-section .step-icon,
.steps-section .icon,
.steps-section .step-icon{
  background:rgba(255,255,255,.74) !important;
  box-shadow:none !important;
  border-color:rgba(15,23,42,.08) !important;
}

/* Keep only the icon itself blue */
#how svg,
.how-section svg,
.steps-section svg{
  filter:none !important;
}


/* =========================================================
   HOW SECTION — neutral background
   ========================================================= */

.how-section{
  position:relative;
  z-index:2;

  background:
    linear-gradient(
      180deg,
      rgba(248,250,252,.98) 0%,
      rgba(250,251,253,.99) 50%,
      rgba(248,250,252,.98) 100%
    ) !important;

  box-shadow:
    0 -30px 55px rgba(248,250,252,.95),
    0  30px 55px rgba(248,250,252,.95) !important;

  border-radius:32px;
}

/* Карточки без голубого тумана */
.how-section .step-card{
  background:rgba(255,255,255,.94) !important;

  border:
    1px solid rgba(15,23,42,.07) !important;

  box-shadow:
    0 12px 30px rgba(15,23,42,.045) !important;
}

/* Иконка остаётся акцентной,
   но коробка больше не светится голубым */
.how-section .step-icon{
  background:rgba(248,250,252,.96) !important;

  border:
    1px solid rgba(15,23,42,.08) !important;

  box-shadow:none !important;
}


/* =========================================================
   HARD MASK FOR HOW SECTION
   cuts global ambient haze behind this section
   ========================================================= */

.how-section{
  position:relative;
  isolation:isolate;
  background:transparent !important;
  box-shadow:none !important;
}

/* neutral layer BEHIND content, ABOVE global ambient */
.how-section::before{
  content:"" !important;
  display:block !important;

  position:absolute;
  z-index:-1;

  inset:-90px -140px -110px -140px;

  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f9fbfd 48%,
      #f8fafc 100%
    ) !important;

  border-radius:48px;
  pointer-events:none;
}

/* kill any second decorative layer here */
.how-section::after{
  display:none !important;
}

/* cards neutral */
.how-section .step-card{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.07) !important;
  box-shadow:
    0 10px 28px rgba(15,23,42,.045) !important;
}

/* icon capsules neutral */
.how-section .step-icon{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:none !important;
}


/* =========================================================
   FINAL HOW SECTION COLOR CLEANUP
   ========================================================= */

/* 1. Neutralize global body haze in lower page area */
body{
  background:
    linear-gradient(
      180deg,
      #fbfcff 0%,
      #f6f8fc 52%,
      #f8f9fc 100%
    ) !important;

  background-size:100% 100% !important;
  animation:none !important;
}

/* 2. Disable global floating ambient blobs */
.ambient,
.ambient-a,
.ambient-b,
.ambient-c,
.light-beams,
.cursor-light{
  display:none !important;
  opacity:0 !important;
  animation:none !important;
}

/* 3. Remove blue radial haze INSIDE the three step cards */
.how-section .product-step::before{
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.96),
      rgba(255,255,255,.84)
    ) !important;

  opacity:1 !important;
}

/* 4. Neutral step card itself */
.how-section .product-step{
  background:rgba(255,255,255,.94) !important;
  border-color:rgba(17,20,26,.08) !important;

  box-shadow:
    0 16px 42px rgba(23,33,55,.055) !important;
}

/* 5. Icon container without blue puddle */
.how-section .step-icon{
  background:#f8fafc !important;
  border-color:rgba(17,20,26,.10) !important;
  box-shadow:none !important;
}

/* keep only SVG stroke blue */
.how-section .step-icon{
  color:#168fff !important;
}

/* no blue hover wash */
.how-section .product-step:hover{
  border-color:rgba(17,20,26,.12) !important;

  box-shadow:
    0 22px 54px rgba(23,33,55,.075) !important;
}

.how-section .product-step:hover .step-icon{
  background:#f8fafc !important;
  border-color:rgba(17,20,26,.12) !important;
}

/* Undo previous section masking experiments */
.how-section{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

.how-section::before,
.how-section::after{
  display:none !important;
  content:none !important;
}


/* =========================================================
   HOW CARDS — same feel as pricing cards
   ========================================================= */

.how-section .product-step{
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease;
}

.how-section .product-step:hover{
  transform:
    translateY(-6px)
    scale(1.012) !important;

  border-color:
    rgba(17,20,26,.12) !important;

  box-shadow:
    0 26px 64px rgba(23,33,55,.10) !important;

  background:
    rgba(255,255,255,.98) !important;
}

.how-section .step-icon{
  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.how-section .product-step:hover .step-icon{
  transform:
    translateY(-2px)
    scale(1.045) !important;
}


/* =========================================================
   HOW CARDS — sharp text fix
   ========================================================= */

.how-section .product-step{
  transform:none !important;
  -webkit-font-smoothing:antialiased;
  backface-visibility:hidden;
}

.how-section .product-step:hover{
  transform:translateY(-6px) !important;
}

.how-section .product-step h3,
.how-section .product-step p,
.how-section .product-step .step-icon{
  transform:none;
  backface-visibility:hidden;
}

.how-section .product-step:hover .step-icon{
  transform:translateY(-2px) !important;
}


/* =========================================================
   HOW STEPS — balanced width under 4/5 plans
   ========================================================= */

.how-section .product-steps{
  width:min(78%, 980px);
  margin-inline:auto;

  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.how-section .product-step{
  width:100%;
  min-width:0;
}

.how-section .section-head.centered{
  width:min(78%, 980px);
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:1100px){
  .how-section .product-steps,
  .how-section .section-head.centered{
    width:min(88%, 860px);
  }
}

@media (max-width:760px){
  .how-section .product-steps,
  .how-section .section-head.centered{
    width:100%;
  }

  .how-section .product-steps{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   MOBILE COLOR RESTORE
   restore soft ambient background without blue puddles
   ========================================================= */

@media (max-width:760px){

  body{
    background:
      radial-gradient(
        circle at 18% 8%,
        rgba(85,145,255,.12),
        transparent 30%
      ),
      radial-gradient(
        circle at 88% 14%,
        rgba(150,105,255,.10),
        transparent 34%
      ),
      radial-gradient(
        circle at 50% 62%,
        rgba(70,210,205,.055),
        transparent 38%
      ),
      linear-gradient(
        180deg,
        #fbfcff 0%,
        #f7f9fd 52%,
        #fafbfe 100%
      ) !important;
  }

  /* return soft ambient blobs on mobile */
  .ambient{
    display:block !important;
    visibility:visible !important;
    animation:none !important;
    filter:blur(70px) !important;
    pointer-events:none !important;
  }

  .ambient-a{
    opacity:.18 !important;
    background:rgba(80,145,255,.18) !important;
  }

  .ambient-b{
    opacity:.14 !important;
    background:rgba(155,115,255,.14) !important;
  }

  .ambient-c{
    opacity:.08 !important;
    background:rgba(70,210,205,.10) !important;
  }

  /* still keep expensive cursor effects off */
  .light-beams,
  .cursor-light{
    display:none !important;
    opacity:0 !important;
  }

  /* keep HOW section neutral */
  .how-section{
    position:relative;
    isolation:isolate;
  }

  .how-section::before{
    content:"" !important;
    display:block !important;
    position:absolute;
    z-index:-1;
    inset:-40px -20px;
    background:rgba(248,250,252,.92) !important;
    border-radius:28px;
    pointer-events:none;
  }

}


/* =========================================================
   DESKTOP LAYOUT MASTER
   ========================================================= */

@media (min-width:1081px){

  /* ---------- HERO ---------- */

  .hero{
    width:min(1120px, calc(100% - 48px)) !important;

    min-height:500px !important;

    margin:0 auto !important;
    padding:48px 0 26px !important;

    display:grid !important;

    grid-template-columns:
      minmax(0, 470px)
      minmax(0, 560px) !important;

    gap:54px !important;

    justify-content:center !important;
    align-items:center !important;
  }

  .hero-copy{
    width:100% !important;
    max-width:470px !important;

    margin:0 !important;
    padding:0 !important;
  }

  .hero h1{
    width:auto !important;
    max-width:470px !important;

    margin:0 !important;

    font-size:72px !important;
    line-height:.93 !important;
    letter-spacing:-.067em !important;
  }

  .hero-text{
    width:auto !important;
    max-width:470px !important;

    margin:24px 0 0 !important;

    font-size:20px !important;
    line-height:1.55 !important;
  }

  .hero-visual{
    width:560px !important;
    height:460px !important;
    min-height:460px !important;

    margin:0 !important;

    transform:none !important;
  }

  .network-globe{
    width:540px !important;
    height:540px !important;
  }


  /* ---------- PLANS ---------- */

  .plans-section{
    width:min(1200px, calc(100% - 48px)) !important;

    margin:0 auto !important;
    padding:26px 0 72px !important;
  }

  /*
     4 обычных тарифа:
     4 x 220 + 3 x 16 = 928px
  */
  .plans-section{
    --desktop-plans-width:928px;
  }

  /*
     5 карточек с trial:
     5 x 220 + 4 x 16 = 1164px
  */
  .plans-section:has(.trial-plan-card){
    --desktop-plans-width:1164px;
  }

  .plans-section .section-head{
    width:min(100%, var(--desktop-plans-width)) !important;
    max-width:none !important;

    margin:0 auto 28px !important;

    text-align:left !important;
  }

  .plans-section .section-head h2{
    margin:0 !important;

    font-size:58px !important;
    line-height:.98 !important;
  }

  .plans-section .section-head p{
    margin:14px 0 0 !important;

    max-width:680px !important;

    text-align:left !important;
  }


  /* ---------- DEVICE PICKER ---------- */

  .device-plan-picker{
    width:min(100%, var(--desktop-plans-width)) !important;

    margin:0 auto 28px !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }


  /* ---------- PLAN GRID ---------- */

  .plans-grid{
    width:min(100%, var(--desktop-plans-width)) !important;
    max-width:var(--desktop-plans-width) !important;

    margin:0 auto !important;

    display:grid !important;

    grid-template-columns:
      repeat(4, 220px) !important;

    gap:16px !important;

    justify-content:center !important;
  }

  .plans-grid:has(.trial-plan-card){
    grid-template-columns:
      repeat(5, 220px) !important;
  }

  .plan-card{
    width:220px !important;
    max-width:220px !important;
  }


  /* ---------- HOW ---------- */

  .how-section{
    width:min(1200px, calc(100% - 48px)) !important;

    margin:0 auto !important;
    padding:20px 0 70px !important;
  }

  .how-section .section-head.centered{
    width:100% !important;
    max-width:none !important;

    margin:0 auto 28px !important;

    text-align:center !important;
  }

  .how-section .product-steps{
    width:min(900px,100%) !important;

    margin:0 auto !important;

    grid-template-columns:
      repeat(3,1fr) !important;

    gap:16px !important;
  }
}


/* =========================================================
   DESKTOP AMBIENT COLOR RESTORE
   ========================================================= */

@media (min-width:761px){

  body{
    background:
      radial-gradient(
        circle at 12% 8%,
        rgba(82,145,255,.115),
        transparent 29%
      ),
      radial-gradient(
        circle at 88% 12%,
        rgba(150,108,255,.095),
        transparent 32%
      ),
      radial-gradient(
        circle at 52% 55%,
        rgba(70,205,210,.055),
        transparent 35%
      ),
      linear-gradient(
        180deg,
        #fbfcff 0%,
        #f7f9fd 48%,
        #fafbfe 100%
      ) !important;
  }

  .ambient{
    display:block !important;
    visibility:visible !important;
    pointer-events:none !important;
    filter:blur(90px) !important;
  }

  .ambient-a{
    opacity:.18 !important;
    background:rgba(72,145,255,.20) !important;
  }

  .ambient-b{
    opacity:.15 !important;
    background:rgba(150,110,255,.17) !important;
  }

  .ambient-c{
    opacity:.085 !important;
    background:rgba(66,205,210,.11) !important;
  }

  /* cards remain clean */
  .plan-card,
  .product-step,
  .site-header{
    background:rgba(255,255,255,.82) !important;
    backdrop-filter:blur(16px);
  }

  /* don't let HOW become a blue puddle again */
  .how-section{
    background:transparent !important;
  }

  .how-section::before,
  .how-section::after{
    background:none !important;
  }
}


/* =========================================================
   DESKTOP PLANS HEADING ALIGNMENT
   ========================================================= */

@media (min-width:1081px){

  .plans-section .section-head{
    transform:translateX(-70px) !important;
  }

}

/* =========================================================
   PLANS HEADING POSITION BY CARD COUNT
   ========================================================= */

@media (min-width:1081px){

  /* 4 cards */
  .plans-section:not(:has(.trial-plan-card)) .section-head{
    transform:translateX(-70px) !important;
  }

  /* 5 cards */
  .plans-section:has(.trial-plan-card) .section-head{
    transform:translateX(0) !important;
  }

}


/* =========================================================
   FIVE CARD DESKTOP FIT
   ========================================================= */

@media (min-width:1081px){

  .plans-section:has(.trial-plan-card){
    --desktop-plans-width:1100px !important;
  }

  .plans-section:has(.trial-plan-card) .plans-grid{
    width:1100px !important;
    max-width:1100px !important;

    grid-template-columns:
      repeat(5, 208px) !important;

    gap:15px !important;

    justify-content:center !important;
  }

  .plans-section:has(.trial-plan-card) .plan-card{
    width:208px !important;
    max-width:208px !important;
  }

  .plans-section:has(.trial-plan-card) .section-head,
  .plans-section:has(.trial-plan-card) .device-plan-picker{
    width:1100px !important;
    max-width:1100px !important;
  }

}

@media (min-width:1081px){

  .plans-section:has(.trial-plan-card){
    --desktop-plans-width:1060px !important;
  }

  .plans-section:has(.trial-plan-card) .plans-grid{
    width:1060px !important;
    max-width:1060px !important;

    grid-template-columns:
      repeat(5, 200px) !important;

    gap:15px !important;
  }

  .plans-section:has(.trial-plan-card) .plan-card{
    width:200px !important;
    max-width:200px !important;
  }

  .plans-section:has(.trial-plan-card) .section-head,
  .plans-section:has(.trial-plan-card) .device-plan-picker{
    width:1060px !important;
    max-width:1060px !important;
  }

}

@media (min-width:1081px){

  .plans-section:has(.trial-plan-card){
    --desktop-plans-width:1085px !important;
  }

  .plans-section:has(.trial-plan-card) .plans-grid{
    width:1085px !important;
    max-width:1085px !important;

    grid-template-columns:
      repeat(5, 205px) !important;

    gap:15px !important;
  }

  .plans-section:has(.trial-plan-card) .plan-card{
    width:205px !important;
    max-width:205px !important;
  }

  .plans-section:has(.trial-plan-card) .section-head,
  .plans-section:has(.trial-plan-card) .device-plan-picker{
    width:1085px !important;
    max-width:1085px !important;
  }

}

/* keep price + ₽ on one line */
.plan-price,
.plan-card .price,
.plan-card [class*="price"]{
  white-space:nowrap !important;
}

.plan-price{
  display:flex !important;
  align-items:baseline !important;
  gap:4px !important;
}

.plan-price .currency,
.plan-price .rub,
.plan-price span{
  flex:0 0 auto !important;
  white-space:nowrap !important;
}

/* VPN maintenance guide */
.vpn-guide {
  margin: 0 0 18px;
  padding: 20px;
  border-radius: 24px;
}

.vpn-guide-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vpn-guide-icon {
  font-size: 22px;
  line-height: 1;
}

.vpn-guide-head strong,
.vpn-guide-head span {
  display: block;
}

.vpn-guide-head strong {
  font-size: 16px;
}

.vpn-guide-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.vpn-guide-platform {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(120, 130, 150, .14);
}

.vpn-guide-platform h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.vpn-guide-platform ul {
  margin: 0;
  padding-left: 20px;
}

.vpn-guide-platform li {
  margin: 7px 0;
  font-size: 12px;
  line-height: 1.55;
}

.vpn-guide-footer {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(120, 130, 150, .14);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .vpn-guide {
    padding: 17px;
    border-radius: 20px;
  }
}

/* VPN guide collapsible */
.vpn-guide{
  margin:0 0 18px;
  padding:0;
  border-radius:24px;
  overflow:hidden;
}

.vpn-guide-summary{
  min-height:76px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}

.vpn-guide-summary::-webkit-details-marker{
  display:none;
}

.vpn-guide-summary-copy{
  flex:1;
  min-width:0;
}

.vpn-guide-summary-copy strong,
.vpn-guide-summary-copy span{
  display:block;
}

.vpn-guide-summary-copy strong{
  font-size:16px;
}

.vpn-guide-summary-copy span{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.vpn-guide-chevron{
  font-size:20px;
  line-height:1;
  transition:transform .2s ease;
}

.vpn-guide[open] .vpn-guide-chevron{
  transform:rotate(180deg);
}

.vpn-guide-body{
  padding:0 20px 20px;
  border-top:1px solid rgba(120,130,150,.14);
}

.vpn-guide-platform{
  margin-top:16px;
}

.vpn-guide-platform h3{
  margin:0 0 10px;
  font-size:14px;
}

.vpn-guide-platform ul{
  margin:0;
  padding-left:20px;
}

.vpn-guide-platform li{
  margin:7px 0;
  font-size:12px;
  line-height:1.55;
}

.vpn-guide-footer{
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(120,130,150,.14);
  font-size:12px;
  font-weight:600;
  line-height:1.55;
}

@media(max-width:640px){
  .vpn-guide-summary{
    min-height:68px;
    padding:16px 17px;
  }

  .vpn-guide-body{
    padding:0 17px 17px;
  }

  .vpn-guide-summary-copy strong{
    font-size:14px;
  }
}

/* =========================================================
   DESKTOP 4-PLAN WIDE LAYOUT
   ========================================================= */
@media (min-width:1081px){

  .plans-section:not(:has(.trial-plan-card)){
    --desktop-plans-width:1085px !important;
  }

  .plans-section:not(:has(.trial-plan-card)) .plans-grid{
    width:1085px !important;
    max-width:1085px !important;

    grid-template-columns:
      repeat(4, 256px) !important;

    gap:20px !important;
    justify-content:center !important;
  }

  .plans-section:not(:has(.trial-plan-card)) .plan-card{
    width:256px !important;
    max-width:256px !important;
  }

  .plans-section:not(:has(.trial-plan-card)) .section-head,
  .plans-section:not(:has(.trial-plan-card)) .device-plan-picker{
    width:1085px !important;
    max-width:1085px !important;
  }

  .plans-section:not(:has(.trial-plan-card)) .section-head{
    transform:none !important;
  }
}


/* ===== LATVIA BONUS ROUTE LOCATION ===== */

.network-location-g {
  top: 54%;
  right: 8%;
  animation-delay: -5.5s;
}

@media (max-width:900px) {
  .network-location-g {
    top: 55%;
    right: 10%;
  }
}

@media (max-width:600px) {
  .network-location-g {
    top: 55%;
    right: 2%;
  }
}

/* ===== /LATVIA BONUS ROUTE LOCATION ===== */

/* ===== LITHUANIA BONUS ROUTE LOCATION ===== */

.network-location-h {
  top: 18%;
  right: 11%;
  animation-delay: -6.2s;
}

@media (max-width:900px) {
  .network-location-h {
    top: 18%;
    right: 13%;
  }
}

@media (max-width:600px) {
  .network-location-h {
    top: 17%;
    right: 3%;
  }
}

/* ===== /LITHUANIA BONUS ROUTE LOCATION ===== */
