/* plans.css — Upgrade / pricing page */

/* ============================================
   HERO
   ============================================ */
.plans-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.plans-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.plans-title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: #fff;
  margin-bottom: 1.25rem;
}

.plans-subtitle {
  font-size: 1.1rem;
  color: #999;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 5rem 2rem;
}

.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ============================================
   CARDS
   ============================================ */
.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

/* ============================================
   CARD HEADER
   ============================================ */
.pricing-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.plan-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.pricing-features {
  flex: 1;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-item:last-child {
  border-bottom: none;
}

/* "Everything in X, plus" row — muted */
.feature-item--inherit .feature-icon,
.feature-item--inherit .feature-text strong {
  color: rgba(255, 255, 255, 0.35);
}

.feature-item--inherit .feature-text {
  color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
}

.feature-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.feature-text strong {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.pricing-button {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              color 0.2s ease;
  cursor: pointer;
  margin-top: auto;
}

.standard-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.standard-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.premium-button {
  background: #b41616;
  color: #fff;
  border: 1px solid transparent;
}

.premium-button:hover {
  background: #c91c1c;
  box-shadow: 0 4px 18px rgba(180, 22, 22, 0.4);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  padding: 0 2rem;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.plans-faq-section {
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plans-faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.plans-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.plans-section-subtitle {
  font-size: 1rem;
  color: #777;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.faq-answer {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
}

.faq-answer a {
  color: #b41616;
  text-decoration: none;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: #d11a1a;
  text-decoration: underline;
}

/* ============================================
   CTA SECTION
   ============================================ */
.plans-cta-section {
  padding: 6rem 2rem;
  position: relative;
}

.plans-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 22, 22, 0.4), transparent);
}

.plans-cta-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.plans-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(180, 22, 22, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.plans-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.plans-cta-description {
  font-size: 1.05rem;
  color: #aaa;
  margin-bottom: 2.25rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.plans-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  /* Free plan spans full width at bottom */
  .pricing-grid .pricing-card:first-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .plans-hero {
    padding: 7rem 1.5rem 3.5rem;
  }

  .plans-title {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
  }

  .plans-subtitle {
    font-size: 1rem;
  }

  .pricing-section {
    padding: 3.5rem 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* On mobile, featured card sits in document order (middle) — no special treatment needed */

  .pricing-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .trust-item {
    padding: 0;
  }

  .trust-divider {
    width: 100%;
    height: 1px;
  }

  .plans-faq-section {
    padding: 3.5rem 1.5rem;
  }

  .plans-section-title {
    font-size: 1.75rem;
  }

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

  .plans-cta-section {
    padding: 4rem 1.5rem;
  }

  .plans-cta-box {
    padding: 2.5rem 1.5rem;
  }

  .plans-cta-title {
    font-size: 1.9rem;
  }

  .plans-cta-description {
    font-size: 1rem;
  }

  .plans-cta-buttons {
    flex-direction: column;
  }

  .plans-cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .plans-title {
    font-size: 1.85rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .plans-cta-title {
    font-size: 1.65rem;
  }
}