/* ==========================================================================
   WIPRAEXA CONTENT MARKETING SERVICES STYLESHEET (css/content-marketing.css)
   Ultra-Premium Editorial & Digital Publishing Aesthetic
   Palette: Deep Space (#070b14, #0f172a), Neon Purple (#9333ea, #a855f7, #c084fc, #d8b4fe), 
            Magenta/Pink (#c026d3, #ec4899), Cyan (#38bdf8), Emerald (#22c55e)
   ========================================================================== */

:root {
  --cm-purple: #a855f7;
  --cm-purple-light: #d8b4fe;
  --cm-purple-glow: rgba(168, 85, 247, 0.2);
  --cm-magenta: #c026d3;
  --cm-pink: #ec4899;
  --cm-cyan: #38bdf8;
  --cm-cyan-glow: rgba(56, 189, 248, 0.15);
  --cm-emerald: #22c55e;
  --cm-card-bg: rgba(15, 23, 42, 0.65);
  --cm-card-border: rgba(255, 255, 255, 0.08);
  --cm-card-hover-border: rgba(168, 85, 247, 0.4);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.cm-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.cm-section-header.text-left {
  text-align: left;
  margin: 0 0 40px;
}

.cm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.35);
  color: #d8b4fe;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.15);
}

.cm-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: beaconPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.cm-section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cm-section-lead {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.text-left .cm-section-lead {
  margin: 0;
}

/* Brand Gradients */
.gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-pink {
  background: linear-gradient(135deg, #f472b6 0%, #c026d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   SECTION 1: SIGNATURE HERO
   ========================================================================== */
/* ==========================================================================
   SECTION 1: HERO & ADVANCED CONTENT STUDIO COCKPIT
   ========================================================================== */
.cm-hero-section {
  position: relative;
  padding: 140px 0 110px;
  overflow: hidden;
  background: radial-gradient(circle at 12% 18%, rgba(147, 51, 234, 0.16) 0%, transparent 45%),
              radial-gradient(circle at 88% 25%, rgba(56, 189, 248, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 50% 90%, rgba(192, 38, 211, 0.08) 0%, transparent 50%),
              #070b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.cm-hero-copy {
  max-width: 640px;
}

.cm-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.cm-hero-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.cm-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cm-hero-signals {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #94a3b8;
  font-family: 'Fira Code', monospace;
}

.cm-hero-signals .dot-sep {
  color: rgba(168, 85, 247, 0.6);
}

/* Advanced Content Hero Image Showcase */
.cm-hero-visual {
  position: relative;
}

.cm-hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(56, 189, 248, 0.16) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.cm-hero-image-frame {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(168, 85, 247, 0.2);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.cm-hero-image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -15px rgba(0, 0, 0, 0.9), 0 0 60px rgba(168, 85, 247, 0.3);
  border-color: rgba(168, 85, 247, 0.55);
}

.cm-hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: block;
}

.cm-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.cm-hero-image-frame:hover .cm-hero-img {
  transform: scale(1.02);
}

/* Floating Satellite Badge Overlays */
.cm-floating-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  position: absolute;
  z-index: 3;
  transition: transform 0.3s ease;
}

.cm-floating-chip.top-right {
  top: -16px;
  right: -16px;
}

.cm-floating-chip.bottom-left {
  bottom: -16px;
  left: -16px;
}

.cm-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #9333ea, #c026d3);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.cm-chip-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.cm-chip-sub {
  font-size: 0.7rem;
  color: #4ade80;
  font-family: 'Fira Code', monospace;
}

/* ==========================================================================
   SECTION 2: THE CONTENT GAP: WHY STRATEGY MATTERS
   ========================================================================== */
.cm-gap-section {
  padding: 100px 0;
  background: #070b14;
  position: relative;
}

.cm-gap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cm-gap-card {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cm-gap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 16px 36px -10px rgba(236, 72, 153, 0.15);
}

.cm-gap-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f472b6;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.cm-gap-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.cm-gap-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 3: OUR CONTENT MARKETING SERVICES (ASYMMETRIC GRID)
   ========================================================================== */
.cm-services-section {
  padding: 110px 0;
  position: relative;
  background: radial-gradient(circle at 10% 40%, rgba(147, 51, 234, 0.08) 0%, rgba(7, 11, 20, 0) 50%);
}

.cm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cm-service-card {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 18px;
  padding: 32px 26px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cm-service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(15, 23, 42, 0.85) 60%);
  border-color: rgba(168, 85, 247, 0.3);
}

