/* ─── Hero ─── */
.hero {
  background-color: var(--color-surface-secondary);
  padding: 140px 0 80px;
  overflow-x: clip;
}

.hero .container {
  text-align: center;
}

.hero .badge {
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 16px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero .app-store-badge {
  margin-top: 32px;
}

/* ─── Features ─── */
.features {
  padding: var(--section-padding) 0;
  background-color: var(--color-surface);
}

.features .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.features .section-header p {
  font-size: 18px;
  max-width: 500px;
  margin: 12px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Center the last card when odd number of items */
.features-grid .feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  justify-self: center;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: var(--section-padding) 0;
  background-color: var(--color-primary-bg);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works .section-header p {
  font-size: 18px;
  max-width: 500px;
  margin: 12px auto 0;
}

.steps {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  border-top: 2px dashed var(--color-primary);
  opacity: 0.3;
}

/* ─── Pricing ─── */
.pricing {
  padding: var(--section-padding) 0;
  background-color: var(--color-surface-secondary);
}

.pricing .section-header {
  text-align: center;
  margin-bottom: 16px;
}

.pricing .section-header p {
  font-size: 18px;
  max-width: 500px;
  margin: 12px auto 0;
}

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

/* ─── Download CTA ─── */
.download-cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #0D9488 0%, #0B7F74 50%, #09695F 100%);
  text-align: center;
}

.download-cta h2 {
  color: white;
  margin-bottom: 12px;
}

.download-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 460px;
  margin: 0 auto 36px;
}

.download-cta .app-store-badge {
  margin-bottom: 0;
}

/* ─── Footer ─── */
.footer {
  background-color: var(--color-dark);
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .navbar-logo {
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
