/* ────────────────────────────────────────────────────────────────────────────
   Freedive Finder — Landing Page Styles
   Only styles unique to the home page. Shared styles live in global.css.
   ──────────────────────────────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--hero-padding-top) var(--space-lg) 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--space-lg);
  margin: 0 auto 28px;
  box-shadow: 0 8px 40px rgba(7, 138, 153, 0.5);
  display: block;
}

h1 span {
  color: var(--teal-lt);
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--white-70);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

.cta-row {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(7, 138, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 14px;
  color: var(--white-70);
  line-height: var(--line-height-base);
}

/* ── Landing About ────────────────────────────────────────────────────────── */
.landing-about {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl) var(--space-md);
  background: rgba(1, 42, 55, 0.5);
}

.landing-about-inner {
  max-width: var(--content-narrow-width);
  margin: 0 auto;
  text-align: center;
}

.landing-about-inner p {
  font-size: 18px;
  color: var(--white-70);
  margin-bottom: 20px;
}

.landing-about-inner p strong {
  color: var(--white);
}

/* ── Download ─────────────────────────────────────────────────────────────── */
.download {
  padding: 0 var(--space-lg) var(--space-3xl);
  text-align: center;
}

.store-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white-20);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  transition:
    background var(--transition-normal),
    transform var(--transition-fast);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero {
    padding: var(--space-3xl) var(--space-lg) 60px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row a {
    width: 100%;
    justify-content: center;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }
}
