/* ═══════════════════════════════════════
   NESAM MEDIA — Services Page Styles
   ═══════════════════════════════════════ */

/* ─── Service Detail Sections ──────────── */
.service-detail { padding: 100px 0; background: var(--white); }
.service-detail.alternate { background: var(--off-white); }

.sd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sd-icon-wrap {
  width: 70px; height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.sd-icon-wrap.web   { background: rgba(59,130,246,0.12); color: #3B82F6; }
.sd-icon-wrap.app   { background: rgba(16,185,129,0.12); color: #10B981; }
.sd-icon-wrap.ebook { background: rgba(139,92,246,0.12); color: #8B5CF6; }
.sd-icon-wrap.audio { background: rgba(245,158,11,0.12); color: #F59E0B; }
.sd-icon-wrap.video { background: rgba(255,107,43,0.12); color: var(--accent); }

.sd-content p { font-size: 0.98rem; margin: 16px 0 28px; }

.sd-features { margin-bottom: 28px; }
.sdf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sdf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
}
.sdf-item i { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }

.order-visual { order: -1; }

/* ─── Mockup Visuals ─────────────────────── */
.sd-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Browser mockup */
.mock-browser {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--white);
}
.mock-bar {
  background: #F1F3F4;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mock-bar span:nth-child(1) { background: #FF5F56; }
.mock-bar span:nth-child(2) { background: #FFBD2E; }
.mock-bar span:nth-child(3) { background: #27C93F; }
.mock-body { padding: 16px; }
.mock-header {
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  margin-bottom: 14px;
}
.ml-wide { height: 12px; background: #E8EBF0; border-radius: 6px; margin-bottom: 8px; }
.ml-mid { height: 12px; background: #E8EBF0; border-radius: 6px; width: 75%; margin-bottom: 8px; }
.ml-short { height: 12px; background: #E8EBF0; border-radius: 6px; width: 50%; margin-bottom: 16px; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mc { height: 60px; background: #F4F7FC; border-radius: 8px; }

/* Phone mockup */
.mock-phone {
  width: 200px;
  height: 380px;
  background: var(--primary);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mock-notch {
  width: 60px; height: 18px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  margin: 0 auto 12px;
}
.mock-phone-body { background: #F4F7FC; border-radius: 24px; padding: 14px; height: calc(100% - 40px); }
.mp-header { height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; margin-bottom: 10px; }
.mp-card { height: 60px; background: var(--white); border-radius: 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.mp-card.sm { height: 40px; }
.mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mp-col { height: 50px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm); }

/* Book mockup */
.mock-book {
  display: flex;
  box-shadow: var(--shadow-lg);
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  height: 300px;
}
.book-spine {
  width: 22px;
  background: #6D28D9;
}
.book-cover {
  width: 200px;
  background: linear-gradient(160deg, #8B5CF6 0%, #6D28D9 100%);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bc-title { height: 16px; background: rgba(255,255,255,0.8); border-radius: 4px; }
.bc-sub   { height: 10px; background: rgba(255,255,255,0.4); border-radius: 4px; width: 70%; }
.bc-img   { flex: 1; background: rgba(255,255,255,0.1); border-radius: 8px; margin: 12px 0; }
.bc-author{ height: 10px; background: rgba(255,255,255,0.5); border-radius: 4px; width: 60%; }

/* Audio Player mockup */
.mock-audio-player {
  background: var(--primary);
  border-radius: 20px;
  padding: 30px 24px;
  width: 320px;
  box-shadow: var(--shadow-lg);
}
.ap-waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-bottom: 24px;
}
.wave-bar {
  flex: 1;
  background: rgba(255,107,43,0.6);
  border-radius: 2px;
  animation: wavePulse 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(even) { animation-delay: 0.3s; }
.wave-bar:nth-child(3n)   { animation-delay: 0.6s; }
@keyframes wavePulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; height: 100% !important; }
}
.ap-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 16px;
}
.ap-play {
  width: 48px; height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-accent);
}
.ap-track {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

/* Video Player mockup */
.mock-video-player {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 360px;
  background: #111;
}
.vp-screen {
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
}
.vp-play-btn {
  width: 56px; height: 56px;
  background: rgba(255,107,43,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  z-index: 1;
  box-shadow: 0 0 30px rgba(255,107,43,0.5);
}
.vp-controls { background: #1a1a1a; padding: 14px 16px; }
.vp-progress { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-bottom: 12px; }
.vp-filled { width: 35%; height: 100%; background: var(--accent); border-radius: 2px; }
.vp-ctrl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.vp-time { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.vp-vol { display: flex; align-items: center; }

/* ─── Pricing Teaser ────────────────────── */
.pricing-teaser { background: var(--off-white); padding: 100px 0; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: var(--gradient-hero);
  border-color: transparent;
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-8px); }
.pc-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card.featured .pc-badge { color: rgba(255,255,255,0.55); }
.pc-badge.popular {
  background: var(--accent);
  color: var(--white) !important;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}
.pc-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.pricing-card.featured .pc-price { color: var(--white); }
.pc-desc { font-size: 0.85rem; margin-bottom: 24px; }
.pricing-card.featured .pc-desc { color: rgba(255,255,255,0.6); }
.pc-list { text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-dark);
}
.pricing-card.featured .pc-list li { color: rgba(255,255,255,0.8); }
.pc-list li i { color: var(--accent); font-size: 0.85rem; }
.pricing-card.featured .pc-list li i { color: var(--accent-light); }

/* ─── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .sd-inner { grid-template-columns: 1fr; gap: 40px; }
  .order-visual { order: 0; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .sdf-row { grid-template-columns: 1fr; }
}
