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

:root {
  --bg-dark: #000000;
  --bg-secondary: #050507;
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --accent: #D4AF37; /* Champagne Gold */
  --accent-glow: rgba(212, 175, 55, 0.15);
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-med: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s ease;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow: hidden; /* We rely on the keynote container for scrolling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keynote Scroll Container */
.keynote-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}
.keynote-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Individual Slides */
.slide {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5vw;
  text-align: center;
}

.slide-left {
  align-items: flex-start;
  text-align: left;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}

@media (max-width: 900px) {
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.slide-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.slide-title span {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.slide-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-muted);
  font-weight: 400;
}

.slide-desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.6;
  margin-top: 2rem;
}

.slide-eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* Background Effects */
.bg-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  transition: var(--transition-slow);
}
.orb-gold {
  width: 600px;
  height: 600px;
  background: var(--accent-glow);
  top: -200px;
  right: -200px;
}
.orb-silver {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -100px;
}

/* Cinematic Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(8px);
  transition: all var(--transition-slow);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Scroll Indicator Dots */
.scroll-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 100;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
  opacity: 0.4;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
}

.scroll-dot.active {
  background-color: var(--accent);
  transform: scale(1.5);
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Global Nav / Menu toggle */
.global-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 200;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .global-nav {
    padding: 1.5rem 2rem;
  }
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}
.nav-menu-btn:hover {
  color: var(--accent);
}

/* Fullscreen Overlay Menu */
.menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  position: absolute;
  top: 2rem; right: 4rem;
  background: none; border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  transition: var(--transition-fast);
}

.menu-links a:hover, .menu-links a.active {
  color: #fff;
}

/* Images & Visuals */
.visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 3s ease;
}

.slide.active .visual-frame img {
  transform: scale(1);
}

/* Custom Cards / Elements */
.feature-cards {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
}
@media (max-width: 900px) {
  .feature-cards {
    flex-direction: column;
  }
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 16px;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-med);
}

.card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.card-desc {
  color: var(--text-muted);
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
