/* ═══════════════════════════════════════════════════════
   Digital Wheel — Plan & Package Detail Pages
   Covers: plan-starter, plan-growth, plan-scale,
           pkg-ecom-starter, pkg-ecom-growth,
           pkg-traffic-booster, pkg-brand-awareness
   ═══════════════════════════════════════════════════════ */

/* ── PLAN HERO ─────────────────────────────────────────── */
.plan-hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.plan-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30,111,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,232,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* accent blobs per hero variant */
.plan-hero::before,
.plan-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.plan-hero::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(30,111,232,0.22) 0%, transparent 70%);
  top: -220px; right: -80px;
}
.plan-hero::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(230,51,41,0.10) 0%, transparent 70%);
  bottom: -120px; left: 4%;
}

/* package hero colour overrides */
.pkg-hero-ecom::before        { background: radial-gradient(circle, rgba(30,111,232,0.25) 0%, transparent 70%); }
.pkg-hero-ecom-growth::before { background: radial-gradient(circle, rgba(230,51,41,0.18) 0%, transparent 70%); }
.pkg-hero-traffic::before     { background: radial-gradient(circle, rgba(30,111,232,0.28) 0%, transparent 70%); }
.pkg-hero-brand::before       { background: radial-gradient(circle, rgba(230,51,41,0.16) 0%, transparent 70%); right: -60px; top: -180px; }

.plan-hero-scale::before {
  background: radial-gradient(circle, rgba(230,51,41,0.2) 0%, transparent 70%);
}

.plan-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── left column ── */
.plan-hero-left { display: flex; flex-direction: column; gap: 1.2rem; }

.plan-breadcrumb a {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.plan-breadcrumb a:hover { color: var(--blue); }

.plan-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(30,111,232,0.15);
  border: 1px solid rgba(30,111,232,0.35);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 20px;
  width: fit-content;
}
.popular-badge-hero {
  background: rgba(230,51,41,0.15);
  border-color: rgba(230,51,41,0.4);
  color: #ff6b61;
}
.scale-badge-hero {
  background: rgba(255,215,0,0.12);
  border-color: rgba(255,215,0,0.35);
  color: #ffd700;
}

.plan-hero-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.plan-hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
}

.plan-hero-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-top: .4rem;
}
.php-currency {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--blue);
  line-height: 1;
}
.php-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1;
}
.php-period {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-left: .1rem;
}

.plan-hero-save {
  font-size: .85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.plan-hero-save strong { color: rgba(255,255,255,0.85); }

.plan-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .4rem;
}

.plan-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  margin-top: .2rem;
}
.plan-hero-trust span {
  font-size: .8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ── right column: snapshot card ── */
.plan-snapshot-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.plan-snapshot-popular {
  border-color: rgba(230,51,41,0.35);
  background: rgba(230,51,41,0.05);
}
.plan-snapshot-scale {
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.04);
}

.psc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}

.psc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.psc-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.psc-icon { font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }

.psc-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: .78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

/* ── PLAN SECTIONS ─────────────────────────────────────── */
.plan-section { padding: 5rem 0; background: var(--white); }
.plan-section-navy { background: var(--navy); }
.plan-section-navy .section-title { color: #fff; }

/* ── DELIVERABLES GRID ─────────────────────────────────── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}

.deliv-card {
  background: var(--off-white);
  border-radius: 14px;
  padding: 1.6rem;
  border: 1px solid #e2e8f0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.deliv-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30,111,232,0.1);
}
.deliv-card-highlight {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.deliv-card-highlight:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.deliv-not-included {
  opacity: .55;
  border-style: dashed;
}

.deliv-icon { font-size: 2rem; line-height: 1; }

.deliv-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
}
.deliv-card-highlight .deliv-name { color: #fff; }
.deliv-not-included .deliv-name { color: var(--gray); }

.deliv-desc {
  font-size: .87rem;
  color: var(--gray);
  line-height: 1.6;
}
.deliv-card-highlight .deliv-desc { color: rgba(255,255,255,0.75); }

.deliv-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .3rem;
}
.deliv-details li {
  font-size: .8rem;
  color: var(--gray);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.deliv-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .75rem;
}
.deliv-card-highlight .deliv-details li { color: rgba(255,255,255,0.75); }
.deliv-card-highlight .deliv-details li::before { color: rgba(255,255,255,0.6); }
.deliv-not-included .deliv-details li::before { content: '✗'; color: #ccc; }

/* ── PLAN TIMELINE ─────────────────────────────────────── */
.plan-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: .5rem;
  overflow-x: auto;
  padding-bottom: .5rem;
}

