/**
 * Premium Pricing Page Styles
 * Site colors: gray (#EFF2F4), black (#333), red (#bf3232), green buttons (#28a745)
 */

/* ===== Color Variables (easy to change) ===== */
:root {
  --pricing-bg: #EFF2F4;
  --pricing-card-bg: #ffffff;
  --pricing-border: #ddd;
  --pricing-border-selected: #333;
  --pricing-text-primary: #333;
  --pricing-text-secondary: #666;
  --pricing-text-muted: #999;
  --pricing-accent: #bf3232;
  --pricing-btn-green: #28a745;
  --pricing-btn-green-hover: #218838;
  --pricing-pill-bg: #ffffff;
  --pricing-pill-selected-bg: #28a745;
  --pricing-pill-selected-text: #fff;
  --pricing-shadow: rgba(0, 0, 0, 0.08);
}

/* ===== Page Container ===== */
.pricing-premium-container {
  background-color: var(--pricing-bg);
  padding: 30px 15px 50px 15px;
}

.pricing-premium-title {
  color: var(--pricing-text-primary);
  font-size: 29px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.pricing-premium-subtitle {
  margin: 0 0 30px 0;
  text-align: center;
}

.pricing-premium-subtitle a {
  color: var(--pricing-btn-green);
  font-size: 15px;
  text-decoration: none;
}

.pricing-premium-subtitle a:hover {
  text-decoration: underline;
}

/* ===== Card Grid ===== */
.pricing-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Individual Card ===== */
.pricing-card {
  background: var(--pricing-card-bg);
  border: 1px solid var(--pricing-border);
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--pricing-shadow);
  flex: 1;
  max-width: 400px;
  min-width: 300px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pricing-card-selected {
  border: 3px solid var(--pricing-border-selected);
}

/* ===== Card Header ===== */
.pricing-card-header {
  margin-bottom: 20px;
  text-align: center;
}

.pricing-card-title {
  color: var(--pricing-text-primary);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.pricing-card-subtitle {
  color: var(--pricing-text-secondary);
  font-size: 15px;
  margin: 0 0 12px 0;
}

.pricing-tm {
  font-size: 10px;
  font-weight: normal;
}

/* ===== Explanation Section ===== */
.pricing-explanation {
  margin-bottom: 28px;
  text-align: center;
}

.pricing-explanation p {
  color: var(--pricing-text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.pricing-examples-link {
  color: var(--pricing-btn-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pricing-examples-link:hover {
  text-decoration: underline;
}

.pricing-examples-table {
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px auto 0 auto;
  width: 90%;
}

.pricing-examples-table th,
.pricing-examples-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: center;
}

.pricing-examples-table th {
  background: #f5f5f5;
  color: var(--pricing-text-primary);
  font-weight: 600;
}

.pricing-examples-table td {
  color: var(--pricing-text-secondary);
}

.pricing-examples-section {
  margin-bottom: 16px;
  text-align: center;
}

/* ===== Pill Selector ===== */
.pricing-pill-wrapper {
  border-top: 1px solid #ddd;
  margin-bottom: 24px;
  position: relative;
}

.pricing-pill-label {
  background: var(--pricing-card-bg);
  color: var(--pricing-text-primary);
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  left: 50%;
  padding: 0 8px;
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
}

.pricing-pill-selector {
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  padding: 19px 0 12px 0;
}

.pricing-pill {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 50px;
  box-sizing: border-box;
  color: var(--pricing-btn-green);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 10px 14px 10px 14px;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pricing-pill:hover {
  background: rgba(40, 167, 69, 0.1);
}

.pricing-pill.pricing-pill-selected,
button.pricing-pill-selected {
  background-color: var(--pricing-btn-green) !important;
  color: #fff !important;
}

.pricing-pill.pricing-pill-selected:hover {
  background-color: var(--pricing-btn-green-hover) !important;
}

/* ===== Feature List ===== */
.pricing-features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.pricing-feature-row {
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.pricing-feature-label {
  color: var(--pricing-text-secondary);
  font-size: 15px;
}

.pricing-feature-value {
  color: var(--pricing-text-primary);
  font-size: 15px;
  font-weight: 600;
}

/* ===== Price Display ===== */
.pricing-price-section {
  margin-bottom: 0;
  min-height: 105px;
  text-align: center;
}

.pricing-price {
  color: var(--pricing-text-primary);
  font-size: 48px;
  font-weight: 700;
}

.pricing-price-currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: super;
}

.pricing-price-period {
  color: var(--pricing-text-muted);
  font-size: 14px;
  margin-left: 4px;
}

.pricing-savings {
  background: var(--pricing-btn-green);
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  margin-top: 10px;
  padding: 6px 12px;
}

.pricing-discount-highlight {
  color: var(--pricing-btn-green);
  font-weight: 700;
}


/* ===== Select Button ===== */
.pricing-select-btn {
  background: var(--pricing-btn-green);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  transition: background 0.15s ease;
  width: 100%;
}

.pricing-select-btn:hover {
  background: var(--pricing-btn-green-hover);
}

.pricing-select-btn-active {
  background: var(--pricing-text-primary);
}

.pricing-select-btn-active:hover {
  background: #444;
}

/* ===== Payment Buttons Section ===== */
.pricing-payment-section {
  margin-top: 40px;
  text-align: center;
}

.pricing-selection-summary {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: var(--pricing-text-primary);
  display: inline-block;
  font-size: 19px;
  margin: 0 auto 24px auto;
  padding: 16px 32px;
  white-space: nowrap;
}

.pricing-selection-summary strong {
  color: var(--pricing-btn-green);
}

.pricing-payment-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.pricing-payment-btn {
  background: white;
  border: 2px solid var(--pricing-border);
  border-radius: 8px;
  cursor: pointer;
  min-width: 180px;
  padding: 12px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-payment-btn:hover {
  border-color: #999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pricing-payment-btn img {
  height: 32px;
}

.pricing-payment-btn-stripe {
  background: #635bff;
  border-color: #635bff;
  color: white;
  font-size: 17px;
  font-weight: 600;
}

.pricing-payment-btn-stripe:hover {
  background: #5851e6;
  border-color: #5851e6;
}

.pricing-payment-help {
  color: var(--pricing-text-secondary);
  font-size: 16px;
}

.pricing-payment-help b {
  color: var(--pricing-text-primary);
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .pricing-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 100%;
    width: 100%;
  }

  .pricing-payment-buttons {
    flex-direction: column;
    align-items: center;
  }
}
