/* ============================================
   HERO
============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,240,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,240,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 20%, transparent 100%);
  pointer-events: none;
}

.hero-glow-top {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center top, rgba(0,200,240,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text3);
  line-height: 1.82;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 2rem;
  flex-shrink: 0;
}

.stat-val {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-desc {
  font-size: 0.73rem;
  color: var(--text3);
  letter-spacing: 0.2px;
  line-height: 1.4;
}

/* HERO VISUAL / MOCKUP */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(0,200,240,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,200,240,0.08);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg4);
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }

.mockup-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text3);
  letter-spacing: 0.3px;
}

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: livepulse 2s infinite;
}

.ms-dot.online { background: var(--green); }
.ms-dot.offline { background: #EF4444; }

.ms-network {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  font-family: var(--font-head);
}

.ms-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 100px;
}

.ms-tag.online-tag {
  background: rgba(0,232,122,0.1);
  border: 1px solid rgba(0,232,122,0.25);
  color: var(--green);
}

.mockup-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mm-card {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-label {
  font-size: 0.65rem;
  color: var(--text3);
  font-family: var(--font-mono);
  letter-spacing: 0.2px;
}

.mm-val {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.mm-val.green { color: var(--green); }
.mm-val.cyan  { color: var(--cyan); }

.mockup-chart {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 8px;
}

.cb {
  flex: 1;
  background: rgba(0,200,240,0.15);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
}

.cb.active { background: var(--cyan); opacity: 0.85; }

.chart-label {
  font-size: 0.65rem;
  color: var(--text3);
  font-family: var(--font-mono);
}

.mockup-ref {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,232,122,0.05);
  border: 1px solid rgba(0,232,122,0.15);
  border-radius: 10px;
  padding: 10px 14px;
}

.ref-label {
  font-size: 0.72rem;
  color: var(--text3);
  flex: 1;
}

.ref-val {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
}

.ref-btn {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(0,232,122,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--transition);
  font-family: var(--font-head);
}

.ref-btn:hover { background: rgba(0,232,122,0.1); }

/* ============================================
   HOW IT WORKS
============================================ */
.hiw-section { background: var(--bg); }

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}

.hiw-step {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.hiw-step:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  margin-top: 2.5rem;
  flex-shrink: 0;
  opacity: 0.25;
}

.hiw-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.hiw-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border: 1px solid var(--border2);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.hiw-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.hiw-step p {
  font-size: 0.85rem;
  color: var(--text3);
  line-height: 1.72;
}

/* ============================================
   PLANS
============================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-popular-badge {
  margin-bottom: 0.75rem;
}

.plan-header { margin-bottom: 1.25rem; }

.plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text3);
  line-height: 1.65;
}

.plan-price { margin-bottom: 1.5rem; }

.price-from {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text3);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.price-amount sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text3);
  vertical-align: baseline;
}

.price-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2px;
}

.price-note.green { color: var(--green); }
.price-note.cyan  { color: var(--cyan); }

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--text2);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.plan-features li:last-child { border-bottom: none; }
.plan-features li svg { flex-shrink: 0; margin-top: 2px; }

.plan-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.plans-disclaimer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text3);
  text-align: center;
  justify-content: center;
}

/* ============================================
   CALCULATOR
============================================ */
.calc-section { background: var(--bg); }

.calc-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.calc-select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A8BA8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.calc-select:focus { border-color: var(--cyan); }

.calc-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--bg3);
  border: 1px solid rgba(0,200,240,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.cr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.cr-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--text3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.cr-val {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.cr-val.green { color: var(--green); }
.cr-val.cyan  { color: var(--cyan); }

.cr-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin: 0 1rem;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text3);
  text-align: center;
  line-height: 1.7;
  font-style: italic;
}

/* ============================================
   AFFILIATE
============================================ */
.aff-section { }

.aff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.aff-content h2 { margin-bottom: 1rem; }
.aff-content > p { margin-bottom: 2rem; color: var(--text3); }

