/* Pop4me landing: shared by every /<lang>/index.html, after /css/shared.css
   (tokens, nav, footer). Same split as PantanOS. */

/* The fixed .nav needs no offset here: the hero's 96px top padding clears it. */

/* --- Hero --- */
.hero {
  padding: 96px 24px 64px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
  text-align: center;
  color: white;
  overflow: hidden;
}
.hero-content {
  max-width: 640px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.5;
}
.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.store-badges a img {
  height: 48px;
  transition: transform 0.15s ease;
}
.store-badges a:hover img { transform: scale(1.05); }

/* Link to the Flutter web app (second-class CTA after the store badges). */
.web-link {
  display: inline-block;
  color: white;
  font-weight: 500;
  opacity: 0.92;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  margin-bottom: 48px;
}
.web-link:hover { opacity: 1; border-bottom-color: white; }

.hero-phone {
  max-width: 280px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
.hero-phone picture,
.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Section base --- */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.step-icon {
  display: block;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Features --- */
.features-bg {
  background: var(--surface);
}
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--divider);
  transition: border-color 0.2s ease;
}
.feature:hover { border-color: var(--primary-light); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- CTA --- */
.cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  text-align: center;
  color: white;
}
.cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-sub {
  opacity: 0.92;
  margin-bottom: 24px;
}
.cta .web-link { margin-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 48px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .hero-phone { max-width: 220px; }
  .store-badges a img { height: 42px; }
  .section { padding: 56px 20px; }
  .section-title { font-size: 1.4rem; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .features { grid-template-columns: 1fr; }
}
