.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  gap: var(--space-6);
}

.tagline {
  max-width: 560px;
  font-size: var(--text-lg);
  color: var(--text);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  background: rgba(5, 12, 8, 0.6);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

#cta-btn {
  margin-top: var(--space-4);
  box-shadow: var(--shadow-accent);
  animation:
    rise 0.6s ease 0.3s backwards,
    cta-glow 2.8s ease-in-out 0.3s infinite;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
}

.feature-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-card .panel-title {
  color: var(--accent);
}

.feature-card .panel-title::before {
  content: "\266b";
  display: inline-block;
  margin-right: var(--space-2);
  transition: transform 0.25s ease;
}

.feature-card:hover .panel-title::before {
  transform: rotate(-18deg) scale(1.25);
}

.feature-card p {
  color: var(--text-muted);
}

.hero > .tagline {
  animation: rise 0.6s ease 0.15s backwards;
}

.features .feature-card {
  animation: rise 0.6s ease backwards;
}

.features .feature-card:nth-child(1) {
  animation-delay: 0.45s;
}

.features .feature-card:nth-child(2) {
  animation-delay: 0.6s;
}

.features .feature-card:nth-child(3) {
  animation-delay: 0.75s;
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(166, 232, 91, 0.35);
  }
  50% {
    box-shadow: 0 0 40px rgba(166, 232, 91, 0.7);
  }
}

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

  .hero {
    padding-top: var(--space-8);
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: var(--text-base);
  }
}
