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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  background: #1a1a1a;
  color: #e8e8e8;
}

/* 背景视频 */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.7;
}

/* 粒子效果 */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 15s infinite linear;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.nav-link {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 300;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 欢迎区 */
.welcome-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.welcome-content {
  animation: fadeInUp 1.5s ease-out;
}

.main-title {
  font-size: 4rem;
  font-weight: 100;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: #cccccc;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.start-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.start-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 冥想体验区 */
.meditation-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.meditation-content {
  text-align: center;
  max-width: 800px;
}

.meditation-text {
  margin-bottom: 4rem;
}

.meditation-line {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.5s ease;
}

.meditation-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 音频律动动画 */
.audio-visualizer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.wave-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wave {
  width: 4px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: 0.2s;
}

.wave:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  100% {
    height: 20px;
    opacity: 0.6;
  }
  50% {
    height: 60px;
    opacity: 1;
  }
}

/* 邮箱预约区 */
.booking-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.booking-content {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.booking-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: #ffffff;
  line-height: 1.4;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

#emailInput {
  width: 100%;
  max-width: 400px;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#emailInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#emailInput:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.submit-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 1rem 3rem;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 300;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.message.show {
  opacity: 1;
  transform: translateY(0);
}

.message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #81c784;
}

.message.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #e57373;
}

/* 页脚 */
.footer {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  color: #cccccc;
  font-weight: 300;
}

.privacy-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #ffffff;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .meditation-line {
    font-size: 1.1rem;
  }

  .booking-title {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .booking-form {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  .welcome-section,
  .meditation-section,
  .booking-section {
    padding: 2rem 1rem;
  }

  .start-btn,
  .submit-btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}
