/* === Pricing Table Styling (CSS only) === */
.pricing-wrapper {
  max-width: 1300px;
  margin: 60px auto;
  padding: 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333;
  text-align: center;
}

.pricing-wrapper h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.pricing-wrapper > p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

/* Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.pricing-tabs .tab {
  padding: 10px 20px;
  background: #FD990457;
  border: 1px solid #ddd;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #333;
}
.pricing-tabs .tab:hover { background: #FD990480; color: #333; }

.pricing-tabs .tab.active {
  background: #ffb400;
  color: #fff;
  border-color: #ffb400;
}
.pricing-tabs .tab.active:hover { background: #ffb400; color: #fff; }

/* Billing toggle */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.billing-toggle span { color: #666; font-size: 14px; }
.billing-toggle .toggle { display: flex; gap: 5px; }
.billing-toggle .toggle .billing-btn {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  font-size: 14px;
}
.billing-toggle .toggle .billing-btn.active {
  background: #ffb400; color: #fff; border-color: #ffb400;
}

/* Currency selector */
.currency-selector { margin-bottom: 30px; }
.currency-selector label { margin-right: 10px; color: #666; font-size: 14px; }
.currency-selector select {
  padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; background: #fff;
}

/* Panels */
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content:not(.active) { display: none !important; }

/* Cards grid: wider cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

/* Card */
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;  /* for bottom-aligned button */
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card.popular { border: 2px solid #ffb400; }
.card .badge {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: -12px;
  background: #ffb400; color: #fff; padding: 4px 14px;
  border-radius: 12px; font-size: 12px; font-weight: 600;
}

.card h3 { font-size: 24px; margin-bottom: 6px; color: #1a1a1a; font-weight: 700; }

/* Reduce gap between subtitle, price line and alt price line */
.card .subtitle { color: #666; font-size: 14px; margin-bottom: 12px; }
.price-container { margin-bottom: 12px; }
.price {
  font-size: 36px; color: #1a1a1a; font-weight: 800; margin: 0 0 6px 0;
  display: flex; align-items: baseline; gap: 4px;
}
.price .currency-symbol { font-size: 28px; font-weight: 700; }
.price .period { font-size: 16px; color: #666; font-weight: 400; }
.price.custom-price { font-size: 28px; }

/* Slightly tighten alt-price spacing */
.alt-price { margin: 0 0 8px 0; color: #666; font-size: 14px; }

/* Bottom-aligned button for consistent baseline across cards */
.get-started-btn {
  margin-top: 8px;                /* small gap above button */
  width: 100%;
  background: #ffb400;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 600;
}
.get-started-btn:hover { background: #e89e00; color: #fff; }

/* Features: add top padding before "What you get" */
.features-section {
  flex: 1;
  padding-top: 12px;              /* requested padding before section */
  margin-top: 4px;                /* micro spacing after button */
  border-top: 0;                  /* ensure no border is shown */
}

.features-section h4 {
  font-size: 16px;
  color: #1a1a1a;
  margin: 0 0 12px 0;             /* slightly tighter heading spacing */
  font-weight: 700;
}

.card ul { list-style: none; padding: 0; margin: 0; }
.card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 10px 0;                 /* tighter item gap */
  color: #333; font-size: 15px; line-height: 1.5;
}
.check-icon { width: 20px; height: 20px; color: #ffb400; flex-shrink: 0; margin-top: 2px; }

/* Scope tables: wider feature column, equal plan columns in all tabs */
.scope-section { margin-top: 60px; text-align: left; }
.scope-section h4 { font-size: 24px; margin-bottom: 20px; color: #1a1a1a; font-weight: 700; }
.scope-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  table-layout: fixed;
}
.scope-section th, .scope-section td {
  padding: 16px 12px;
  border: 1px solid #e5e5e5;
  text-align: center;
  font-size: 14px;
}
.scope-section thead { background: #f8f8f8; font-weight: 700; color: #1a1a1a; }

/* 5 columns total: 40% for feature, 15% each for the 4 plan columns */
.scope-section thead th:first-child,
.scope-section tbody td:first-child {
  width: 40%;
  text-align: left;
  font-weight: 600;
  color: #333;
}
.scope-section thead th:nth-child(2),
.scope-section thead th:nth-child(3),
.scope-section thead th:nth-child(4),
.scope-section thead th:nth-child(5),
.scope-section tbody td:nth-child(2),
.scope-section tbody td:nth-child(3),
.scope-section tbody td:nth-child(4),
.scope-section tbody td:nth-child(5) { width: 15%; }

/* Responsive */
@media (max-width: 1024px){
  .pricing-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 768px){
  .pricing-wrapper h2 { font-size: 26px; }
  .price { font-size: 32px; }
  .scope-section th, .scope-section td { font-size: 13px; padding: 12px 8px; }
}
