/* SKROL Landing — skrol.in */
:root {
  --bg: #030304;
  --bg-elevated: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #17171f;
  --text: #fafafa;
  --text-muted: #86869a;
  --gold: #d4af37;
  --gold-light: #f5d76e;
  --gold-dim: rgba(212, 175, 55, 0.1);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --pink: #ff9ecd;
  --red: #ff5a5a;
  --green: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
strong { color: var(--gold-light); font-weight: 600; }

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

/* Noise overlay */
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.35s ease;
}

.nav.scrolled {
  background: rgba(3, 3, 4, 0.9);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.nav-brand img,
.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
}

.nav-brand span {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px !important;
  background: var(--gold) !important;
  color: #080808 !important;
  font-weight: 700 !important;
  border-radius: 10px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--gold-glow);
  color: #080808 !important;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

html[data-platform="android"] .dl-ios-card.platform-muted,
html[data-platform="ios"] .dl-android-card.platform-muted {
  opacity: 0.55;
  transform: scale(0.98);
}

.download-box.platform-highlight {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.nav-cta-ios {
  background: #fff !important;
  color: #080808 !important;
}

.nav-cta-muted {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  cursor: default;
}

.btn-coming-soon {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  cursor: default;
}

.btn-primary-ios {
  background: #fff;
  color: #080808;
}

.btn-primary-ios:hover {
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.15);
}

html[data-platform="android"] .hero-dl-icon-ios,
html[data-platform="ios"] .hero-dl-icon-android {
  display: none;
}

html[data-platform="android"] .hero-dl-icon-android,
html[data-platform="ios"] .hero-dl-icon-ios {
  display: block;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.hero-inner {
  max-width: 580px;
  margin-inline: auto;
  text-align: center;
}

.hero-logo {
  width: min(240px, 72vw);
  height: auto;
  margin: 0 auto 20px;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(255, 158, 205, 0.12));
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.hero-tagline {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  list-style: none;
  margin-bottom: 36px;
  padding: 0;
}

.hero-features li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 16px;
  border-right: 1px solid var(--border);
}

.hero-features li:last-child { border-right: none; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: #080808;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--gold-dim);
}

/* Device frames */
.device {
  position: relative;
}

.device-frame {
  background: linear-gradient(155deg, #22222e, #14141c);
  border-radius: 46px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 175, 55, 0.06),
    0 0 80px rgba(212, 175, 55, 0.06);
}

.device-notch {
  width: 100px;
  height: 24px;
  background: #06060a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 9px;
}

.device-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #0e0e12;
  line-height: 0;
}

.device-screen img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* Sections */
section { padding: 120px 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.08rem;
  margin-bottom: 56px;
  line-height: 1.75;
}

.section-desc.center {
  margin-inline: auto;
  text-align: center;
}

/* Screenshots / product preview */
.screens-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.screens-header {
  text-align: center;
  margin-bottom: 48px;
}

.screens-header .section-desc {
  margin-inline: auto;
  margin-bottom: 0;
  max-width: 520px;
}

.preview-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.preview-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.preview-tab:hover {
  color: var(--text);
}

.preview-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.preview-device-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.preview-device {
  width: min(300px, 78vw);
  margin: 0 auto;
}

