.home-page {
  padding: 2rem 0 3rem;
}

.hero {
  margin-bottom: 4rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.hero-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .hero-primary {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    flex: 1;
    min-width: 0;
  }

  .hero-title,
  .hero-description {
    text-align: left;
  }

  .hero-meta,
  .hero-badges-row {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.hero-logo-wrap {
  flex-shrink: 0;
}

.hero-info {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 42rem;
}

.hero-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14rem;
  height: 14rem;
  margin: 0 auto;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  box-shadow: var(--shadow-sm);
}

.hero-logo-card img {
  width: 12rem;
  height: 12rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 768px) {
  .hero-title {
    text-align: left;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-meta {
    justify-content: flex-start;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  background: #f3f4f6;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

.hero-badge--age {
  font-size: 0.75rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-badges-row {
    justify-content: flex-start;
  }
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.75rem;
}

.info-badge strong {
  color: var(--color-heading);
  font-weight: 600;
}

.hero-description {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-body);
  text-align: center;
  max-width: 42rem;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .hero-description {
    text-align: left;
    margin-inline: 0;
  }
}

.hero-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hero-stores {
    grid-template-columns: 1fr;
    max-width: 12.5rem;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .hero-stores {
    align-self: flex-start;
  }
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading);
}

.screenshots {
  margin-bottom: 4rem;
}

.screenshots-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-track::-webkit-scrollbar {
  height: 6px;
}

.screenshots-track::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 auto;
  width: min(200px, 40vw);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.features {
  margin-bottom: 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
}

.faq {
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-heading);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

.faq-answer p {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--color-body);
}
