/* Journey / Platform Page Specific Styles */

.journey-hero { padding: 120px 0 80px; position: relative; }
.journey-hero .glow-badge { margin-bottom: 24px; }
.journey-hero h1 { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 24px; }
.journey-hero .lead { max-width: 800px; margin: 0 auto; font-size: 1.25rem; }

/* Timeline Structure */
.journey-timeline-section { padding: 40px 0 120px; }
.timeline-wrapper { position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--color-border); transform: translateX(-50%); border-radius: 4px; }

/* Desktop Timeline */
.timeline-step { display: flex; justify-content: flex-end; padding-right: 50%; position: relative; margin-bottom: 80px; width: 100%; }
.timeline-step.right { justify-content: flex-start; padding-right: 0; padding-left: 50%; }

.step-content { width: 90%; position: relative; padding: 40px; }
.timeline-step:not(.right) .step-content { margin-left: auto; margin-right: 40px; }
.timeline-step.right .step-content { margin-left: 40px; margin-right: auto; }

/* The Glowing Dot */
.step-dot { position: absolute; width: 24px; height: 24px; background: #fff; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; box-shadow: 0 0 20px rgba(255,255,255,0.5); }
.step-dot.bg-whatsapp { background: #25D366; box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); }
.step-dot.bg-primary { background: var(--color-primary); box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
.step-dot.bg-violet { background: var(--color-violet); box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }
.step-dot.bg-info { background: #0EA5E9; box-shadow: 0 0 20px rgba(14, 165, 233, 0.5); }
.step-dot.bg-warning { background: #F59E0B; box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); }
.step-dot.bg-chart { background: #EAB308; box-shadow: 0 0 20px rgba(234, 179, 8, 0.5); }
.step-dot.bg-success { background: var(--color-success); box-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }

/* Step Content Styles */
.step-icon { font-size: 2rem; margin-bottom: 24px; }
.text-whatsapp { color: #25D366; }
.text-primary { color: var(--color-primary); }
.text-violet { color: var(--color-violet); }
.text-info { color: #0EA5E9; }
.text-warning { color: #F59E0B; }
.text-chart { color: #EAB308; }
.text-success { color: var(--color-success); }
.text-muted { color: var(--color-text-muted); }

.step-content h3 { font-size: 1.75rem; margin-bottom: 16px; color: #fff; }
.step-content p { font-size: 1.1rem; margin-bottom: 32px; }

/* Borders for glow */
.border-whatsapp { border-color: rgba(37, 211, 102, 0.3); }
.border-primary { border-color: rgba(59, 130, 246, 0.3); }
.border-violet { border-color: rgba(139, 92, 246, 0.3); }
.border-info { border-color: rgba(14, 165, 233, 0.3); }
.border-warning { border-color: rgba(245, 158, 11, 0.3); }
.border-chart { border-color: rgba(234, 179, 8, 0.3); }
.border-success { border-color: rgba(16, 185, 129, 0.5); }

/* Visual Mockups inside steps */
.step-visual { background: #000; border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; }
.visual-text { display: flex; align-items: center; justify-content: center; }
.mock-notification { background: #1a1a1a; padding: 16px; border-radius: 8px; display: flex; align-items: center; gap: 16px; width: 100%; border: 1px solid var(--color-border); }
.notif-icon { color: #E1306C; font-size: 1.5rem; }

.visual-wa { background: #0b141a; display: flex; flex-direction: column; gap: 12px; }
.wa-bubble { padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; max-width: 90%; color: #e9edef; }
.wa-bubble.user { background: #005c4b; align-self: flex-end; border-top-left-radius: 0; }
.wa-bubble.ai { background: #202c33; align-self: flex-start; border-top-right-radius: 0; }

.visual-calendar { background: #1a1a1a; }
.cal-row { display: flex; align-items: center; gap: 16px; }
.cal-row span { color: var(--color-text-muted); font-size: 0.9rem; width: 60px; }
.cal-event { flex: 1; background: rgba(16, 185, 129, 0.1); color: var(--color-success); padding: 12px 16px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; border-right: 3px solid var(--color-success); }

.visual-crm { background: #1a1a1a; }
.crm-card { background: #222; padding: 16px; border-radius: 8px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--color-border); }
.crm-avatar { width: 40px; height: 40px; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; }
.crm-details { display: flex; flex-direction: column; gap: 4px; }
.crm-details strong { color: #fff; }
.tag-new { background: rgba(16, 185, 129, 0.1); color: var(--color-success); padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }

.visual-chart { display: flex; align-items: flex-end; justify-content: center; gap: 16px; height: 120px; padding-top: 24px; }
.chart-bar { width: 40px; background: var(--color-primary); border-radius: 4px 4px 0 0; }
.h-60 { height: 60%; opacity: 0.5; }
.h-80 { height: 80%; opacity: 0.7; }
.h-100 { height: 100%; }

/* Mobile Timeline (Stack vertically, line on the right in RTL) */
@media (max-width: 992px) {
  .timeline-wrapper { padding: 40px 15px; }
  .timeline-line { left: auto; right: 25px; transform: none; }
  .timeline-step, .timeline-step.right { justify-content: flex-start; padding: 0 60px 0 0; width: 100%; box-sizing: border-box; margin-bottom: 40px; }
  .step-dot { left: auto; right: 15px; transform: translateY(-50%); top: 40px; }
  .timeline-step:not(.right) .step-content, .timeline-step.right .step-content { margin: 0; width: 100%; box-sizing: border-box; }
}
