/* Analytics Feature Page - Premium Editorial Layout */

/* ========================================
   SECTIONS CONTAINER
   ======================================== */
.analytics_sectionsContainer__khdJW {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ========================================
   FEATURE SECTION - Full Width Alternating
   ======================================== */
.analytics_featureSection__lMr81 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.analytics_featureSectionVisible__ourXS {
  opacity: 1;
  transform: translateY(0);
}

/* Alternating backgrounds */
.analytics_featureSection__lMr81:nth-child(odd) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.analytics_featureSection__lMr81:nth-child(even) {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Reverse layout for odd-indexed sections (2nd, 4th) */
.analytics_featureSectionReversed__cwkHK .analytics_contentSide__6Jghh {
  order: 2;
}

.analytics_featureSectionReversed__cwkHK .analytics_visualSide__xup5o {
  order: 1;
}

/* ========================================
   CONTENT SIDE (Text)
   ======================================== */
.analytics_contentSide__6Jghh {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.analytics_sectionLabel__doynF {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent, #8B5CF6);
}

.analytics_sectionLabel__doynF::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent, #8B5CF6);
  border-radius: 1px;
}

.analytics_sectionTitle__FbqWq {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.analytics_sectionDescription__d1Z7K {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #475569;
}

.analytics_benefitsList__3MurU {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.analytics_benefitItem__mKiy8 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.5;
}

.analytics_benefitIcon__fy7J_ {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: linear-gradient(135deg, var(--accent-light, #C4B5FD) 0%, var(--accent, #8B5CF6) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.analytics_benefitIcon__fy7J_ svg {
  width: 11px;
  height: 11px;
  color: white;
}

/* ========================================
   VISUAL SIDE (Diagram)
   ======================================== */
.analytics_visualSide__xup5o {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.analytics_visualWrapper__6_D56 {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Subtle glow behind the visual */
.analytics_visualWrapper__6_D56::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    ellipse at center,
    var(--accent-glow, rgba(139, 92, 246, 0.08)) 0%,
    transparent 70%
  );
  border-radius: 24px;
  z-index: 0;
}

.analytics_visualCard__BZ_um {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1;
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.analytics_featureSection__lMr81:hover .analytics_visualCard__BZ_um {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.06);
}

.analytics_visualCardHeader__JHJ_U {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(
    135deg,
    var(--accent, #8B5CF6) 0%,
    var(--accent-dark, #7C3AED) 100%
  );
}

.analytics_headerIcon__6hXDo {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics_headerIcon__6hXDo svg {
  width: 16px;
  height: 16px;
  color: white;
}

.analytics_visualCardTitle__Hmtm7 {
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

.analytics_visualCardBody__VYvUK {
  padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

/* ========================================
   DATA ROWS (Inside Visual Card)
   ======================================== */
.analytics_cardContent__USEma {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.analytics_dataRow__fNFkl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: background 200ms ease, border-color 200ms ease;
}

.analytics_dataRow__fNFkl:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.analytics_dataIcon__d0ekg {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analytics_dataSvg__bvCBh {
  width: 20px;
  height: 20px;
}

.analytics_dataDetails__7mQA0 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.analytics_dataType__Auo0B {
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
}

.analytics_dataValue__MXre_ {
  font-size: 10px;
  color: #64748b;
}

.analytics_dataValue__MXre_ strong {
  color: #334155;
  font-weight: 600;
}

.analytics_dataBadge__V0lvh {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.analytics_sectionDivider__LbTXD {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e2e8f0 20%,
    #e2e8f0 80%,
    transparent 100%
  );
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
  .analytics_featureSection__lMr81 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 2rem;
    text-align: center;
  }

  .analytics_featureSectionReversed__cwkHK .analytics_contentSide__6Jghh,
  .analytics_featureSectionReversed__cwkHK .analytics_visualSide__xup5o {
    order: unset;
  }

  .analytics_contentSide__6Jghh {
    align-items: center;
  }

  .analytics_sectionTitle__FbqWq {
    font-size: 1.875rem;
  }

  .analytics_benefitsList__3MurU {
    align-items: flex-start;
    text-align: left;
    max-width: 400px;
  }

  .analytics_visualWrapper__6_D56 {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .analytics_featureSection__lMr81 {
    padding: 3rem 1.25rem;
    gap: 2rem;
  }

  .analytics_sectionTitle__FbqWq {
    font-size: 1.5rem;
  }

  .analytics_sectionDescription__d1Z7K {
    font-size: 0.9375rem;
  }

  .analytics_benefitItem__mKiy8 {
    font-size: 0.875rem;
  }

  .analytics_visualWrapper__6_D56 {
    max-width: 100%;
  }

  .analytics_dataRow__fNFkl {
    padding: 8px 10px;
    gap: 10px;
  }

  .analytics_dataIcon__d0ekg {
    width: 30px;
    height: 30px;
  }

  .analytics_dataSvg__bvCBh {
    width: 18px;
    height: 18px;
  }

  .analytics_dataType__Auo0B {
    font-size: 10px;
  }

  .analytics_dataValue__MXre_ {
    font-size: 9px;
  }

  .analytics_dataBadge__V0lvh {
    font-size: 9px;
    padding: 3px 8px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .analytics_featureSection__lMr81 {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .analytics_visualCard__BZ_um {
    transition: none;
  }

  .analytics_featureSection__lMr81:hover .analytics_visualCard__BZ_um {
    transform: none;
  }
}

