/* ═══════════════════════════════════════════════════════
   Empower LO — Pricing Page Styles
   ═══════════════════════════════════════════════════════ */

/* ═══ PRICING HERO ═══ */
.pricing-hero {
  position: relative; padding: 170px 24px 80px;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #1a1028 0%, #2d1b4e 30%, #3D2A60 60%, #1a1028 100%);
}
.pricing-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(192,132,252,0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(245,166,35,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.pricing-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.pricing-hero .container { position: relative; z-index: 2; }
.pricing-hero .section-label { color: var(--purple-glow); }
.pricing-hero h1 {
  color: white; max-width: 800px; margin: 0 auto 24px;
  background: linear-gradient(135deg, #fff 0%, #e0d0f0 50%, #c084fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-hero p {
  font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}

/* ═══ BILLING TOGGLE ═══ */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.08); border-radius: 50px;
  padding: 6px 8px; border: 1px solid rgba(255,255,255,0.1);
}
.billing-option {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; color: rgba(255,255,255,0.5);
  user-select: none; position: relative;
}
.billing-option.active {
  background: white; color: var(--text); box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.billing-option .save-badge {
  position: absolute; top: -10px; right: -10px;
  background: var(--orange); color: white; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px; letter-spacing: 0.5px;
}

/* ═══ PRICING CARDS ═══ */
.pricing-cards-section { padding: 0 24px 40px; margin-top: -40px; position: relative; z-index: 3; }
.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto; align-items: stretch;
}
.pricing-card {
  background: white; border-radius: 24px; padding: 40px 36px;
  border: 1px solid var(--border); position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
  transform: translateY(0);
  will-change: transform, box-shadow;
}
.card-header { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-start; }
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.pricing-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 16px 48px rgba(91,62,140,0.15);
  transform: scale(1.03);
  z-index: 2;
  margin-top: -16px;
  margin-bottom: -16px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 28px 70px rgba(91,62,140,0.22);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 6px 20px; border-radius: 50px; text-transform: uppercase;
  white-space: nowrap;
}
.card-header { margin-bottom: 28px; flex-shrink: 0; }
.plan-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.plan-tagline { font-size: 14px; color: var(--text-muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 8px; }
.plan-price .amount { font-size: 48px; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.plan-price .period { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.plan-setup { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.plan-usage-credit { font-size: 13px; color: var(--purple); font-weight: 600; }

.card-cta {
  display: block; text-align: center; width: 100%;
  padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: all 0.2s; margin: 24px 0; cursor: pointer; border: none;
}
.card-cta-primary { background: var(--orange); color: white; }
.card-cta-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.3); }
.card-cta-featured {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
}
.card-cta-featured:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(91,62,140,0.3); filter: brightness(1.1); }
.card-cta-outline {
  background: transparent; color: var(--purple);
  border: 2px solid rgba(91,62,140,0.2);
}
.card-cta-outline:hover { border-color: var(--purple); background: var(--purple-bg); }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 8px 0; font-size: 14px; color: var(--text-secondary);
  padding-left: 28px; position: relative; line-height: 1.5;
}
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--purple); font-weight: 800; font-size: 13px;
}
.feature-list li.highlight { color: var(--text); font-weight: 600; }
.feature-divider {
  font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase;
  letter-spacing: 1px; padding: 12px 0 4px; border-top: 1px solid var(--border); margin-top: 8px;
}
.feature-list li.managed-service::before { content: '✓'; color: var(--orange); font-weight: 800; font-size: 13px; }

/* Tooltip */
.tooltip-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(91,62,140,0.15); color: var(--purple);
  font-size: 10px; font-weight: 700; cursor: help;
  position: relative; margin-left: 6px; vertical-align: middle;
}
.tooltip-text {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); background: var(--dark2); color: white;
  font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 10;
}
.tooltip-text::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--dark2);
}
.tooltip-trigger:hover .tooltip-text { display: block; }

/* ═══ FEATURE COMPARISON ═══ */
.comparison { padding: 100px 24px; background: var(--bg-subtle); }
.comparison .container { max-width: 1000px; }
.comparison h2 { text-align: center; }
.comparison > .container > p { text-align: center; font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 56px; }

.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead th {
  padding: 16px 20px; text-align: center; font-size: 14px; font-weight: 700;
  color: var(--text); border-bottom: 2px solid var(--border);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.featured-col { color: var(--purple); }
.comparison-table tbody td {
  padding: 14px 20px; text-align: center; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid #eee;
}
.comparison-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--text); }
.comparison-table tbody tr:hover { background: rgba(91,62,140,0.03); }
.comparison-table .check { color: var(--purple); font-weight: 700; font-size: 16px; }
.comparison-table .dash { color: #ccc; }
.comparison-table .section-row td {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--purple); padding-top: 28px; border-bottom: 1px solid var(--border);
  background: transparent;
}

/* ═══ FAQ ═══ */
.faq { padding: 60px 24px 80px; }
.faq .container { max-width: 800px; }
.faq h2 { text-align: center; }
.faq > .container > p { text-align: center; font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; }
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; user-select: none;
  font-size: 16px; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--purple); }
.faq-icon {
  font-size: 20px; font-weight: 300; color: var(--text-muted);
  transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}

/* ═══ PRICING RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .pricing-cards { grid-template-columns: 1fr 1fr; max-width: 740px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 370px; justify-self: center; }
  .comparison-table { font-size: 13px; }
}
@media (max-width: 768px) {
  .pricing-hero { padding: 140px 16px 60px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-card:last-child { max-width: none; }
  .pricing-card.featured { transform: none; }
  .comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 600px; }
}
@media (max-width: 480px) {
  .billing-toggle { gap: 8px; }
  .billing-option { padding: 8px 16px; font-size: 13px; }
  .plan-price .amount { font-size: 40px; }
  .pricing-card { padding: 32px 24px; }
}
