/* ==========================================================================
   MARS TechSol - Account-Based Marketing (ABM) Service Page Stylesheet
   Matches Exact Design Specification from ABM.png
   Palette: #FFC600 (Brand Gold), #121212 (Dark Base), #ffffff (Clean White)
   ========================================================================== */

/* Page Wrapper */
.abm-service-page {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, sans-serif);
  color: #111827;
  background-color: #ffffff;
}

/* ==========================================================================
   SECTION 1: HERO & BREADCRUMBS
   ========================================================================== */
.abm-hero-section {
  background-color: #000000;
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Breadcrumb Navigation */
.abm-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.abm-breadcrumb-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.abm-breadcrumb-link:hover {
  color: #ffffff;
}

.abm-breadcrumb-sep {
  color: #64748b;
  font-size: 11px;
}

.abm-breadcrumb-current {
  color: #FFC600;
  font-weight: 600;
}

/* 2-Column Hero Grid */
.abm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}

/* Left Column */
.abm-hero-left {
  max-width: 560px;
}

.abm-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 18px;
}

.abm-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
}

.abm-hero-desc {
  font-size: 16px;
  line-height: 1.62;
  color: #9ca3af;
  margin-bottom: 34px;
  max-width: 520px;
}

/* CTA Buttons */
.abm-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.abm-btn-specialist {
  background-color: #FFC600;
  color: #121212 !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #FFC600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.abm-btn-specialist:hover {
  background-color: #ffd633;
  border-color: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 198, 0, 0.28);
}

.abm-btn-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.abm-btn-specialist:hover .abm-btn-arrow,
.abm-btn-banner-cta:hover .abm-btn-arrow {
  transform: translateX(3px);
}

.abm-btn-sheet {
  background-color: transparent;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.abm-btn-sheet:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.abm-btn-icon {
  width: 17px;
  height: 17px;
}

/* Right Column: Visual Stage */
.abm-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.abm-hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
}

.abm-hero-image-wrap {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  background-color: transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.abm-hero-image-wrap:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.abm-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Floating Metric Badges */
.abm-floating-card {
  position: absolute;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 11px 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26), 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 5;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: abmFloat 4s ease-in-out infinite alternate;
}

.abm-floating-card:hover {
  transform: translateY(-3px) scale(1.02);
}

.abm-card-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}

.abm-card-val-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.abm-card-number {
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

/* Top-Left Card: Target Accounts */
.abm-card-target-accounts {
  top: -14px;
  left: -22px;
}

.abm-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Middle-Left Card: Engagement Bar Chart */
.abm-card-engagement {
  bottom: 14px;
  left: -28px;
  top: auto;
  transform: none;
  animation-delay: -1.5s;
}

.abm-mini-barchart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  padding-top: 4px;
}

.abm-bar {
  display: inline-block;
  width: 5px;
  background-color: #FFC600;
  border-radius: 2px;
}

/* Bottom-Right Card: Pipeline */
.abm-card-pipeline {
  bottom: -16px;
  right: -20px;
  animation-delay: -2.8s;
}

.abm-trend-arrow {
  display: flex;
  align-items: center;
}

@keyframes abmFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* ==========================================================================
   SECTION 2: OVERVIEW
   ====================================================================== */
.abm-overview-section {
  background-color: #ffffff;
  padding: 96px 0;
}

.abm-section-header-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 56px;
}

.abm-category-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}

.abm-section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #111827;
}

.abm-section-lead-text {
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
}

/* 4 Feature Cards Grid */
.abm-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.abm-feature-card {
  background-color: #ffffff;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.abm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
  border-color: #cbd5e1;
}

.abm-feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}

.abm-feature-card:hover .abm-feature-icon-badge {
  background-color: #FFC600;
  color: #0f172a;
}

.abm-feature-icon-badge svg {
  stroke: #0f172a !important;
}

.abm-feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 10px;
}

.abm-feature-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

/* ==========================================================================
   SECTION 3: HOW IT WORKS
   ========================================================================== */
.abm-process-section {
  background-color: #f8fafc;
  padding: 96px 0;
}

.abm-section-header {
  margin-bottom: 48px;
}

.abm-stepper-wrap {
  width: 100%;
}

