:root {
  --bg: #05070b;
  --bg-soft: #080c13;
  --surface: #0a0f18;
  --surface-2: #0d1420;
  --border: rgba(93, 137, 204, .16);
  --border-strong: rgba(45, 119, 255, .38);

  --blue: #2477ff;
  --blue-light: #55a2ff;
  --blue-soft: rgba(36, 119, 255, .12);

  --text: #f5f8ff;
  --muted: #8994a7;
  --muted-2: #667184;

  --radius: 24px;
  --radius-small: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(25, 76, 160, .16), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
  opacity: .14;
  z-index: -1;
}

.ambient-one {
  width: 420px;
  height: 420px;
  background: #176dff;
  top: 10%;
  left: -250px;
}

.ambient-two {
  width: 380px;
  height: 380px;
  background: #1453b8;
  right: -250px;
  top: 55%;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 30px;
  height: 25px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 3px;
}

.brand-mark i {
  display: block;
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  box-shadow: 0 0 16px rgba(36, 119, 255, .25);
}

.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 25px; }

.brand-dach {
  color: var(--blue-light);
  font-size: 19px;
}

.brand-trading {
  color: #fff;
  font-size: 19px;
}

.nav-login {
  height: 42px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dce7f9;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.025);
  transition: .25s ease;
}

.nav-login:hover {
  border-color: var(--border-strong);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.hero {
  min-height: 700px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 135px 0 110px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--blue-light);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 9px 13px;
  border: 1px solid rgba(36,119,255,.18);
  background: rgba(36,119,255,.055);
  border-radius: 999px;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(55px, 7.4vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 850;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-copy {
  max-width: 610px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.primary-btn {
  min-height: 55px;
  margin-top: 34px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1767ef, #2a83ff);
  box-shadow: 0 12px 35px rgba(25,105,245,.20);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(25,105,245,.30);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  gap: 25px;
  color: var(--muted-2);
  font-size: 11px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section h2 {
  margin-top: 15px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.section h2 span {
  color: var(--blue);
}

.section-copy {
  max-width: 580px;
  margin-top: 23px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.steps {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps article {
  min-height: 220px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent),
    var(--surface);
  transition: .3s ease;
}

.steps article:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.step-number {
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 9px;
}

.steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.plan-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 29px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 40%),
    var(--surface);
  transition: .3s ease;
}

.plan-card:hover,
.plan-card.chosen {
  transform: translateY(-5px);
  border-color: rgba(36,119,255,.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.plan-card.featured {
  border-color: rgba(36,119,255,.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(36,119,255,.14), transparent 35%),
    var(--surface);
}

.recommended {
  position: absolute;
  top: -13px;
  left: 24px;
  right: 24px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 9px;
  letter-spacing: .1em;
  font-weight: 900;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.plan-name {
  color: #dfe8f7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.plan-tag {
  padding: 7px 9px;
  border: 1px solid rgba(36,119,255,.2);
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(36,119,255,.07);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

.price {
  margin-top: 31px;
}

.price strong {
  display: block;
  font-size: 45px;
  letter-spacing: -.055em;
}

.price span,
.effective {
  color: var(--muted);
  font-size: 12px;
}

.effective {
  margin-top: 6px;
  color: var(--blue-light);
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: var(--border);
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.plan-card li {
  color: #aab4c5;
  font-size: 13px;
}

.plan-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--blue-light);
  font-weight: 900;
}

.select-plan {
  width: 100%;
  min-height: 52px;
  margin-top: 31px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.select-plan:hover {
  border-color: var(--border-strong);
  background: var(--blue-soft);
}

.select-plan.primary {
  border-color: transparent;
  background: var(--blue);
}

.renewal-note {
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

.connection-card {
  min-height: 330px;
  padding: 50px;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 60px;
  background:
    radial-gradient(circle at 85% 50%, rgba(36,119,255,.12), transparent 32%),
    var(--surface);
}

.connection-card h2 {
  font-size: clamp(37px, 4vw, 54px);
}

.connection-card p {
  max-width: 600px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.telegram-preview {
  min-height: 110px;
  padding: 22px;
  border: 1px solid rgba(36,119,255,.22);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(4,9,17,.75);
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.tg-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--blue);
  font-size: 20px;
}

.telegram-preview small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.telegram-preview strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.verified {
  margin-left: auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-light);
}

.checkout-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 55px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(36,119,255,.13), transparent 35%),
    var(--surface);
}

.checkout-box h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.checkout-box > p {
  margin: 20px auto 0;
  color: var(--muted);
}

.selected-plan {
  max-width: 480px;
  margin: 30px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border: 1px solid rgba(36,119,255,.24);
  border-radius: 15px;
  background: rgba(36,119,255,.06);
}

.selected-plan small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .12em;
}

.selected-plan > strong {
  color: var(--blue-light);
  font-size: 20px;
}

.hidden {
  display: none;
}

.disabled {
  opacity: .35;
  pointer-events: none;
}

.safe-mode {
  max-width: 480px;
  margin: 25px auto 0;
  padding: 16px;
  display: flex;
  gap: 13px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.lock {
  color: var(--blue-light);
}

.safe-mode strong {
  display: block;
  color: #a9caff;
  font-size: 9px;
  letter-spacing: .1em;
}

.safe-mode p {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
}

.faq {
  max-width: 900px;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq details:first-of-type {
  margin-top: 45px;
  border-top: 1px solid var(--border);
}

.faq summary {
  padding: 24px 3px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue-light);
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 700px;
  padding: 0 3px 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 45px 0 35px;
  border-top: 1px solid var(--border);
}

footer > p {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.65;
}

.footer-bottom {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  color: #4f5968;
  font-size: 10px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .connection-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    width: calc(100% - 30px);
    height: 76px;
  }

  .brand-dach,
  .brand-trading {
    font-size: 16px;
  }

  .brand-mark {
    transform: scale(.85);
    transform-origin: left center;
    margin-right: -1px;
  }

  .nav-login {
    height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    width: calc(100% - 30px);
    min-height: 650px;
    padding: 120px 0 85px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .hero-copy {
    max-width: 350px;
    font-size: 14px;
  }

  .trust-row {
    max-width: 330px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .section {
    width: calc(100% - 30px);
    padding: 80px 0;
  }

  .section h2 {
    font-size: 43px;
  }

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

  .steps article {
    min-height: 175px;
  }

  .step-number {
    margin-bottom: 35px;
  }

  .plan-grid {
    gap: 25px;
  }

  .plan-card {
    padding: 25px 21px;
  }

  .price strong {
    font-size: 42px;
  }

  .connection-card {
    padding: 30px 22px;
    gap: 35px;
    border-radius: 23px;
  }

  .connection-card h2 {
    font-size: 38px;
  }

  .telegram-preview {
    padding: 17px;
  }

  .checkout-box {
    padding: 37px 20px;
    border-radius: 23px;
  }

  .selected-plan {
    padding: 15px;
  }

  footer {
    width: calc(100% - 30px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .section {
    animation: reveal .65s ease both;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

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