/* ===== PRICING PAGE STYLES ===== */
/* Dependencies: css/base.css must be loaded before this file. */

/* ===== HERO ===== */
.hero {
  padding-top: 140px; padding-bottom: 60px; text-align: center;
  background: var(--gradient-hero);
}
.hero h1 { font-size: 44px; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 18px; color: var(--text-mid); max-width: 560px; margin: 0 auto; }

/* ===== SECTION HEADER ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .overline {
  font-size: 13px; color: var(--primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-mid); }

/* ===== PLAN CARDS ===== */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start;
}
.plan-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  border: 1px solid var(--border); transition: all .3s; position: relative;
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(238,80,80,.15);
  transform: scale(1.03);
}
.plan-card.featured .plan-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--gradient-primary);
  color: #fff; padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.plan-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.plan-card .price { font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.plan-card .price span { font-size: 16px; color: var(--text-light); font-weight: 400; }
.plan-card .price-note { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.plan-card ul { margin-bottom: 28px; }
.plan-card li {
  padding: 10px 0; font-size: 14px; color: var(--text-mid);
  border-bottom: 1px solid #f5f7fa;
  display: flex; align-items: center; gap: 8px;
}
.plan-card li::before { content: '\2713'; color: var(--primary); font-weight: 700; }

/* ===== COUNTRY PRICE TABLE ===== */
.price-table {
  width: 100%; border-collapse: collapse; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--border); font-size: 15px;
}
.price-table thead { background: var(--bg-gray); }
.price-table th {
  text-align: left; padding: 16px; font-weight: 600;
  border-bottom: 2px solid var(--border); font-size: 14px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--text-mid);
}
.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: rgba(238,80,80,.03); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .region { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.price-table .price-cell {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--text-dark);
}
.price-table .type-cell { font-size: 13px; color: var(--text-light); }

/* ===== VOLUME DISCOUNT SECTION ===== */
.volume-section { background: var(--bg-gray); }
.volume-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.volume-card {
  background: #fff; border-radius: 12px; padding: 24px; text-align: center;
  border: 1px solid var(--border); transition: all .3s;
}
.volume-card:hover {
  box-shadow: var(--shadow-hover); border-color: rgba(238,80,80,.15);
}
.volume-card .tier {
  font-size: 14px; font-weight: 600; color: var(--primary);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px;
}
.volume-card .discount { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.volume-card .vol-range { font-size: 13px; color: var(--text-light); }
.volume-card.highlighted { background: var(--gradient-primary); color: #fff; }
.volume-card.highlighted .discount { color: #fff; }
.volume-card.highlighted .vol-range { color: rgba(255,255,255,.8); }
.volume-card.highlighted .tier { color: rgba(255,255,255,.9); }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-gray); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q .arrow { transition: transform .3s; font-size: 18px; color: var(--text-light); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient-primary); padding: 80px 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.cta-section .btn-white { padding: 14px 36px; font-size: 16px; border: none; }
.cta-section .btn-outline-white {
  background: transparent; border: 2px solid #fff; color: #fff;
  padding: 12px 36px; font-size: 16px; border-radius: 100px;
  font-weight: 600; cursor: pointer; transition: all .25s ease;
}
.cta-section .btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* ===== TAB BAR ===== */
.tab-bar {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1px solid var(--border); background: #fff;
  color: var(--text-mid); transition: all .2s; font-family: inherit;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ===== FOOTER SOCIAL HOVER (extends base.css footer) ===== */
.footer-bottom .social a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .plan-grid, .volume-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .plan-grid, .volume-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .cta-section h2 { font-size: 28px; }
  .cta-section p { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; padding-bottom: 36px; }
  .hero h1 { font-size: 26px; }
  .plan-card { padding: 24px 20px; }
  .plan-card .price { font-size: 28px; }
  .section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 22px; }
  .price-table { font-size: 12px; }
}