.abm-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.abm-step-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.abm-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.abm-step-active {
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.abm-step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.abm-step-card:hover .abm-step-icon-wrap {
  background-color: #FFC600;
  color: #0f172a;
}

.abm-step-icon-wrap svg {
  stroke: #0f172a !important;
}

.abm-step-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.abm-step-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.abm-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #94a3b8;
}

/* ==========================================================================
   SECTION 4: REACH & SCALE
   ========================================================================== */
.abm-reach-section {
  background-color: #ffffff;
  padding: 96px 0;
}

.abm-reach-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.abm-reach-visual-col {
  display: flex;
  justify-content: center;
}

.abm-laptop-stage {
  width: 100%;
  max-width: 620px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #12141a;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.abm-laptop-stage:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.22);
}

.abm-laptop-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.abm-reach-content-col {
  max-width: 540px;
}

.abm-reach-content-col .abm-section-title {
  margin-bottom: 36px;
}

/* 3-Column Stats Row */
.abm-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.abm-stat-item {
  flex: 1;
}

.abm-stat-value {
  font-size: 46px;
  font-weight: 800;
  color: #FFC600;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
}

.abm-stat-label {
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  margin-top: 8px;
}

.abm-stat-divider {
  width: 1px;
  height: 52px;
  background-color: #e5e7eb;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 5: USE CASES
   ========================================================================== */
.abm-usecases-section {
  background-color: #f8fafc;
  padding: 96px 0;
}

.abm-usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.abm-usecase-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #161820;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.abm-usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.abm-usecase-image-wrap {
  width: 100%;
  height: 100%;
}

.abm-usecase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.abm-usecase-card:hover .abm-usecase-img {
  transform: scale(1.04);
}

.abm-usecase-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(14, 16, 22, 0.95) 0%, rgba(14, 16, 22, 0.72) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  z-index: 2;
}

.abm-usecase-icon {
  color: #FFC600;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.abm-usecase-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   SECTION 6: BOTTOM CTA BANNER
   ========================================================================== */
.abm-banner-section {
  background-color: #f8fafc;
  padding-bottom: 96px;
}

.abm-cta-banner {
  background-color: #121212;
  border-radius: 18px;
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.abm-banner-wave-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.abm-banner-wave-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  display: block;
}

.abm-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.abm-banner-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.abm-banner-subtitle {
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.5;
}

.abm-banner-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.abm-btn-banner-cta {
  background-color: #FFC600;
  color: #121212 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #FFC600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.abm-btn-banner-cta:hover {
  background-color: #ffd633;
  border-color: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 198, 0, 0.32);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .abm-hero-grid {
    gap: 40px;
  }

  .abm-hero-title {
    font-size: 38px;
  }

  .abm-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abm-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abm-reach-grid {
    gap: 40px;
  }

  .abm-cta-banner {
    padding: 44px 40px;
  }

  .abm-banner-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .abm-hero-section {
    padding-top: 14px;
    padding-bottom: 32px;
  }

  .abm-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .abm-hero-title {
    font-size: 30px;
  }

  .abm-hero-desc {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .abm-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .abm-btn-specialist,
  .abm-btn-sheet {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .abm-card-target-accounts {
    left: 4px;
    top: -6px;
    padding: 8px 12px;
  }

  .abm-card-engagement {
    left: 4px;
    bottom: -6px;
    padding: 8px 12px;
  }

  .abm-card-pipeline {
    right: 4px;
    bottom: 8px;
    padding: 8px 12px;
  }

  .abm-card-number {
    font-size: 18px;
  }

  .abm-section-header-split {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .abm-section-title {
    font-size: 28px;
  }

  .abm-overview-section,
  .abm-process-section,
  .abm-reach-section,
  .abm-usecases-section {
    padding: 60px 0;
  }

  .abm-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .abm-stepper-row {
    flex-direction: column;
    gap: 12px;
  }

  .abm-step-card {
    width: 100%;
    flex-direction: row;
    text-align: left;
    padding: 18px 20px;
    justify-content: flex-start;
  }

  .abm-step-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .abm-reach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .abm-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .abm-stat-divider {
    display: none;
  }

  .abm-stat-value {
    font-size: 34px;
  }

  .abm-usecases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .abm-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
    gap: 28px;
  }

  .abm-banner-br {
    display: none;
  }

  .abm-banner-title {
    font-size: 24px;
  }

  .abm-btn-banner-cta {
    width: 100%;
    justify-content: center;
  }
}

