﻿:root {
  --sky: #00bfff;
  --ocean: #1481b8;
  --deep: #0b5d86;

  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, .08);
  --card: rgba(255, 255, 255, .78);

  --radius-xl: 18px;
  --radius-2xl: 24px;
  --shadow: 0 18px 50px rgba(2, 8, 23, .10);
  --shadow-strong: 0 25px 70px rgba(2, 8, 23, .16);

  --container: 1400px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, rgb(239, 247, 251), rgb(255, 255, 255), rgb(244, 249, 251), rgb(255, 255, 255));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}


.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 96px 0;
  position: relative;
}

.pt-header {
  padding-top: 88px;
}

/* Background bubbles */
.bg-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(0, 191, 255, .20), rgba(20, 129, 184, .06));
  border: 1px solid rgba(0, 191, 255, .12);
  border-radius: 999px;
  animation: floaty 10s ease-in-out infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: .9;
  }

  50% {
    transform: translateY(-18px) translateX(8px);
    opacity: 1;
  }
}

.lang-button span {
  font-size: 14px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .0);
  padding: 18px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 40px rgba(2, 8, 23, .08);
  padding: 10px 0;
}


.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 191, 255, .25);
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(90deg, var(--ocean), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav.desktop {
  display: none;
  gap: 6px;
  align-items: center;
}

.nav-btn {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, .72);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.nav-btn:hover {
  background: rgba(0, 191, 255, .08);
  color: var(--ocean);
}

.header-actions {
  display: none;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .7);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
}

.btn-logout {
  padding: 10px;
  width: 44px;
  justify-content: center;
  color: #000;
}

.btn-logout:hover,
.btn-logout:active,
.btn-logout:focus-visible {
  color: #000;
}

.btn-logout .svg {
  width: 20px;
  height: 20px;
}

.btn:hover {
  background: rgba(0, 191, 255, .06);
  border-color: rgba(0, 191, 255, .25);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  border: 0;
  color: white;
  background: linear-gradient(90deg, var(--sky), var(--ocean));
  box-shadow: 0 16px 45px rgba(0, 191, 255, .25);
  padding: 10px 16px;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--sky), var(--ocean));
  transform: translateY(-1px);
}

.btn-primary,
.hero-actions .cta,
.cta-block a {
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(90deg, var(--sky), var(--ocean));
  color: white;
}

.hero-actions .cta:active,
.cta-block a:active {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: white;
}

.hamburger {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
  color: #000;
}


.hamburger svg {
  width: 24px;
  height: 24px;
}

.hamburger line {
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
  transform-origin: center;
  transform-box: fill-box;
}


.hamburger.is-open line:nth-of-type(1) {
  opacity: 0;
  transform: scaleX(.2);
}

.hamburger.is-open line:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open line:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 50px rgba(2, 8, 23, .10);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .25s ease, opacity .25s ease;
}

.mobile-menu.open {
  max-height: 80vh;
  opacity: 1;
  overflow-y: auto;
}

.mobile-nav {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav .nav-btn {
  text-align: left;
  width: 100%;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--border);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(2, 8, 23, .06);
  margin-top: 6px;
}

.mobile-actions .auth-actions {
  width: 100%;
}

.mobile-actions .btn-account {
  flex: 1;
  justify-content: flex-start;
}

.mobile-lang {
  padding-top: 12px;
  border-top: 1px solid rgba(2, 8, 23, .06);
  margin-top: 6px;
}

.lang-selector--mobile {
  width: 100%;
}

.lang-selector--mobile .lang-button {
  width: 100%;
  justify-content: space-between;
}

.lang-selector--mobile .lang-menu {
  position: static;
  min-width: 100%;
  width: 100%;
  margin-top: 8px;
  max-height: 240px;
  overflow: auto;
  display: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-selector--mobile .lang-menu.show {
  display: grid;
}


.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 0;
}

.pulse {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 191, 255, .25), rgba(20, 129, 184, .18));
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 191, 255, .18);
}

.pulse.pulse-in {
  animation: pulseIn 1.4s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: 260ms;
  transform-origin: center;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 191, 255, .25);
  animation: glow 4.5s ease-in-out infinite;
}

