/* ==========================================================================
   WebGTR — MLM Digital Marketing Template Stylesheet
   Integrates seamlessly with core WebGTR design system (style.css).
   Supports both Night (default) and Day (light) themes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Shared Section Layout & Typography Helpers
   -------------------------------------------------------------------------- */
.mkt-section {
  padding: 84px 0;
  position: relative;
}

.mkt-section-alt {
  background: var(--plans-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mkt-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.mkt-section-head .webgtr-button-label {
  margin-bottom: 16px;
}

.mkt-section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.mkt-section-head p {
  color: var(--text-second);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 auto;
}

.mkt-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.mkt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 156, 141, 0.38);
  background: var(--bg-card-hover);
}

/* --------------------------------------------------------------------------
   2. Hero Section & Visual Dashboard Card
   -------------------------------------------------------------------------- */
.mkt-hero {
  padding: 64px 0 48px;
  position: relative;
}

.mkt-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.mkt-hero-copy .webgtr-button-label {
  margin-bottom: 18px;
}

.mkt-hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.mkt-hero-sub {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-second);
  margin: 0 0 30px;
  max-width: 56ch;
}

.mkt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Hero Visual Card (Replaces Wireframe Placeholder with Theme UI) */
.mkt-hero-visual {
  position: relative;
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 156, 141, 0.16), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(96, 83, 203, 0.18), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mkt-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mkt-visual-dots {
  display: flex;
  gap: 7px;
}

.mkt-visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mkt-visual-dots span:nth-child(1) { background: var(--primary-coral); }
.mkt-visual-dots span:nth-child(2) { background: var(--primary-magenta); }
.mkt-visual-dots span:nth-child(3) { background: var(--primary-purple); }

.mkt-visual-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

.mkt-visual-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.mkt-kpi-box {
  background: var(--feature-box-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.mkt-kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mkt-kpi-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  background: var(--webgtr-linear);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mkt-visual-bars {
  background: var(--feature-box-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mkt-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-second);
}

.mkt-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.mkt-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--webgtr-linear);
}

.mkt-bar-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary-coral);
  text-align: right;
}

/* --------------------------------------------------------------------------
   3. 4-Column Credentials Strip
   -------------------------------------------------------------------------- */
.mkt-credentials-wrap {
  padding: 16px 0 64px;
}

.mkt-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mkt-cred-card {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mkt-cred-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 85, 165, 0.38);
}

.mkt-cred-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-coral);
  margin-bottom: 8px;
  display: block;
}

.mkt-cred-card h3 {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text-accent);
}

.mkt-cred-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Challenges (3-Col) & Benefits (4-Col)
   -------------------------------------------------------------------------- */
.mkt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mkt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mkt-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255, 156, 141, 0.1);
  border: 1px solid rgba(255, 156, 141, 0.28);
  color: var(--primary-coral);
}

.mkt-card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text-accent);
}

.mkt-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-second);
  margin: 0;
}

.mkt-benefit-card {
  padding: 26px 22px;
  text-align: left;
}

.mkt-benefit-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-magenta);
  margin-bottom: 10px;
  display: block;
}

/* --------------------------------------------------------------------------
   5. Marketing Video Preview
   -------------------------------------------------------------------------- */
.mkt-video-frame {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}

.mkt-video-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 156, 141, 0.2), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(96, 83, 203, 0.24), transparent 55%),
    var(--tree-box-bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.mkt-video-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  pointer-events: none;
}

.mkt-play-btn {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: var(--webgtr-linear);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mkt-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px -4px rgba(214, 85, 165, 0.65);
}

.mkt-video-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-accent);
}

.mkt-video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. Services Grid (3x2), Strategy Steps (4-Col), Why Work With Us (3-Col)
   -------------------------------------------------------------------------- */
.mkt-step-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mkt-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 83, 203, 0.45);
}

.mkt-step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--webgtr-linear);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mkt-step-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--text-accent);
}

.mkt-step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-second);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. FAQ Wrapper
   -------------------------------------------------------------------------- */
.mkt-faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mkt-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mkt-credentials-grid,
  .mkt-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mkt-section {
    padding: 60px 0;
  }

  .mkt-hero {
    padding: 44px 0 32px;
  }

  .mkt-credentials-grid,
  .mkt-grid-3,
  .mkt-grid-4 {
    grid-template-columns: 1fr;
  }

  .mkt-bar-row {
    grid-template-columns: 92px 1fr 40px;
  }
}
