/* ===============================
   SKAR TECHNOLOGIES
   Public Pricing Page
================================ */

.pricing-hero {
  padding: 170px 0 110px;
  background:
    radial-gradient(
      circle at top right,
      rgba(200, 155, 60, 0.18),
      transparent 32%
    ),
    var(--off-white);
  overflow: hidden;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 54px;
  align-items: center;
}

.pricing-hero-content h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.pricing-hero-content p {
  max-width: 680px;
  color: var(--gray);
  font-size: 1.1rem;
}

.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.pricing-hero-secondary {
  border-color: var(--border);
  color: var(--navy);
  background: transparent;
}

.pricing-hero-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.pricing-hero-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  color: #f8f9fb;
}

.pricing-hero-panel img {
  width: 260px;
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-panel-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(248, 249, 251, 0.14);
}

.hero-panel-line span {
  color: rgba(248, 249, 251, 0.68);
}

.hero-panel-line strong {
  color: #f8f9fb;
  text-align: right;
}

.pricing-currency-note {
  margin-top: 1rem;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(200, 155, 60, 0.08);
  color: var(--gray);
  border-radius: 12px;
  font-size: 0.95rem;
  max-width: 680px;
}

html[data-theme="dark"] .pricing-currency-note {
  background: rgba(200, 155, 60, 0.12);
  color: rgba(248, 249, 251, 0.78);
}

/* ===============================
   Table
================================ */

.pricing-overview,
.pricing-section {
  padding: 110px 0;
}

.alt-section {
  background: var(--white);
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 760px;
}

.pricing-table th {
  background: var(--navy);
  color: #f8f9fb;
  text-align: left;
  padding: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
  font-weight: 600;
}

.pricing-table td:first-child {
  color: var(--navy);
  font-weight: 900;
}

.pricing-table td:last-child {
  color: var(--gold);
  font-weight: 900;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

/* ===============================
   Package Cards
================================ */

.package-grid {
  display: grid;
  gap: 24px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 155, 60, 0.34);
}

.package-featured {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.96), rgba(11, 31, 58, 0.92)),
    var(--navy);
  color: #f8f9fb;
}

.package-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.package-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.package-card p {
  color: var(--gray);
  margin-bottom: 1.4rem;
}

.package-featured h3 {
  color: #f8f9fb;
}

.package-featured p {
  color: rgba(248, 249, 251, 0.72);
}

.package-price {
  padding: 1.25rem 0;
  margin: 1.25rem 0;
  border-block: 1px solid var(--border);
}

.package-featured .package-price {
  border-color: rgba(248, 249, 251, 0.14);
}

.package-price span {
  display: block;
  color: var(--gray);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.package-price strong {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.package-featured .package-price span {
  color: rgba(248, 249, 251, 0.62);
}

.package-featured .package-price strong {
  color: #f8f9fb;
}

.package-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.package-card li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--gray);
  font-weight: 600;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.package-featured li {
  color: rgba(248, 249, 251, 0.72);
}

/* ===============================
   Mini Tables
================================ */

.mini-table-wrap {
  margin-top: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.mini-table-wrap h3 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  color: var(--navy);
}

.mini-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mini-table-grid div {
  background: var(--off-white);
  padding: 18px;
}

.mini-table-grid span {
  display: block;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.mini-table-grid strong {
  color: var(--navy);
}

/* ===============================
   Terms
================================ */

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.terms-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.terms-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.terms-card p {
  color: var(--gray);
}

.terms-card strong {
  color: var(--navy);
}

/* ===============================
   Final CTA
================================ */

.pricing-final-cta {
  padding: 110px 0;
  text-align: center;
}

.pricing-final-content {
  max-width: 820px;
  margin-inline: auto;
}

.pricing-final-content h2 {
  color: #f8f9fb;
  margin-bottom: 1rem;
}

.pricing-final-content p {
  color: rgba(248, 249, 251, 0.72);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.pricing-final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===============================
   Dark Mode
================================ */

html[data-theme="dark"] .pricing-hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(200, 155, 60, 0.16),
      transparent 32%
    ),
    var(--off-white);
}

html[data-theme="dark"] .pricing-hero-content h1,
html[data-theme="dark"] .package-card h3,
html[data-theme="dark"] .mini-table-wrap h3,
html[data-theme="dark"] .terms-card h3,
html[data-theme="dark"] .terms-card strong,
html[data-theme="dark"] .pricing-table td:first-child,
html[data-theme="dark"] .mini-table-grid strong {
  color: #f8f9fb;
}

html[data-theme="dark"] .pricing-hero-secondary {
  color: #f8f9fb;
  border-color: rgba(248, 249, 251, 0.2);
}

html[data-theme="dark"] .package-card,
html[data-theme="dark"] .mini-table-wrap,
html[data-theme="dark"] .terms-card,
html[data-theme="dark"] .pricing-table,
html[data-theme="dark"] .alt-section {
  background: #101826;
}

html[data-theme="dark"] .mini-table-grid div {
  background: var(--off-white);
}

html[data-theme="dark"] .package-featured {
  background:
    linear-gradient(180deg, rgba(200, 155, 60, 0.14), rgba(11, 31, 58, 0.95)),
    #101826;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 1080px) {
  .pricing-hero-grid {
    grid-template-columns: 1fr;
  }

  .three-col,
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .terms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .pricing-hero {
    padding: 140px 0 82px;
  }

  .pricing-overview,
  .pricing-section,
  .pricing-final-cta {
    padding: 82px 0;
  }

  .pricing-hero-content h1 {
    font-size: 3rem;
  }

  .pricing-hero-actions,
  .pricing-final-actions {
    flex-direction: column;
  }

  .pricing-hero-actions .btn,
  .pricing-final-actions .btn {
    width: 100%;
  }

  .three-col,
  .four-col,
  .mini-table-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-panel,
  .package-card,
  .mini-table-wrap,
  .terms-card {
    border-radius: var(--radius-md);
  }

  .hero-panel-line {
    flex-direction: column;
    gap: 4px;
  }

  .hero-panel-line strong {
    text-align: left;
  }
}

/* ===============================
   DARK MODE CONTRAST PATCH
   Pricing Page
================================ */

html[data-theme="dark"] .pricing-hero-content p,
html[data-theme="dark"] .pricing-table td,
html[data-theme="dark"] .package-card p,
html[data-theme="dark"] .package-card li,
html[data-theme="dark"] .mini-table-grid span,
html[data-theme="dark"] .terms-card p {
  color: rgba(248, 249, 251, 0.74);
}

html[data-theme="dark"] .package-price span {
  color: rgba(248, 249, 251, 0.66);
}

html[data-theme="dark"] .package-price strong,
html[data-theme="dark"] .package-card h3,
html[data-theme="dark"] .mini-table-wrap h3,
html[data-theme="dark"] .terms-card h3,
html[data-theme="dark"] .terms-card strong,
html[data-theme="dark"] .pricing-table td:first-child,
html[data-theme="dark"] .mini-table-grid strong {
  color: #f8f9fb;
}

html[data-theme="dark"] .pricing-table td:last-child,
html[data-theme="dark"] .package-tag {
  color: var(--gold);
}
