:root {
  --primary: #6366f1;
  --secondary: #a855f7;
  --accent: #ec4899;
  --background: #030712;
  --foreground: #f9fafb;
  --glass: rgba(15, 23, 42, 0.7);
  --font-main: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.6;
}

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
}

#animation-canvas {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

#scroller {
  height: 1000vh; /* Deep scroll for cinematic feel */
  position: relative;
  z-index: 0;
}

/* Sticky Logo with transparency and slow animation */
#sticky-logo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 120px;
  height: auto;
  z-index: 100;
  opacity: 0.5;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

#final-cta {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  
  /* Glass Effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 6rem;
  border-radius: 100px; /* Pillow/Bar shape */
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

#final-cta h1 {
    font-size: 2.5rem !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
}

#final-cta .tagline {
    margin-top: 0 !important;
    white-space: nowrap;
}

#final-cta .btn {
    margin-top: 0 !important;
}

#final-cta.visible {
  opacity: 1;
  visibility: visible;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

.tagline {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 2px;
  margin-top: 1rem;
  opacity: 0.6;
}

@media (max-width: 900px) {
  #final-cta {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-radius: 30px;
    width: 95%;
  }
  #final-cta h1 {
    font-size: 2rem !important;
  }
  #sticky-logo {
    width: 60px;
    bottom: 1rem;
    right: 1rem;
  }
}