.cm-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 16px 36px -8px rgba(168, 85, 247, 0.2);
}

.cm-service-index {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d8b4fe;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.25);
  padding: 3px 8px;
  border-radius: 5px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.cm-service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.cm-service-desc {
  font-size: 0.93rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 4: THE CONTENT CREATION PROCESS
   ========================================================================== */
.cm-process-section {
  padding: 110px 0;
  background: #070b14;
  position: relative;
}

.cm-process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.cm-process-card {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 16px;
  padding: 28px 20px;
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cm-process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px -10px rgba(56, 189, 248, 0.2);
}

.cm-step-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 8px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.cm-process-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.cm-process-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 5: CONTENT FOR EVERY DIGITAL TOUCHPOINT
   ========================================================================== */
.cm-touchpoints-section {
  padding: 110px 0;
  background: radial-gradient(circle at 90% 40%, rgba(192, 132, 252, 0.08) 0%, rgba(7, 11, 20, 0) 50%);
  position: relative;
}

.cm-touchpoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cm-touchpoint-panel {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cm-touchpoint-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.18);
}

.cm-tp-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d8b4fe;
  margin-bottom: 10px;
}

.cm-tp-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.cm-tp-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.cm-tp-formats-title {
  font-size: 0.78rem;
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cm-tp-formats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cm-tp-chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* ==========================================================================
   SECTION 6: SEO + AIO: CONTENT BUILT FOR DISCOVERY
   ========================================================================== */
.cm-discovery-section {
  padding: 110px 0;
  background: #070b14;
  position: relative;
}

.cm-discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.cm-discovery-card {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 20px;
  padding: 38px 32px;
  position: relative;
  transition: all 0.35s ease;
}

.cm-discovery-card.seo-side {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.cm-discovery-card.aio-side {
  border-color: rgba(168, 85, 247, 0.25);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.cm-disc-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

.seo-side .cm-disc-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.aio-side .cm-disc-badge {
  color: #d8b4fe;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(192, 38, 211, 0.3);
}

.cm-disc-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.cm-disc-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 24px;
}

.cm-caps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cm-cap-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}

.cm-cap-head {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cm-cap-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 7: FINAL CTA + FAQ ACCORDION
   ========================================================================== */
.cm-final-section {
  padding: 110px 0 130px;
  background: #070b14;
  position: relative;
}

.cm-cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.2) 0%, rgba(15, 23, 42, 0.85) 70%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 100px;
  box-shadow: 0 20px 50px -15px rgba(147, 51, 234, 0.25);
}

.cm-cta-banner .cm-section-title {
  margin-bottom: 16px;
}

.cm-cta-banner .cm-section-lead {
  max-width: 620px;
  margin: 0 auto 32px;
}

.cm-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.cm-faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.cm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cm-faq-item {
  background: var(--cm-card-bg);
  border: 1px solid var(--cm-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cm-faq-item.active {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 24px -6px rgba(147, 51, 234, 0.2);
}

.cm-faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cm-faq-trigger:hover {
  color: #d8b4fe;
}

.cm-faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #94a3b8;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cm-faq-item.active .cm-faq-icon {
  transform: rotate(180deg);
  color: #c084fc;
}

.cm-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 24px;
}

.cm-faq-item.active .cm-faq-content {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
  padding: 0 24px 22px;
}

.cm-faq-content p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .cm-hero-grid,
  .cm-discovery-grid,
  .cm-touchpoints-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cm-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cm-service-card.featured {
    grid-column: span 2;
  }

  .cm-gap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cm-process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cm-hero-section {
    padding: 100px 0 60px;
  }

  .cm-ecosystem-stage {
    grid-template-columns: 1fr;
  }

  .cm-services-grid,
  .cm-gap-grid,
  .cm-process-timeline {
    grid-template-columns: 1fr;
  }

  .cm-service-card.featured {
    grid-column: span 1;
  }

  .cm-cta-banner {
    padding: 40px 20px;
  }

  .cm-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cm-hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