@keyframes glow {

  0%,
  100% {
    transform: scale(1);
    opacity: .7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes pulseIn {
  from {
    transform: scale(.86);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(190deg, var(--ocean), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(18px, 2.3vw, 24px);
  color: rgba(15, 23, 42, .70);
}

.hero .sub {
  margin: 14px auto 26px;
  max-width: 42rem;
  font-size: 17px;
  color: rgba(100, 116, 139, .92);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 30px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(0, 191, 255, .12);
  box-shadow: 0 12px 30px rgba(2, 8, 23, .06);
  color: rgba(15, 23, 42, .78);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.hero-actions a {
  padding: 20px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
}

.hero-actions .cta {
  color: white;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  box-shadow: 0 18px 55px rgba(0, 191, 255, .25);
}

.hero-actions .cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 70px rgba(20, 129, 184, .28);
}

.hero-actions .ghost {
  background: rgba(255, 255, 255, .70);
  border: 1px solid var(--border);
  color: rgba(15, 23, 42, .86);
}

.hero-actions .ghost:hover {
  transform: translateY(-1px);
  background: rgba(0, 191, 255, .06);
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .2s ease, border-color .2s ease;
}

html.js .reveal.reveal-left {
  transform: translateX(-26px) scale(.96);
}

html.js .reveal.reveal-right {
  transform: translateX(26px) scale(.96);
}

html.js .reveal.reveal-up {
  transform: translateY(18px);
}

html.js .reveal.reveal-scale {
  transform: scale(.94);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-cards .card.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js .feature-cards .card.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .2s ease;
}

html.js .feature-cards .card.reveal.reveal-up {
  transform: translateY(18px);
}

html.js .feature-cards .card.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(100, 116, 139, .35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.dot {
  width: 6px;
  height: 12px;
  background: rgba(20, 129, 184, .75);
  border-radius: 999px;
  animation: dot 2.4s ease-in-out infinite;
}

@keyframes dot {

  0%,
  100% {
    transform: translateY(0);
    opacity: .6;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* Cards / grids */
.title {
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
  color: rgba(100, 116, 139, .92);
  font-size: 18px;
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

.iconbox {
  transition: transform .2s ease;
  transform-origin: center center;
}

.card:hover .iconbox {
  transform: scale(1.12);
}

.glass {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(2, 8, 23, .06);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.iconbox {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  margin-bottom: 14px;
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: rgba(100, 116, 139, .95);
  line-height: 1.55;
}

/* Stats */
.stats {
  padding: 300px 0 0;
}

.stats-wrap {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: var(--text);
}

.stat {
  text-align: center;
  padding: 32px 20px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.2s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.stat .num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat .lab {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  opacity: 1;
}

.stat .miniicon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  color: white;
  box-shadow: none;
  transition: transform .2s ease;
  transform-origin: center center;
}

.stat:hover .miniicon {
  transform: scale(1.12);
}

/* Steps */
.steps-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.step {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(2, 8, 23, .06);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* Light header */
.step-head {
  background: linear-gradient(135deg, rgba(0, 191, 255, .12), rgba(20, 129, 184, .06));
  border-bottom: 1px solid rgba(0, 191, 255, .12);
  padding: 20px 20px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.step-head::after {
  content: '';
  position: absolute;
  bottom: -28px;
  right: -18px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 191, 255, .06);
  pointer-events: none;
}

.step-n {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .22;
  user-select: none;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .18);
  box-shadow: none;
  display: grid;
  place-items: center;
  color: #00bfff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Card body */
.step-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.step p {
  margin: 0 0 14px;
  color: rgba(100, 116, 139, .95);
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
}

.step-checks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 191, 255, .10);
}

.step-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.step-check svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--sky);
}

/* Arrow between steps */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 191, 255, .50);
  transform: rotate(90deg);
  align-self: center;
}

html.js .step-arrow.reveal.reveal-up {
  transform: rotate(90deg) translateY(18px);
}

html.js .step-arrow.reveal.is-visible {
  transform: rotate(90deg) translate3d(0, 0, 0) scale(1);
}

@media (min-width: 1024px) {
  .steps-flow {
    grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .step-arrow {
    transform: rotate(0deg);
    align-self: center;
    margin-top: -40px;
  }

  html.js .step-arrow.reveal.reveal-up {
    transform: rotate(0deg) translateY(18px);
  }

  html.js .step-arrow.reveal.is-visible {
    transform: rotate(0deg) translate3d(0, 0, 0) scale(1);
  }
}

/* Pricing */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 191, 255, .14), rgba(20, 129, 184, .10));
  border: 1px solid rgba(0, 191, 255, .18);
  color: var(--ocean);
  font-weight: 500;
  font-size: 13px;
}

.protocols-switch {
  margin: 18px auto 0;
  max-width: 780px;
  padding: 18px;
}

.switch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.proto-btn {
  border: 2px solid rgba(2, 8, 23, .08);
  background: rgba(255, 255, 255, .72);
  border-radius: 22px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.proto-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.proto-btn.active {
  border-color: rgba(20, 129, 184, .70);
  background: linear-gradient(135deg, rgba(0, 191, 255, .10), rgba(20, 129, 184, .06));
  box-shadow: var(--shadow-strong);
}

.check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: white;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .35s ease, transform .35s ease;
}

.proto-btn.active .check {
  opacity: 1;
  transform: scale(1);
}

.proto-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
}

.proto-icon svg,
.proto-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.proto-icon.is-image {
  background: transparent;
}

.proto-icon.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.proto-icon.green {
  background: linear-gradient(135deg, #34d399, #059669);
}

.proto-icon.purple {
  background: linear-gradient(135deg, #a78bfa, #4f46e5);
}

.proto-icon.is-text {
  font-size: 18px;
  line-height: 1;
}

.proto-btn h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.proto-btn .small {
  margin: 0 0 10px;
  color: rgba(100, 116, 139, .92);
  font-weight: 500;
  font-size: 13px;
}

.proto-btn ul {
  margin: 0;
  padding-left: 16px;
  color: rgba(100, 116, 139, .95);
}

.proto-btn li {
  margin: 6px 0;
  font-size: 13px;
}

.duration-switch {
  margin: 18px auto 0;
  padding: 5px;
  border-radius: 18px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  max-width: fit-content;
  background: rgba(15, 23, 42, .05);
  border: 1px solid rgba(15, 23, 42, .07);
  box-shadow: inset 0 1px 3px rgba(2, 8, 23, .06);
  font-family: inherit;
}

.dur-btn {
  border: 0;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, .45);
  background: transparent;
  position: relative;
  transition: color .25s ease;
  white-space: nowrap;
}

.dur-btn:hover {
  color: rgba(15, 23, 42, .75);
}

.dur-btn.active {
  background: #ffffff;
  color: var(--ocean);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(2, 8, 23, .10), 0 1px 3px rgba(2, 8, 23, .06);
}

.badge-discount {
  position: absolute;
  top: -7px;
  right: -2px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: #10b981;
  color: white;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(16, 185, 129, .35);
}

.dur-btn.active .badge-discount {
  background: #f59e0b;
  box-shadow: 0 2px 6px rgba(245, 158, 11, .35);
}

@media (max-width: 520px) {
  .duration-switch {
    display: flex;
    flex-direction: column;
    width: calc(100% - 32px);
    max-width: 360px;
    padding: 4px;
    gap: 4px;
    border-radius: 14px;
  }

  .dur-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
    text-align: center;
  }
}

.pricing-grid {
  margin-top: 32px;
}

/* ── Card base ── */
.glass.plan {
  background: linear-gradient(160deg, var(--card-tint, rgba(0, 191, 255, .05)) 0%, #ffffff 52%);
  border: 1px solid var(--card-border, rgba(0, 191, 255, .12));
  border-radius: 28px;
  box-shadow: 0 4px 28px rgba(2, 8, 23, .08), 0 1px 4px rgba(2, 8, 23, .04);
  overflow: hidden;
}

.glass.plan:not(.featured):hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px var(--card-shadow, rgba(0, 191, 255, .22)), 0 8px 24px rgba(2, 8, 23, .07);
}

.plan {
  padding: 0;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s cubic-bezier(.22, .68, 0, 1.2), box-shadow .2s ease;
}

/* ── Coloured header zone ── */
.plan .top {
  text-align: center;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  color: white;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Soft decorative circle – bottom right */
.plan .top::before {
  content: '';
  position: absolute;
  bottom: -55px;
  right: -45px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  pointer-events: none;
}

/* Soft decorative circle – top left */
.plan .top::after {
  content: '';
  position: absolute;
  top: -35px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}

/* ── Plan colour palette via CSS vars (cycles: 1→blue, 2→sky, 3→purple, 4→teal, 5→orange, 6→rose, then repeats) ── */
[data-pricing-grid]>.plan:nth-child(6n+1) {
  --c1: #60a5fa;
  --c2: #1d4ed8;
  --card-tint: rgba(96, 165, 250, .07);
  --card-border: rgba(96, 165, 250, .20);
  --card-shadow: rgba(96, 165, 250, .28);
}

[data-pricing-grid]>.plan:nth-child(6n+2) {
  --c1: #00bfff;
  --c2: #0b5d86;
  --card-tint: rgba(0, 191, 255, .07);
  --card-border: rgba(0, 191, 255, .20);
  --card-shadow: rgba(0, 191, 255, .28);
}

[data-pricing-grid]>.plan:nth-child(6n+3) {
  --c1: #c084fc;
  --c2: #5b21b6;
  --card-tint: rgba(192, 132, 252, .07);
  --card-border: rgba(192, 132, 252, .20);
  --card-shadow: rgba(192, 132, 252, .28);
}

[data-pricing-grid]>.plan:nth-child(6n+4) {
  --c1: #2dd4bf;
  --c2: #0f766e;
  --card-tint: rgba(45, 212, 191, .07);
  --card-border: rgba(45, 212, 191, .20);
  --card-shadow: rgba(45, 212, 191, .28);
}

[data-pricing-grid]>.plan:nth-child(6n+5) {
  --c1: #fb923c;
  --c2: #c2410c;
  --card-tint: rgba(251, 146, 60, .07);
  --card-border: rgba(251, 146, 60, .20);
  --card-shadow: rgba(251, 146, 60, .28);
}

[data-pricing-grid]>.plan:nth-child(6n+6) {
  --c1: #f472b6;
  --c2: #be185d;
  --card-tint: rgba(244, 114, 182, .07);
  --card-border: rgba(244, 114, 182, .20);
  --card-shadow: rgba(244, 114, 182, .28);
}

/* Apply palette to header */
.plan .top {
  background: linear-gradient(145deg, var(--c1, #60a5fa) 0%, var(--c2, #1d4ed8) 100%);
}

/* ── Icon (frosted glass look inside coloured header) ── */
.plan .picon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  background: rgba(255, 255, 255, .22) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.picon.blue,
.picon.grad,
.picon.purple {
  background: rgba(255, 255, 255, .22) !important;
}

.plan .picon svg,
.plan .picon img {
  width: 30px;
  height: 30px;
  display: block;
  color: white;
}

.plan .picon.is-image {
  background: transparent !important;
  box-shadow: 0 14px 36px rgba(2, 8, 23, .12);
}

.plan .picon.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.plan .picon.is-text {
  font-size: 20px;
  line-height: 1;
}

.chip svg,
.iconbox svg,
.stat .miniicon svg,
.step .badge svg {
  color: #00bfff;
  stroke: #00bfff;
}

/* Plan name & cap – white inside header */
.plan h3 {
  margin: 0 0 5px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  text-wrap: balance;
  word-break: break-word;
  position: relative;
  z-index: 1;
}

.plan .cap {
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* ── Price: column layout ── */
.price {
  text-align: center;
  margin: 0;
  margin-bottom: 10px;
  padding: 14px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.price .big {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(145deg, var(--c1, var(--sky)) 0%, var(--c2, var(--deep)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price .big.price-bump {
  animation: pricePulse .9s ease;
}

.price .unit {
  font-size: 13px;
  font-weight: 600;
  color: rgba(100, 116, 139, .60);
  margin: 3px 0 0;
  letter-spacing: 0.03em;
}

/* ── Price summary: receipt card ── */
.price-meta {
  margin: 10px 16px 12px;
  padding: 14px 16px;
  background: linear-gradient(145deg, var(--card-tint, rgba(0, 191, 255, .06)) 0%, transparent 100%);
  border: 1px solid var(--card-border, rgba(0, 191, 255, .14));
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: visible;
  max-height: 160px;
  opacity: 1;
  transition: max-height .3s cubic-bezier(.4, 0, .2, 1),
    opacity .3s ease,
    margin .4s ease,
    padding .35s ease,
    border-color .3s ease;
}

.is-monthly .price-meta {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  border-color: transparent;
}



.price-meta::after {
  display: none;
}

/* Savings badge — floating pill above price-meta card */
.price-save {
  display: none;
}

.price-save.is-zero {
  display: none;
}

.price-save:not(.is-zero) {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px 4px 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 999px;
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(16, 185, 129, .40), 0 1px 0 rgba(255, 255, 255, .20) inset;
  z-index: 1;
  animation: savingsDrop .3s cubic-bezier(.22, .68, 0, 1.2) both;
}

@keyframes savingsDrop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.price-save:not(.is-zero)::before {
  content: '✦';
  font-size: 9px;
  opacity: .90;
}

.price-save:not(.is-zero)::after {
  display: none;
}

.price-save strong {
  font-weight: 900;
}

/* ── Total: centered column ── */
.price-total {
  display: flex;
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: static;
  overflow: visible;
  justify-self: unset;
  font-size: 0;
}

.price-total::before {
  display: none;
}

.price-total>* {
  position: static;
  z-index: auto;
}

.price-total__label {
  font-size: 11px;
  color: rgba(15, 23, 42, .38);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-total__value {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(145deg, var(--c1, var(--sky)) 0%, var(--c2, var(--deep)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-total__value::after {
  content: ' ₽';
}

.price-total__value.price-bump {
  animation: pricePulse .9s ease;
}

@keyframes pricePulse {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-2px) scale(1.03);
    opacity: .85;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Proto pill */
.proto-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 24px 14px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(0, 191, 255, .07);
  border: 1px solid rgba(0, 191, 255, .18);
  font-weight: 700;
  color: var(--ocean);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Feature list – icon cards */
.plan ul {
  margin: 0;
  padding: 10px 14px 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  border-top: 1px solid var(--card-border, rgba(0, 191, 255, .09));
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(0, 191, 255, .04);
  border: 1px solid rgba(0, 191, 255, .09);
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.plan li:hover {
  background: rgba(0, 191, 255, .09);
  border-color: rgba(0, 191, 255, .20);
  transform: translateY(-1px);
}

.plan-feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  display: grid;
  place-items: center;
  color: #00bfff;
  flex-shrink: 0;
}

.plan-feat-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.plan-feat-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.plan-feat-text span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

/* CTA button */
.select {
  width: calc(100% - 40px);
  margin: 12px 20px 20px;
  border: 0;
  border-radius: 14px;
  padding: 15px 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: linear-gradient(90deg, var(--sky), var(--ocean));
  color: white;
  box-shadow: 0 10px 32px rgba(0, 191, 255, .28);
  transition: transform .3s cubic-bezier(.22, .68, 0, 1.2), box-shadow .3s ease, filter .25s ease;
}

.select:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 52px rgba(20, 129, 184, .36);
  filter: brightness(1.06);
}

/* ── Featured card ── */
.plan.featured {
  background: #ffffff;
  color: var(--text);
  transform: scale(1.05);
  /* glowing ring border */
  box-shadow:
    0 0 0 2px rgba(0, 191, 255, .5),
    0 30px 80px rgba(0, 191, 255, .30),
    0 10px 32px rgba(0, 191, 255, .14);
}

/* "Популярно" banner inside coloured header */
.plan.featured .top {
  padding-top: 46px;
}

.plan.featured .top::before {
  content: '★  Популярно';
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding: 9px 0;
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.09em;
}

/* keep second decorative circle */
.plan.featured .top::after {
  content: '';
  top: -35px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}

/* white body – prices same as non-featured */
.plan.featured .price .big {
  background: linear-gradient(135deg, var(--sky) 10%, var(--deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan.featured .price .unit {
  color: rgba(100, 116, 139, .82);
}

.plan.featured .proto-pill {
  background: rgba(0, 191, 255, .07);
  border-color: rgba(0, 191, 255, .18);
  color: var(--ocean);
}

.plan.featured ul {
  border-top-color: rgba(0, 191, 255, .09);
}

.plan.featured li {
  color: rgba(15, 23, 42, .72);
  background: rgba(0, 191, 255, .05);
  border-color: rgba(0, 191, 255, .13);
}

.plan.featured li:hover {
  background: rgba(0, 191, 255, .11);
  border-color: rgba(0, 191, 255, .24);
}

.plan.featured .select {
  background: linear-gradient(90deg, var(--sky), var(--deep));
  color: white;
  box-shadow: 0 12px 36px rgba(0, 191, 255, .34);
  filter: none;
}

.plan.featured .select:hover {
  filter: brightness(1.06);
  box-shadow: 0 22px 52px rgba(0, 191, 255, .44);
}

/* Protocol solo feature card */
.proto-solo {
  display: flex;
  justify-content: center;
}

.proto-feature-card {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 28px;
  border-radius: var(--radius-2xl);
}

.pfc-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pfc-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pfc-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}


.pfc-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pfc-desc {
  margin: 0;
  color: rgba(100,116,139,.95);
  font-size: 15px;
  line-height: 1.65;
  max-width: 480px;
}

.pfc-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,191,255,.10);
}

.pfc-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0,191,255,.04);
  border: 1px solid rgba(0,191,255,.09);
  transition: background .2s ease, border-color .2s ease;
}

.pfc-feat:hover {
  background: rgba(0,191,255,.09);
  border-color: rgba(0,191,255,.20);
}

.pfc-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,191,255,.20), rgba(20,129,184,.08));
  border: 1px solid rgba(0,191,255,.14);
  display: grid;
  place-items: center;
  color: #00bfff;
  flex-shrink: 0;
}

.pfc-feat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pfc-feat-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.pfc-feat-text span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .proto-feature-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .pfc-left {
    flex: 0 0 280px;
    border-right: 1px solid rgba(0,191,255,.10);
    padding-right: 28px;
  }

  .pfc-right {
    flex: 1;
    padding-top: 0;
    border-top: none;
    padding-left: 0;
  }
}

/* Protocol cards */
.proto-grid .card p {
  margin-bottom: 12px;
}

.bullets {
  margin: 0;
  padding-left: 16px;
  color: rgba(100, 116, 139, .95);
  font-weight: 600;
  display: grid;
  gap: 6px;
}

.bullets li {
  font-size: 14px;
}

.proto-grid .note {
  margin: 16px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(15, 23, 42, .82);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 191, 255, .12);
  border-radius: 12px;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 8px 18px rgba(2, 8, 23, .06);
}

.proto-grid .note::before {
  content: "i";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ocean);
  background: rgba(20, 129, 184, .12);
  border: 1px solid rgba(20, 129, 184, .28);
  border-radius: 50%;
}

.proto-grid .note::after {
  content: none;
}

/* Testimonials */
.testimonials .card {
  padding: 28px;
  border: 1px solid rgba(0, 191, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
}

.testimonials .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 191, 255, .18);
  border-color: rgba(0, 191, 255, .28);
}

.quote {
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: .14;
}

.t-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.t-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.stars-meter {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.stars {
  display: flex;
  gap: 3px;
  margin: 0;
}

.stars-back .star {
  fill: rgba(148, 163, 184, .35);
  stroke: rgba(148, 163, 184, .55);
}

.stars-front {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: var(--rating-percent, calc(var(--rating, 0) * 20%));
}

.stars-front .star {
  fill: hsl(var(--score-hue, 46) 92% 60%);
  stroke: hsl(var(--score-hue, 46) 85% 45%);
}

.star {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.t-score {
  font-size: 13px;
  font-weight: 800;
  color: hsl(var(--score-hue, 46) 75% 28%);
  background: hsl(var(--score-hue, 46) 90% 92% / .9);
  border: 1px solid hsl(var(--score-hue, 46) 70% 45% / .4);
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.t-date {
  font-size: 12px;
  font-weight: 700;
  color: rgba(100, 116, 139, .88);
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(2, 8, 23, .06);
  padding: 4px 8px;
  border-radius: 999px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.testimonials .dash-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  font-size: 16px;
  color: #0b4a6b;
  background: linear-gradient(135deg, rgba(14, 165, 233, .12), rgba(20, 184, 166, .12));
  border: 1px solid rgba(14, 165, 233, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 22px rgba(14, 165, 233, .16);
  user-select: none;
  -webkit-user-select: none;
}

.t-author .name {
  font-weight: 700;
}

.testimonials .card .muted {
  color: rgba(15, 23, 42, .86);
  font-weight: 650;
  font-size: 15px;
  line-height: 1.65;
}

.t-image {
  margin: 10px 0 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.t-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.testimonials-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonials-grid .testimonials-empty {
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 640px) {
  .t-image img {
    height: 160px;
  }
}

.t-author .role {
  font-size: 13px;
  color: rgba(100, 116, 139, .95);
}

.testimonials-grid .card.is-hidden {
  display: none;
}

.testimonials-grid .card.reveal-more {
  animation: testimonialIn 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes testimonialIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-more {
  border: 1px solid rgba(0, 191, 255, .25);
  background: rgba(255, 255, 255, .75);
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
}

.btn-more:hover {
  background: rgba(0, 191, 255, .08);
  border-color: rgba(0, 191, 255, .4);
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(2, 8, 23, .07);
  background: #fff;
  box-shadow: 0 2px 12px rgba(2, 8, 23, .05);
  transition: box-shadow .35s ease, transform .35s ease;
}

.faq-item:hover:not(.open) {
  box-shadow: 0 6px 28px rgba(2, 8, 23, .09);
  transform: translateY(-1px);
}

.faq-item.open {
  box-shadow: 0 14px 44px rgba(0, 191, 255, .18);
  transform: translateY(-2px);
}

html.js .faq-item.reveal.is-visible.open {
  transform: translateY(-2px);
}

html.js .faq-item.reveal.is-visible:hover:not(.open) {
  transform: translateY(-1px);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}


.faq-q>span:first-child {
  flex: 1;
}

.faq-q:active {
  opacity: .85;
}

.faq-item.open .faq-q {
  background: rgba(0, 191, 255, .08);
  color: var(--ocean);
}


.faq-plus {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  position: relative;
  transition: transform .42s cubic-bezier(.34, 1.56, .64, 1);
}

.faq-plus::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ocean);
  border-bottom: 2px solid var(--ocean);
  border-radius: 1px;
  transform: translate(-60%, -65%) rotate(45deg);
  transition: border-color .35s ease;
}

.faq-plus::after {
  display: none;
}

.faq-item.open .faq-plus {
  transform: rotate(180deg);
}

.faq-item.open .faq-plus::before {
  border-color: var(--ocean);
}

.faq-a {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height .3s cubic-bezier(.4, 0, .2, 1),
    opacity .25s ease;
}

.faq-item.open .faq-a {
  opacity: 1;
}


.lang-selector {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .8);
  color: rgba(15, 23, 42, .85);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.lang-button:hover {
  background: rgba(0, 191, 255, .08);
  border-color: rgba(0, 191, 255, .35);
  transform: translateY(-1px);
}

.lang-button .arrow {
  transition: transform .2s ease;
}

.menu-flag,
.lang-button img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(2, 8, 23, .15);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .99);
  border: 1px solid rgba(2, 8, 23, .08);
  box-shadow: 0 20px 45px rgba(2, 8, 23, .18);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
  display: grid;
  gap: 6px;
  max-height: 320px;
  overflow: auto;
}

.lang-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu div {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  color: rgba(15, 23, 42, .86);
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
}

.lang-menu div:hover {
  background: rgba(0, 191, 255, .1);
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .lang-menu {
    grid-template-columns: 1fr;
    min-width: 200px;
  }
}

.faq-a>div {
  padding: 18px 20px 22px;
  color: rgba(100, 116, 139, .95);
  line-height: 1.75;
  font-weight: 500;
  font-size: 15px;
  border-top: 1px solid rgba(2, 8, 23, .06);
}

/* CTA block */
.cta-block {
  padding: 56px 66px;
  border-radius: 30px;
  max-width: 700px;
  justify-self: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(0, 191, 255, .18), transparent 55%);
  pointer-events: none;
}

.cta-block h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-block p {
  margin: 0 auto 18px;
  max-width: 680px;
  color: rgba(100, 116, 139, .95);
  position: relative;
  z-index: 1;
}

.cta-block a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 60px rgba(0, 191, 255, .23);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-block a:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 75px rgba(20, 129, 184, .26);
}

/* Footer */
footer {
  padding: 56px 0 0;
  border-top: none;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(14, 165, 233, .08), transparent 50%),
    radial-gradient(ellipse at 92% 0%, rgba(20, 184, 166, .07), transparent 45%),
    linear-gradient(180deg, rgba(240, 249, 255, .5), rgba(255, 255, 255, 1));
  color: var(--text);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 44px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-block .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

footer .logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  box-shadow: 0 8px 22px rgba(0, 191, 255, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
}

.footer-tagline {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

.footer-col-title {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ocean);
  opacity: .7;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 5px 0;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: var(--ocean);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mail-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(240, 249, 255, .95));
  border: 1px solid rgba(14, 165, 233, .18);
  box-shadow: 0 4px 20px rgba(14, 165, 233, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.mail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, .05), rgba(20, 184, 166, .04));
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.mail-card:hover::before {
  opacity: 1;
}

.mail-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 191, 255, .32);
}

