/* ============================
   Pricing — Premium Dark Theme
   Accent: #06b6d4 (teal/cyan)
   ============================ */
:root {
  --accent: #f5f5f5;
  --accent-dim: rgba(245, 245, 245, 0.1);
  --accent-glow: rgba(245, 245, 245, 0.15);
}

/* ---- Hero ---- */
.pr-hero {
  padding: 150px 24px 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.pr-headline {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}
.pr-subhead {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Billing toggle */
.pr-toggle-wrap {
  display: inline-flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.pr-toggle-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pr-toggle-btn.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.pr-toggle-btn:hover:not(.active) {
  color: rgba(255,255,255,0.7);
}
.pr-save-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* ---- Pricing Cards ---- */
.pr-cards-section {
  padding: 0 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.pr-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

/* Card base */
.pr-card {
  background: rgba(255,255,255,0.02);
  border: none;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s;
}
.pr-card:hover {
  border-color: rgba(255,255,255,0.12);
}

/* Featured card */
.pr-card-featured {
  border-color: rgba(245, 245, 245, 0.15);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}
.pr-card-featured:hover {
  border-color: rgba(245, 245, 245, 0.25);
}

/* Popular badge */
.pr-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Card inner */
.pr-card-top {
  padding: 36px 32px 24px;
}
.pr-plan {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.pr-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pr-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.pr-period {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
}
.pr-plus {
  color: rgba(255,255,255,0.25);
}
.pr-price-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.pr-plan-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Features */
.pr-features {
  padding: 0 32px 28px;
  flex: 1;
}
.pr-features-label {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pr-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
}
.pr-check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: rgba(255,255,255,0.25);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pr-card-featured .pr-check {
  stroke: var(--accent);
}

/* Card bottom */
.pr-card-bottom {
  padding: 0 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* CTAs */
.pr-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.pr-cta span { transition: transform 0.2s; }
.pr-cta:hover span { transform: translateX(2px); }

.pr-cta-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
.pr-cta-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.pr-cta-solid {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #0c130f;
  font-weight: 600;
}
.pr-cta-solid:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.pr-secondary-link {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}
.pr-secondary-link:hover {
  color: rgba(255,255,255,0.6);
}

/* Active nav */
.nav-link.active { color: var(--text-primary); }

/* ---- Section titles ---- */
.pr-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

/* ---- Usage Calculator ---- */
.pr-calculator-section {
  padding: 80px 24px;
  max-width: 680px;
  margin: 0 auto;
}
.pr-calc {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  gap: 32px;
}
.pr-calc-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pr-calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pr-calc-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.pr-calc-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.pr-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), rgba(255,255,255,0.08) var(--fill, 0%));
  outline: none;
  cursor: pointer;
}
.pr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.2s;
}
.pr-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}
.pr-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
}
.pr-calc-range {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}
.pr-calc-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.pr-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pr-calc-row-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.pr-calc-row-value {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  font-variant-numeric: tabular-nums;
}
.pr-calc-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 4px 0;
}
.pr-calc-total .pr-calc-row-label {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.pr-calc-total .pr-calc-row-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.pr-calc-note {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* ---- Comparison Table ---- */
.pr-compare-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.pr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
}
.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 600px;
}
.pr-table thead th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.pr-table thead th:first-child {
  text-align: left;
  width: 40%;
}
.pr-th-pro {
  color: var(--accent) !important;
}
.pr-table tbody td {
  padding: 10px 20px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pr-table tbody td:first-child {
  text-align: left;
  color: rgba(255,255,255,0.7);
}
.pr-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.015);
}
.pr-cat-row td {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 18px 20px 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
}
.pr-tbl-check {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
.pr-tbl-dash {
  color: rgba(255,255,255,0.12);
  font-size: 16px;
}

/* ---- Bottom CTA ---- */
.dv-cta {
  text-align: center;
  padding: 60px 24px 100px;
}
.dv-cta-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
}
.dv-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
  line-height: 1.6;
}
.dv-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .pr-cards { gap: 16px; }
  .pr-card-top { padding: 28px 24px 20px; }
  .pr-features { padding: 0 24px 24px; }
  .pr-card-bottom { padding: 0 24px 28px; }
}

@media (max-width: 768px) {
  .pr-hero { padding: 115px 16px 36px; }
  .pr-headline { font-size: clamp(28px, 7vw, 40px); }
  .pr-subhead { font-size: 15px; }
  .pr-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 20px;
  }
  .pr-card-featured { order: -1; }
  .pr-amount { font-size: 34px; }
  .pr-calc {
    flex-direction: column;
    gap: 24px;
  }
  .pr-calculator-section { padding: 60px 16px; }
  .pr-compare-section { padding: 60px 16px; }
  .dv-cta { padding: 40px 16px 60px; }
}

@media (max-width: 480px) {
  .pr-hero { padding: 100px 14px 30px; }
  .pr-toggle-btn { font-size: 12px; padding: 6px 14px; }
  .pr-save-badge { font-size: 9px; }
  .pr-card-top { padding: 24px 20px 18px; }
  .pr-features { padding: 0 20px 20px; }
  .pr-card-bottom { padding: 0 20px 24px; }
  .pr-feat { font-size: 12.5px; }
  .pr-plan-desc { font-size: 13px; }
  .pr-calc { padding: 24px 20px; }
  .pr-calc-value { font-size: 24px; }
  .pr-section-title { font-size: 22px; }
}
