/* ============================================================
   CybLight Pricing & Plans Page Styles
   ============================================================ */

main.pricing-page,
body.pricing-body main {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 20px auto !important;
  padding: 20px 24px 80px !important;
  box-sizing: border-box !important;
}

.pricing-page .container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.pricing-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-heading, #fff);
  letter-spacing: -0.02em;
}

body.dark .pricing-hero h1 {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 127, 39, 0.25);
}

.pricing-hero p {
  font-size: 1.15rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Billing Toggle */
.billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 9999px;
  padding: 4px;
  margin: 0 auto;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.billing-toggle-btn.active {
  background: linear-gradient(135deg, #ff7f27 0%, #ff9e42 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 127, 39, 0.4);
}

.discount-badge {
  background: #facc15;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 3-Column Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 50px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  text-align: left;
}

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

.pricing-card--popular {
  border-color: #ff7f27;
  background: linear-gradient(180deg, rgba(255, 127, 39, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  box-shadow: 0 0 28px rgba(255, 127, 39, 0.22);
}

.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff7f27 0%, #ff5252 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(255, 127, 39, 0.4);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 16px;
}

.pricing-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  text-align: center;
}

.pricing-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  min-height: 48px;
  line-height: 1.45;
  text-align: center;
}

.pricing-card-price {
  margin: 16px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-left: 4px;
}

.price-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 4px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.pricing-features-list li {
  font-size: 0.92rem;
  color: #e2e8f0;
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  display: block;
}

.pricing-features-list li::marker {
  display: none;
}

.feature-check {
  position: absolute;
  left: 0;
  top: 2px;
  color: #22c55e;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.pricing-features-list strong {
  color: #ffffff;
  font-weight: 700;
}

.pricing-cta-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  box-sizing: border-box;
}

.pricing-cta-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.pricing-card--popular .pricing-cta-btn {
  background: linear-gradient(135deg, #ff7f27 0%, #ff9e42 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 127, 39, 0.35);
}

.pricing-card--popular .pricing-cta-btn:hover {
  background: linear-gradient(135deg, #ff903e 0%, #ffae59 100%);
  box-shadow: 0 6px 20px rgba(255, 127, 39, 0.5);
}

/* Compliance Notice Box */
.pricing-compliance-box {
  max-width: 900px;
  margin: 0 auto 50px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.compliance-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.compliance-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.compliance-text p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0 0 10px;
  line-height: 1.5;
}

.compliance-links {
  font-size: 0.88rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.compliance-links a {
  color: #ffb257;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compliance-links a:hover {
  color: #ffd400;
}

/* FAQ Section */
.pricing-faq {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pricing-faq h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 16px;
  text-align: center;
}

.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
}

.faq-item p {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.faq-item a {
  color: #ffb257;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item a:hover {
  color: #ffd400;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .pricing-card {
    padding: 28px 18px;
  }
  .price-amount {
    font-size: 2.2rem;
  }
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .pricing-hero h1 {
    font-size: 1.9rem;
  }
  .pricing-compliance-box {
    flex-direction: column;
    text-align: center;
  }
  .compliance-links {
    justify-content: center;
  }
}
