/* ═══════════════════════════════════════════════════════
   Empower LO — Platform Page Styles
   ═══════════════════════════════════════════════════════ */

/* ═══ HERO ═══ */
.platform-hero {
  position: relative; padding: 170px 24px 80px;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1028 30%, #2d1b4e 60%, #0d0d1a 100%);
}
.platform-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(192,132,252,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(245,166,35,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.platform-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.platform-hero .container { position: relative; z-index: 2; }
.platform-hero .section-label { color: var(--purple-glow); }
.platform-hero h1 {
  color: white; max-width: 900px; margin: 0 auto 24px;
  background: linear-gradient(135deg, #fff 0%, #e0d0f0 50%, #c084fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.platform-hero .hero-break { display: block; }
@media (max-width: 768px) { .platform-hero .hero-break { display: inline; } }
.platform-hero p {
  font-size: 18px; color: var(--text-light); max-width: 680px; margin: 0 auto 40px; line-height: 1.7;
}
.platform-hero .hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ HOW IT WORKS ═══ */
.platform-how { padding: 100px 24px; }
.platform-how .section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 680px; margin-bottom: 0; line-height: 1.7; }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px;
}
.how-step {
  padding: 36px; border-radius: 20px; background: var(--bg-subtle);
  border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s;
}
.how-step:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.how-step-num {
  font-size: 14px; font-weight: 800; color: var(--purple); font-family: 'Inter', monospace;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 20px; margin-bottom: 12px; }
.how-step p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ═══ SECURITY ═══ */
.platform-security { padding: 80px 24px; background: var(--bg-subtle); }
.security-content { max-width: 800px; }
.security-content p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.security-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.security-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px;
  background: white; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.badge-icon { font-size: 20px; }

/* ═══ FEATURE SECTIONS ═══ */
.platform-feature-section { padding: 100px 24px; }
.platform-feature-section.feature-alt { background: var(--bg-subtle); }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 680px; margin-bottom: 0; line-height: 1.7; }

.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-text .section-label { margin-bottom: 12px; }
.feature-text h2 { font-size: clamp(26px, 3vw, 36px); }
.feature-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

.feature-bullets {
  list-style: none; padding: 0; margin: 0;
}
.feature-bullets li {
  padding: 10px 0 10px 28px; font-size: 15px; color: var(--text-secondary);
  line-height: 1.6; position: relative;
}
.feature-bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  color: var(--purple); font-weight: 800; font-size: 13px;
}
.feature-bullets li strong { color: var(--text); }

/* ═══ MOCK CARDS (feature sections) ═══ */
.feature-mockup .mock-card {
  background: white; border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}
.feature-mockup .mock-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}

/* Pipeline mock */
.pipeline-cols { display: flex; gap: 8px; }
.pipe-col { flex: 1; background: #f8f9fa; border-radius: 6px; padding: 8px; font-size: 11px; }
.pipe-col-header { font-weight: 700; margin-bottom: 6px; }
.pipe-count { color: #fff; border-radius: 10px; padding: 1px 6px; font-size: 10px; margin-left: 2px; }
.pipe-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 4px;
  padding: 6px; margin-bottom: 4px; border-left: 3px solid;
}
.pipe-card:last-child { margin-bottom: 0; }
.pipe-card strong { display: block; font-weight: 600; color: #1a1a2e; font-size: 11px; }
.pipe-card span { color: #888; font-size: 10px; }

/* Automation mock */
.automation-list { display: flex; flex-direction: column; gap: 6px; }
.auto-item {
  display: flex; align-items: center; gap: 8px;
  border-radius: 6px; padding: 10px;
}
.auto-dot {
  width: 6px; height: 6px; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.auto-item strong { font-size: 13px; color: #1a1a2e; flex: 1; }
.auto-item span { font-size: 11px; font-weight: 600; }

/* Campaign mock */
.campaign-grid { display: flex; flex-direction: column; gap: 8px; }
.campaign-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 8px; background: #f8f9fa;
}
.campaign-icon { font-size: 20px; }
.campaign-info { flex: 1; }
.campaign-info strong { display: block; font-size: 13px; color: var(--text); }
.campaign-info span { font-size: 11px; color: var(--text-muted); }
.campaign-status {
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.campaign-status.active { background: #f0fdf4; color: #22c55e; }
.campaign-status.ready { background: #eff6ff; color: #3b82f6; }

/* Chat mock */
.online-badge { font-size: 10px; color: #22c55e; font-weight: 600; text-transform: none; letter-spacing: 0; }
.chat-thread { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.chat-bubble {
  max-width: 85%; padding: 10px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.5;
}
.chat-bubble.incoming {
  align-self: flex-start; background: #f3f4f6; color: #444;
  border-bottom-left-radius: 2px;
}
.chat-bubble.outgoing {
  align-self: flex-end; background: var(--purple); color: white;
  border-bottom-right-radius: 2px;
}
.chat-time { display: block; font-size: 9px; margin-top: 3px; opacity: 0.6; }
.chat-status {
  font-size: 10px; color: var(--text-muted); text-align: center;
  font-style: italic; padding: 4px 0;
}

/* Team mock */
.team-stats { display: flex; flex-direction: column; gap: 12px; }
.team-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px; border-radius: 10px; background: #f8f9fa;
}
.team-member { display: flex; align-items: center; gap: 10px; }
.member-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 12px; font-weight: 700;
}
.member-info strong { display: block; font-size: 13px; color: var(--text); }
.member-info span { font-size: 11px; color: var(--text-muted); }
.member-metrics { display: flex; gap: 16px; }
.metric { text-align: center; }
.metric-val { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.metric-label { font-size: 10px; color: var(--text-muted); }
.active-dot { color: #22c55e; }
.onboarding-dot { color: var(--orange); }

/* Report mock */
.report-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px;
}
.report-stat {
  text-align: center; padding: 12px 8px;
  background: #f8f9fa; border-radius: 8px;
}
.report-stat-val { font-size: 20px; font-weight: 800; color: var(--text); }
.report-stat-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.report-stat-trend { font-size: 11px; font-weight: 600; margin-top: 4px; }
.report-stat-trend.up { color: #22c55e; }

.report-bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { font-size: 12px; color: var(--text-secondary); width: 80px; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.bar-val { font-size: 12px; font-weight: 700; color: var(--text); width: 50px; text-align: right; }

/* ═══ INTEGRATIONS GRID ═══ */
.integrations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.integration-card {
  padding: 32px; border-radius: 16px; background: white;
  border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s;
}
.integration-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.int-icon { font-size: 28px; margin-bottom: 16px; }
.integration-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.integration-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ═══ PLATFORM STATS ═══ */
.platform-stats { padding: 48px 24px; background: var(--bg-light, #f8f7fa); border-top: 1px solid rgba(91,62,140,0.08); border-bottom: 1px solid rgba(91,62,140,0.08); }
.stats-grid {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
}
.stats-grid .stat-item { text-align: center; padding: 16px 40px; border-right: 1px solid rgba(91,62,140,0.12); }
.stats-grid .stat-item:last-child { border-right: none; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--purple); margin-bottom: 4px; letter-spacing: -0.5px; }
.stat-desc { font-size: 13px; color: var(--text-muted, #666); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .report-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .platform-hero { padding: 140px 16px 60px; }
  .platform-hero h1 { font-size: 28px; letter-spacing: -0.03em; }
  .how-steps { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .security-badges { flex-direction: column; }
  .member-metrics { gap: 8px; }
  .team-stat-row { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .platform-hero .hero-buttons { flex-direction: column; align-items: center; }
  .report-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 28px; }
}
