:root {
  --text: #f5f5f7;
  --muted: rgba(255, 255, 255, 0.62);
  --card-border: rgba(255, 255, 255, 0.09);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --max-width: 1280px;
  --green-soft: rgba(56, 214, 107, 0.16);
  --label-bg: rgba(255, 255, 255, 0.07);
  --label-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, #0b0b0c 0%, #050505 52%, #020202 100%);
}

.page {
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  pointer-events: none;
}

.page::before {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 80px;
  background: rgba(255, 255, 255, 0.08);
}

.page::after {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 180px;
  background: rgba(255, 255, 255, 0.06);
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.top-nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.top-link {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 52px 0 88px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-shell {
  width: 122px;
  height: 122px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.logo-mark {
  width: 80px;
  height: 80px;
  display: block;
}

h1 {
  margin: 0;
  white-space: nowrap;
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.1rem, 5.3vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d7d9de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.05);
}

.pricing {
  width: 100%;
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  min-height: 470px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(40, 40, 43, 0.96), rgba(20, 20, 22, 0.96));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.card-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--label-bg);
  border: 1px solid var(--label-border);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.badge {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge-green {
  color: #b8ffd0;
  background: var(--green-soft);
  border: 1px solid rgba(56, 214, 107, 0.38);
  box-shadow: 0 0 14px rgba(56, 214, 107, 0.1);
}

.price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 44px 0 26px;
}

.old-price {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.34rem, 2.3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  min-height: 30px;
  display: inline-block;
  padding: 0 10px;
}

.old-price::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 50%;
  height: 3px;
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-50%) rotate(-8deg);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.14);
}

.price {
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(4.1rem, 8vw, 5.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-toggle {
  width: 100%;
  min-height: 54px;
  margin-bottom: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.info-label {
  display: inline-flex;
  align-items: center;
}

.arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.24s ease;
}

.pricing.info-open .arrow {
  transform: rotate(180deg);
}

.info-panel {
  display: grid;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: opacity 0.18s ease, padding 0.18s ease;
  padding: 0;
}

.pricing.info-open .info-panel {
  max-height: 340px;
  opacity: 1;
  padding: 4px 0 16px;
}

.detail {
  min-height: 68px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

.btn {
  width: 100%;
  min-height: 64px;
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  margin-top: auto;
  background: linear-gradient(180deg, #ffffff, #dfdfe2);
  color: #111214;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.06);
}

.faq-section {
  width: 100%;
  margin-top: 72px;
}

.faq-shell {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(30, 30, 33, 0.96), rgba(16, 16, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.faq-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.faq-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.faq-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  flex: none;
}

.faq-heading {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 72px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-qmark,
.faq-amark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex: none;
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.18s ease;
}

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

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.faq-item.open .faq-answer-wrap {
  max-height: 220px;
  opacity: 1;
}

.faq-answer {
  margin: 0 20px 20px 20px;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.6;
  position: relative;
}

.faq-answer .faq-amark {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-answer-text {
  width: 100%;
  padding: 0 8px 0 52px;
  text-align: center;
}

.floating-telegram {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(9, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.floating-telegram__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #36baf8, #1594dc);
  color: white;
  flex: none;
}

.floating-telegram__icon svg {
  width: 18px;
  height: 18px;
}

.floating-telegram__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2db8ff;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 740px) {
  html {
    scroll-behavior: auto;
  }

  .page::before,
  .page::after {
    display: none;
  }

  .hero {
    padding: 24px 0 88px;
  }

  .container {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .top-nav {
    justify-content: center;
    margin-bottom: 16px;
  }

  .logo-shell {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin-bottom: 14px;
  }

  .logo-mark {
    width: 62px;
    height: 62px;
  }

  h1 {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
    white-space: normal;
    line-height: 1;
    max-width: 14ch;
  }

  .pricing {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .pricing .card:last-child {
    grid-column: auto;
  }

  .card {
    min-height: auto;
    padding: 20px 16px 16px;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  }

  .card-title,
  .badge {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .card-title {
    min-height: 34px;
    padding: 8px 12px;
  }

  .badge {
    padding: 8px 12px;
  }

  .price-wrap {
    padding: 34px 0 22px;
  }

  .old-price {
    font-size: 1.22rem;
  }

  .old-price::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%) rotate(-6deg);
  }

  .price {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .period {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .info-toggle {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .detail {
    min-height: 62px;
    font-size: 0.9rem;
    padding: 12px 12px 12px 14px;
  }

  .btn {
    min-height: 56px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 14px 16px;
  }

  .faq-section {
    margin-top: 46px;
  }

  .faq-shell {
    padding: 20px 16px;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  }

  .faq-icon,
  .faq-qmark,
  .faq-amark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .faq-question {
    min-height: 60px;
    padding: 14px;
  }

  .faq-question-text {
    font-size: 0.9rem;
  }

  .faq-answer {
    margin: 0 16px 16px 16px;
    font-size: 0.88rem;
    padding: 14px;
    gap: 10px;
  }

  .faq-answer-text {
    flex: 1 1 auto;
  }

  .floating-telegram {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 50px;
    padding: 7px 10px 7px 7px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(9, 12, 20, 0.94);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  }

  .floating-telegram__icon {
    width: 36px;
    height: 36px;
  }

  .floating-telegram__title {
    font-size: 0.66rem;
  }

  .btn,
  .info-toggle,
  .arrow,
  .faq-arrow,
  .info-panel,
  .faq-answer-wrap {
    transition: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 16px), var(--max-width));
  }

  .hero {
    padding: 18px 0 92px;
  }

  h1 {
    font-size: clamp(1.25rem, 8.4vw, 1.8rem);
    max-width: 12ch;
  }

  .card {
    padding: 16px 14px 14px;
    border-radius: 22px;
  }

  .price {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .old-price::after {
    transform: translateY(-50%) rotate(-5deg);
  }

  .period {
    min-height: 36px;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .info-toggle {
    min-height: 50px;
    font-size: 0.76rem;
  }

  .detail {
    min-height: 56px;
    font-size: 0.84rem;
    line-height: 1.4;
    padding: 10px 11px 10px 12px;
  }

  .btn {
    min-height: 54px;
    font-size: 0.78rem;
  }

  .faq-shell {
    padding: 16px 12px;
    border-radius: 22px;
  }

  .faq-question {
    padding: 12px;
    gap: 10px;
  }

  .faq-question-main {
    gap: 10px;
  }

  .faq-icon,
  .faq-qmark,
  .faq-amark {
    width: 30px;
    height: 30px;
  }

  .faq-answer {
    margin: 0 12px 12px 12px;
  }

  .floating-telegram {
    right: 8px;
    left: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
