/* ============================================================
   SERVICE PAGES — Complete Rebuilt CSS
   mediahub22.com | Layout Fix v7
   ============================================================ */

/* Global overflow fix */
html, body { overflow-x: hidden !important; max-width: 100vw; }
* { box-sizing: border-box; }

/* ── Hero Section ────────────────────────────────────────── */
.sp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,229,255,.07) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(41,121,255,.09) 0%, transparent 55%),
              var(--dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.sp-hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(0,229,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,229,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.sp-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
  animation: orbFloat 9s ease-in-out infinite;
}
.sp-hero-orb-1 { width: 380px; height: 380px; background: rgba(0,229,255,.06); top: -80px; left: -80px; }
.sp-hero-orb-2 { width: 280px; height: 280px; background: rgba(41,121,255,.06); bottom: -40px; right: -40px; animation-delay: 4s; }

/* ── Hero Content Wrapper ────────────────────────────────── */
.sp-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 40px 70px;
}

/* ── Hero Inner — FLEXBOX (not grid) ─────────────────────── */
.sp-hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.sp-text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}
.sp-card-wrap {
  flex: 0 0 360px;
  width: 360px;
  min-width: 0;
}

/* Stagger reveal */
.sp-text > * {
  opacity: 0; transform: translateY(36px);
  animation: heroReveal .9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sp-text > *:nth-child(1){animation-delay:.1s}
.sp-text > *:nth-child(2){animation-delay:.24s}
.sp-text > *:nth-child(3){animation-delay:.38s}
.sp-text > *:nth-child(4){animation-delay:.52s}
.sp-text > *:nth-child(5){animation-delay:.66s}
.sp-text > *:nth-child(6){animation-delay:.8s}

.sp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.sp-hero h1 .el {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0,229,255,.4);
}
.sp-desc {
  font-size: .97rem; color: var(--text);
  line-height: 1.78; margin-bottom: 26px; font-weight: 300;
}
.sp-checks { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.sp-check { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text); font-weight: 500; }
.sp-check-icon {
  width: 22px; height: 22px; background: var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-size: .7rem; font-weight: 900; flex-shrink: 0;
}
.sp-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.sp-trust {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--dark-border);
  font-size: .78rem; color: var(--text);
}
.sp-trust strong { color: var(--white); }

/* ── Stats Card ──────────────────────────────────────────── */
.sp-card {
  background: rgba(12,25,48,.92);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 12px;
  padding: 22px 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(0,229,255,.1);
  width: 100%;
  animation: dashReveal .9s cubic-bezier(0.16,1,0.3,1) .3s both;
}
.sp-card-title {
  font-family: var(--font-display); font-size: .65rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.sp-card-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid rgba(0,229,255,.1);
}
.sp-card-stat:last-of-type { border-bottom: none; }
.sp-card-stat-label {
  font-size: .79rem; color: var(--text); font-weight: 300;
  padding-right: 10px; flex-shrink: 1;
}
.sp-card-stat-val {
  font-family: var(--font-display); font-size: .95rem; font-weight: 800;
  color: var(--cyan); white-space: nowrap; flex-shrink: 0; text-align: right;
}

/* ── Feature Cards ───────────────────────────────────────── */
.features-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.features-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feat-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 12px; padding: 26px 22px;
  transition: all .35s; position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 100%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: right .5s cubic-bezier(0.16,1,0.3,1);
}
.feat-card:hover { border-color: rgba(0,229,255,.28); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,229,255,.1); }
.feat-card:hover::before { right: 0; }
.feat-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.feat-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feat-desc { font-size: .85rem; color: var(--text); line-height: 1.72; font-weight: 300; }

/* ── Process Steps ───────────────────────────────────────── */
.sp-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.sp-steps::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
  opacity: .3; z-index: 0;
}
.sp-step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.sp-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark-card); border: 1px solid rgba(0,229,255,.28);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800; color: var(--cyan); transition: all .35s;
}
.sp-step:hover .sp-step-num { background: var(--cyan); color: var(--dark); box-shadow: var(--shadow-cyan); }
.sp-step-title { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sp-step-desc { font-size: .82rem; color: var(--text); line-height: 1.65; font-weight: 300; }

/* ── Rich Content ────────────────────────────────────────── */
.content-rich { max-width: 860px; margin: 0 auto; }
.content-rich h2 {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
  color: var(--white); margin: 40px 0 14px; letter-spacing: -.02em;
}
.content-rich h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--cyan); margin: 26px 0 10px;
}
.content-rich p { font-size: .97rem; color: var(--text); line-height: 1.88; margin-bottom: 16px; font-weight: 300; }
.content-rich ul, .content-rich ol { padding-left: 20px; margin-bottom: 18px; }
.content-rich li { font-size: .95rem; color: var(--text); line-height: 1.75; margin-bottom: 8px; font-weight: 300; }
.content-rich strong { color: var(--off-white); font-weight: 600; }

