:root {
  --brand-purple: #380e2c;
  --brand-black: #222222;
  --brand-leaf: #9bb48a;
  --text-gray: #666666;
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--brand-purple);
  background-color: #fff;
  overflow-x: hidden; /* Prevents accidental horizontal scrolls */
}

/* Typography */
.logo-text {
  font-size: 2rem;
  color: var(--brand-black);
}

.hero-section {
  min-height: 85vh; /* More flexible than calc() */
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--brand-purple);
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Components */
.store-btn {
  display: inline-block;
  background: var(--brand-black);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.store-btn:hover {
  background: #000;
  transform: translateY(-2px);
  color: #fff;
}

.duck-image {
  max-width: 100%;
  height: auto;
  width: 350px;
}

/* Subtle animation for the companion */
.floating-anim {
  animation: float 6s ease-in-out infinite;
}

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

.terms-text {
  font-size: 0.85rem;
}

.terms-text a {
  color: var(--text-gray);
  text-decoration: none;
  margin-right: 20px;
  transition: var(--transition);
}

.terms-text a:hover {
  color: var(--brand-purple);
}

/* Mobile Tweaks */
@media (max-width: 991px) {
  .hero-section {
    text-align: center;
    padding-top: 20px;
  }

  .duck-image {
    width: 240px;
    margin-bottom: 2rem;
  }

  .terms-text a {
    display: inline-block;
    margin: 5px 10px;
  }
}