.ptl-step {
  flex: 1;
  min-width: 160px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: background .2s;
}
.ptl-step:hover { background: rgba(30,111,232,0.1); }

.ptl-step-highlight {
  background: var(--blue);
  border-color: var(--blue);
}
.ptl-step-highlight:hover { background: var(--blue-dark); }

.ptl-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 1.4rem;
  padding: 0 .5rem;
  flex-shrink: 0;
  margin-top: 2rem;
}

.ptl-num {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
}
.ptl-step-highlight .ptl-num { color: rgba(255,255,255,0.7); }

.ptl-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.1;
}

.ptl-desc {
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.ptl-step-highlight .ptl-desc { color: rgba(255,255,255,0.8); }

/* ── IDEAL FOR + RESULTS ───────────────────────────────── */
.plan-ideal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ideal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}
.ideal-list li {
  font-size: .95rem;
  color: var(--gray);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.5;
}
.ideal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.plan-results-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.2rem;
  border: 1px solid rgba(30,111,232,0.25);
}
.plan-results-scale {
  background: linear-gradient(135deg, #0f1f4e 60%, #1a2b6b);
  border-color: rgba(255,215,0,0.2);
}

.prb-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.prb-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.prb-metric { display: flex; flex-direction: column; gap: .2rem; }

.prb-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--blue);
  line-height: 1;
}
.plan-results-scale .prb-num { color: #ffd700; }

.prb-label {
  font-size: .78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ── PACKAGE MONTH GRID (weekly breakdown) ─────────────── */
.pkg-month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: .5rem;
}

.pkg-week-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: border-color .2s, box-shadow .2s;
}
.pkg-week-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(30,111,232,0.09);
}
.pwk-highlight {
  border-color: var(--blue);
  background: var(--blue-light);
}

.pwk-num {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
}
.pwk-highlight .pwk-num { color: var(--blue-dark); }

.pwk-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.1;
}

.pwk-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.pwk-tasks li {
  font-size: .82rem;
  color: var(--gray);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.pwk-tasks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: .75rem;
}

/* ── PACKAGE RESULTS GRID ──────────────────────────────── */
.pkg-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}

.pkg-result-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background .2s, border-color .2s;
}
.pkg-result-card:hover {
  background: rgba(30,111,232,0.1);
  border-color: rgba(30,111,232,0.35);
}

.prc-icon { font-size: 1.8rem; line-height: 1; }

.prc-metric {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--blue);
  line-height: 1;
}

.prc-label {
  font-size: .8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ── PACKAGE UPGRADE BANNER ────────────────────────────── */
.pkg-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 2.2rem 2.4rem;
  border: 1px solid rgba(30,111,232,0.25);
  flex-wrap: wrap;
}

.pub-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: .5rem;
}
.pub-text p {
  font-size: .9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 560px;
}
.pub-text strong { color: rgba(255,255,255,0.9); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-month-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .plan-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .plan-hero-right { order: -1; }
  .plan-ideal-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .plan-timeline { flex-direction: column; }
  .ptl-arrow { transform: rotate(90deg); margin: 0 auto; padding: .2rem 0; }
}

@media (max-width: 768px) {
  .plan-hero { padding: 7rem 0 4rem; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .pkg-month-grid { grid-template-columns: 1fr; }
  .pkg-results-grid { grid-template-columns: repeat(2, 1fr); }
  .prb-metrics { grid-template-columns: 1fr 1fr; }
  .pkg-upgrade-banner { flex-direction: column; align-items: flex-start; }
  .plan-hero-ctas { flex-direction: column; }
  .plan-hero-ctas .btn-primary,
  .plan-hero-ctas .btn-secondary { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .pkg-results-grid { grid-template-columns: 1fr 1fr; }
  .prb-metrics { grid-template-columns: 1fr; }
}
