/* 
   Bubl Pitch Deck - Main Styles
   Professional keynote-style presentation inspired by Apple design
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  /* Primary palette */
  --bubl-primary: #8a63ff;
  --bubl-secondary: #6366f1;
  --bubl-accent: #ff64dc;
  --bubl-dark: #1f2937;
  --bubl-light: #f5f5ff;

  /* Background color */
  --bubl-bg: #ececfd;

  /* Icon colors */
  --icon-purple: #7352ff;
  --icon-blue: #0095ff;
  --icon-teal: #00c2c2;
  --icon-pink: #ff64dc;

  /* Font settings */
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "DM Sans", sans-serif;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 300;
}

body {
  background-color: var(--bubl-bg);
  color: var(--bubl-dark);
}

/* Typography */
.display-heading {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #000;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #000;
}

.subsection-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bubl-dark);
}

/* Slides */
.slides-container {
  height: 100vh;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: auto;
  display: none;
}

.slide.active {
  opacity: 1;
  z-index: 5;
  display: block;
}

.slide-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 4rem 6rem;
  height: 100%;
  position: relative;
}

/* Background styles */
.mesh-bg,
.gradient-bg {
  background-color: var(--bubl-bg);
}

.gradient-subtle {
  background: linear-gradient(135deg, var(--bubl-bg) 0%, #f2f0ff 100%);
}

/* 3D Elements */
.icon-3d {
  position: relative;
  transform-style: preserve-3d;
  display: inline-block;
}

.icon-3d::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: inherit;
  z-index: -1;
}

.app-icon {
  width: 220px;
  height: 220px;
  background-color: white;
  border-radius: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.app-icon-inner {
  width: 75%;
  height: 75%;
  background-color: var(--bubl-primary);
  border-radius: 30px;
  position: relative;
}

.app-icon-shadow {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(107, 70, 193, 0.8);
  border-radius: 30px;
  z-index: -1;
}

/* Problem icons */
.problem-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.problem-icon.purple {
  color: var(--icon-purple);
}

.problem-icon.blue {
  color: var(--icon-blue);
}

.problem-icon.teal {
  color: var(--icon-teal);
}

.problem-icon.pink {
  color: var(--icon-pink);
}

.problem-icon.outline {
  background-color: transparent;
  border: 2px solid currentColor;
  box-shadow: none;
}

/* Feature cards */
.problem-card {
  margin-bottom: 2rem;
  position: relative;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.problem-description {
  font-size: 20px;
  color: #555;
  line-height: 1.5;
  font-weight: 300;
}

/* UI Components */
.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.card.outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.card.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-tile {
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.2s ease;
}

.feature-tile:hover {
  transform: translateY(-5px);
}

.feature-tile.primary {
  background-color: var(--bubl-primary);
  color: white;
}

.feature-tile.secondary {
  background-color: var(--bubl-secondary);
  color: white;
}

.feature-tile.accent {
  background-color: var(--bubl-accent);
  color: white;
}

.feature-tile.outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-tile.minimal {
  background: transparent;
  padding: 1rem 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.05);
}

.tag.primary {
  background-color: rgba(138, 99, 255, 0.1);
  color: var(--bubl-primary);
}

.tag.accent {
  background-color: rgba(255, 100, 220, 0.1);
  color: var(--bubl-accent);
}

.tag.outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Navigation */
.navigation-controls {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 100;
  display: flex;
  gap: 1rem;
}

.nav-button {
  background-color: white;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-button:hover {
  transform: translateY(-2px);
}

.nav-button.primary {
  background-color: var(--bubl-primary);
  color: white;
}

.nav-dots {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 100;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-dot.active {
  background-color: var(--bubl-primary);
  transform: scale(1.3);
}

/* Progress bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.03);
}

.progress-bar {
  height: 100%;
  background-color: var(--bubl-primary);
  transition: width 0.3s ease;
}

/* Slide counter */
.slide-counter {
  position: fixed;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 100;
  font-family: var(--font-ui);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

.indicator {
  width: 24px;
  height: 2px;
  background-color: var(--bubl-primary);
}

/* Market stats */
.stat-card {
  background-color: white;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card.outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.stat-card.minimal {
  background: transparent;
  padding: 1.5rem 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.1rem;
  color: #555;
  max-width: 240px;
  line-height: 1.4;
}

/* Animations */
.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-scale-in {
  animation: scaleIn 0.8s ease forwards;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .display-heading {
    font-size: 5.5rem;
  }

  .section-heading {
    font-size: 4rem;
  }

  .slide-content {
    padding: 3.5rem 4rem;
  }
}

@media (max-width: 1024px) {
  .display-heading {
    font-size: 4.5rem;
  }

  .section-heading {
    font-size: 3.5rem;
  }

  .slide-content {
    padding: 3rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .display-heading {
    font-size: 3.5rem;
  }

  .section-heading {
    font-size: 3rem;
  }

  .slide-content {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 640px) {
  .display-heading {
    font-size: 2.8rem;
  }

  .section-heading {
    font-size: 2.3rem;
  }
}

/* Gradient cards and effects */
.gradient-card {
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.gradient-teal {
  background: linear-gradient(135deg, #0bead8 0%, #1d8fa3 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #5e60ce 0%, #64dfdf 100%);
}

.gradient-sunset {
  background: linear-gradient(135deg, #ff9f1c 0%, #ff006e 100%);
}

/* Competitive landscape specific styles */
.competitor-card {
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  position: relative;
}

.competitor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.competitor-card.highlighted {
  border: 2px solid var(--bubl-primary);
}

.competitor-card .badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bubl-primary);
  color: white;
}

/* Cursor and UI elements */
.cursor-pointer {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 10;
}

.dot-grid {
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th {
  background-color: rgba(0, 0, 0, 0.03);
  font-weight: 500;
  text-align: left;
  padding: 1rem;
}

.comparison-table td {
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table tr:hover td {
  background-color: rgba(0, 0, 0, 0.01);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.feature-check.yes {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.feature-check.no {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.feature-check.partial {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Hero section style */
.hero-section {
  position: relative;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}

.quadrant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.quadrant {
  background-color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.quadrant-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* Technology stack section */
.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