.aff-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.aff-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.af-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border: 1px solid var(--border2);
  border-radius: 10px;
  margin-top: 2px;
}

.aff-feat h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.aff-feat p {
  font-size: 0.82rem;
  color: var(--text3);
  line-height: 1.65;
}

.aff-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.aff-table-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0,200,240,0.04);
  border-bottom: 1px solid var(--border);
}

.aff-table-head span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.aff-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.aff-table-row:last-of-type { border-bottom: none; }
.aff-table-row:hover { background: rgba(0,200,240,0.02); }

.atr-product {
  font-size: 0.85rem;
  color: var(--text2);
}

.atr-rate {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.2px;
}

.aff-table-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 0.74rem;
  color: var(--text3);
  border-top: 1px solid var(--border);
  background: var(--bg3);
}

/* ============================================
   HOSTING STRIP
============================================ */
.hosting-strip { background: var(--bg); }

.hs-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.hs-content h2 { margin-bottom: 1rem; }
.hs-content > p { color: var(--text3); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.8; }

.hs-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hs-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text2);
  transition: border-color var(--transition);
}

.hs-feat:hover { border-color: var(--border2); color: var(--text); }

/* ============================================
   FINAL CTA
============================================ */
.cta-section { }

.cta-inner {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,240,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner .section-label { display: inline-flex; margin-bottom: 1rem; }
.cta-inner h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-inner > p { color: var(--text3); margin-bottom: 2rem; }

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hiw-steps { flex-direction: column; }
  .hiw-arrow { transform: rotate(90deg); align-self: center; }
  .aff-grid { grid-template-columns: 1fr; }
  .hs-inner { grid-template-columns: 1fr; }
  .calc-result { grid-template-columns: 1fr 1fr; }
  .cr-divider { display: none; }
}

@media (max-width: 640px) {
  .hero-section { padding: 90px 0 56px; }
  .hero-title { font-size: clamp(1.8rem,8vw,2.6rem); letter-spacing: -0.5px; }
  .hero-desc { font-size: 0.95rem; }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { padding-right: 0; }
  .stat-val { font-size: 1.4rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .calc-controls { grid-template-columns: 1fr; }
  .calc-result { grid-template-columns: 1fr; }
  .hs-features { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
}

/* ============================================
   SECTION BACKGROUND ENHANCEMENTS
   Adds depth and professionalism to sections
============================================ */

/* How It Works — subtle circuit pattern */
.hiw-section {
  background: var(--bg);
  position: relative;
}
.hiw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,200,240,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,232,122,0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Plans section — darker with gradient top */
.plans-section {
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%) !important;
  position: relative;
}
.plans-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-border), transparent);
}

/* Calculator — glowing centre radial */
.calc-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.calc-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,240,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Affiliate section — dark with subtle grid */
.aff-section {
  background: var(--bg2) !important;
  position: relative;
}
.aff-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,200,240,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,200,240,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 80% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

/* Hosting strip — gradient line top and bottom */
.hosting-strip {
  background: var(--bg);
  position: relative;
}
.hosting-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-border) 30%, var(--green-border) 70%, transparent 100%);
}

/* Partners section — dark with dot grid */
/* ── PARTNERS LOGO STRIP ── */
.partners-section {
  background: var(--bg2) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.partners-section::before {
  display: none; /* remove dot grid — clean strip */
}
.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text4);
  margin-bottom: 20px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.plogo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  opacity: 0.55;
  transition: opacity 0.2s;
  border-right: 1px solid var(--border);
}
.plogo-item:last-child { border-right: none; }
.plogo-item:hover { opacity: 1; }
.plogo-svg {
  height: 28px;
  width: auto;
  color: var(--text2);
  display: block;
}