/* Stat callout */
.stat-callout { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0; }
.stat-callout-item {
  background: var(--dark-card); border: 1px solid rgba(0,229,255,.2);
  border-radius: 10px; padding: 20px; text-align: center;
}
.stat-callout-num {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  color: var(--cyan); display: block; line-height: 1; margin-bottom: 6px;
}
.stat-callout-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* Highlight box */
.highlight-box {
  background: rgba(0,229,255,.06); border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 22px 0;
}
.highlight-box p { color: var(--off-white) !important; margin: 0 !important; font-size: .93rem !important; }

/* ── Compare Table ───────────────────────────────────────── */
.compare-wrap { overflow-x: auto; margin: 24px 0; border-radius: 10px; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare-table thead tr { background: var(--dark-light); }
.compare-table th {
  color: var(--cyan); font-family: var(--font-display);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 16px; text-align: left;
  border-bottom: 2px solid rgba(0,229,255,.3);
}
.compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--dark-border); font-size: .87rem; color: var(--text); vertical-align: top; }
.compare-table tbody tr:hover td { background: var(--dark-card); }
.compare-table tbody tr:first-child td { background: rgba(0,229,255,.04); font-weight: 500; }
.compare-table .good { color: #22c55e; font-weight: 600; }
.compare-table .bad { color: #f87171; }

/* ── FAQ ─────────────────────────────────────────────────── */
.sp-faq-list { max-width: 820px; margin: 0 auto; }
.sp-faq-item {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 8px; margin-bottom: 10px; overflow: hidden;
}
.sp-faq-q {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-display);
  font-size: .97rem; font-weight: 700; color: var(--white); transition: color .2s;
}
.sp-faq-q:hover { color: var(--cyan); }
.sp-faq-icon { font-size: 1.2rem; color: var(--cyan); transition: transform .35s; flex-shrink: 0; font-style: normal; width: 20px; text-align: center; }
.sp-faq-item.open .sp-faq-icon { transform: rotate(45deg); }
.sp-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.sp-faq-a p { padding: 0 22px 18px; font-size: .92rem; color: var(--text); line-height: 1.85; font-weight: 300; }

/* ── CTA Band ────────────────────────────────────────────── */
.sp-cta {
  background: linear-gradient(135deg, var(--dark-card), var(--dark-light));
  border: 1px solid rgba(0,229,255,.22);
  border-radius: 12px; padding: 60px 44px;
  text-align: center; position: relative; overflow: hidden;
  margin: 0 28px;
}
.sp-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,229,255,.05) 0%, transparent 70%); pointer-events: none; }
.sp-cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -.02em; position: relative; }
.sp-cta p { color: var(--text); max-width: 500px; margin: 0 auto 26px; font-size: .97rem; line-height: 1.78; font-weight: 300; position: relative; }
.sp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.sp-channels { display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; position: relative; }

/* Proof grid */
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.proof-block { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; padding: 22px; text-align: center; }
.proof-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--cyan); line-height: 1; display: block; margin-bottom: 6px; }
.proof-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First Fixes
══════════════════════════════════════════════════════════ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .sp-hero-inner { gap: 36px; }
  .sp-card-wrap { flex: 0 0 320px; width: 320px; }
  .features-3 { grid-template-columns: repeat(2,1fr); }
  .sp-steps { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .sp-steps::before { display: none; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .stat-callout { grid-template-columns: repeat(3,1fr); }
}

/* Stack hero at 860px */
@media (max-width: 860px) {
  .sp-hero-inner { flex-direction: column; }
  .sp-card-wrap { flex: none; width: 100%; max-width: 520px; margin: 0 auto; }
  .sp-content { padding: 72px 24px 52px; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  .sp-hero { min-height: auto; }
  .sp-content { padding: 64px 18px 48px; }
  .sp-hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .sp-desc { font-size: .92rem; }
  .sp-btns { flex-direction: column; }
  .sp-btns .btn { width: 100%; justify-content: center; }
  .sp-trust { gap: 10px; font-size: .74rem; }
  .features-3, .features-2 { grid-template-columns: 1fr; }
  .sp-steps { grid-template-columns: 1fr; gap: 22px; }
  .sp-steps::before { display: none; }
  .sp-faq-q { font-size: .9rem; padding: 16px 18px; }
  .sp-faq-a p { padding: 0 18px 16px; font-size: .86rem; }
  .sp-cta { padding: 36px 18px; margin: 0; border-radius: 0; }
  .sp-cta h2 { font-size: 1.6rem; }
  .sp-cta-btns { flex-direction: column; }
  .sp-cta-btns .btn { width: 100%; }
  .sp-channels { flex-direction: column; }
  .channel-btn { width: 100%; justify-content: center; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .stat-callout { grid-template-columns: 1fr; }
  .sp-hero-orb { display: none; }
  .content-rich h2 { font-size: 1.4rem; }
  .content-rich h3 { font-size: 1.05rem; }
}

/* Small phones — 480px */
@media (max-width: 480px) {
  .sp-hero h1 { font-size: 1.7rem; }
  .sp-card { padding: 16px 14px; }
  .sp-cta { padding: 28px 14px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
