/* =========================================================
   AlmDroid Apps — site stylesheet
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #070b12;
  --bg-2: #0c121c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8eef5;
  --muted: #93a1b3;
  --brand: #2ec4b0;
  --brand-2: #22d3ee;
  --accent: #8b7bff;
  --glow: rgba(46, 196, 176, 0.35);
  --radius: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-qr {
  --brand: #2ec4b0;
  --brand-2: #60a5fa;
  --accent: #a78bfa;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.grad-text {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background aurora ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: var(--brand); top: -18vmax; left: -12vmax; }
.aurora span:nth-child(2) { background: var(--accent); top: 10vmax; right: -20vmax; opacity: 0.22; animation-duration: 32s; }
.aurora span:nth-child(3) { background: var(--brand-2); bottom: -26vmax; left: 25vw; opacity: 0.16; animation-duration: 38s; }
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
@keyframes drift {
  to { transform: translate(6vmax, 4vmax) scale(1.12); }
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 6px 20px var(--glow);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo small { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  cursor: pointer;
  border: 0;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #04140f;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--glow); }
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

.play-badge {
  display: inline-block;
  transition: transform 0.25s var(--ease), filter 0.25s;
}
.play-badge img { height: 62px; width: auto; margin: -9px -8px; }
.play-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 24px var(--glow)); }

/* ---------- Pills ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem 0.38rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 196, 176, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46, 196, 176, 0); } }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin: 1.2rem 0 1.25rem;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-size: 1.35rem;
}

/* Phone stage */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
.stage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  filter: blur(10px);
}
.ring {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: spin 60s linear infinite;
}
.ring.r2 { width: 70%; border-style: solid; border-color: rgba(255,255,255,0.06); animation-direction: reverse; animation-duration: 45s; }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  width: min(300px, 70vw);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}
.phone.small { width: min(220px, 50vw); }
@keyframes float { 50% { transform: translateY(-14px); } }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: rgba(14, 20, 31, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  animation: float 7s ease-in-out infinite;
  white-space: nowrap;
}
.chip .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04140f;
}
.chip .ico svg { width: 16px; height: 16px; }
.chip small { display: block; color: var(--muted); font-weight: 400; font-size: 0.75rem; }
.chip.c1 { top: 12%; left: -2%; animation-delay: -2s; }
.chip.c2 { bottom: 16%; right: -4%; animation-delay: -4s; }
.chip.c3 { bottom: 4%; left: 6%; animation-delay: -1s; }

/* Waveform */
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(var(--brand), var(--brand-2));
  animation: eq 1.1s ease-in-out infinite;
  transform-origin: center;
}
.wave i:nth-child(2) { animation-delay: -0.9s; }
.wave i:nth-child(3) { animation-delay: -0.3s; }
.wave i:nth-child(4) { animation-delay: -0.7s; }
.wave i:nth-child(5) { animation-delay: -0.15s; }
.wave i:nth-child(6) { animation-delay: -0.55s; }
.wave i:nth-child(7) { animation-delay: -0.4s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

/* QR scan line */
.scan-wrap { position: relative; }
.scan-wrap::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  height: 3px;
  top: 22%;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
  box-shadow: 0 0 18px 4px var(--glow);
  animation: scan 2.8s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 22%; }
  50% { top: 58%; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin: 1rem 0 1rem;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- App cards (home) ---------- */
.apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: 0;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(46,196,176,0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.app-card:hover { transform: translateY(-6px); border-color: rgba(46,196,176,0.4); }
.app-card:hover::before { opacity: 1; }
.app-card .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 12px 30px -10px var(--glow);
}
.app-card h3 { font-size: 1.7rem; margin: 1.2rem 0 0.6rem; }
.app-card p { color: var(--muted); margin: 0 0 1.4rem; }
.app-card .tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.6rem; }
.tag {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.app-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 2rem;
}
.app-card .more svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.app-card:hover .more svg { transform: translateX(5px); }
.app-card .shot {
  align-self: end;
  width: 170px;
  margin-right: -0.5rem;
  transform: translateY(18px) rotate(4deg);
  transition: transform 0.6s var(--ease);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55));
}
.app-card:hover .shot { transform: translateY(4px) rotate(0deg); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Values strip ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.value {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.value .ico,
.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(46, 196, 176, 0.1);
  border: 1px solid rgba(46, 196, 176, 0.22);
  margin-bottom: 1.1rem;
}
.value .ico svg,
.feature .ico svg { width: 22px; height: 22px; }
.value h4 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.value p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Features (app pages) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feature {
  position: relative;
  padding: 1.7rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 196, 176, 0.35);
  background: var(--surface-2);
}
.feature h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.feature ul { list-style: none; margin: 0; padding: 0; }
.feature li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(46, 196, 176, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ec4b0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.feature.wide { grid-column: span 2; }

/* Formats marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding: 0.5rem 0;
}
.marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .tag { font-size: 0.95rem; padding: 0.55rem 1.1rem; font-family: "Space Grotesk", sans-serif; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Screenshots */
.shots {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}
.shots figure {
  margin: 0;
  width: min(260px, 42vw);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease);
}
.shots figure:nth-child(odd) { transform: translateY(24px) rotate(-2deg); }
.shots figure:nth-child(even) { transform: rotate(2deg); }
.shots figure:hover { transform: translateY(-6px) rotate(0) scale(1.03); }