/* Light mode */
body.dph-light .partners-section {
  background: #F8FAFD !important;
}
body.dph-light .plogo-item {
  opacity: 0.5;
}
body.dph-light .plogo-item:hover { opacity: 1; }
body.dph-light .plogo-svg { color: #111827; }

/* Mobile — wrap into 2 columns */
@media (max-width: 600px) {
  .plogo-item {
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 50%;
  }
  .plogo-item:nth-child(even) { border-right: none; }
  .plogo-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* Testimonials — rich blue-tinted dark */
.testimonials-section {
  background: linear-gradient(135deg, rgba(0,200,240,0.04) 0%, var(--bg2) 40%, rgba(0,232,122,0.03) 100%) !important;
  position: relative;
}

/* CTA section — dramatic gradient with glow */
.cta-section {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%) !important;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,240,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── LIGHT MODE section backgrounds ── */
body.dph-light .hiw-section::before {
  background-image: radial-gradient(circle at 20% 50%, rgba(0,98,204,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(5,150,105,0.03) 0%, transparent 40%);
}

body.dph-light .plans-section {
  background: linear-gradient(180deg, #EEF2FB 0%, #E8EDF5 100%) !important;
}

body.dph-light .aff-section {
  background: #F0F4FC !important;
}

body.dph-light .aff-section::before {
  background-image: linear-gradient(rgba(0,98,204,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,98,204,0.05) 1px, transparent 1px);
}

body.dph-light .testimonials-section {
  background: linear-gradient(135deg, rgba(0,98,204,0.04) 0%, #F5F7FB 40%, rgba(5,150,105,0.03) 100%) !important;
}

body.dph-light .cta-section {
  background: linear-gradient(180deg, #E8EDF5 0%, #EEF2FB 100%) !important;
}

body.dph-light .partners-section::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
}


/* ============================================
   SECTION BACKGROUNDS — adds depth & seriousness
============================================ */

/* How It Works — subtle dot grid */
.hiw-section {
  background: var(--bg);
  position: relative;
}
.hiw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,240,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hiw-section .container { position: relative; }

/* Plans — diagonal stripe accent */
.plans-section {
  position: relative;
  overflow: hidden;
}
.plans-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,240,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.plans-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(ellipse, rgba(0,232,122,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.plans-section .container { position: relative; }

/* Earnings calculator — clean dark card feel */
.calc-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  position: relative;
}
.calc-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,200,240,0.3), transparent);
  pointer-events: none;
}

/* Affiliate — geometric background accent */
.aff-section {
  position: relative;
  overflow: hidden;
}
.aff-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,200,240,0.03) 100%);
  pointer-events: none;
}

/* Hosting strip — border gradient */
.hosting-strip {
  position: relative;
}
.hosting-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,240,0.4), transparent);
}
.hosting-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,240,0.4), transparent);
}

/* Partners section background */
.partners-section {
  position: relative;
  background: var(--bg);
}
.partners-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,240,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,240,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.partners-section .container { position: relative; }

