/* Pricing page — AI Offline Translator */
.pricing-hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 0.35rem;
  padding: 2.5rem 1.5rem 0;
}

.pricing-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.pricing-cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.75rem;
}

.pricing-cycle__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon-eyebrow, #c4b5fd);
}

.pricing-cycle__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-sandbox-banner {
  max-width: 960px;
  margin: 0 auto 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(252, 211, 77, 0.35);
  background: rgba(252, 211, 77, 0.1);
  color: #fde68a;
  font-size: 0.88rem;
  text-align: center;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.3rem;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pricing-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}

.pricing-toggle button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem 2rem;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.pricing-card--subscription {
  border-color: rgba(196, 181, 253, 0.45);
}

.pricing-card--onetime {
  border-color: rgba(94, 234, 212, 0.38);
  background: rgba(15, 118, 110, 0.12);
}

.pricing-card--featured {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.18);
}

.pricing-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 -0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card__badge--sub {
  color: #ede9fe;
  background: rgba(124, 58, 237, 0.45);
  border: 1px solid rgba(196, 181, 253, 0.55);
}

.pricing-card__badge--once {
  color: #ccfbf1;
  background: rgba(13, 148, 136, 0.4);
  border: 1px solid rgba(94, 234, 212, 0.5);
}

.pricing-card__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-eyebrow, #c4b5fd);
}

.pricing-card__name {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pricing-card__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-card__include {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.55);
  background: rgba(124, 58, 237, 0.28);
  color: #f5f3ff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
}

.pricing-grid {
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.download-strip {
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.download-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(72, 209, 204, 0.12), rgba(124, 58, 237, 0.08) 55%, transparent),
    rgba(8, 10, 18, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.download-strip__copy {
  min-width: 0;
  flex: 1;
}

.download-strip__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}

.download-strip__text {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.35;
}

.download-strip__soon {
  color: #c4b5fd;
  font-weight: 650;
}

.download-strip__cta {
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .download-strip__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .download-strip__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.pricing-app-note {
  max-width: 40rem;
  margin: -1.5rem auto 1.5rem;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.pricing-card__price {
  margin: 0.1rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  min-height: 2.35rem;
}

.pricing-card__price-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card--onetime .pricing-card__price-note {
  color: #99f6e4;
}

.pricing-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.pricing-card__features li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-bright, #48d1cc);
  font-weight: 700;
}

.pricing-card__features-item--highlight {
  font-weight: 650;
  color: #fff;
}

.pricing-card__features-item--highlight::before {
  color: #c4b5fd;
}

.pricing-card .btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pricing-card .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.pricing-footnote {
  max-width: 40rem;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.pricing-error {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  font-size: 0.9rem;
}
