/* Pricing page-specific styles */

.pricing-compare-section,
.pricing-plans-section,
.pricing-support-section,
.pricing-faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--ink-mid);
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink-mid);
  border-radius: 16px;
  background: var(--ink-light);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--ink-mid);
  font-size: 14px;
  color: var(--mist);
}

.pricing-table thead th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.pricing-table thead th:nth-child(3) {
  color: var(--amber);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
  color: var(--silver);
  font-weight: 500;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(212, 160, 74, 0.04);
}

.pricing-table .col-price {
  color: var(--amber);
  font-weight: 700;
}

.pricing-table .yes {
  color: var(--amber);
  font-weight: 600;
}

.pricing-table .no {
  color: var(--mist);
  opacity: 0.4;
}

/* Detailed plan cards */
.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-card {
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 74, 0.25);
}

.plan-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(212, 160, 74, 0.06) 0%, var(--ink-light) 100%);
  transform: scale(1.04);
  z-index: 2;
}

.plan-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.plan-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 12px 0 8px;
}

.plan-price .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.plan-price .amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price .note {
  font-size: 14px;
  color: var(--silver);
  margin-left: 4px;
}

.plan-desc {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  margin-bottom: 20px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--mist);
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 42, 50, 0.5);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--silver);
  margin-bottom: 18px;
}

.plan-note {
  font-size: 13px;
  color: var(--silver);
  background: var(--charcoal);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.plan-btn {
  width: 100%;
  justify-content: center;
}

/* Support + FAQ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  background: var(--ink-light);
  border: 1px solid var(--ink-mid);
  border-radius: 18px;
  padding: 28px 24px;
}

.support-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.support-card ul {
  list-style: none;
}

.support-card li {
  font-size: 14px;
  color: var(--mist);
  padding: 6px 0;
  line-height: 1.6;
}

.support-card .incl {
  color: var(--amber);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--ink);
  border: 1px solid var(--ink-mid);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out-expo);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: rgba(212, 160, 74, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  padding: 24px 28px;
  padding-right: 60px;
  cursor: pointer;
  position: relative;
}

.faq-question:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-question::after {
  content: '−';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--amber);
  font-weight: 400;
}

.faq-item:not(.open) .faq-question::after {
  content: '+';
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--silver);
  line-height: 1.7;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.faq-item:not(.open) .faq-answer {
  max-height: 0;
  padding: 0 28px;
  opacity: 0;
}

.faq-item.open .faq-answer {
  padding-top: 0;
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .pricing-table-wrap {
    display: none;
  }

  .pricing-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .pricing-plans-grid,
  .support-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