.mail-card-icon .svg {
  color: #fff;
  width: 16px;
  height: 16px;
}

.mail-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mail-card-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .01em;
}

.mail-card-addr {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-card-arrow {
  color: var(--ocean);
  opacity: .45;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform .22s ease, opacity .22s ease;
}

.mail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, .32);
  box-shadow: 0 8px 28px rgba(14, 165, 233, .15), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.mail-card:hover .mail-card-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s ease, box-shadow .22s ease;
}

.social-btn .svg {
  width: 18px;
  height: 18px;
  color: #00bfff;
  stroke: #00bfff;
  flex-shrink: 0;
}

.social-btn--mail:hover,
.social-btn--tg:hover {
  transform: translateY(-3px);
}

.address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: .8rem;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(14, 165, 233, .16);
}

.footer-bottom {
  border-top: 1px solid rgba(14, 165, 233, .1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer-bottom .muted {
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  footer {
    padding: 40px 0 0;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-brand-block {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .mail-card {
    max-width: 100%;
  }

  .mail-card-addr {
    white-space: normal;
    word-break: break-all;
  }
}

/* Responsive */
@media (min-width: 1024px) {
  nav.desktop {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-actions {
    flex-direction: row;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-line {
    display: block;
  }

  .switch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    text-align: left;
  }

  .footer-brand-block {
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

@media (min-width: 768px) {

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Simple icons (inline svg inherit) */
.svg {
  width: 22px;
  height: 22px;
  display: block;
}

.svg.lg {
  width: 28px;
  height: 28px;
}

.svg.xl {
  width: 44px;
  height: 44px;
}

.svg.white {
  stroke: white;
}

.svg.stroke {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Utility */
.center {
  text-align: center;
}

.mb-10 {
  margin-bottom: 40px;
}

/* ===== Modal (Auth) ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  --modal-gap-top: max(18px, env(safe-area-inset-top));
  --modal-gap-right: max(18px, env(safe-area-inset-right));
  --modal-gap-bottom: max(18px, env(safe-area-inset-bottom));
  --modal-gap-left: max(18px, env(safe-area-inset-left));
  padding-top: var(--modal-gap-top);
  padding-right: var(--modal-gap-right);
  padding-bottom: var(--modal-gap-bottom);
  padding-left: var(--modal-gap-left);
  overscroll-behavior: contain;
}

.modal.open {
  display: flex;
}

.modal.closing {
  display: flex;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .36);
  backdrop-filter: blur(10px);
  animation: modalFade .3s ease both;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    animation: none;
    background-position: 0% 50%;
  }

  .bg-bubbles {
    display: none;
  }

  .bubble,
  .pulse::after,
  .dot {
    animation: none;
  }

  html.js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }


  .pulse.pulse-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - var(--modal-gap-top, 18px) - var(--modal-gap-bottom, 18px));
  max-height: calc(100dvh - var(--modal-gap-top, 18px) - var(--modal-gap-bottom, 18px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(240, 249, 255, .9));
  border: 1px solid rgba(0, 191, 255, .18);
  border-radius: 28px;
  box-shadow: 0 30px 120px rgba(2, 8, 23, .22), inset 0 0 0 1px rgba(255, 255, 255, .65);
  padding: 26px;
  transform-origin: center;
  animation: modalScale .5s ease both;
}

@keyframes modalScale {
  from {
    transform: translateY(8px) scale(.98);
    opacity: .6;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes modalScaleOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  to {
    transform: translateY(10px) scale(.98);
    opacity: 0;
  }
}

.modal.closing .modal-overlay {
  animation: modalFadeOut .3s ease both;
}

.modal.closing .modal-card {
  animation: modalScaleOut .3s ease both;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  z-index: 10;
  border-radius: 999px;
  border: 1px solid rgba(2, 8, 23, .08);
  background: rgba(255, 255, 255, .75);
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .35s ease, transform .35s ease, border-color .35s ease;
}

.modal-close:hover {
  background: rgba(0, 191, 255, .08);
  border-color: rgba(0, 191, 255, .25);
}

.modal-close:active {
  transform: translateY(1px);
}

.modal-head {
  text-align: center;
  margin-bottom: 16px;
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  display: grid;
  place-items: center;
  box-shadow: none;
}

.modal-icon svg {
  color: #00bfff;
  stroke: #00bfff;
}

.modal-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, .95);
}

.modal-sub {
  margin: 0;
  color: rgba(100, 116, 139, .95);
  font-weight: 500;
}

.modal-meta {
  margin: 14px auto 0;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(0, 191, 255, .08);
  border: 1px solid rgba(0, 191, 255, .18);
  color: rgba(15, 23, 42, .82);
  font-weight: 850;
  font-size: 13px;
  line-height: 1.35;
}

.modal-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
}

.field.is-textarea {
  align-items: flex-start;
}

.field.is-textarea .field-ico {
  top: 16px;
}

.field-ico {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  stroke: rgba(100, 116, 139, .75);
  pointer-events: none;
}

.field-input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(2, 8, 23, .1);
  background: rgba(255, 255, 255, .86);
  padding: 0 14px 0 46px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(15, 23, 42, .92);
  outline: none;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
  transition: box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.otp-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 4px 0;
  width: 100%;
}

.otp-box {
  flex: 1 1 0;
  min-width: 0;
  max-width: 52px;
  height: auto;
  aspect-ratio: 52 / 62;
  border-radius: 16px;
  border: 1.5px solid rgba(2, 8, 23, .12);
  background: rgba(255, 255, 255, .9);
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(15, 23, 42, .92);
  outline: none;
  box-shadow: 0 8px 20px rgba(2, 8, 23, .06);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease, transform .15s ease;
  caret-color: transparent;
}

.otp-box:focus {
  border-color: rgba(20, 129, 184, .6);
  box-shadow: inset 0 0 0 1px rgba(0, 191, 255, .20), 0 4px 12px rgba(0, 191, 255, .10);
  background: rgba(255, 255, 255, .98);
}

.otp-box.filled {
  border-color: rgba(20, 129, 184, .4);
  background: rgba(224, 247, 255, .45);
}

.otp-box.error {
  border-color: rgba(239, 68, 68, .6) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important;
  animation: otpShake .4s ease;
}

@keyframes otpShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  60% {
    transform: translateX(5px);
  }

  80% {
    transform: translateX(-2px);
  }
}

.field-input.field-textarea {
  padding-top: 15px;
  padding-bottom: 15px;
  resize: vertical;
}

.field-input::placeholder {
  color: rgba(100, 116, 139, .70);
  font-weight: 500;
}

.field-input:focus {
  border-color: rgba(20, 129, 184, .60);
  box-shadow: inset 0 0 0 1px rgba(0, 191, 255, .20), 0 4px 12px rgba(0, 191, 255, .10);
  background: rgba(255, 255, 255, .92);
}

/* Attached icon field */
.field-attached {
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  border: 1px solid rgba(0, 191, 255, .18);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
  padding: 0;
}

.field-attached:focus-within {
  border-color: rgba(0, 191, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(0, 191, 255, .20), 0 4px 12px rgba(0, 191, 255, .10);
}

.field-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 191, 255, .16), rgba(20, 129, 184, .07));
  border-right: 1px solid rgba(0, 191, 255, .14);
  color: #00bfff;
}

.field-prefix svg {
  width: 18px;
  height: 18px;
  stroke: #00bfff;
  flex-shrink: 0;
}

.field-attached .field-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding-left: 14px;
  flex: 1;
}

.field-attached .field-input:focus {
  border: none;
  box-shadow: none;
  background: transparent;
}

.modal-btn {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: white;
  background: linear-gradient(90deg, var(--sky), var(--ocean));
  box-shadow: 0 18px 55px rgba(0, 191, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(20, 129, 184, .26);
}

.modal-btn:active {
  transform: translateY(0px);
}

.modal-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(.15) saturate(.75);
  opacity: .55;
  box-shadow: none;
  transform: none;
}

.modal-legal {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(100, 116, 139, .85);
  font-weight: 750;
  line-height: 1.5;
}

.modal-legal a {
  color: var(--ocean);
  text-decoration: none;
  font-weight: 700;
}

.modal-legal a:hover {
  text-decoration: underline;
}

.modal-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(100, 116, 139, .85);
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--ocean);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.link-btn:hover {
  color: var(--deep);
}

.modal-toast {
  margin-top: 4px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .22);
  color: #166534;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  max-height: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition: opacity .35s ease, transform .35s ease, max-height .35s ease, margin .35s ease, padding .35s ease, border-width .35s ease;
}

.modal-toast[hidden] {
  display: block !important;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.modal-toast:not([hidden]) {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(20, 129, 184, .35);
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(226, 248, 255, .9));
  color: var(--deep);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(2, 8, 23, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  z-index: 1050;
}

.scroll-top .svg {
  width: 20px;
  height: 20px;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 48px rgba(2, 8, 23, .16);
}

.scroll-top:active {
  transform: translateY(0) scale(.98);
}

.toast-item {
  position: relative;
  max-width: min(360px, 90vw);
  padding: 10px 18px 10px 10px;
  border-radius: 99px;
  background: rgba(4, 22, 44, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(24px) scale(.95);
  transition: opacity .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
  pointer-events: auto;
  cursor: pointer;
}

.toast-item.toast-success {
  box-shadow: none;
}

.toast-item.toast-error {
  box-shadow: none;
}

.toast-item::before {
  display: none;
}

.toast-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.toast-icon svg {
  width: 22px;
  height: 22px;
}

.toast-item.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.toast-item.hide {
  opacity: 0;
  transform: translateX(14px) scale(.97);
}

@media (max-width: 520px) {
  .toast-stack {
    left: 12px;
    right: 12px;
    align-items: stretch;
  }

  .toast-item {
    max-width: 100%;
    border-radius: 22px;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  .modal-card {
    padding: 18px;
    border-radius: 22px;
  }

  .modal-title {
    font-size: 22px;
  }

  .otp-group {
    gap: 6px;
  }

  .otp-box {
    font-size: 20px;
    border-radius: 13px;
  }
}

html.modal-lock,
body.modal-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

.csm-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 0 18px;
  pointer-events: none;
}

.csm-cookie-card {
  position: relative;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(15, 23, 42, .11);
  background:
    radial-gradient(140% 120% at 8% 0%, rgba(186, 230, 253, .34), transparent 56%),
    radial-gradient(120% 140% at 100% 100%, rgba(125, 211, 252, .22), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 252, 255, .95) 48%, rgba(255, 255, 255, .94));
  box-shadow: 0 18px 45px rgba(2, 8, 23, .14), 0 4px 18px rgba(2, 8, 23, .08), inset 0 1px 0 rgba(255, 255, 255, .86);
  overflow: hidden;
  pointer-events: auto;
}

html.js.page-loading .csm-cookie-card {
  opacity: 0;
  transform: translateY(20px) scale(.97);
  animation: none;
}

html.js.page-ready .csm-cookie-card {
  animation: csm-cookie-in .3s cubic-bezier(.22, 1, .36, 1) both;
}

.csm-cookie-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -96px;
  top: -124px;
  background: radial-gradient(circle, rgba(14, 165, 233, .2), rgba(14, 165, 233, 0) 70%);
  pointer-events: none;
}

.csm-cookie-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.csm-cookie-text {
  margin: 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .005em;
  color: rgba(15, 23, 42, .84);
}

.csm-cookie-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #0b5d86;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease, transform .2s ease;
}

.csm-cookie-link:hover {
  color: #0a4a6a;
  text-decoration-color: rgba(10, 74, 106, .65);
  transform: translateX(1px);
}

.csm-cookie-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.csm-cookie-btn {
  min-width: 132px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease, filter .25s ease;
}

.csm-cookie-btn:hover {
  transform: translateY(-2px);
}

.csm-cookie-btn--ghost {
  border-color: rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .86);
  color: rgba(15, 23, 42, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.csm-cookie-btn--ghost:hover {
  background: rgba(15, 23, 42, .06);
  box-shadow: 0 10px 24px rgba(2, 8, 23, .12);
}

.csm-cookie-btn--solid {
  border: 0;
  color: #ffffff;
  background: linear-gradient(100deg, #0ea5e9, #0369a1);
  box-shadow: 0 14px 30px rgba(3, 105, 161, .32);
}

.csm-cookie-btn--solid:hover {
  box-shadow: 0 16px 34px rgba(3, 105, 161, .4);
}

.csm-cookie-btn:active {
  transform: translateY(0);
}

html.js .csm-cookie-consent.is-closing .csm-cookie-card {
  animation: csm-cookie-out .36s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes csm-cookie-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes csm-cookie-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
}

@media (max-width: 720px) {
  .csm-cookie-consent {
    bottom: 12px;
    padding: 0 12px;
  }

  .csm-cookie-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 15px;
    border-radius: var(--radius-xl);
  }

  .csm-cookie-text {
    font-size: 14px;
  }

  .csm-cookie-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csm-cookie-btn {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .csm-cookie-actions {
    grid-template-columns: 1fr;
  }

  .csm-cookie-btn {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  body {
    animation: none;
    background-position: 0% 50%;
  }

  .bg-bubbles {
    display: none;
  }

  .bubble,
  .pulse::after,
  .dot {
    animation: none;
  }

  header.scrolled,
  .mobile-menu,
  .glass,
  .proto-grid .note,
  .faq-item,
  .lang-menu,
  .modal-overlay,
  .modal-card,
  .csm-cookie-card {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  html.js.page-loading .csm-cookie-card,
  html.js.page-ready .csm-cookie-card,
  .csm-cookie-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .csm-cookie-btn {
    transition: none;
  }
}

/* ── Register modal — header ── */
#registerModal .modal-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  text-align: left;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(0, 191, 255, .22);
}

#registerModal .modal-icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin: 0;
  background: linear-gradient(135deg, rgba(0, 191, 255, .20), rgba(20, 129, 184, .08));
  border: 1px solid rgba(0, 191, 255, .14);
  box-shadow: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

#registerModal .modal-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, .95);
}

#registerModal .modal-sub {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(100, 116, 139, .9);
}

/* Reduce backdrop-filter cost on mobile — the semi-opaque overlay background
   still provides the darkening effect without a full-screen GPU blur */
@media (max-width: 768px) {
  .modal-overlay {
    backdrop-filter: blur(4px);
  }
}