/* Shared styles for app landing pages */

.app-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
.app-hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.app-hero-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.app-hero-platforms { display: flex; gap: 0.5rem; }
.app-hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
}
.app-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 480px;
}

/* App icon in hero */
.app-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-icon-wrap--dark { background: transparent; }
.app-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.app-icon-wrap--dark .app-icon-img { width: 96px; height: 96px; }

/* App Store buttons */
.app-store-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  line-height: 1.2;
}
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 0.65rem; font-weight: 400; opacity: 0.8; letter-spacing: 0.02em; }
.store-apple {
  background: var(--white);
  color: var(--bg);
}
.store-apple:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.store-google {
  background: var(--surface-2);
  color: var(--white);
  border: 1px solid var(--border);
}
.store-google:hover {
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* Features */
.app-features { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-icon { font-size: 1.75rem; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.65;
}

/* CTA section */
.app-cta { background: var(--bg); }
.cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-inner .section-sub { margin-left: auto; margin-right: auto; }
