:root {
  --bg: #090B10;
  --card: #121622;
  --text: #e6e8ef;
  --muted: #9aa1b2;
  --accent: #38BDF8;
  --accent-2: #0ea5e9;
  --border: #1F263A;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 0 0 48px;
}

#logo-container {
  width: 100%;
  margin-left: 0;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.header-left .logo {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.header-left .logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
}

.hero-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.header-right {
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher.compact {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--accent-2);
  background: rgba(91, 124, 250, 0.15);
}

.lang-switcher.compact .lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-switcher.compact .lang-btn:hover {
  color: var(--text);
}

.lang-switcher.compact .lang-btn.active {
  color: var(--accent);
  background: rgba(56, 189, 248, 0.2);
}

.lang-divider {
  color: var(--border);
  font-size: 12px;
}

.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #fb7185;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.donate-link:hover {
  background: rgba(244, 63, 95, 0.2);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fda4af;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.login-link:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.features-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.features-grid > .card,
.features-grid > .feature-wide,
.features-grid > .feature-country {
  position: relative;
  z-index: 1;
}
.feature-wide {
  background: linear-gradient(90deg, var(--card), #1a1f2e);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.feature-country {
  background: linear-gradient(135deg, var(--card), #1a1f2e);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-country::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.country-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.country-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(91, 124, 250, 0.12);
  border: 1px solid rgba(91, 124, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.country-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-country h3 {
  margin: 0;
  font-size: 1.4rem;
}

.country-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.country-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.country-featured-card {
  position: relative;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  overflow: hidden;
}

.country-featured-card:hover {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.country-featured-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.country-flag {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.country-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  flex-shrink: 0;
}

.country-featured-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.country-featured-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.country-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.country-more-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.country-more-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  transition: all 0.2s ease;
}

.country-chip:hover {
  background: rgba(91, 124, 250, 0.1);
  border-color: rgba(91, 124, 250, 0.3);
}

@media (max-width: 768px) {
  .country-featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .country-featured-card {
    padding: 14px;
  }

  .country-featured-name {
    font-size: 15px;
  }

  .country-featured-desc {
    font-size: 11px;
  }
}
.tech-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0f18;
  border: 1px solid rgba(91, 124, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon.fill {
  padding: 0;
}

.feature-icon.fill img {
  object-fit: cover;
}

.feature h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feature-wide h3 {
  margin: 0;
  font-size: 1.4rem;
}

.tech-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.tech-card:hover {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.tech-card.recommended {
  background: rgba(91, 124, 250, 0.08);
  border-color: rgba(91, 124, 250, 0.3);
}

.tech-card.recommended:hover {
  border-color: rgba(91, 124, 250, 0.5);
}

.tech-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tech-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.tech-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.tech-badge.blue {
  background: rgba(91, 124, 250, 0.15);
  color: var(--accent);
}

.tech-badge.green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

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

.logo-with-lang {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
  padding-bottom: 0;
}

.trial-section {
  margin: 60px 0 100px;
}
.trial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(91, 124, 250, 0.1), rgba(34, 211, 238, 0.05)),
    rgba(18, 22, 33, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(91, 124, 250, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trial-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 124, 250, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.trial-info,
.trial-form {
  position: relative;
  z-index: 1;
}

.trial-steps {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(10px);
}

.trial-container.in-view .step {
  animation: step-appear 0.6s ease-out forwards;
}

.trial-container.in-view .step:nth-child(1) {
  animation-delay: 0.1s;
}

.trial-container.in-view .step:nth-child(2) {
  animation-delay: 0.25s;
}

.trial-container.in-view .step:nth-child(3) {
  animation-delay: 0.4s;
}

.step span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060a;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.trial-container.in-view .step span {
  animation: step-pulse 2.5s ease-in-out infinite;
}

@keyframes step-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes step-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(91, 124, 250, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(91, 124, 250, 0);
  }
}

.trial-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trial-form input {
  transition: all 0.2s ease;
}

.trial-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.2);
  outline: none;
}

.trial-extra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-end;
}

.trial-extra-actions .btn.ghost {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
}

.trial-extra-actions a {
  text-decoration: none;
  display: inline-flex;
}

.no-wrap {
  white-space: nowrap;
}
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
}

.cta-group .btn.try {
  max-width: 280px;
}

.cta-group a {
  text-decoration: none;
  display: inline-flex;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-actions {
  gap: 10px;
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0 30px;
  }

  .logo-with-lang {
    gap: 12px;
  }

  .header-right {
    gap: 10px;
  }

  .donate-link {
    padding: 3px 6px;
    font-size: 11px;
  }

  .lang-btn {
    padding: 3px 6px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 20px 0 40px;
    gap: 30px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cta-group {
    align-items: center;
    width: 100%;
    margin-top: 20px;
    gap: 12px;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .cta-row .btn,
  .cta-group .btn,
  .trial-extra-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-image-wrapper {
    margin: 0 auto;
    max-width: 100%;
  }

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

  .feature-country {
    grid-column: auto;
  }

  .feature-wide {
    grid-column: auto;
  }

  .trial-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
  }

  .trial-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .trial-section {
    margin: 40px 0 60px;
  }

  .hero-watermark {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  .card {
    padding: 16px;
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title {
  font-size: clamp(24px, 8vw, 42px);
  line-height: 1.1;
  margin-bottom: 0px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow:
    0 0 8px rgba(91, 124, 250, 0.35),
    0 0 18px rgba(34, 211, 238, 0.15);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 30px;
  margin-top: 0px;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(
      1200px 600px at 70% -10%,
      rgba(91, 124, 250, 0.15),
      transparent
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.landing-page {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
.text-link {
  text-decoration: underline;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.right {
  text-align: right;
}
.right-pos {
  width: fit-content;
  margin-left: auto;
}
.center {
  text-align: center;
}
/* ================= HEADER ================= */
.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  flex-direction: column;
}
#logo-container img {
  box-shadow:
    0 0 10px rgba(0, 150, 255, 0.4),
    0 0 20px rgba(0, 100, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.logo img {
  width: 50px;
  height: 34px;
  border-radius: 12%;
  object-fit: contain;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(91, 124, 250, 0.2);
  transition: box-shadow 0.3s ease;
}
.logo img:hover {
  filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.8));
  transform: scale(1.05);
}
.logo:hover img {
  /* Усиливаем свечение квадрата */
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
}
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}
.logo:hover {
  transform: scale(1.01);
  /* Увеличиваем всё вместе */
}
.logo:hover a {
  color: #fff;
  /* Добавляем неоновое свечение буквам */
  text-shadow:
    0 0 8px rgba(91, 124, 250, 0.8),
    0 0 15px rgba(34, 211, 238, 0.4);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
  margin-bottom: 100px;
}
/* Базовая карточка тарифа */
.price-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.price-card .cost {
  font-size: 32px;
  font-weight: 800;
  margin: 15px 0;
  color: var(--text);
}
/* Стили для кнопок внутри карточек */
.price-card .btn {
  width: 100%;
  margin-top: 20px;
}
.price-card:hover {
  background: rgba(91, 124, 250, 0.05);
  border-color: var(--accent);
  transform: translateY(-5px);
}
.price-card.best-value {
  border: 1px solid #1d4ed8;
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.3);
  position: relative;
  overflow: hidden;
}
.price-card .period {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-card .cost {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.price-card .subtext {
  font-size: 13px;
  color: var(--accent-2);
}
.badge-save {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-2);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-bottom-left-radius: 10px;
}
.badge {
  display: inline-flex;
  margin-bottom: 0px;
  /* Только под размер текста */
  align-items: center;
  padding: 4px 10px;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
.tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: pulse-blue 2s infinite;
}
@keyframes pulse-blue {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 8px #60a5fa;
  }
  100% {
    opacity: 0.7;
  }
}
.label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: bold;
}
.label.basic {
  color: #ea868f;
}
.label.pro {
  color: #60a5fa;
}
.label.average {
  color: #28a745;
}
/* ================= COMPARISON CARDS ================= */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.comparison .card {
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.comparison ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comparison li {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card.shared {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
}
.card.shared h4 {
  color: var(--muted);
}
.card.personal.highlight {
  background:
    linear-gradient(180deg, rgba(91, 124, 250, 0.1), transparent), var(--card);
  border: 1px solid var(--accent);
  box-shadow: 0 0 30px rgba(91, 124, 250, 0.15);
  position: relative;
  transform: scale(1.02);
}
.card.personal.highlight h4 {
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}
.card.personal.highlight li {
  color: var(--text);
  font-weight: 500;
}
@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
  .card.personal.highlight {
    transform: scale(1);
  }
}
/* ================= HERO ================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}
.hero h1 {
  font-size: clamp(24px, 8vw, 42px);
  line-height: 1.1;
  margin: 0 0 20px;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-image-wrapper {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(91, 124, 250, 0.12),
    0 0 120px rgba(34, 211, 238, 0.06);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    125deg,
    transparent 42%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 58%
  );
  transform: rotate(20deg);
  animation: image-shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes image-shine {
  0% {
    transform: translateX(-40%) rotate(20deg);
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: translateX(40%) rotate(20deg);
    opacity: 0;
  }
}

/* ================= BUTTONS ================= */
.cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 0;
}
.cta p {
  margin: 0;
}
button {
  font-family: inherit;
}
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  filter: brightness(1.1);
  color: #05060a;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.btn.activate {
  margin-top: 20px;
  margin-bottom: 10px;
}
.btn.try {
  background: var(--accent);
  color: #05060a;
  filter: none;
  font-size: 16px;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
}

.btn.try:hover {
  opacity: 1;
  background: var(--accent-2);
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn.ghost:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(91, 124, 250, 0.08);
  opacity: 1;
}
.btn.pay {
  margin-top: 10px;
  font-size: 16px;
  padding: 16px 22px;
  font-weight: 700;
}
.btn:hover {
  opacity: 0.9;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.donate {
  margin-top: 10px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #05060a;
  padding: 16px 22px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  line-height: 1;
}

/* ================= CARDS ================= */
.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 124, 250, 0.5);
}
.activateCard {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 20px, 40px;
  font-weight: 500;
  margin-top: 55px;
}
/* ================= PLANS ================= */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}
/* ================= BUY PANEL ================= */
.buy-panel {
  display: none;
  margin-top: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.buy-panel.open {
  display: block;
}
.plan .btn {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060a;
  font-size: 18px;
  font-weight: 800;
  padding: 16px;
  border-radius: 14px;
  box-shadow:
    0 0 0 rgba(91, 124, 250, 0),
    0 10px 30px rgba(91, 124, 250, 0.25);
  transition: all 0.2s ease;
}
.plan .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(91, 124, 250, 0.6),
    0 12px 40px rgba(34, 211, 238, 0.35);
  filter: brightness(1.05);
}
/* ================= FEATURES ================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card), #1a1f2e);
  border: 1px solid var(--accent);
}
.feature h3 {
  margin-top: 20;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
}
.accent {
  color: aliceblue;
  font-size: 18px;
}
/* ================= TRIAL ================= */
.trial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 100px;
}
.trialCard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 500;
  margin-top: 55px;
}
.trial form {
  display: grid;
  gap: 16px;
}
.hero form {
  display: grid;
  gap: 16px;
}
input {
  background: #0f1320;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.message {
  font-size: 14px;
  color: var(--accent-2);
}
/* ================= SERVICES ================= */
.badge.services {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 12px;
  max-width: 400px;
}
.services {
  margin-top: 10px;
  padding: 12px 25px;
  border-radius: 16px;
}
.services-title {
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 6px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service,
.service-black {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  padding: 2px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.service img,
.service-black img {
  width: 16px;
  height: 16px;
}
.service-black img {
  filter: invert(1) brightness(1.2);
}
.service:hover {
  color: var(--text);
  transform: translateX(2px);
}
.service-black:hover {
  color: var(--text);
  transform: translateX(2px);
}
/* ================= FOOTER ================= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}

footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text);
}

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

.footer-left,
.footer-center,
.footer-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-left {
  font-weight: 500;
  color: var(--text);
}

.footer-center {
  justify-content: center;
}

.footer-right {
  color: #34d399;
  gap: 8px;
}

.footer-right .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.85;
  }
}
.small {
  font-size: 13px;
  color: #94a3b8;
}
.average {
  font-size: 15px;
  color: var(--text);
}
.card.feature.big {
  grid-column: span 2;
}
.big {
  grid-row: span 2;
}
.responsive-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 12px;
}
.benefits-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  justify-content: space-around;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-2);
}
.final-cta {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.final-cta p {
  margin-bottom: 20px;
  color: var(--muted);
}
.btn.pulse {
  display: inline-block;
  animation: shadow-pulse 2s infinite;
}
@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 124, 250, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(91, 124, 250, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 124, 250, 0);
  }
}
.comparison-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.status-message {
  margin-top: 15px;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 1.4em;
  text-align: center;
}
.status-message:not(:empty) {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
}
.status-message.success {
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid #28a745;
  color: #71d388;
}
.status-message.error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid #dc3545;
  color: #ea868f;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .features,
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= RTL (Farsi) ================= */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .container,
[dir="rtl"] .hero-content,
[dir="rtl"] .feature-list,
[dir="rtl"] .modal-content,
[dir="rtl"] .form-group,
[dir="rtl"] .price-card,
[dir="rtl"] .renew-option-card,
[dir="rtl"] .subscription-info,
[dir="rtl"] .traffic-info,
[dir="rtl"] .instruction-step {
  text-align: right;
}

[dir="rtl"] header {
  flex-direction: row-reverse;
}

[dir="rtl"] .logo-with-lang {
  flex-direction: row-reverse;
}

[dir="rtl"] .header-left {
  align-items: flex-end;
}

[dir="rtl"] .hero-watermark {
  text-align: center;
}

[dir="rtl"] .header-right {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero {
  flex-direction: row-reverse;
}

[dir="rtl"] .cta-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .country-header,
[dir="rtl"] .country-featured-top,
[dir="rtl"] .country-more-list {
  flex-direction: row-reverse;
}

[dir="rtl"] .feature-list li {
  flex-direction: row-reverse;
}

[dir="rtl"] .feature-list li::before {
  margin-left: 0;
  margin-right: -4px;
}

[dir="rtl"] .pay-benefit-card,
[dir="rtl"] .renew-option-card {
  flex-direction: row-reverse;
}

[dir="rtl"] .modal-content .form-group label,
[dir="rtl"] .modal-content .form-group input {
  text-align: right;
}

[dir="rtl"] .promo-input-wrapper,
[dir="rtl"] .renew-promo-inline {
  flex-direction: row-reverse;
}

[dir="rtl"] .promo-input-wrapper input,
[dir="rtl"] .renew-promo-inline input {
  text-align: right;
}

[dir="rtl"] footer div:last-child {
  text-align: right;
}

[dir="rtl"] .lang-switcher {
  flex-direction: row-reverse;
}

[dir="rtl"] .instruction-step {
  flex-direction: row-reverse;
}

[dir="rtl"] .qr-block {
  text-align: right;
}

[dir="rtl"] .client-option {
  flex-direction: row-reverse;
}

[dir="rtl"] .client-option .client-icon {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .subscription-status,
[dir="rtl"] .traffic-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .toast {
  direction: rtl;
  text-align: right;
}

/* ================= LANDING PAGE REDESIGN ================= */
.landing-page .container {
  max-width: 1320px;
  padding: 48px 24px 24px;
}

.landing-page .hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  gap: 24px;
  padding: 20px 0 24px;
}

.landing-page .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.landing-page .hero-empty {
  min-height: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}

.landing-page .hero-empty img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-page .hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--accent);
  text-shadow:
    0 0 20px rgba(56, 189, 248, 0.5),
    0 0 40px rgba(56, 189, 248, 0.2);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.landing-page .hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 440px;
}

.landing-page .hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.landing-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.landing-page .cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.landing-page .cta-group .btn.try {
  max-width: 280px;
}

.landing-page .btn.try {
  background: var(--accent);
  color: #05060a;
  font-size: 16px;
  padding: 15px 28px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
  transition: all 0.2s ease;
  filter: none;
}

.landing-page .btn.try:hover {
  background: var(--accent-2);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.landing-page .btn.ghost {
  background: var(--card);
  color: #fff;
  border: 1px solid var(--border);
  padding: 15px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.landing-page .btn.ghost:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
}

.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.landing-page .feature-mini {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 180px;
}

.landing-page .feature-mini .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 8px;
  flex-shrink: 0;
}

.landing-page .feature-mini .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-page .feature-mini h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.landing-page .feature-mini p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.landing-page .trial-section {
  margin: 24px 0 80px;
}

.landing-page .trial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.landing-page .trial-info h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.landing-page .trial-info > p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.5;
}

