/* ---------- Landingpage ---------- */

.landing-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(111, 191, 148, 0.25), transparent 60%),
    radial-gradient(ellipse 80% 60% at 110% 10%, rgba(201, 166, 107, 0.25), transparent 60%),
    linear-gradient(160deg, #16281f 0%, #1f4d38 38%, #2f6b6b 72%, #4a7a52 100%);
  background-size: 200% 200%;
  animation: landing-gradient 18s ease-in-out infinite;
  color: #fff;
}

@keyframes landing-gradient {
  0%   { background-position: 0% 30%; }
  50%  { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}

.landing-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.drift {
  position: absolute;
  font-size: 2rem;
  opacity: 0.55;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  will-change: transform;
}

.drift-bird {
  font-size: 2.4rem;
  animation: fly-across linear infinite;
}
.bird-1 {
  top: 14%;
  left: -10%;
  animation-duration: 26s;
  animation-delay: 0s;
}
.bird-2 {
  top: 55%;
  left: -12%;
  font-size: 1.7rem;
  animation-duration: 34s;
  animation-delay: 8s;
}

@keyframes fly-across {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.6; }
  50%  { transform: translate(60vw, -4vh) rotate(2deg); }
  92%  { opacity: 0.55; }
  100% { transform: translate(125vw, 6vh) rotate(-1deg); opacity: 0; }
}

.drift-leaf {
  top: -8%;
  animation: drift-down linear infinite;
}
.leaf-1 { left: 20%; animation-duration: 16s; animation-delay: 0s; }
.leaf-2 { left: 68%; animation-duration: 21s; animation-delay: 5s; font-size: 1.5rem; }
.leaf-3 { left: 85%; animation-duration: 19s; animation-delay: 10s; font-size: 1.6rem; }

@keyframes drift-down {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translateY(50vh) translateX(-4vw) rotate(90deg); }
  90%  { opacity: 0.45; }
  100% { transform: translateY(108vh) translateX(4vw) rotate(180deg); opacity: 0; }
}

.landing-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.landing-eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.75;
  animation: fade-in-up 0.7s ease both;
}

.landing-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  animation: fade-in-up 0.7s ease 0.08s both;
}

.landing-subtitle {
  margin: 0 0 2.2rem;
  font-size: 1.05rem;
  opacity: 0.9;
  animation: fade-in-up 0.7s ease 0.16s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 720px;
}

@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #fff;
  padding: 2.2rem 1.25rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(10, 20, 15, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: fade-in-up 0.7s ease 0.24s both;
  overflow: hidden;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(10, 20, 15, 0.35);
  outline: none;
}
.choice-card:hover::before,
.choice-card:focus-visible::before {
  opacity: 1;
}

.choice-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 0.4rem;
}
.choice-icon-emoji {
  font-size: 2.6rem;
  display: inline-block;
}

.choice-birds .choice-icon-emoji {
  animation: bob 2.6s ease-in-out infinite;
}
.choice-plants .choice-icon-emoji {
  animation: sway 3.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-4deg); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}

.choice-name {
  font-size: 1.3rem;
  font-weight: 700;
}
.choice-desc {
  font-size: 0.85rem;
  opacity: 0.85;
}
.choice-cta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
}

.choice-birds {
  background: linear-gradient(160deg, rgba(47, 107, 79, 0.55), rgba(31, 77, 56, 0.35));
}
.choice-plants {
  background: linear-gradient(160deg, rgba(201, 166, 107, 0.45), rgba(47, 107, 107, 0.35));
}

.landing-dashboard-link {
  margin-top: 2rem;
  color: #fff;
  opacity: 0.8;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  animation: fade-in-up 0.7s ease 0.32s both;
}
.landing-dashboard-link:hover {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.landing-footer {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
}
.landing-footer a {
  color: rgba(255, 255, 255, 0.75);
}
.landing-footer a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .landing-body,
  .drift,
  .choice-icon-emoji,
  .landing-eyebrow,
  .landing-title,
  .landing-subtitle,
  .choice-card,
  .landing-dashboard-link {
    animation: none !important;
  }
}
