/* =============================================================
   pricing.css — scoped entirely to body.pricing-page
   Variables that conflict with base.css (--gold, --green) are
   overridden here rather than in :root so they stay isolated.
   ============================================================= */

body.pricing-page {
  /* Override base.css --gold and --green only on this page */
  --gold:      #d6b04d;
  --gold-soft: #f0dd99;
  --green:     #22d49b;

  /* Pricing-only variables */
  --bg:     #08111d;
  --panel:  #0c1a2b;
  --panel2: #10233a;
  --text:   #eef5ff;
  --muted:  #9fb8d5;
  --line:   rgba(255,255,255,0.08);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);

  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(214,176,77,0.10), transparent 30%),
    linear-gradient(180deg, #08111d 0%, #0a1a2d 100%);
  color: var(--text);
}

/* ── Layout ─────────────────────────────────────────────────── */

body.pricing-page .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

body.pricing-page .hero {
  text-align: center;
  margin-bottom: 34px;
}

/* ── Badge ──────────────────────────────────────────────────── */

body.pricing-page .badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(214,176,77,0.08);
  border: 1px solid rgba(214,176,77,0.28);
  margin-bottom: 14px;
}

/* ── Headings (scoped — won't touch footer) ─────────────────── */

body.pricing-page .container h1 {
  font-size: 54px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

body.pricing-page .section h2 {
  font-size: 32px;
  margin: 0 0 10px;
  text-align: center;
}

body.pricing-page .hero .sub {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}

/* ── Pricing grid ───────────────────────────────────────────── */

body.pricing-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 34px;
}

/* ── Cards ──────────────────────────────────────────────────── */

body.pricing-page .card {
  position: relative;
  background: linear-gradient(180deg, rgba(12,26,43,0.96), rgba(8,17,29,0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  text-align: left;
}

body.pricing-page .card .plan {
  font-size: 28px;
  margin: 0 0 8px;
}

body.pricing-page .card .plan-sub {
  color: var(--muted);
  min-height: 48px;
  line-height: 1.6;
  margin-bottom: 16px;
}

body.pricing-page .card .price {
  font-size: 44px;
  color: var(--gold);
  font-weight: 800;
  margin: 8px 0 4px;
}

body.pricing-page .card .price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

body.pricing-page .card ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

body.pricing-page .card li {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.6;
}

body.pricing-page .card .risk {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

body.pricing-page .card.highlight {
  border: 2px solid var(--gold);
  transform: translateY(-6px);
}

body.pricing-page .popular {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(214,176,77,0.12);
  color: var(--gold);
  border: 1px solid rgba(214,176,77,0.35);
}

/* ── Buttons (scoped — won't override base .btn) ────────────── */

body.pricing-page .card .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--line);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
}

body.pricing-page .card .btn.primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #08111d;
  border-color: rgba(214,176,77,0.55);
}

body.pricing-page .card .btn.secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

/* ── Feature comparison section ─────────────────────────────── */

body.pricing-page .section {
  margin-top: 42px;
}

body.pricing-page .section > p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 22px;
}

body.pricing-page .table-wrap {
  background: linear-gradient(180deg, rgba(12,26,43,0.96), rgba(8,17,29,0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

body.pricing-page .table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

body.pricing-page .table-wrap th,
body.pricing-page .table-wrap td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

body.pricing-page .table-wrap th:first-child,
body.pricing-page .table-wrap td:first-child {
  text-align: left;
  width: 34%;
}

body.pricing-page .table-wrap th {
  background: #10233a;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b8cde6;
  font-weight: 600;
}

body.pricing-page .table-wrap td {
  color: var(--muted);
}

body.pricing-page .table-wrap td strong {
  color: var(--text);
}

body.pricing-page .table-wrap .check {
  color: var(--green);
  font-weight: 800;
}

body.pricing-page .table-wrap .x {
  color: #6d8199;
}

body.pricing-page .footer-note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 980px) {
  body.pricing-page .grid {
    grid-template-columns: 1fr;
  }

  body.pricing-page .card.highlight {
    transform: none;
  }

  body.pricing-page .container h1 {
    font-size: 40px;
  }

  body.pricing-page .table-wrap {
    overflow: auto;
  }

  body.pricing-page .table-wrap table {
    min-width: 760px;
  }
}
