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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #0a0a0a;
  color: #ffffff;
  height: 100vh;
  /* Better cross-browser support */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent iOS Safari bounce */
  position: fixed;
  width: 100%;
  height: 100%;
}

html {
  /* Better scroll behavior */
  scroll-behavior: auto;
  /* Prevent iOS Safari bounce */
  overflow: hidden;
  height: 100%;
}

/* Fixed luxury background */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/luxury.svg") no-repeat center center;
  background-size: cover;
  z-index: -1;
}

/* Overlay for better text readability */
.bg-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Slide container */
.slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  scroll-snap-align: start;
  /* Better Safari support */
  -webkit-scroll-snap-align: start;
  /* Ensure proper mobile centering */
  box-sizing: border-box;
  /* Ensure content doesn't get cut off */
  overflow: visible;
}

/* Main container with snap scrolling */
.slides-container {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: 100vh;
  /* Prevent horizontal scroll on mobile */
  overflow-x: hidden;
  /* Remove custom scroll behavior - use native */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  /* Better Safari support */
  -webkit-scroll-snap-type: y mandatory;
}

.container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  z-index: 2;
  /* Ensure proper padding and centering */
  padding: 0 1rem;
  box-sizing: border-box;
  /* Ensure content is fully visible */
  min-height: auto;
}

/* Loading screen */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-top: 2px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Hero slide animations */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Ensure logo container doesn't overflow */
  flex-wrap: wrap;
}

.logo-container.revealed {
  opacity: 1;
  transform: scale(1);
}

.brand-logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.brand-name-img {
  height: 50px;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.2));
}

.heading {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Ensure text doesn't overflow */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.heading.revealed {
  opacity: 1;
  transform: translateY(0);
}

.heading p {
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.question {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 300;
  color: #d4af37;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.question.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Problem slide */
.problem-statement {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
}

.problem-statement h5 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Ensure text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.problem-statement h5.revealed {
  opacity: 1;
  transform: translateY(0);
}

.problem-item {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 300;
  color: #f0f0f0;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Remove box styling - just text */
  background: none;
  border: none;
  backdrop-filter: none;
  /* Ensure proper text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.problem-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.problem-finale {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  color: #d4af37;
  margin-top: 2rem;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.problem-finale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Solution intro wave text */
.wave-text {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  margin: 0 0.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wave-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

.wave-text.golden {
  color: #d4af37;
}

/* Brand slide - Target the specific h2 in the brand slide */
.slide[data-slide="3"] h2 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 300;
  color: #d4af37;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide[data-slide="3"] h2.revealed {
  opacity: 1;
  transform: scale(1);
}

.subtitle {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.description {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 300;
  color: #e0e0e0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
}

.description.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Features slide */
.problem-solution h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Ensure text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.problem-solution h2.revealed {
  opacity: 1;
  transform: translateY(0);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.feature-item {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 300;
  color: #f5f5f5;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Remove box styling - just text */
  background: none;
  border: none;
  backdrop-filter: none;
  border-radius: 0;
}

.feature-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 300;
  color: #d4af37;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tagline.revealed {
  opacity: 1;
  transform: scale(1);
}

/* CTA slide */
.join-us h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.join-us h2.revealed {
  opacity: 1;
  transform: translateY(0);
}

.join-us p {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 300;
  color: #e8e8e8;
  margin: 0.4rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.join-us p.revealed {
  opacity: 1;
  transform: translateY(0);
}

.text-small {
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: #d4af37;
}

/* Waitlist slide */
.waitlist-section-main {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* Ensure proper mobile centering */
  box-sizing: border-box;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.luxury-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.content-wrapper {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.main-heading {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-heading.revealed {
  opacity: 1;
  transform: translateY(0);
}

.waitlist-section {
  margin-top: 2rem;
}

.waitlist-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #000000;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.waitlist-btn.revealed {
  opacity: 1;
  transform: translateY(0);
}

.waitlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #e6c44a 0%, #d4af37 100%);
}

.seats-left {
  font-size: 1rem;
  color: #d4af37;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.seats-left.revealed {
  opacity: 0.8;
  transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-dot.active {
  background: #d4af37;
  transform: scale(1.2);
}

/* Luxury Modal Styles */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 16, 36, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-modal.active {
  opacity: 1;
  pointer-events: all;
}

.form-container {
  background: rgba(30, 24, 54, 0.98);
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(212, 175, 55, 0.15);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  color: #fff;
  border: 2px solid transparent;
  animation: modalPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Gold border animation */
  box-shadow: 0 0 0 0 #d4af37, 0 8px 40px 0 rgba(212, 175, 55, 0.15);
  transition: box-shadow 0.5s;
}
.form-modal.active .form-container {
  animation: modalPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 4px #d4af37, 0 8px 40px 0 rgba(212, 175, 55, 0.15);
}
@keyframes modalPop {
  0% {
    transform: scale(0.95) translateY(40px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #d4af37;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #fff;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #d4af37;
}
.form-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
  opacity: 0.8;
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-input,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #d4af37;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.form-input:focus,
.form-select:focus {
  border: 1.5px solid #fff;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(90deg, #d4af37 0%, #b8941f 100%);
  color: #1a1a1a;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 0;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-loading {
  margin-left: 0.5rem;
  color: #d4af37;
}

/* Responsive design */
@media (max-width: 768px) {
  .slide {
    padding: 0.3rem;
    min-height: 100vh;
    /* Ensure proper mobile centering */
    align-items: center;
    justify-content: center;
  }

  .container {
    padding: 0 0.3rem;
    width: 100%;
    min-height: auto;
  }

  .problem-statement {
    padding: 0.5rem 0;
  }

  .problem-item,
  .feature-item {
    padding: 0.2rem 0;
    margin: 0.5rem 0;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }

  .scroll-indicator {
    right: 10px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-name-img {
    height: 35px;
  }

  .heading {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .question {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  }

  .problem-statement h5 {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    margin-bottom: 1.5rem;
  }

  .wave-text {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin: 0 0.1rem;
  }

  .slide[data-slide="3"] h2 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .subtitle {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  }

  .description {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
  }

  .problem-solution h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
  }

  .join-us h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  }

  .join-us p {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .main-heading {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }

  .waitlist-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .content-wrapper {
    padding: 0 0.3rem;
  }
}

@media (max-width: 480px) {
  .slide {
    padding: 0.2rem;
    min-height: 100vh;
  }

  .container {
    padding: 0 0.2rem;
    min-height: auto;
  }

  .problem-statement {
    padding: 0.3rem 0;
  }

  .problem-item,
  .feature-item {
    padding: 0.1rem 0;
    margin: 0.3rem 0;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  }

  .waitlist-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .heading {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 0.8rem;
  }

  .question {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .problem-statement h5 {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
  }

  .wave-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .slide[data-slide="3"] h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .description {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
  }

  .problem-solution h2 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
  }

  .join-us h2 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
  }

  .join-us p {
    font-size: clamp(0.8rem, 2.5vw, 1.3rem);
  }

  .main-heading {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
  }

  .content-wrapper {
    padding: 0 0.2rem;
  }

  .brand-logo {
    width: 45px;
    height: 45px;
  }

  .brand-name-img {
    height: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .problem-statement {
    max-width: 1000px;
  }

  .content-wrapper {
    max-width: 1000px;
  }
}
