/* ═══════════════════════════════════════════════════
   ANALYTICS PRO — PRESENTATION STYLES
   Palette: Acid Neon × Deep Space
   Fonts: Syne (display) + Space Grotesk (body)
═══════════════════════════════════════════════════ */

:root {
  --bg:        #05060f;
  --bg2:       #0a0d1a;
  --cyan:      #00f5d4;
  --purple:    #9b5de5;
  --pink:      #f72585;
  --red:       #ff2d55;
  --yellow:    #fee440;
  --white:     #f0f0f8;
  --muted:     #6b7280;
  --glass-bg:  rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  overflow: hidden;
}

/* ── Particle Canvas ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Reveal Overrides ── */
.reveal {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  height: 100vh;
  padding: 0;
  top: 0 !important;
}

.reveal .progress {
  background: rgba(255,255,255,0.05);
  color: var(--cyan);
  height: 3px;
}

.reveal .controls {
  color: var(--cyan);
}

/* ── Slide Base ── */
.slide {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

.slide-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  padding: 60px 80px;
}

/* ── Ambient Glows ── */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
.glow-cyan   { background: var(--cyan);   top: -10%; right: -5%; }
.glow-purple { background: var(--purple); bottom: -10%; left: -5%; }
.glow-red    { background: var(--red);    top: 20%; right: -10%; }

/* ── Eyebrow Tag ── */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
.dot-red    { background: var(--red);    box-shadow: 0 0 8px var(--red); }
.dot-purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.dot-cyan   { background: var(--cyan);   box-shadow: 0 0 8px var(--cyan); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Typography ── */
.title-hero {
  font-family: 'Syne', sans-serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.slide-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 40px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(240,240,248,0.6);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Slide Number ── */
.slide-number-custom {
  position: absolute;
  bottom: 40px;
  right: 80px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════
   SLIDE 1 — TITLE
══════════════════════════════════════ */
.title-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
}

.badge-cyan   { background: rgba(0,245,212,0.12); color: var(--cyan);   border: 1px solid rgba(0,245,212,0.3); }
.badge-purple { background: rgba(155,93,229,0.12); color: var(--purple); border: 1px solid rgba(155,93,229,0.3); }
.badge-red    { background: var(--red); color: #fff; border: 1px solid var(--red); }

.audio-player {
  margin-top: 8px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,245,212,0.1);
  border: 1px solid rgba(0,245,212,0.35);
  color: var(--cyan);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.play-btn:hover {
  background: rgba(0,245,212,0.2);
  box-shadow: 0 0 20px rgba(0,245,212,0.25);
  transform: translateY(-1px);
}

.play-btn.playing {
  background: rgba(0,245,212,0.2);
  box-shadow: 0 0 24px rgba(0,245,212,0.4);
}

/* ══════════════════════════════════════
   SLIDE 2 — PROBLEM
══════════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.problem-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(255,45,85,0.3);
  transform: translateY(-3px);
}

.problem-card-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-color: rgba(255,45,85,0.2);
  background: rgba(255,45,85,0.05);
}

.problem-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.82rem;
  color: rgba(240,240,248,0.55);
  line-height: 1.6;
}

.problem-stat {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(240,240,248,0.6);
  line-height: 1.5;
  max-width: 400px;
}

/* ══════════════════════════════════════
   SLIDE 3 — SOLUTION
══════════════════════════════════════ */
.slide-inner-solution {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 40px 80px;
}

.solution-desc {
  font-size: 0.95rem;
  color: rgba(240,240,248,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-list li {
  font-size: 0.9rem;
  color: rgba(240,240,248,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  color: var(--cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Dashboard Frame */
.dashboard-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 1px rgba(0,245,212,0.1),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(0,245,212,0.08);
  background: #0d1117;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.frame-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fd-red    { background: #ff5f57; }
.fd-yellow { background: #febc2e; }
.fd-green  { background: #28c840; }

.frame-url {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.dashboard-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ══════════════════════════════════════
   SLIDE 4 — METRICS
══════════════════════════════════════ */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,245,212,0.2);
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-unit {
  font-size: 1.2rem;
  opacity: 0.7;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.metric-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 100px;
  transition: width 1.5s ease;
}
.mf-purple { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.mf-green  { background: linear-gradient(90deg, #00f5a0, var(--cyan)); }
.mf-orange { background: linear-gradient(90deg, var(--yellow), #ff9500); }

.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  color: rgba(240,240,248,0.7);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: default;
}

.feature-pill:hover {
  border-color: rgba(0,245,212,0.3);
  color: var(--cyan);
  background: rgba(0,245,212,0.06);
}

/* ══════════════════════════════════════
   SLIDE 5 — PRICING
══════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card-featured {
  border-color: rgba(0,245,212,0.35);
  background: rgba(0,245,212,0.04);
  box-shadow: 0 0 40px rgba(0,245,212,0.08), inset 0 1px 0 rgba(0,245,212,0.15);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.plan-period {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.plan-desc {
  font-size: 0.78rem;
  color: rgba(240,240,248,0.45);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 48px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.plan-features li {
  font-size: 0.78rem;
  color: rgba(240,240,248,0.65);
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.plan-btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg);
  border: none;
}

.plan-btn-primary:hover {
  box-shadow: 0 0 24px rgba(0,245,212,0.4);
  transform: translateY(-1px);
}

.plan-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.plan-btn-outline:hover {
  border-color: rgba(0,245,212,0.3);
  color: var(--cyan);
}

.cta-footnote {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── Reveal.js Fragment Animations ── */
.reveal .fragment {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal .fragment.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 2px; }