/* Testimonials section */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,232,122,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA final section — dramatic gradient */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(0,200,240,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   LIGHT MODE SECTION BACKGROUNDS
   Much more vibrant, professional SaaS feel
============================================ */
/* ── HOW IT WORKS ── */
body.dph-light .hiw-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,98,204,0.05) 0%, transparent 70%),
    #F4F7FC;
}
body.dph-light .hiw-section::before {
  background-image: radial-gradient(circle, rgba(0,98,204,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 1;
}
body.dph-light .hiw-step {
  background: #FFFFFF;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-color: rgba(0,85,204,0.12);
}
/* Step number badge — vivid */
body.dph-light .hiw-step .hiw-num {
  background: linear-gradient(135deg, #0055CC, #0099FF);
  color: #FFFFFF;
  font-weight: 800;
}
/* Step icon — stronger */
body.dph-light .hiw-icon {
  background: linear-gradient(135deg, rgba(0,85,204,0.12), rgba(0,153,255,0.08));
  border-color: rgba(0,85,204,0.25);
  color: #0055CC;
}
/* Step heading */
body.dph-light .hiw-step h3 { color: #060F1E; font-weight: 700; }
body.dph-light .hiw-step p  { color: #1F2937; }

/* ── PLANS ── */
body.dph-light .plans-section {
  background:
    radial-gradient(ellipse 60% 50% at 95% 15%, rgba(0,200,240,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 85%, rgba(0,168,85,0.05) 0%, transparent 60%),
    #FFFFFF;
}
body.dph-light .plans-section::before,
body.dph-light .plans-section::after { display: none; }
body.dph-light .plan-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.10);
}
body.dph-light .plan-card.card-featured {
  box-shadow: 0 6px 32px rgba(0,85,204,0.18);
  border-color: rgba(0,85,204,0.35) !important;
}
/* Plan name and price */
body.dph-light .plan-name  { color: #060F1E; font-weight: 800; }
body.dph-light .plan-price { color: #060F1E; }
body.dph-light .plan-features li { color: #111827; }
body.dph-light .plan-features li svg { color: #00875A; }

/* ── CALCULATOR ── */
body.dph-light .calc-section {
  background:
    linear-gradient(180deg,
      #EEF3FC 0%,
      #E8EFF8 100%);
}
body.dph-light .calc-section::before {
  background: linear-gradient(90deg, transparent, rgba(0,98,204,0.30), transparent);
}

/* ── AFFILIATE ── */
body.dph-light .aff-section {
  background:
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(0,98,204,0.06) 0%, transparent 60%),
    #F7F9FD;
}

/* ── HOSTING STRIP ── */
body.dph-light .hosting-strip {
  background:
    linear-gradient(135deg, #FFFFFF 60%, rgba(0,200,240,0.05) 100%);
}
body.dph-light .hosting-strip::before {
  background: linear-gradient(90deg, transparent, rgba(0,98,204,0.25), transparent);
}
body.dph-light .hosting-strip::after {
  background: linear-gradient(90deg, transparent, rgba(0,98,204,0.25), transparent);
}

/* ── SERVER PARTNERS ── */
body.dph-light .partners-section {
  background: #F0F4FA;
}
body.dph-light .partners-section::before {
  background-image:
    linear-gradient(rgba(0,98,204,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,98,204,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
body.dph-light .partner-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}

/* ── TESTIMONIALS ── */
body.dph-light .testimonials-section {
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(0,98,204,0.06) 0%, transparent 60%),
    #F4F8FE;
}
body.dph-light .testimonial-card {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.07);
}

/* ── FINAL CTA ── */
body.dph-light .cta-section {
  background:
    radial-gradient(ellipse 80% 70% at 50% 110%, rgba(0,98,204,0.09) 0%, transparent 65%),
    linear-gradient(180deg, #EEF3FC 0%, #E8EFF8 100%);
}
body.dph-light .cta-section::before {
  display: none;
}

/* ============================================
   COLOUR VARIETY — welcoming multi-colour accents
   Applied in BOTH dark and light mode
============================================ */

/* HIW step icons — each step gets a unique colour accent */
.hiw-step:nth-child(1) .hiw-icon { background: rgba(0,200,240,0.12); border-color: rgba(0,200,240,0.3); color: #00C8F0; }
.hiw-step:nth-child(2) .hiw-icon { background: rgba(0,232,122,0.12); border-color: rgba(0,232,122,0.3); color: #00E87A; }
.hiw-step:nth-child(3) .hiw-icon { background: rgba(255,165,0,0.12);  border-color: rgba(255,165,0,0.3);  color: #FFA500; }
.hiw-step:nth-child(4) .hiw-icon { background: rgba(180,80,255,0.12); border-color: rgba(180,80,255,0.3); color: #B450FF; }

/* HIW step number dots */
.hiw-step:nth-child(1) .hiw-num { background: #00C8F0; color: #05070E; }
.hiw-step:nth-child(2) .hiw-num { background: #00E87A; color: #05070E; }
.hiw-step:nth-child(3) .hiw-num { background: #FFA500; color: #05070E; }
.hiw-step:nth-child(4) .hiw-num { background: #B450FF; color: #FFFFFF; }

/* Light mode HIW — keep the same colour variety */
body.dph-light .hiw-step:nth-child(1) .hiw-icon { background: rgba(0,85,204,0.10); border-color: rgba(0,85,204,0.28); color: #0055CC; }
body.dph-light .hiw-step:nth-child(2) .hiw-icon { background: rgba(0,135,90,0.10); border-color: rgba(0,135,90,0.28); color: #00875A; }
body.dph-light .hiw-step:nth-child(3) .hiw-icon { background: rgba(200,100,0,0.10); border-color: rgba(200,100,0,0.28); color: #C86400; }
body.dph-light .hiw-step:nth-child(4) .hiw-icon { background: rgba(120,50,200,0.10); border-color: rgba(120,50,200,0.28); color: #7832C8; }

body.dph-light .hiw-step:nth-child(1) .hiw-num { background: #0055CC; color: #FFFFFF; }
body.dph-light .hiw-step:nth-child(2) .hiw-num { background: #00875A; color: #FFFFFF; }
body.dph-light .hiw-step:nth-child(3) .hiw-num { background: #C86400; color: #FFFFFF; }
body.dph-light .hiw-step:nth-child(4) .hiw-num { background: #7832C8; color: #FFFFFF; }

/* Plan cards — coloured top border per plan */
.plan-card:nth-child(1) { border-top: 3px solid #6366F1; }
.plan-card:nth-child(2) { border-top: 3px solid #00C8F0; }
.plan-card:nth-child(3) { border-top: 3px solid #00E87A; }
.plan-card:nth-child(4) { border-top: 3px solid #F59E0B; }
.plan-card.card-featured { border-top: 3px solid #00C8F0 !important; }

/* Trust strip items — coloured icons */
.trust-item:nth-child(1) svg { color: #00C8F0; }
.trust-item:nth-child(2) svg { color: #00E87A; }
.trust-item:nth-child(3) svg { color: #F59E0B; }
.trust-item:nth-child(4) svg { color: #A78BFA; }
.trust-item:nth-child(5) svg { color: #F472B6; }

/* Section labels — gradient text */
.section-label {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Fallback for where gradient doesn't apply well */
body.dph-light .section-label {
  background: linear-gradient(135deg, #0055CC, #00875A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature check bullets on plan cards — sharp green */
.pfc-features li svg circle { stroke: #00E87A; }
.pfc-features li svg path  { stroke: #00E87A; }
body.dph-light .pfc-features li svg circle { stroke: #00875A; }
body.dph-light .pfc-features li svg path  { stroke: #00875A; }

/* Page hero section label */
body.dph-light .ph-trust span svg { color: #0055CC; }

/* Comparison table featured column — vivid blue header */
body.dph-light .comparison-table .featured-col { background: rgba(0,85,204,0.08); }
body.dph-light .comparison-table th.featured-col { background: #0055CC; color: #FFFFFF; }

/* Partner cards light mode */
body.dph-light .partner-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.10);
}
body.dph-light .partner-name { color: #060F1E; font-weight: 700; }

/* Testimonial cards */
body.dph-light .testimonial-card {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
body.dph-light .tc-text { color: #111827; }
body.dph-light .tc-name { color: #060F1E; font-weight: 700; }
body.dph-light .tc-role { color: #374151; }

/* CTA section heading */
body.dph-light .cta-section h2 { color: #060F1E; }
body.dph-light .cta-section p  { color: #1F2937; }

/* Hero badge colour */
.hero-badge {
  background: linear-gradient(135deg, rgba(255,165,0,0.15), rgba(255,140,0,0.08));
  border-color: rgba(255,165,0,0.35);
  color: #FFA500;
}
body.dph-light .hero-badge {
  background: linear-gradient(135deg, rgba(200,100,0,0.10), rgba(200,100,0,0.05));
  border-color: rgba(200,100,0,0.30);
  color: #C86400;
  -webkit-text-fill-color: #C86400;
}
