/* ─── PRODUCT PAGE HERO ──────────────────────────────── */
.product-hero {
  position: relative; overflow: hidden;
  min-height: 600px;
  background: linear-gradient(90deg, #1e1e1e 0%, #0a0a0a 100%);
  /* Dark theme scoped to product hero */
  --text: #e8e8f0;
  --heading: #ffffff;
  --muted: #8888a8;
  --border: rgba(255,255,255,0.08);
  --surface: #1e1e2e;
  color: var(--text);
}

/* Introchart fills the hero as background */
.product-hero #introchart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.product-hero-inner {
  max-width: 1136px; margin: 0 auto;
  padding: 50px 0 40px;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  min-height: 600px;
  pointer-events: none;
}

.product-hero-content {
  max-width: 500px;
  pointer-events: auto;
}

.product-h1 {
  font-size: clamp(2.625rem, 5vw, 4.25rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: 24px;
  color: #fff;
}

.product-sub {
  font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.6);
  max-width: 460px; margin-bottom: 40px; font-weight: 400;
}

.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── FEATURES SECTION ───────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border-radius: 16px; overflow: hidden;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg2); padding: 36px 32px;
  position: relative; overflow: hidden;
}
.feature-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #8888a0;
}
.feature-card-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.feature-card p { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }

/* ─── TWO-COLUMN CONTENT ─────────────────────────────── */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

/* ─── STATS ROW ──────────────────────────────────────── */
.stats-row {
  display: flex; gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.stat-item { text-align: center; flex: 1; }
.stat-num {
  font-size: 2.25rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }

/* ─── TWO-COLUMN TEXT GRID (demo descriptions) ──────── */
.two-col-text {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-bottom: 28px;
}

/* ─── THREE-COLUMN STEPS (pro-services how-it-works) ── */
.three-col-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 48px; text-align: center;
}

/* ─── CONTENT GRID VARIANTS ─────────────────────────── */
.content-grid-2-3 { grid-template-columns: 2fr 3fr; }
.content-grid-3-2 { grid-template-columns: 3fr 2fr; }
.content-grid-demo { align-items: center; min-height: 480px; }

@media (max-width: 768px) {
  .product-hero { min-height: 480px; }
  .product-hero-inner { min-height: 480px; padding: 40px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .content-grid.reverse { direction: ltr; }
  .content-grid-demo { min-height: auto; }
  .stats-row { flex-direction: column; gap: 24px; }
  .two-col-text { grid-template-columns: 1fr; gap: 20px; }
  .three-col-steps { grid-template-columns: 1fr; gap: 28px; }
}
