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

:root {
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-light: #f5f5f7;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text-primary: #ffffff;
  --text-secondary: #86868b;
  --text-dark: #1d1d1f;
  --accent-blue: #0071e3;
  --border-apple: rgba(255, 255, 255, 0.1);
}

.slide-title-light {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-title-light .logo-container {
  margin-bottom: 40px;
  animation: fadeIn 1s ease;
}

.slide-title-light .logo-container img {
  max-width: 280px;
  height: auto;
}

.slide-title-light .title {
  color: var(--text-dark) !important;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.slide-title-light .subtitle {
  color: #515154 !important;
}

.presentation-container::before {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.1) 0%, transparent 60%);
}

.slide {
  padding: 100px 80px;
}

.slide-highlight-slide .highlight {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-btn {
  background: rgba(120, 120, 128, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  width: 100%;
  height: 100%;
}

.presentation-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.presentation-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(91, 142, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.presentation-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide.active .animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.gradient-text-blue {
  background: linear-gradient(135deg, #5b8eff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.slide-title-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.series-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  animation: fadeIn 0.8s ease 0.1s both;
}

.slide-title-slide .title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-title-slide .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 100%;
  line-height: 1.6;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.slide-highlight-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 50px;
  max-width: 900px;
  margin: 0 auto;
}

.slide-highlight-slide .prefix {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeIn 0.6s ease 0.1s both;
}

.slide-highlight-slide .highlight {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-text-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 850px;
  margin: 0 auto;
}

.slide-text-slide .prefix {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeIn 0.6s ease 0.1s both;
}

.slide-text-slide .main-text {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-question-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 850px;
  margin: 0 auto;
}

.slide-question-slide .question-mark {
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-blue);
  opacity: 0.15;
  margin-bottom: 20px;
  animation: gentleFloat 4s ease-in-out infinite;
}

.slide-question-slide .question {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-end-slide {
  text-align: center;
  flex-direction: column;
}

.slide-end-slide .end-message {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

.slide-product-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 850px;
  margin: 0 auto;
}

.slide-product-slide .product-name {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

.slide-product-slide .product-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.slide-feature-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.slide-feature-slide .feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(91, 142, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: fadeIn 0.6s ease 0.1s both;
}

.slide-feature-slide .feature-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-feature-slide .feature-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.slide-quote-slide {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  max-width: 850px;
  margin: 0 auto;
}

.slide-quote-slide .quote-mark {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-blue);
  opacity: 0.2;
  margin-bottom: 8px;
  animation: fadeIn 0.6s ease 0.1s both;
}

.slide-quote-slide .quote-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.slide-quote-slide .quote-author {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.navigation {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
  padding: 12px;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-btn:hover:not(:disabled) {
  background: rgba(91, 142, 255, 0.15);
  color: var(--accent-blue);
  transform: scale(1.05);
}

.nav-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.slide-indicator {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 55px;
  text-align: center;
  letter-spacing: 0.5px;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 100;
}

.progress-bar .progress {
  height: 100%;
  background: linear-gradient(90deg, #5b8eff, #7c3aed);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (max-width: 768px) {
  .slide {
    padding: 40px 24px;
  }
  
  .navigation {
    bottom: 24px;
    right: 24px;
    padding: 10px;
  }
  
  .nav-btn {
    width: 44px;
    height: 44px;
  }
  
  .slide-title-slide .title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  
  .slide-highlight-slide .highlight {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
}

@media (orientation: portrait) {
  .slide-title-slide .title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  
  .slide-highlight-slide .highlight {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  
  .slide-question-slide .question-mark {
    font-size: 70px;
  }
}