/* CTA */
.cta {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(46,196,176,0.25), transparent 50%),
    radial-gradient(120% 140% at 100% 100%, rgba(139,123,255,0.25), transparent 50%),
    var(--bg-2);
  border: 1px solid var(--border);
}
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0.9rem; }
.cta p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer h5 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a:hover { color: var(--brand); }
.footer .logo { color: var(--text); margin-bottom: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ---------- Policy pages ---------- */
.policy {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}
.policy-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.policy-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 1rem 0 0.8rem; }
.policy-head p { color: var(--muted); margin: 0; }
.policy-head code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.policy-body {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #c6d0dc;
}
.policy-body h4 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 2rem 0 0.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.policy-body h4:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-body p { margin: 0 0 0.9rem; }
.policy-body p:empty { display: none; }
.policy-body strong { color: var(--text); }
.policy-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.policy-link:hover { border-color: rgba(46,196,176,0.4); transform: translateY(-3px); }
.policy-link small { display: block; color: var(--muted); }
.policy-link svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .stage { min-height: 460px; }
  .apps { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border-radius: 20px;
    background: rgba(12, 18, 28, 0.96);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.35s var(--ease);
  }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 1rem; border-radius: 14px; font-size: 1rem; }
  .nav { background: rgba(7, 11, 18, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}

@media (max-width: 560px) {
  .values, .features, .policy-list { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .app-card { grid-template-columns: 1fr; }
  .app-card .shot { width: 150px; justify-self: center; margin: 0; }
  .chip.c1 { left: -4%; top: 6%; }
  .chip.c2 { right: -4%; }
  .chip.c3 { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stage { min-height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Spotlight rows ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.spotlight h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin: 1rem 0; }
.spotlight p { color: var(--muted); font-size: 1.08rem; max-width: 32rem; }
.spotlight.flip > :first-child { order: 2; }
.spot-media {
  position: relative;
  display: grid;
  place-items: center;
}
.spot-media::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
}
.spot-media img {
  position: relative;
  width: min(280px, 64vw);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}

/* ---------- Gallery ---------- */
.gallery {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem max(1.25rem, calc((100vw - var(--max)) / 2)) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.gallery img {
  flex: none;
  width: min(270px, 70vw);
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  scroll-snap-align: center;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease);
}
.gallery img:hover { transform: translateY(-6px); }

.note {
  margin: 1.6rem auto 0;
  max-width: 48rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.chip .ico.rec { background: linear-gradient(135deg, #ff6b5b, #ff8f6b); color: #fff; }

@media (max-width: 960px) {
  .spotlight, .spotlight.flip { grid-template-columns: 1fr; text-align: center; }
  .spotlight.flip > :first-child { order: 0; }
  .spotlight p { margin-inline: auto; }
}