.device-frame-pro {
  background: #101015;
  border-radius: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.preview-caption {
  text-align: center;
  max-width: 420px;
}

.preview-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.preview-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Legacy selectors kept for lightbox */
.stage-label,
.stage-desc { display: none; }

/* Screenshot lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] { display: none !important; }

.lightbox:not([hidden]) { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(100%, 360px);
  max-height: 92vh;
  animation: lightboxIn 0.35s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.lightbox-device {
  width: 100%;
  max-height: calc(92vh - 48px);
  overflow: hidden;
}

.lightbox-device .device-frame {
  max-height: calc(92vh - 48px);
}

.lightbox-device .device-screen {
  max-height: calc(92vh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox-device .device-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}

.lightbox-caption {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  text-align: center;
}

.screen-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.screen-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card.feature-wide { grid-column: span 2; }

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Insights */
.insights-section {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.insights-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.device-insights { width: min(280px, 100%); margin: 0 auto; }

.insights-copy .section-desc { margin-bottom: 36px; }

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

.insight-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.insight-stat:hover { border-color: rgba(212, 175, 55, 0.35); }

.insight-value {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  line-height: 1;
}

.insight-value.gold { color: var(--gold); }
.insight-value.green { color: var(--green); }
.insight-value.pink { color: #e1306c; }
.insight-value.red { color: var(--red); }

.insight-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About / SEO content */
.about-section {
  border-block: 1px solid var(--border);
}

.about-inner {
  max-width: 760px;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-copy strong { color: var(--text); font-weight: 600; }

.about-copy em { color: var(--text-soft); font-style: normal; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-item {
  display: flex;
  gap: 18px;
  padding: 30px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.why-item:hover { border-color: rgba(212, 175, 55, 0.28); }

.why-check {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
}

.why-item h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Download */
.download-section { text-align: center; }

.download-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.download-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 52px;
  background: linear-gradient(165deg, #14141c, #0a0a0f);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 36px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
}

.download-box.platform {
  max-width: none;
  width: 100%;
  padding: 40px 32px;
}

.download-box img,
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand img.footer-logo {
  width: 48px;
  height: 48px;
  margin: 0;
}

.download-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.download-version {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 30px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn.android {
  background: linear-gradient(135deg, var(--gold), #9a7b22);
  color: #080808;
  box-shadow: 0 8px 36px var(--gold-glow);
}

.store-btn.android:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.5);
}

.store-btn.ios {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: default;
}

.store-btn.ios.active {
  background: linear-gradient(135deg, #2a2a35, #1a1a22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.store-btn.ios.active:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
}

.platform-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 4px;
}

.store-btn span { display: block; text-align: left; }

.store-btn small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
}

.install-steps {
  width: 100%;
  margin-top: 14px;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.install-steps summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  padding: 8px 0;
}

.install-steps ol {
  margin-top: 12px;
  padding-left: 20px;
  line-height: 1.85;
}

.install-steps code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 260px; }

.faq-answer p {
  padding-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

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

.footer-brand {
  max-width: 280px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0;
  box-shadow: none;
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin: 0;
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-wide { grid-column: span 1; }
}

@media (max-width: 900px) {
  .insights-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .insights-phone { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--max)); }

  section { padding: 72px 0; }

  .section-desc { margin-bottom: 36px; font-size: 1rem; }

  .hero { padding: 108px 0 56px; }

  .hero-sub { font-size: 1rem; }

  .hero-features li {
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .preview-device { width: min(280px, 82vw); }

  .preview-tabs {
    max-width: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .preview-tabs::-webkit-scrollbar { display: none; }

  .preview-tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .device-insights { width: min(240px, 68vw); }

  .insights-grid { gap: 10px; }
  .insight-stat { padding: 24px 16px; }

  .download-box {
    width: 100%;
    padding: 40px 24px;
    border-radius: 24px;
  }

  .store-btn { padding: 16px 20px; }

  .feature-card { padding: 24px; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 12px 0; }

  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(3, 3, 4, 0.98);
    backdrop-filter: blur(24px);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    gap: 4px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-links.open a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links.open .nav-cta {
    text-align: center;
    margin-top: 8px;
    padding: 14px 20px !important;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .features-grid { grid-template-columns: 1fr; }

  .faq-question {
    font-size: 0.98rem;
    padding: 22px 0;
  }

  .footer-brand { text-align: left; max-width: none; }
}

@media (max-width: 400px) {
  .container { width: min(100% - 24px, var(--max)); }

  section { padding: 64px 0; }

  .hero { padding-top: 100px; }

  .hero-logo { width: min(220px, 78vw); height: auto; }

  .hero h1 { font-size: 2.75rem; }

  .hero-tagline { font-size: 1.05rem; }

  .section-title { font-size: 1.75rem; }

  .preview-device { width: min(260px, 88vw); }

  .insights-grid { grid-template-columns: 1fr 1fr; }

  .insight-value { font-size: 1.8rem; }

  .hero-features {
    flex-direction: column;
    gap: 6px;
  }

  .hero-features li {
    border-right: none;
    padding: 0;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .nav {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .footer {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 769px) {
  .preview-device-btn { cursor: zoom-in; }
}

/* Touch devices — disable hover shifts */
@media (hover: none) {
  .feature-card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .store-btn.android:hover { transform: none; }
}
