/* Apps page — extends site.css */
.apps-hero {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(0, 189, 136, 0.12), transparent 50%),
    var(--surface-warm);
  padding: clamp(48px, 8vw, 80px) 24px clamp(64px, 10vw, 96px);
  border-bottom: 1px solid var(--line);
}

.apps-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.apps-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  max-width: 520px;
}

.apps-hero-card .eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 10px;
}

.apps-hero-card h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.apps-hero-card p {
  margin: 0 0 28px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.02rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--cta-fg);
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-download:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn-download svg { width: 20px; height: 20px; }

.apps-browser-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent-mid);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.apps-browser-link:hover { text-decoration: underline; }

.apps-hero-visual img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.apps-platforms {
  padding: var(--section-pad) 24px;
  background: var(--surface);
}

.apps-platforms-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) 1fr;
  gap: 40px;
  align-items: start;
}

.apps-platforms h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.platform-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.platform-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.platform-card .badge {
  display: inline-block;
  background: rgba(0, 189, 136, 0.12);
  color: var(--accent1);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: fit-content;
}

.platform-card .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0 0 6px;
}

.platform-card h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
  flex: 1;
}

.platform-card a {
  margin-top: 20px;
  color: var(--accent-mid);
  font-weight: 700;
  text-decoration: none;
}

.platform-card a:hover { text-decoration: underline; }

.apps-features {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.apps-features-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
  gap: 36px;
  align-items: end;
}

.apps-features-intro h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.apps-features-intro p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.carousel-nav { display: flex; gap: 12px; }

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--surface-warm);
  border-color: var(--accent-mid);
}

.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.feature-track-wrap { overflow: hidden; }

.feature-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px;
}

.feature-track::-webkit-scrollbar { display: none; }

.feature-card {
  flex: 0 0 min(320px, 72vw);
  scroll-snap-align: start;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card a {
  color: var(--accent-mid);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent2);
  padding-bottom: 2px;
}

.feature-card a:hover { color: var(--accent1); }

@media (max-width: 960px) {
  .apps-hero-grid,
  .apps-platforms-inner,
  .apps-features-grid { grid-template-columns: 1fr; }
  .apps-hero-visual { order: -1; }
  .apps-hero-card { max-width: none; }
}
