:root {
  --bg: #050c19;
  --bg-card: #0f1a30;
  --bg-card-2: #15233e;
  --txt: #eef3ff;
  --muted: #96a3bf;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --blue: #1aa9ff;
  --blue-2: #0074ff;
  --blue-3: #4bc3ff;
  --yellow: #ffd570;
  --yellow-2: #f4b43a;
  --green: #33d890;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--txt);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; }

.pattern-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(26, 169, 255, 0.32), transparent 60%),
    radial-gradient(900px 440px at 10% 105%, rgba(0, 116, 255, 0.22), transparent 60%),
    radial-gradient(600px 300px at 50% 40%, rgba(75, 195, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #070f1d 0%, #040a15 100%);
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

/* ───────── HEADER ───────── */

.header {
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--txt);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.015em;
  transition: 0.2s ease;
}

.logo:hover { transform: translateY(-1px); }
.logo:hover .logo__mark { box-shadow: 0 14px 34px rgba(18, 169, 255, 0.55); }

.logo__mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(18, 169, 255, 0.4);
  transition: 0.2s ease;
}

.logo__mark svg { display: block; border-radius: 12px; }

.logo__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name {
  font-size: 1.18rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #cfe5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo__tag {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-3);
  opacity: 0.85;
}

.header__actions { display: flex; align-items: center; gap: 0.65rem; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem;
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.15s;
}

.lang-switch__btn.is-active {
  color: #03111f;
  background: linear-gradient(180deg, #5ad0ff, #0aa7ff);
  box-shadow: 0 6px 16px rgba(10, 167, 255, 0.35);
}

.header__skip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #03121f;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 8px 22px rgba(244, 180, 58, 0.28);
  transition: 0.15s;
}

.header__skip:hover { transform: translateY(-1px); }

/* ───────── HERO ───────── */

main { padding-top: 1.6rem; padding-bottom: 3rem; }

.hero {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.05fr minmax(440px, 540px);
    align-items: start;
    gap: 2.4rem;
    padding-top: 1.5rem;
  }
}

.hero__content { padding: 0.4rem 0.2rem; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #04202f;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe07d, #f6b73a);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 10px 25px rgba(246, 183, 58, 0.3);
  margin-bottom: 1rem;
}

h1 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-size: clamp(2.1rem, 5.2vw, 3.45rem);
  font-weight: 800;
}

.text-accent {
  background: linear-gradient(90deg, #5ad0ff, #2b9eff 60%, #62d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.3rem;
  max-width: 52ch;
  color: #bcc7df;
  font-size: 1.02rem;
}

.trust-row {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
  backdrop-filter: blur(4px);
}

.trust-row__item { min-width: 0; }
.trust-row__val {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.1;
}

.trust-row__stars {
  display: inline-flex;
  gap: 1px;
  color: #ffc452;
  margin-top: 2px;
}

.trust-row__lbl {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.trust-row__divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__perks svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ───────── BTN PRIMARY ───────── */

.btn-primary {
  --gradA: #2fb9ff;
  --gradB: #0f86ff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.88rem 1.1rem 0.88rem 0.95rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  border-radius: 15px;
  background: linear-gradient(180deg, var(--gradA), var(--gradB));
  box-shadow:
    0 14px 32px rgba(15, 134, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: 0.2s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(15, 134, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover::before { transform: translateX(120%); }

.btn-primary__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-primary__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-primary__sub {
  font-size: 0.7rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.btn-primary__title {
  font-size: 1rem;
  font-weight: 800;
}

.btn-primary__arrow {
  margin-left: 0.3rem;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s;
}

.btn-primary:hover .btn-primary__arrow {
  transform: translateX(3px);
}

.btn-primary--lg {
  padding: 1rem 1.3rem 1rem 1.1rem;
}

.btn-primary--lg .btn-primary__icon { width: 44px; height: 44px; }
.btn-primary--lg .btn-primary__title { font-size: 1.1rem; }

/* ───────── HERO CARD (calc) ───────── */

.hero__visual {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(42, 170, 255, 0.18), transparent 70%),
    linear-gradient(165deg, rgba(20, 40, 75, 0.94), rgba(8, 15, 28, 0.96));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  padding: 1.15rem;
}

.calc { width: 100%; }
.calc--hero { min-height: 560px; }

.calc__head { padding: 0.2rem 0.1rem 0.9rem; }

.calc__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.015em;
}

.calc__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.calc__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #021822;
  background: linear-gradient(180deg, #7fe0ff, #1cb2ff);
  box-shadow: 0 8px 18px rgba(28, 178, 255, 0.3);
}

.calc__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.field {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 0.95rem 1rem;
}

.field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.field__value {
  color: var(--txt);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.field input[type="range"] {
  --pct: 50%;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 24px;
  cursor: pointer;
}

.field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #1aa9ff 0%,
    #1aa9ff var(--pct),
    rgba(255, 255, 255, 0.12) var(--pct),
    rgba(255, 255, 255, 0.12) 100%
  );
}

.field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.field input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #1aa9ff;
}

.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1aa9ff;
  box-shadow: 0 4px 14px rgba(26, 169, 255, 0.5);
  margin-top: -8px;
  cursor: grab;
  transition: 0.15s;
}

.field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1aa9ff;
  box-shadow: 0 4px 14px rgba(26, 169, 255, 0.5);
  cursor: grab;
}

