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

/* Visually hidden but accessible to screen readers and search engines. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  background: #1a1a2e;
  color: #fff;
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

/* Hero */
.hero {
  text-align: center;
  padding-bottom: 3rem;
}

.hero-icon {
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 12px 32px rgba(255, 107, 107, 0.25));
}

.title {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.cta {
  display: inline-block;
  transition: transform 0.2s, filter 0.2s;
}

.cta img {
  display: block;
  height: 48px;
  width: auto;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.cta:active {
  transform: scale(0.97);
}

/* About */
.about {
  padding: 2rem 0;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto;
}

.about em {
  color: #feca57;
  font-style: normal;
  font-weight: 600;
}

/* Features */
.features {
  padding: 3rem 0 2rem;
}

.features h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

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

.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Bottom CTA */
.cta-bottom {
  text-align: center;
  padding: 2rem 0 1rem;
}

.cta-bottom h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

footer a:hover {
  color: #feca57;
  border-bottom-color: #feca57;
}

/* Smaller screens */
@media (max-width: 480px) {
  main {
    padding: 2rem 1rem 1rem;
  }

  .title {
    font-size: 3.5rem;
  }

  .hero-icon {
    width: 128px;
    height: 128px;
  }

  .features h2 {
    font-size: 1.6rem;
  }
}