.landing-page .trial-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.landing-page .trial-steps .active {
  color: var(--accent);
  font-weight: 600;
}

.landing-page .trial-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-page .trial-form input {
  background: #0f1320;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  width: 100%;
}

.landing-page .trial-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  outline: none;
}

.landing-page .trial-form .btn.try {
  width: 100%;
}

.landing-page .trial-extra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  justify-content: flex-end;
}

.landing-page .trial-extra-actions .btn.ghost {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
}

.landing-page footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13px;
}

.landing-page footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.landing-page footer a:hover {
  color: var(--text);
}

.landing-page .footer-left {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.landing-page .footer-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  text-align: center;
}

.landing-page .footer-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  white-space: nowrap;
}

.landing-page .status-badge {
  display: inline-flex !important;
}

@media (max-width: 900px) {
  .landing-page .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .landing-page .hero-empty {
    display: none;
  }

  .landing-page .hero-content {
    align-items: center;
    padding: 32px;
  }

  .landing-page .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-page .cta-row {
    justify-content: center;
    width: 100%;
  }

  .landing-page .cta-group {
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }

  .landing-page .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-page .trial-container {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
    text-align: center;
  }

  .landing-page .trial-steps {
    justify-content: center;
  }

  .landing-page footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .landing-page .container {
    padding: 24px 16px 16px;
  }

  .landing-page .hero {
    padding: 16px 0 24px;
  }

  .landing-page .hero-content {
    padding: 20px;
    min-height: 280px;
    align-items: flex-start;
    text-align: left;
  }

  .landing-page .hero-title {
    font-size: clamp(26px, 9vw, 36px);
    text-align: left;
  }

  .landing-page .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
    width: 100%;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .landing-page .cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .landing-page .cta-row .btn,
  .landing-page .cta-group .btn.try,
  .landing-page .trial-form .btn,
  .landing-page .trial-extra-actions .btn {
    width: 100%;
    text-align: center;
  }

  .landing-page .cta-group {
    align-items: stretch;
    width: 100%;
  }

  .landing-page .cta-group .btn.try {
    max-width: none;
  }

  .landing-page .feature-mini {
    padding: 20px;
    min-width: 0;
  }

  .landing-page .feature-mini > div {
    width: 100%;
    min-width: 0;
  }

  .landing-page .feature-mini h3 {
    font-size: 17px;
    width: 100%;
    word-break: break-word;
  }

  .landing-page .feature-mini p {
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    font-size: 13px;
  }

  .landing-page .trial-container {
    padding: 20px;
    text-align: left;
  }

  .landing-page .trial-info {
    text-align: left;
  }

  .landing-page .trial-info > p {
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }

  .landing-page .trial-steps {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .landing-page .trial-extra-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
  }

  .landing-page .trial-extra-actions a {
    width: 100%;
  }

  .landing-page .trial-section {
    margin: 40px 0 60px;
  }

  .logo-with-lang {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  footer {
    font-size: 12px;
    gap: 8px 12px;
  }

  footer > div:nth-child(2) {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
  }

  footer .footer-divider {
    display: inline;
  }
}

@media (max-width: 480px) {
  .landing-page .hero-title {
    font-size: clamp(28px, 11vw, 42px);
  }

  .donate-link {
    padding: 8px 12px;
    font-size: 11px;
  }

  .lang-switcher.compact .lang-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* ================= SUBSCRIPTION PAGE ================= */
.subscription-page .subscription-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.subscription-page .subscription-section {
  margin-bottom: 24px;
}

.subscription-page .subscription-section > h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.subscription-page .subscription-hero {
  margin-bottom: 24px;
}

.subscription-page .subscription-hero .hero-title {
  margin-bottom: 12px;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  text-shadow:
    0 0 8px rgba(91, 124, 250, 0.35),
    0 0 18px rgba(34, 211, 238, 0.15);
}

.subscription-page .subscription-hero .hero-subtitle {
  max-width: none;
  margin-bottom: 20px;
}

.subscription-page .subscription-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.subscription-page .subscription-meta .small-id {
  margin: 0;
}

.subscription-page .hero-stats,
.subscription-page .traffic-widget-compact,
.subscription-page .quick-start-card,
.subscription-page .subscription-link-card,
.subscription-page .ref-code,
.subscription-page .renew-section,
.subscription-page .subscription-benefits {
  margin-top: 0;
  margin-bottom: 0;
}

.subscription-page .ref-code {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.subscription-page .ref-code h2 {
  margin-top: 0;
}

.subscription-page .subscription-notices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscription-page .subscription-notices .info-tooltip {
  margin-bottom: 0;
}

.subscription-page .ref-stats {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.subscription-page .subscription-picker {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.subscription-page .subscription-picker > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.subscription-page .subscription-picker > summary::-webkit-details-marker {
  display: none;
}

.subscription-page .subscription-picker-header {
  flex: 1;
}

.subscription-page .subscription-picker-header h3 {
  margin: 0 0 8px;
}

.subscription-page .subscription-picker-header .section-subtitle {
  margin: 0;
}

.subscription-page .subscription-picker-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.subscription-page .subscription-picker-chevron::before {
  content: "▼";
  font-size: 12px;
  color: var(--muted);
}

.subscription-page .subscription-section.subscription-picker {
  margin-bottom: 0;
}

.subscription-page .subscription-picker .steps-flow {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  justify-content: center;
}

.subscription-page .subscription-picker .setup-help-card {
  margin-top: auto;
}

.subscription-page .subscription-picker[open] .subscription-picker-chevron {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .subscription-page .subscription-row {
    grid-template-columns: 1fr;
  }
}