.field input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }

.field__limits {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.calc__result {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 169, 255, 0.08), rgba(8, 18, 36, 0.95));
  padding: 1rem;
}

.calc__kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.calc__kv:last-of-type { border-bottom: 0; margin-bottom: 0.45rem; }

.calc__kv strong {
  white-space: nowrap;
  font-weight: 800;
  font-size: 1rem;
  color: var(--txt);
}

.calc__kv--muted { color: var(--muted); }
.calc__kv--muted strong { color: var(--muted); font-weight: 700; }

.cta-main {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: #05142a;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(180deg, #ffe27a, #f5b83f);
  box-shadow: 0 14px 30px rgba(245, 184, 63, 0.4);
  transition: 0.2s ease;
  margin-top: 0.4rem;
}

.cta-main:hover { transform: translateY(-2px); }

.calc__disclaimer {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

/* ───────── SECTIONS ───────── */

.section-head {
  text-align: center;
  margin-bottom: 1.3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.features { margin-top: 2.5rem; }

.features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.features__grid li {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
  transition: 0.2s;
}

.features__grid li:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.features__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}

.features__icon--yellow {
  color: #482600;
  background: linear-gradient(180deg, #ffdd80, #f5b63c);
}

.features__icon--green {
  color: #053920;
  background: linear-gradient(180deg, #72e8b5, #22c37a);
}

.features__icon--blue {
  color: #031f33;
  background: linear-gradient(180deg, #6bd1ff, #1fa6ff);
}

.features__grid h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.features__grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.steps { margin-top: 2.8rem; }

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 760px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); }
}

.steps__list li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.2rem 1.2rem;
  background:
    radial-gradient(300px 140px at 100% 0%, rgba(26, 169, 255, 0.12), transparent 70%),
    rgba(16, 26, 48, 0.7);
  overflow: hidden;
}

.steps__num {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(90, 208, 255, 0.25), rgba(15, 134, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(26, 169, 255, 0.22), rgba(26, 169, 255, 0.06));
  border: 1px solid rgba(26, 169, 255, 0.35);
  color: var(--blue-3);
  margin-bottom: 0.85rem;
}

.steps__list h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.steps__list p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ───────── REVIEWS ───────── */

.reviews { margin-top: 2.8rem; }

.reviews__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

.review {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 26, 48, 0.7);
  padding: 1.1rem;
}

.review__stars {
  display: inline-flex;
  gap: 2px;
  color: #ffc452;
  margin-bottom: 0.55rem;
}

.review p { margin: 0 0 0.9rem; font-size: 0.95rem; }

.review__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c, #1aa9ff);
  color: #03131f;
  font-weight: 800;
}

.review__author b { display: block; font-size: 0.9rem; }
.review__author small { color: var(--muted); font-size: 0.78rem; }

/* ───────── FAQ ───────── */

.faq { margin-top: 2.8rem; }

.faq__list {
  display: grid;
  gap: 0.55rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 26, 48, 0.6);
  transition: 0.2s;
}

.faq__item[open] { border-color: var(--line-strong); }

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  flex-shrink: 0;
  color: var(--blue-3);
  transition: transform 0.25s;
}

.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ───────── FINAL CTA ───────── */

.final-cta {
  margin-top: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 2.4rem 1.4rem 2rem;
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(26, 169, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(16, 26, 48, 0.95), rgba(8, 14, 28, 0.95));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.final-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #04202f;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe07d, #f6b73a);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(246, 183, 58, 0.3);
}

.final-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.final-cta p {
  color: var(--muted);
  margin: 0 auto 1.4rem;
  max-width: 46ch;
}

.final-cta .btn-primary { margin: 0 auto; }

.final-cta__sub {
  margin-top: 0.95rem !important;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ───────── FOOTER ───────── */

.footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1.6rem;
}

.footer p {
  margin: 0;
  font-size: 0.78rem;
  color: #7a8aa5;
  max-width: 56rem;
  margin-inline: auto;
}

/* ───────── MOBILE ───────── */

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .header__actions { width: 100%; justify-content: space-between; }

  .trust-row { gap: 0.7rem; padding: 0.55rem 0.8rem; }
  .trust-row__divider { height: 28px; }

  .btn-primary { width: 100%; justify-content: flex-start; }

  .hero__visual { padding: 0.95rem; }
}
