:root {
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-secondary-50: #f0fdfa;
  --color-secondary-500: #14b8a6;
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;
}

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

html,
body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--color-neutral-800);
  overflow-x: hidden;
  height: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.2s ease;
  padding: 1rem 0;
  background-color: white;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  width: 25%;
}

.logo-container img {
  filter: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  width: 50%;
  justify-content: center;
}

.nav-links a {
  color: var(--color-neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-600);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neutral-700);
  cursor: pointer;
  margin-left: auto; /* Pushes it to the right */
}

/* Header Buttons */
.header-buttons {
  display: none !important; /* Force hiding with !important */
  position: absolute;
  right: 0;
  width: 25%;
  text-align: right;
  gap: 0.5rem;
}

.header.scrolled .header-buttons {
  display: flex !important; /* Force showing with !important */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-700);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-600);
}

.btn-secondary:hover {
  background-color: var(--color-primary-50);
}

.btn-white {
  background-color: white;
  color: var(--color-primary-600);
}

.btn-white:hover {
  background-color: var(--color-neutral-50);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url("./images/couple_hugging2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 6rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content sections */
section:not(.hero) {
  position: relative;
  z-index: 10;
  background-color: white;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-neutral-600);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-neutral-600);
}

/* Audio Guide Section */
.audio-guide {
  background: var(--color-secondary-50);
  padding: 5rem 0;
}

.audio-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .audio-content {
    grid-template-columns: 1fr 1fr;
  }
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.topic-button {
  background: white;
  border: none;
  padding: 1rem;
  text-align: left;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.topic-button:hover,
.topic-button.active {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

.audio-player {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.audio-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 60px;
  margin: 1.5rem 0;
}

.bar {
  width: 3px;
  height: 20px;
  background: var(--color-primary-500);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%,
  100% {
    height: 20px;
  }
  50% {
    height: 40px;
  }
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play-button {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.progress-bar {
  flex-grow: 1;
  height: 4px;
  background: var(--color-neutral-200);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  width: 30%;
  height: 100%;
  background: var(--color-primary-500);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author h4 {
  font-weight: 600;
}

.author p {
  color: var(--color-neutral-500);
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  background: var(--color-primary-600);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--color-primary-100);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--color-neutral-900);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--color-neutral-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-neutral-800);
  color: var(--color-neutral-500);
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-right {
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

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

  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

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

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideUp 0.3s ease-in-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-neutral-500);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-neutral-800);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-neutral-900);
}

.modal-description {
  color: var(--color-neutral-600);
  margin-bottom: 1.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--color-neutral-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  padding: 0.875rem;
  border: 2px solid var(--color-neutral-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px var(--color-primary-50);
}

.form-group input::placeholder {
  color: var(--color-neutral-400);
}

.form-message {
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 500;
  margin-top: 0.5rem;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cf-turnstile {
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}
