/* Mia Premium page */
.premium-page {
  --prem-gold: #fde047;
  --prem-gold-dim: rgba(253, 224, 71, 0.14);
  --prem-accent: #00bfff;
  --prem-border: #2a2d3a;
  --prem-card: #1a1c24;
  --prem-muted: #a3a3a3;
}

.premium-hero {
  position: relative;
  overflow: hidden;
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  border-radius: 1.25rem;
  border: 1px solid var(--prem-border);
  background:
    radial-gradient(
      ellipse 80% 60% at 50% -20%,
      rgba(253, 224, 71, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 100% 100%,
      rgba(234, 179, 8, 0.08),
      transparent 50%
    ),
    var(--prem-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.premium-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prem-gold);
  margin-bottom: 0.75rem;
}

.premium-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  color: var(--prem-gold);
}

.premium-hero-lead {
  color: var(--prem-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

.premium-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.premium-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--prem-border);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.76rem;
  color: var(--prem-muted);
}

.premium-hero-stat strong {
  color: var(--prem-gold);
}

.premium-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 42rem;
  margin: 0 auto 3.25rem;
  padding: 0 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--prem-border);
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d4;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  scroll-margin-top: 6rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.premium-jump a:hover {
  color: var(--prem-gold);
  border-color: rgba(253, 224, 71, 0.35);
  background: var(--prem-gold-dim);
}

.premium-share-banner {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 62rem;
  margin: 0 auto 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background:
    radial-gradient(
      ellipse 70% 80% at 0% 50%,
      rgba(251, 191, 36, 0.12),
      transparent 60%
    ),
    rgba(26, 28, 36, 0.85);
}

.premium-share-banner__visual {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.premium-share-banner__img {
  display: block;
  object-fit: contain;
  border-radius: 0.65rem;
}

.premium-share-banner__img--mia {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(0, 0, 0, 0.35);
}

.premium-share-banner__img--launcher {
  width: 7.5rem;
  height: auto;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.premium-share-banner__link-icon {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}

.premium-share-banner__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 0.35rem;
}

.premium-share-banner__text {
  color: #d4d4d8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.premium-share-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
}

.premium-share-banner__link:hover {
  text-decoration: underline;
}

.premium-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
  scroll-margin-top: 6rem;
}

.premium-section-head#planes {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}

.premium-section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--prem-gold);
  margin-bottom: 0.4rem;
}

.premium-section-head p {
  color: var(--prem-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.premium-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 1rem 2rem;
  max-width: 62rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .premium-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
  }
}

.premium-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--prem-border);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 0, 0, 0.35)
  );
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (min-width: 768px) {
  .premium-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

.premium-plan-card h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.premium-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.premium-plan-badge--soon {
  color: #fdba74;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.premium-plan-badge--popular {
  color: #fde047;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.premium-plan-badge--free {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.premium-plan-card .plan-price {
  font-size: 1.5rem !important;
  line-height: 1.2;
  font-weight: 800;
  color: #f5f5f5;
}

.premium-plan-card--featured {
  border-color: rgba(234, 179, 8, 0.55);
  background:
    radial-gradient(
      ellipse 80% 50% at 50% 0%,
      rgba(234, 179, 8, 0.12),
      transparent 60%
    ),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.12);
}

@media (min-width: 768px) {
  .premium-plan-card--featured {
    transform: scale(1.03);
  }

  .premium-plan-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 48px rgba(234, 179, 8, 0.2);
  }
}

.premium-plan-card--featured .plan-price {
  font-size: 1.75rem !important;
}

.premium-plan-saving {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.premium-plan-features {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.premium-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #d4d4d4;
  line-height: 1.45;
}

.premium-plan-feature i {
  color: #4ade80;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.plan-cta {
  display: block;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}

.plan-cta:hover {
  transform: translateY(-1px);
}

.plan-cta--gold {
  background: linear-gradient(135deg, #fde047, #ca8a04);
  color: #111;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.25);
}

.plan-cta--muted {
  background: rgba(255, 255, 255, 0.06);
  color: #a3a3a3;
  border: 1px dashed #404040;
  cursor: not-allowed;
  pointer-events: none;
}

.premium-api-banner {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.premium-api-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 191, 255, 0.22);
  background:
    radial-gradient(
      ellipse 70% 60% at 0% 0%,
      rgba(0, 191, 255, 0.1),
      transparent 55%
    ),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.35));
}

@media (min-width: 768px) {
  .premium-api-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }
}

.premium-api-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--prem-accent);
  margin-bottom: 0.35rem;
}

.premium-api-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--prem-accent);
}

.premium-api-card p {
  color: var(--prem-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.premium-api-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.premium-api-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.22);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.premium-api-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

.premium-api-price {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f5f5f5;
}

.premium-api-price span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--prem-muted);
}

.premium-api-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #7dd3fc, #0284c7);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.premium-api-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.25);
}

.premium-api-btn--gold {
  background: linear-gradient(135deg, #fde047, #ca8a04);
  color: #111;
}

.premium-api-btn--gold:hover {
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.25);
}

.premium-keys {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
}

.premium-keys-box {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--prem-border);
  background: rgba(0, 0, 0, 0.45);
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  letter-spacing: 0.08em;
  color: var(--prem-gold);
}

.premium-compare-wrap {
  max-width: 56rem;
  margin: 0 auto 2.5rem;
  padding: 0 0.5rem;
}

.premium-compare-scroll {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--prem-border);
  background: rgba(0, 0, 0, 0.25);
  -webkit-overflow-scrolling: touch;
}

.premium-compare-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.premium-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.85rem 1rem;
  background: #1e2029;
  border-bottom: 1px solid var(--prem-border);
  font-weight: 700;
  white-space: nowrap;
}

.premium-compare-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.premium-compare-table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}

.premium-compare-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.15);
}

.premium-compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #e5e5e5;
  min-width: 12rem;
}

.premium-compare-yes {
  color: #4ade80;
  font-weight: 700;
}

.premium-compare-no {
  color: #fca5a5;
  font-weight: 700;
}

.premium-compare-neutral {
  color: #d4d4d4;
}

.premium-steps {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.premium-steps-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .premium-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.premium-step {
  padding: 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--prem-border);
  background: rgba(255, 255, 255, 0.02);
}

.premium-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--prem-gold-dim);
  color: var(--prem-gold);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.premium-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.premium-step p {
  font-size: 0.82rem;
  color: var(--prem-muted);
  line-height: 1.5;
}

.premium-payments {
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.premium-payments-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .premium-payments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-card {
  border-radius: 0.85rem;
  border: 1px solid var(--prem-border);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.03),
    rgba(0, 0, 0, 0.35)
  );
  padding: 1.1rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

@media (min-width: 1024px) {
  .payment-card:hover {
    transform: translateY(-2px);
    border-color: rgba(253, 224, 71, 0.25);
  }
}

.payment-card-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.payment-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-card-logo--revolut {
  overflow: hidden;
}

.payment-card-logo-revolut {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.premium-crypto-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .premium-crypto-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.crypto-card {
  border-radius: 0.65rem;
  border: 1px solid var(--prem-border);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color 0.2s;
}

.crypto-card:hover {
  border-color: rgba(253, 224, 71, 0.25);
}

.premium-cta {
  max-width: 40rem;
  margin: 0 auto 1rem;
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
}

.premium-cta-box {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(253, 224, 71, 0.22);
  background: var(--prem-gold-dim);
}

.premium-cta-box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--prem-gold);
  margin-bottom: 0.5rem;
}

.premium-cta-box p {
  color: var(--prem-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.premium-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #fde047, #ca8a04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.premium-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.25);
}
