/* styles.css */
:root {
  --bg-green: #cdfc93;
  --circle-purple: #b9a2fa;
  /* Made it a bit lighter to match the image */
  --text-dark: #121212;
  --btn-purple: #ab8efa;
  --btn-purple-hover: #9675ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-green);
  color: var(--text-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: url(Slide-16-9-88.gif);
}

/* Background Elements */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--bg-green) 0%, #b8f06c 100%);
}

.circle {
  position: absolute;
  background-color: var(--circle-purple);
  border-radius: 50%;
  opacity: 0.85;
}

.circle-1 {
  width: 50vw;
  height: 50vw;
  min-width: 400px;
  min-height: 400px;
  top: -15vw;
  left: -15vw;
}

.circle-2 {
  width: 60vw;
  height: 60vw;
  min-width: 500px;
  min-height: 500px;
  top: -25vw;
  left: 20vw;
}

.circle-3 {
  width: 60vw;
  height: 60vw;
  min-width: 500px;
  min-height: 500px;
  top: -25vw;
  right: -5vw;
}

.circle-4 {
  width: 50vw;
  height: 50vw;
  min-width: 400px;
  min-height: 400px;
  bottom: -20vw;
  right: -10vw;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: relative;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: left;
}

.logo-img {
  display: block;
  height: 48px; /* Slightly taller for perfect legibility */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Inter', -apple-system, sans-serif !important;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  font-family: 'Inter', -apple-system, sans-serif !important;
  background-color: var(--btn-purple);
  color: white;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px rgba(171, 142, 250, 0.3);
}

.btn-primary:hover {
  background-color: var(--btn-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 117, 255, 0.5);
}

/* Main Content */
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.form-wrapper {
  background: white;
  width: 100%;
  max-width: 500px;
  min-height: 500px;
  padding: 3rem;
  border-radius: 0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;

  /* Fallback content layout for klaviyo container */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure klaviyo form takes up space */
.klaviyo-form-QZF4Fc {
  width: 100%;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulsebg {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.02);
    opacity: 0.75;
  }
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

.animate-pulse {
  animation: pulsebg 15s infinite ease-in-out;
}

.animate-pulse-delayed {
  animation: pulsebg 15s infinite ease-in-out 7s;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-left {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }
}

/* Active Link Styling */
.nav-links a.active {
  color: var(--btn-purple);
  border-bottom: 2px solid var(--btn-purple);
  padding-bottom: 2px;
}

/* Policies Page Layout & Typography */
.policy-wrapper {
  background: white;
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  padding: 3rem;
  border-radius: 0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  line-height: 1.6;
  text-align: left;
}

.policy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--btn-purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

.policy-back-btn:hover {
  color: var(--btn-purple-hover);
  transform: translateX(-3px);
}

.policy-content {
  font-family: 'Inter', -apple-system, sans-serif !important;
}

.policy-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.75rem;
  line-height: 1.2;
}

.policy-intro {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 2rem;
  font-weight: 400;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.policy-content p {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
}

.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
  position: relative;
}

.policy-content a {
  color: var(--btn-purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-content a:hover {
  color: var(--btn-purple-hover);
  text-decoration: underline;
}

.policy-alert {
  background-color: #f3f4f6;
  border-left: 4px solid var(--btn-purple);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
}

.policy-alert strong {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .policy-wrapper {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .policy-content h1 {
    font-size: 1.6rem;
  }
}