/* ============================================================
   CybLight Pricing & Plans Page Styles (Light & Dark Theme)
   ============================================================ */

main.pricing-page,
body.pricing-body main {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 30px auto 40px !important;
  padding: 10px 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;
}

/* Hero Header */
.pricing-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.pricing-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f172a;
  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: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
}

body.dark .pricing-hero p {
  color: #94a3b8;
}

/* Billing Toggle */
.billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px;
  margin: 0 auto;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

body.dark .billing-toggle-wrap {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 8px 20px;
  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:hover {
  color: #0f172a;
}

body.dark .billing-toggle-btn {
  color: #94a3b8;
}

body.dark .billing-toggle-btn:hover {
  color: #ffffff;
}

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

.discount-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #fde047;
}

body.dark .discount-badge {
  background: #facc15;
  color: #0f172a;
  border: none;
}

/* 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: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 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: #cbd5e1;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.1);
}

body.dark .pricing-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.dark .pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 127, 39, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.pricing-card--popular {
  border: 2px solid #ff7f27;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 127, 39, 0.15);
}

body.dark .pricing-card--popular {
  border-color: #ff7f27;
  background: linear-gradient(180deg, rgba(255, 127, 39, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 30px rgba(255, 127, 39, 0.25);
}

.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.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  text-align: center;
}

body.dark .pricing-card-title {
  color: #ffffff;
}

.pricing-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  min-height: 48px;
  line-height: 1.5;
  text-align: center;
}

body.dark .pricing-card-desc {
  color: #94a3b8;
}

.pricing-card-price {
  margin: 16px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

body.dark .pricing-card-price {
  border-color: rgba(148, 163, 184, 0.15);
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

body.dark .price-amount {
  color: #ffffff;
}

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

body.dark .price-period {
  color: #94a3b8;
}

.price-note {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 4px;
}

body.dark .price-note {
  color: #64748b;
}

.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: #334155;
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  display: block;
}

body.dark .pricing-features-list li {
  color: #cbd5e1;
}

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

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

body.dark .feature-check {
  color: #22c55e;
}

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

body.dark .pricing-features-list strong {
  color: #ffffff;
}

.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: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  margin-top: auto;
  box-sizing: border-box;
}

.pricing-cta-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

body.dark .pricing-cta-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.pricing-card--popular .pricing-cta-btn {
  background: linear-gradient(135deg, #ff7f27 0%, #ff9e42 100%);
  color: #ffffff !important;
  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);
  color: #ffffff !important;
}

/* Compliance Notice Box */
.pricing-compliance-box {
  max-width: 960px;
  margin: 0 auto 50px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

body.dark .pricing-compliance-box {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

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

body.dark .compliance-text h4 {
  color: #ffffff;
}

.compliance-text p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 12px;
  line-height: 1.55;
}

body.dark .compliance-text p {
  color: #94a3b8;
}

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

.compliance-links a {
  color: #d97706;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

body.dark .compliance-links a {
  color: #ffb257;
}

body.dark .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: 800;
  text-align: center;
  color: #0f172a;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

body.dark .pricing-faq h2 {
  color: #ffffff;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 30px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.07);
}

body.dark .faq-item {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark .faq-item:hover {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

body.dark .faq-item h3 {
  color: #ffffff;
}

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

body.dark .faq-item p {
  color: #94a3b8;
}

.faq-item a {
  color: #d97706;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

body.dark .faq-item a {
  color: #ffb257;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero h1 {
    font-size: 2rem;
  }
  .pricing-compliance-box {
    flex-direction: column;
    text-align: center;
  }
  .compliance-links {
    justify-content: center;
  }
  .pricing-card:last-child {
    grid-column: span 1;
    max-width: none;
  }
}
