/* ==============================
   Website Packs — Pricing Cards
============================== */

.packs-intro{ max-width:760px; }

.packs-grid{
  display:grid; grid-template-columns:1fr; gap:1.2rem;
  margin-top:1.6rem;
}
@media (min-width:860px){
  .packs-grid{ grid-template-columns:repeat(3,1fr); align-items:stretch; }
}

.pricing-card{
  position:relative;
  display:flex; flex-direction:column;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--border);
  border-radius:1rem; padding:1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover{
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 14px var(--neon-weak2);
}

.pricing-card--featured{
  border-color: var(--neon);
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 18px var(--neon-weak2);
}

.pricing-card__badge{
  position:absolute; top:-.7rem; right:1.2rem;
  background: linear-gradient(180deg, #0cf298, #04c26f);
  color:#022e18; font-weight:800; font-size:.75rem;
  padding:.3rem .6rem; border-radius:999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.pricing-card__icon{
  width:48px; height:48px; border-radius:.7rem;
  display:flex; align-items:center; justify-content:center;
  background:#0b1511; border:1px solid var(--border);
  color:var(--neon); font-size:1.2rem; margin-bottom:.9rem;
}

.pricing-card h3{ margin:0 0 .3rem; font-size:1.2rem; }
.pricing-card__tagline{ color:var(--muted); margin:0 0 1rem; font-size:.92rem; }

.pricing-card__price{
  display:flex; align-items:baseline; gap:.4rem;
  margin:0 0 1.1rem;
}
.pricing-card__price .amount{
  font-size:1.9rem; font-weight:800; color:var(--neon);
  text-shadow:0 0 8px var(--neon-weak);
}
.pricing-card__price .period{ color:var(--muted); font-size:.85rem; }

.feature-list{ list-style:none; margin:0 0 1.3rem; padding:0; display:grid; gap:.55rem; flex:1; }
.feature-list li{
  display:flex; align-items:flex-start; gap:.55rem;
  color:var(--text); font-size:.92rem;
}
.feature-list li i{ color:var(--neon); margin-top:.2rem; font-size:.85rem; }

.pricing-card .btn-glow{
  margin-top:auto; text-align:center; width:100%;
}

/* Maintenance strip */
.maint-grid{
  display:grid; grid-template-columns:1fr; gap:1.2rem;
  margin-top:1.6rem;
}
@media (min-width:860px){
  .maint-grid{ grid-template-columns:repeat(3,1fr); }
}

/* CTA banner */
.packs-cta{
  margin-top:2.4rem; text-align:center;
  padding:2rem 1.2rem; border-radius:1rem;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--border);
}
.packs-cta h3{ margin:0 0 .5rem; color:var(--neon); text-shadow:0 0 8px var(--neon-weak); }
.packs-cta p{ color:var(--muted); margin:0 0 1.2rem; }

.packs-note{ color:var(--muted); font-size:.88rem; margin-top:.8rem; }

/* ==============================
   Pack Modifications (Premium Glows) – main packs page
============================== */

/* 1. Silver (Starter) */
.pricing-card--silver {
  border-color: rgba(209, 220, 229, 0.3);
}
.pricing-card--silver:hover {
  border-color: #d1dce5;
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 25px rgba(209, 220, 229, 0.25);
}
.pricing-card--silver .pricing-card__icon,
.pricing-card--silver .amount,
.pricing-card--silver .feature-list li i {
  color: #d1dce5;
  text-shadow: 0 0 8px rgba(209, 220, 229, 0.4);
}
.pricing-card--silver .btn-glow {
  border-color: #d1dce5;
  color: #d1dce5;
  text-shadow: 0 0 6px rgba(209, 220, 229, 0.4);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 8px rgba(209, 220, 229, 0.2);
}
.pricing-card--silver .btn-glow:hover {
  background: rgba(209, 220, 229, 0.1);
  box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 12px rgba(209, 220, 229, 0.3);
}

/* 2. Diamond Blue (Premium) */
.pricing-card--blue {
  border-color: rgba(0, 229, 255, 0.4);
  transform: scale(1.02);
}
.pricing-card--blue:hover {
  border-color: #00e5ff;
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 25px rgba(0, 229, 255, 0.35);
  transform: scale(1.04) translateY(-4px);
}
.pricing-card--blue .pricing-card__icon,
.pricing-card--blue .amount,
.pricing-card--blue .feature-list li i {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.pricing-card--blue .pricing-card__badge {
  background: linear-gradient(180deg, #00e5ff, #0099ff);
  color: #001a22;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}
.pricing-card--blue .btn-glow {
  border-color: #00e5ff;
  color: #00e5ff;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 8px rgba(0, 229, 255, 0.2);
}
.pricing-card--blue .btn-glow:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 12px rgba(0, 229, 255, 0.3);
}

/* 3. Gold (Custom) */
.pricing-card--gold {
  border-color: rgba(255, 204, 0, 0.3);
}
.pricing-card--gold:hover {
  border-color: #ffcc00;
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 25px rgba(255, 204, 0, 0.25);
}
.pricing-card--gold .pricing-card__icon,
.pricing-card--gold .amount,
.pricing-card--gold .feature-list li i {
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}
.pricing-card--gold .btn-glow {
  border-color: #ffcc00;
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.4);
  box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 8px rgba(255, 204, 0, 0.2);
}
.pricing-card--gold .btn-glow:hover {
  background: rgba(255, 204, 0, 0.1);
  box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 12px rgba(255, 204, 0, 0.3);
}

/* ==============================
   Pack‑specific Root Overrides (dark & light)
   – used on detail pages via data-pack attribute
============================== */

/* --- DARK mode (default) --- */
:root[data-pack="starter"] {
  --neon: #d1dce5;
  --neon-weak: rgba(209, 220, 229, 0.35);
  --neon-weak2: rgba(209, 220, 229, 0.15);
  --accent: #a5b5c1;
}
:root[data-pack="premium"] {
  --neon: #00e5ff;
  --neon-weak: rgba(0, 229, 255, 0.35);
  --neon-weak2: rgba(0, 229, 255, 0.15);
  --accent: #00bfff;
}
:root[data-pack="custom"] {
  --neon: #ffcc00;
  --neon-weak: rgba(255, 204, 0, 0.35);
  --neon-weak2: rgba(255, 204, 0, 0.15);
  --accent: #d4a000;
}

/* --- LIGHT mode overrides --- */
:root[data-theme="light"][data-pack="starter"] {
  --neon: #4a5a6a;
  --neon-weak: rgba(74, 90, 106, 0.35);
  --neon-weak2: rgba(74, 90, 106, 0.15);
  --accent: #3a4a5a;
}
:root[data-theme="light"][data-pack="premium"] {
  --neon: #0066aa;
  --neon-weak: rgba(0, 102, 170, 0.35);
  --neon-weak2: rgba(0, 102, 170, 0.15);
  --accent: #005599;
}
:root[data-theme="light"][data-pack="custom"] {
  --neon: #b8960a;
  --neon-weak: rgba(184, 150, 10, 0.35);
  --neon-weak2: rgba(184, 150, 10, 0.15);
  --accent: #a08000;
}

/* ==============================
   Detail page – Feature Cards & Background
============================== */

/* Gradient overlay for pack pages (lets canvas show through) */
.pack-bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% 0%, var(--neon-weak), transparent),
    radial-gradient(900px 500px at 90% 10%, var(--neon-weak2), transparent);
}

/* Feature cards grid – used on starter/premium/custom pages */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
  box-shadow: 0 0 20px var(--neon-weak2);
}
.feature-card i {
  font-size: 1.8rem;
  color: var(--neon);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px var(--neon-weak));
}
.feature-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
