/* =============================================
   Landing Page - Liquid Glass Design System
   Theme-aware version
   ============================================= */

:root {
  --glass-bg-landing: rgba(255, 255, 255, 0.01);
  --glass-border-landing: rgba(255, 255, 255, 0.25);
}

.landing-page {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000; color: #fff; overflow-x: hidden;
}
.landing-page * { margin: 0; padding: 0; box-sizing: border-box; }

/* Liquid Glass */
.liquid-glass {
  background: rgba(255,255,255,0.01); background-blend-mode: luminosity;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: none; box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.liquid-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* Buttons */
.btn-liquid-strong {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background: rgba(255,255,255,0.01); background-blend-mode: luminosity;
  backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);
  border: none; border-radius: 9999px; color: #fff; font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.05), inset 0 1px 1px rgba(255,255,255,0.15);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.btn-liquid-strong::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.btn-liquid-strong:hover { background: rgba(255,255,255,0.03); transform: translateY(-2px); }
.btn-liquid-strong:active { transform: translateY(0); }

.btn-solid-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background: #fff; border: none; border-radius: 9999px;
  color: #000; font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.btn-solid-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.btn-play {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  background: transparent; border: none; color: #fff; font-family: 'Barlow', sans-serif;
  font-size: 14px; cursor: pointer; transition: opacity 0.3s;
}
.btn-play:hover { opacity: 0.8; }

/* Hero */
.hero-section {
  position: relative; min-height: 1000px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden; padding-top: 120px;
}
.hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg video { position: absolute; left: 0; width: 100%; height: auto; object-fit: contain; top: 20%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.05); z-index: 1; }
.hero-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 300px; background: linear-gradient(to bottom, transparent, #000); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 900px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px; border-radius: 9999px; margin-bottom: 40px; }
.hero-badge .badge-new { background: #fff; color: #000; padding: 6px 12px; border-radius: 9999px; font-size: 11px; font-weight: 600; }
.hero-badge span:last-child { padding-right: 12px; font-size: 13px; color: rgba(255,255,255,0.9); }

.hero-title {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 400; color: #fff;
  line-height: 0.85; letter-spacing: -4px; margin-bottom: 24px; max-width: 800px;
}

/* BlurText Animation */
.blur-text .blur-word { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(30px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.blur-text.animate .blur-word { opacity: 1; filter: blur(0); transform: translateY(0); }
.blur-text .blur-word:nth-child(1) { transition-delay: 0s; }
.blur-text .blur-word:nth-child(2) { transition-delay: 0.05s; }
.blur-text .blur-word:nth-child(3) { transition-delay: 0.1s; }
.blur-text .blur-word:nth-child(4) { transition-delay: 0.15s; }
.blur-text .blur-word:nth-child(5) { transition-delay: 0.2s; }
.blur-text .blur-word:nth-child(6) { transition-delay: 0.25s; }
.blur-text .blur-word:nth-child(7) { transition-delay: 0.3s; }
.blur-text .blur-word:nth-child(8) { transition-delay: 0.35s; }
.blur-text .blur-word:nth-child(9) { transition-delay: 0.4s; }
.blur-text .blur-word:nth-child(10) { transition-delay: 0.45s; }

.hero-subtitle {
  font-family: 'Barlow', sans-serif; font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 40px; max-width: 500px;
  opacity: 0; filter: blur(10px); transform: translateY(20px);
  animation: blurIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: translateY(0); } }

.hero-cta {
  display: flex; align-items: center; gap: 16px;
  opacity: 0; filter: blur(10px); transform: translateY(20px);
  animation: blurIn 0.6s cubic-bezier(0.16,1,0.3,1) 1.1s forwards;
}

.hero-partners { position: relative; z-index: 10; margin-top: auto; padding: 60px 24px 40px; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.partners-label { padding: 10px 20px; border-radius: 9999px; font-size: 12px; color: rgba(255,255,255,0.7); }
.partners-list { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.partners-list span { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; opacity: 0.8; }

/* Video gradients */
.video-gradient-top, .video-gradient-bottom { position: absolute; left: 0; right: 0; height: 200px; pointer-events: none; z-index: 1; }
.video-gradient-top { top: 0; background: linear-gradient(to bottom, #000, transparent); }
.video-gradient-bottom { bottom: 0; background: linear-gradient(to top, #000, transparent); }

/* CTA Section */
.cta-section { position: relative; min-height: 700px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 24px 40px; background: #000; }
.cta-video-bg { position: absolute; inset: 0; z-index: 0; }
.cta-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.cta-content { position: relative; z-index: 10; text-align: center; max-width: 700px; margin-bottom: 80px; }
.cta-title { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; color: #fff; line-height: 0.9; letter-spacing: -2px; margin-bottom: 24px; }
.cta-subtitle { font-family: 'Barlow', sans-serif; font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 40px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Footer */
.landing-footer { position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-left { font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 768px) {
  .hero-section { min-height: 800px; }
  .hero-title { letter-spacing: -2px; }
  .hero-cta { flex-direction: column; }
  .cta-buttons { flex-direction: column; }
  .landing-footer { flex-direction: column; text-align: center; }
  .partners-list { gap: 20px; }
  .partners-list span { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .hero-section { min-height: 700px; padding-top: 100px; }
  .hero-title { font-size: 2.5rem; letter-spacing: -1px; }
  .cta-section { padding: 80px 20px; }
}

/* Demo Modal */
.demo-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; animation: modalFadeIn 0.3s cubic-bezier(0.16,1,0.3,1); }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.demo-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.demo-modal-content { position: relative; z-index: 1; width: 100%; max-width: 900px; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); animation: modalContentIn 0.4s cubic-bezier(0.16,1,0.3,1); }
@keyframes modalContentIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.demo-modal-content video { width: 100%; height: auto; display: block; }
.demo-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; z-index: 2; }
.demo-modal-close:hover { background: rgba(255,255,255,0.2); }
