/* ============================================================
   Penny Revise Media — services.css
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  text-align: center;
  z-index: 2;
}
.page-hero-scan {
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: scanDown 7s linear infinite;
  z-index: 1;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.page-hero-orb.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  animation: floatOrb 10s ease-in-out infinite;
}
.page-hero-orb.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,60,172,0.08) 0%, transparent 70%);
  bottom: 0; right: 10%;
  animation: floatOrb 13s ease-in-out infinite reverse;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Jump nav pills */
.service-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.jump-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 0.45rem 1rem;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.jump-pill:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,240,255,0.05);
  box-shadow: 0 0 16px rgba(0,240,255,0.1);
}

/* ══════════════════════════════════════════════════════════
   SERVICE SECTIONS
══════════════════════════════════════════════════════════ */
.svc-section {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border);
}
.svc-section--alt {
  background: var(--bg-2);
}

.svc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.svc-layout--reverse .svc-left  { order: 2; }
.svc-layout--reverse .svc-right { order: 1; }

.svc-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0,240,255,0.07);
  line-height: 1;
  margin-bottom: -0.5rem;
  letter-spacing: -0.02em;
}

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.svc-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1rem;
}
.svc-desc strong { color: var(--text); font-weight: 600; }

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
}
.svc-feature {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feat-check {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  font-weight: 700;
}

.svc-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   SERVICE VISUALS — shared
══════════════════════════════════════════════════════════ */
.svc-visual {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,240,255,0.07), 0 0 120px rgba(0,102,255,0.04);
}

/* shared topbar (reused across visuals) */
.ai-vis-header,
.ghl-header,
.ads-header,
.content-header,
.wd-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ai-vis-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* shared status row */
.ghl-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}
.av-status-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.ads-section-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

/* ── 01 AI Automation Visual ────────────────────────────── */
.ai-visual .ai-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1.5rem 1.5rem 0;
}
.ai-flow-node {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.ai-flow-node.node-active {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
}
.node-icon { font-size: 1.4rem; flex-shrink: 0; }
.node-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.node-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.ai-flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 36px;
  width: 100%;
}
.flow-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(0,240,255,0.1));
}
.flow-dot {
  position: absolute;
  top: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: flowDown 1.8s ease-in-out infinite;
}
@keyframes flowDown {
  0%   { top: 0;    opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ai-vis-metrics {
  display: flex;
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
}
.vis-metric {
  flex: 1;
  padding: 0.85rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vis-metric:last-child { border-right: none; }
.vm-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.vm-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 02 GHL Visual ──────────────────────────────────────── */
.ghl-body { padding: 1.25rem; }
.ghl-section-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.ghl-pipeline {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ghl-stage {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.5rem;
}
.ghl-stage--hot {
  border-color: rgba(255,60,172,0.4);
  background: rgba(255,60,172,0.04);
}
.ghl-stage-name {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.ghl-cards { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.5rem; }
.ghl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text);
  letter-spacing: 0.05em;
  animation: cardFloat 0.5s var(--ease) both;
}
.ghl-card--hot {
  border-color: rgba(255,60,172,0.4);
  color: var(--accent-warm);
}
@keyframes cardFloat {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ghl-stage-count {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.ghl-metrics {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.ghl-metric {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ghl-met-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.ghl-met-label {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 03 Ads Visual ──────────────────────────────────────── */
.ads-visual .ads-body,
.ads-body { padding: 1.25rem; }

.ads-bars { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1rem; }
.ads-bar-row { display: flex; align-items: center; gap: 0.75rem; }
.ads-platform {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  width: 60px;
  flex-shrink: 0;
}
.ads-bar-track {
  flex: 1;
  height: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.ads-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.4rem;
  transition: width 1.2s var(--ease);
}
.ads-bar-val {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--bg);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ads-kpis {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.ads-kpi {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.kpi-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 04 Content Visual ──────────────────────────────────── */
.content-body { padding: 1.25rem; }
.content-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.cw-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.cw-label {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.cw-item {
  width: 100%;
  padding: 0.4rem 0.2rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  font-size: 0.5rem;
  text-align: center;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: border-color 0.3s;
}
.cw-reel  { border-color: rgba(0,240,255,0.3);  color: var(--accent); }
.cw-post  { border-color: rgba(0,102,255,0.3);  color: var(--accent-2); }
.cw-story { border-color: rgba(255,60,172,0.3); color: var(--accent-warm); }
.cw-blog  { border-color: rgba(255,200,0,0.3);  color: #ffc800; }
.active-day .cw-item { box-shadow: 0 0 10px rgba(0,240,255,0.15); }

.content-metrics { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.cm-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
}
.cm-icon { font-size: 1rem; }
.cm-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.cm-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
}

/* ── 05 Web Dev Visual ──────────────────────────────────── */
.wd-body { padding: 1.25rem; }
.wd-speed {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
}
.speed-ring-wrap {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.speed-ring { width: 80px; height: 80px; }
.speed-score {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.speed-score span:first-child {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.speed-label {
  font-family: var(--font-mono);
  font-size: 0.4rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.speed-meta { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.speed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.si-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.si-val {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

/* Funnel */
.wd-funnel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.wf-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(0,240,255,0.15), rgba(0,102,255,0.08));
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.4rem 0.7rem;
  transition: width 1s var(--ease);
}
.wf-step--final {
  background: linear-gradient(90deg, rgba(0,240,255,0.3), rgba(0,102,255,0.2));
  border-color: rgba(0,240,255,0.3);
}
.wf-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.wf-val {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════════════════════ */
.process-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--border);
}
.process-step {
  background: var(--surface);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}
.process-step:hover { background: var(--surface-2); }
.ps-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.ps-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════ */
.faq-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.faq-q:hover { background: var(--surface-2); }
.faq-q[aria-expanded="true"] { background: var(--surface-2); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease), color 0.3s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
  background: var(--bg-2);
}
.faq-a.open {
  max-height: 300px;
}
.faq-a p {
  padding: 1.25rem 1.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr; gap: 3rem; }
  .svc-layout--reverse .svc-left  { order: 0; }
  .svc-layout--reverse .svc-right { order: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 60px; }
  .page-hero-title { font-size: 2.2rem; }
  .svc-section { padding: 4rem 0; }
  .svc-number { font-size: 2.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-section, .faq-section { padding: 5rem 0; }
  .service-jump-nav { gap: 0.4rem; }
  .jump-pill { font-size: 0.6rem; padding: 0.4rem 0.75rem; }
  .content-week { grid-template-columns: repeat(7, 1fr); gap: 0.2rem; }
}

@media (max-width: 480px) {
  .ghl-pipeline { flex-direction: column; }
  .ads-kpis { gap: 0.4rem; }
  .ghl-metrics { gap: 0.4rem; }
}
