@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
  --primary: #00f2ff;
  --secondary: #7000ff;
  --accent: #ff00c8;
  --bg: #03050a;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-dim: #a0aec0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.bg-canvas {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 50% 50%, #0a1128 0%, #03050a 100%);
}

.bg-grid {
  position: fixed;
  width: 200%; height: 200%; top: -50%; left: -50%;
  background-image: linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg) translateZ(0);
  animation: grid-move 20s linear infinite;
  z-index: -1;
  opacity: 0.3;
}

@keyframes grid-move { 0% { transform: rotateX(60deg) translateY(0); } 100% { transform: rotateX(60deg) translateY(50px); } }

.presentation { width: 100%; height: 100%; position: relative; }

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 3rem; opacity: 0; visibility: hidden;
  transform: scale(0.9) translateZ(-100px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.slide.active { opacity: 1; visibility: visible; transform: scale(1) translateZ(0); z-index: 2; }
.slide.prev { opacity: 0; transform: scale(1.1) translateZ(100px); }

h1 { font-family: 'Space Grotesk', sans-serif; font-size: 4.5rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 0.5rem; background: linear-gradient(to right, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.3)); }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.tagline { font-size: 1.2rem; font-weight: 300; color: var(--text-dim); text-transform: uppercase; letter-spacing: 6px; margin-bottom: 1rem; }

.glass-container {
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: 40px;
  padding: 3rem; max-width: 1100px; width: 100%; position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

p { font-size: 1.4rem; line-height: 1.6; font-weight: 300; color: #dee2e6; margin-bottom: 1.5rem; }
ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; width: 100%; }
li { font-size: 1.1rem; font-weight: 400; padding: 1.2rem; background: rgba(255, 255, 255, 0.02); border-left: 4px solid var(--primary); border-radius: 12px; transition: all 0.3s ease; }
li:hover { background: rgba(0, 242, 255, 0.05); transform: translateX(10px); }

.hero-visual { width: 100%; max-height: 350px; object-fit: contain; border-radius: 20px; margin-top: 1rem; filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.15)); }

.nav-pill {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); padding: 0.6rem 1.2rem; border-radius: 100px;
  display: flex; gap: 1rem; align-items: center; z-index: 1000;
}

.nav-btn { background: transparent; border: none; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; padding: 0.4rem 0.8rem; border-radius: 50px; transition: all 0.3s ease; }
.nav-btn:hover:not(:disabled) { background: var(--primary); color: var(--bg); }
.nav-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.curr-slide-indicator { font-size: 0.7rem; color: var(--text-dim); font-weight: 800; letter-spacing: 1px; }

.speaker-notes { display: none; }

/* Fixed Speaker Notes Modal Styles */
#notesModal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.notes-inner {
  max-width: 900px;
  width: 90%;
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(0, 242, 255, 0.1);
  border-radius: 30px;
}

.notes-inner h3 {
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  opacity: 0.8;
}

#activeNote {
  font-size: 2.4rem;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.close-hint {
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.6;
}

@media (max-width: 1200px) { h1 { font-size: 3rem; } h2 { font-size: 2.2rem; } .glass-container { padding: 2rem; } }
@media (max-height: 800px) { .hero-visual { max-height: 250px; } p { font-size: 1.1rem; } #activeNote { font-size: 1.8rem; } }
