@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --bg-top: #f9fafb;
  --bg-elev: #ffffffcc;
  --bg-strong: #ffffff;
  --text: #1a1a1a;
  --muted: #5b5b5f;
  --border: #e2e2e6;
  --accent: #2f6bff;
  --accent-2: #00b0ff;
  --accent-3: #ff8a00;
  --shadow: 0 16px 48px rgba(20, 20, 20, 0.12);
  --shadow-soft: 0 8px 24px rgba(20, 20, 20, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --glass-1: rgba(255, 255, 255, 0.48);
  --glass-2: rgba(222, 233, 248, 0.18);
  --glass-border: rgba(246, 250, 255, 0.9);
  --glass-border-soft: rgba(220, 231, 245, 0.72);
  --glass-shadow: 0 22px 44px rgba(32, 74, 140, 0.18);
  --glass-shadow-soft: 0 14px 28px rgba(32, 74, 140, 0.12);
  --glass-blur: 34px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f1217;
    --bg-top: #131820;
    --bg-elev: #141822cc;
    --bg-strong: #171c26;
    --text: #e9e9ee;
    --muted: #a0a6b5;
    --border: #262c3b;
    --accent: #7aa2ff;
    --accent-2: #35d1ff;
    --accent-3: #ffa143;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.25);
    --glass-1: rgba(30, 37, 48, 0.44);
    --glass-2: rgba(20, 27, 38, 0.2);
    --glass-border: rgba(170, 188, 216, 0.38);
    --glass-border-soft: rgba(132, 150, 177, 0.3);
    --glass-shadow: 0 26px 52px rgba(0, 0, 0, 0.54);
    --glass-shadow-soft: 0 16px 30px rgba(0, 0, 0, 0.4);
  }
}

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

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg) 45%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(
      circle at 16% 6%,
      rgba(255, 255, 255, 0.58),
      transparent 44%
    ),
    radial-gradient(circle at 86% 0%, rgba(255, 255, 255, 0.28), transparent 38%);
}

body::after {
  content: none;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(250, 251, 252, 0.82),
    rgba(250, 251, 252, 0.68) 72%,
    rgba(250, 251, 252, 0.56)
  );
  border-bottom: 1px solid rgba(220, 226, 235, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

@media (prefers-color-scheme: dark) {
  header {
    background: linear-gradient(
      180deg,
      rgba(20, 24, 30, 0.82),
      rgba(20, 24, 30, 0.68) 72%,
      rgba(20, 24, 30, 0.52)
    );
    border-bottom: 1px solid rgba(96, 108, 126, 0.36);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: min(100%, 760px);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 0 auto;
  padding: 6px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.52) 44%,
      rgba(236, 240, 246, 0.28)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(208, 220, 236, 0.24);
  backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(215%) contrast(106%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(215%) contrast(106%);
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 16px;
  min-height: 38px;
  position: relative;
  overflow: hidden;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.56) 40%,
      rgba(230, 236, 245, 0.28)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.68), transparent 48%);
  box-shadow: var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(198, 212, 232, 0.32);
  backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(205%) contrast(104%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(205%) contrast(104%);
  transition: all 0.22s ease;
}

.nav-links a:link,
.nav-links a:visited {
  color: var(--muted);
}

.nav-links a:hover {
  border-color: var(--glass-border);
  background: linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.62) 40%,
      rgba(226, 234, 245, 0.34)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.76), transparent 48%);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 42px;
  padding: 70px 0 30px;
  align-items: center;
}

.hero > div:first-child .chip-row {
  margin-bottom: 24px;
}

.hero-card .chip-row {
  margin-bottom: 0;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(35, 106, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(35, 106, 255, 0.4);
}

.btn-ghost {
  border-color: var(--glass-border-soft);
  color: var(--text);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.12) 45%,
      rgba(255, 255, 255, 0.06)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
}

.btn-ghost:hover {
  border-color: var(--glass-border);
  transform: translateY(-1px);
}

.hero-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(
      156deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0.14) 45%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(165%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(165%);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: url("logo.svg") center/220px no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-card h3 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.07)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  border: 1px solid var(--glass-border-soft);
  font-size: 13px;
  color: var(--muted);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

section {
  padding: 60px 0 20px;
}

section[id] {
  scroll-margin-top: 96px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.app-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.app-switch a,
.app-switch button {
  appearance: none;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.14) 48%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  color: var(--muted);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--glass-shadow-soft);
  transition: all 0.2s ease;
}

.app-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  cursor: pointer;
}

.app-switch a.is-active,
.app-switch button.is-active {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(35, 106, 255, 0.32);
}

.app-switch a:hover,
.app-switch button:hover {
  transform: translateY(-1px);
  border-color: var(--glass-border);
  color: var(--text);
}

.app-switch a.is-active:hover,
.app-switch button.is-active:hover {
  color: #fff;
}

.app-subnav {
  margin-top: 18px;
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.app-subnav-label {
  font-size: 13px;
  color: var(--muted);
}

.app-subnav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.app-subnav a:hover {
  color: var(--text);
  transform: translateY(-1px);
  border-color: var(--glass-border);
}

.mobile-nav-fab,
.mobile-top-fab,
.mobile-nav-sheet {
  display: none;
}

.mobile-nav-sheet[hidden] {
  display: none !important;
}

body.mobile-nav-open {
  overflow: hidden;
}

.floating-app-nav {
  --floating-nav-peek: 0px;
  position: fixed;
  right: 24px;
  left: auto;
  top: 120px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  width: 132px;
  border-radius: 14px;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0.14) 48%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(165%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(165%);
  isolation: isolate;
  overflow: hidden;
  transform: translateX(0);
  will-change: transform;
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.28, 1),
    box-shadow 0.22s ease, opacity 0.22s ease;
}

.floating-app-nav::before {
  content: "";
  position: absolute;
  left: 7px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(214, 224, 238, 0.8)
  );
  box-shadow: 0 8px 18px rgba(24, 32, 48, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.floating-app-nav::after {
  content: "";
  position: absolute;
  left: 10px;
  right: auto;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(84, 96, 116, 0.78);
  border-left: 2px solid rgba(84, 96, 116, 0.78);
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.floating-app-nav > * {
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.floating-app-nav.is-collapsed {
  transform: translateX(calc(100% - var(--floating-nav-peek)));
  border-color: rgba(214, 224, 238, 0.7);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.82),
      rgba(248, 251, 255, 0.62) 52%,
      rgba(236, 241, 248, 0.48)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: 0 10px 22px rgba(18, 24, 36, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(208, 220, 236, 0.3);
  backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(160%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(160%);
  cursor: pointer;
}

.floating-app-nav.is-collapsed::before {
  opacity: 0.96;
  transform: translateY(-50%);
}

.floating-app-nav.is-collapsed::after {
  opacity: 0.88;
}

@media (prefers-color-scheme: dark) {
  .floating-app-nav::after {
    border-top-color: rgba(210, 220, 236, 0.82);
    border-left-color: rgba(210, 220, 236, 0.82);
  }

  .floating-app-nav.is-collapsed {
    border-color: rgba(120, 138, 164, 0.58);
    background: linear-gradient(
        160deg,
        rgba(28, 34, 45, 0.82),
        rgba(24, 30, 40, 0.68) 52%,
        rgba(20, 26, 36, 0.56)
      ),
      linear-gradient(160deg, var(--glass-1), var(--glass-2));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  }
}

.floating-app-nav.is-collapsed > * {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}

.floating-app-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 2px 6px 8px;
}

.floating-app-nav a {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0.12) 48%,
      rgba(255, 255, 255, 0.06)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  transition: all 0.2s ease;
}

.floating-app-nav a:hover {
  color: var(--text);
  border-color: var(--glass-border);
  transform: translateY(-1px);
}

.floating-app-nav a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.card {
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.14) 48%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(155%);
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .chip-row {
  margin-top: 14px;
}

.app-list-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 246px;
}

.app-list-card p {
  max-width: 44ch;
}

.app-list-card .chip-row {
  margin-top: 0;
}

.app-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 6px;
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.app-card-links a {
  color: var(--accent);
  font-weight: 600;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.code-card {
  font-family: "SFMono-Regular", "JetBrains Mono", "Menlo", monospace;
  font-size: 14px;
  background: linear-gradient(
      155deg,
      rgba(46, 51, 62, 0.78),
      rgba(33, 38, 49, 0.66) 48%,
      rgba(21, 24, 31, 0.82)
    ),
    linear-gradient(160deg, rgba(16, 19, 26, 0.8), rgba(19, 22, 30, 0.62));
  color: #eef2f8;
  border-radius: var(--radius);
  border: 1px solid rgba(221, 229, 242, 0.24);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: 18px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.code-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 0%,
      rgba(255, 255, 255, 0.1),
      transparent 38%
    );
  opacity: 0.24;
}

.code-card pre {
  position: relative;
  margin: 0;
  white-space: pre-wrap;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.store-preview-grid {
  --preview-card-width: clamp(210px, 22vw, 250px);
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px max(4px, calc((100% - var(--preview-card-width)) / 2)) 18px;
  margin: 0;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(4px, calc((100% - var(--preview-card-width)) / 2));
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.store-preview-grid::-webkit-scrollbar {
  display: none;
}

.store-preview-grid.is-auto-scrolling {
  scroll-snap-type: none;
}

.shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.12) 48%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(15px) saturate(155%);
  -webkit-backdrop-filter: blur(15px) saturate(155%);
}

.store-shot-frame {
  flex: 0 0 var(--preview-card-width);
  max-width: 250px;
  scroll-snap-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease,
    border-color 0.24s ease;
  cursor: pointer;
  will-change: transform;
}

.store-shot-frame img {
  aspect-ratio: 1320 / 2868;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.store-shot-frame:hover,
.store-shot-frame.is-active {
  transform: translateY(-4px) scale(1.018);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--glass-border-soft));
  box-shadow: 0 18px 42px rgba(47, 107, 255, 0.18);
}

.store-shot-frame:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .store-preview-grid {
    --preview-card-width: 74vw;
  }

  .store-shot-frame {
    max-width: 74vw;
  }
}

.shot-label {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      170deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.description-card {
  display: grid;
  gap: 16px;
}

.description-card p {
  max-width: 78ch;
}

.description-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.description-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0.13) 50%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.preview-hints {
  margin: -6px 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.preview-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 8px;
}

.preview-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 28%, transparent);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.preview-dot:hover,
.preview-dot:focus-visible {
  background: color-mix(in srgb, var(--accent) 64%, var(--muted));
  transform: scale(1.12);
}

.preview-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (prefers-reduced-motion: reduce) {
  .store-shot-frame,
  .preview-dot {
    transition: none;
  }
}

.download-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border-soft);
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.14) 50%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.faq-item h4 {
  margin: 0 0 6px;
}

footer {
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 12px;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--glass-border-soft);
  border-radius: 999px;
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0.13) 50%,
      rgba(255, 255, 255, 0.08)
    ),
    linear-gradient(160deg, var(--glass-1), var(--glass-2));
  box-shadow: var(--glass-shadow-soft);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.btn,
.chip,
.app-subnav a,
.floating-app-nav a,
.card,
.shot-frame,
.faq-item,
.footer-badge,
.mobile-nav-fab,
.mobile-nav-pop-list a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(var(--glass-blur)) saturate(210%) contrast(106%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(210%) contrast(106%);
}

.btn::after,
.chip::after,
.app-subnav a::after,
.floating-app-nav a::after,
.card::after,
.shot-frame::after,
.faq-item::after,
.footer-badge::after,
.mobile-nav-fab::after,
.mobile-nav-pop-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.66),
      rgba(255, 255, 255, 0.14) 40%,
      rgba(236, 241, 248, 0.34) 76%,
      rgba(219, 227, 239, 0.18)
    ),
    radial-gradient(
      circle at 16% -8%,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0) 48%
    );
  opacity: 0.5;
}

.hero-card,
.code-card {
  box-shadow: var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(230%) contrast(108%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 2px)) saturate(230%) contrast(108%);
}

.hero-card::after,
.code-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.54),
      rgba(255, 255, 255, 0.1) 42%,
      rgba(236, 241, 248, 0.28) 78%,
      rgba(218, 226, 238, 0.14)
    ),
    radial-gradient(
      circle at 14% -12%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 52%
    );
  opacity: 0.3;
}

.fade-up {
  animation: fadeUp 0.8s ease both;
}

.fade-delay-1 {
  animation-delay: 0.08s;
}

.fade-delay-2 {
  animation-delay: 0.16s;
}

.fade-delay-3 {
  animation-delay: 0.24s;
}

.reveal-on-scroll {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
  will-change: transform, opacity, filter;
  transition: opacity 0.58s cubic-bezier(0.21, 0.82, 0.27, 1),
    transform 0.58s cubic-bezier(0.21, 0.82, 0.27, 1),
    filter 0.48s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-hidden {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  filter: saturate(92%);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-hidden,
  .reveal-on-scroll.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .floating-app-nav,
  .floating-app-nav::before,
  .floating-app-nav::after,
  .floating-app-nav > * {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .floating-app-nav {
    display: none;
  }

  .app-subnav {
    display: flex;
    position: sticky;
    top: 72px;
    z-index: 9;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--glass-border-soft);
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.42),
        rgba(255, 255, 255, 0.14) 48%,
        rgba(255, 255, 255, 0.08)
      ),
      linear-gradient(160deg, var(--glass-1), var(--glass-2));
    box-shadow: var(--glass-shadow-soft);
    backdrop-filter: blur(calc(var(--glass-blur) - 2px)) saturate(155%);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 2px)) saturate(155%);
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .app-subnav-label {
    display: none;
  }

  .app-subnav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .app-subnav::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 761px) {
  .floating-app-nav {
    display: flex;
    position: fixed;
    right: 24px;
    left: auto;
    top: 120px;
  }

  .app-subnav {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px 0 16px;
  }

  .hero p {
    font-size: 16px;
  }

  section {
    padding: 44px 0 10px;
  }

  .card {
    padding: 18px;
  }

  .feature-grid,
  .format-grid,
  .shots-grid,
  .download-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  header {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.72),
        rgba(255, 255, 255, 0.44) 58%,
        rgba(255, 255, 255, 0.28)
      ),
      linear-gradient(160deg, var(--glass-1), var(--glass-2));
    border-bottom: 1px solid var(--glass-border-soft);
    backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(215%) contrast(106%);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(215%) contrast(106%);
  }

  section[id] {
    scroll-margin-top: 128px;
  }

  .container {
    width: min(1120px, 94vw);
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 9px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 2px 0 0 0;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--glass-border-soft);
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.55) 44%,
        rgba(236, 240, 246, 0.28)
      ),
      linear-gradient(160deg, var(--glass-1), var(--glass-2));
    box-shadow: var(--glass-shadow-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(208, 220, 236, 0.3);
    backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(215%) contrast(106%);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(215%) contrast(106%);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    min-height: 38px;
    padding: 8px 14px;
    white-space: nowrap;
    border: 1px solid var(--glass-border-soft);
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.84),
        rgba(255, 255, 255, 0.58) 40%,
        rgba(230, 236, 245, 0.3)
      ),
      linear-gradient(160deg, var(--glass-1), var(--glass-2)),
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.68), transparent 48%);
    box-shadow: var(--glass-shadow-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      inset 0 -1px 0 rgba(198, 212, 232, 0.32);
  }

  .hero {
    padding-top: 28px;
    gap: 16px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.2vw, 36px);
    margin-bottom: 12px;
  }

  .hero p {
    margin-bottom: 18px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chip {
    font-size: 12px;
    padding: 5px 10px;
  }

  .code-card {
    min-height: 0;
    padding: 14px;
  }

  .code-card pre {
    white-space: pre;
    overflow-x: auto;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .section-title h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .app-subnav {
    display: none;
  }

  .download-meta .btn {
    width: 100%;
  }

  .footer-line {
    align-items: flex-start;
  }

  .mobile-nav-fab {
    --mobile-pill-w: 84px;
    --mobile-pill-h: 38px;
    --mobile-pill-gap: 8px;
    position: fixed;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 47px);
    z-index: 39;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mobile-pill-w);
    height: var(--mobile-pill-h);
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 999px;
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.28) 46%,
        rgba(255, 255, 255, 0.14)
      ),
      linear-gradient(160deg, rgba(248, 250, 253, 0.26), rgba(232, 238, 246, 0.16));
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    box-shadow: 0 9px 22px rgba(18, 24, 36, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      inset 0 -1px 0 rgba(216, 224, 236, 0.26);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1),
      box-shadow 0.26s ease;
  }

  .mobile-top-fab {
    position: fixed;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 2px);
    z-index: 39;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: color-mix(in srgb, var(--accent) 70%, var(--text) 30%);
    box-shadow: none;
    backdrop-filter: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.9);
    transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1),
      box-shadow 0.26s ease, color 0.2s ease, background 0.2s ease,
      opacity 0.22s ease;
  }

  .mobile-top-fab.is-visible {
    opacity: 0.88;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-top-fab.is-visible svg {
    animation: mobileTopFabFloat 1.9s ease-in-out infinite;
  }

  .mobile-top-fab svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  .mobile-top-fab:focus,
  .mobile-top-fab:focus-visible,
  .mobile-top-fab:active {
    outline: none;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-nav-open .mobile-nav-fab {
    transform: translateY(-1px) scale(0.96);
    border-color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.64),
        rgba(255, 255, 255, 0.4) 46%,
        rgba(255, 255, 255, 0.18)
      ),
      linear-gradient(160deg, rgba(249, 251, 254, 0.32), rgba(236, 241, 248, 0.2));
    box-shadow: 0 11px 24px rgba(18, 24, 36, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -1px 0 rgba(216, 224, 236, 0.3);
  }

  body.mobile-nav-open .mobile-top-fab {
    transform: translateY(-1px) scale(0.96);
    box-shadow: none;
  }

  .mobile-nav-sheet {
    position: fixed;
    inset: 0;
    z-index: 36;
    display: block;
    pointer-events: none;
  }

  body.mobile-nav-open .mobile-nav-sheet {
    pointer-events: auto;
  }

  .mobile-nav-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    background: rgba(8, 10, 16, 0.2);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.24s ease;
  }

  body.mobile-nav-open .mobile-nav-sheet-backdrop {
    opacity: 1;
  }

  .mobile-nav-pop-list {
    position: fixed;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 47px);
    width: var(--mobile-pill-w, 84px);
    height: var(--mobile-pill-h, 38px);
    z-index: 38;
    pointer-events: none;
  }

  body.mobile-nav-open .mobile-nav-pop-list {
    pointer-events: auto;
  }

  .mobile-nav-pop-list a {
    --lift: 0px;
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 560;
    width: var(--mobile-pill-w, 84px);
    height: var(--mobile-pill-h, 38px);
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.34),
        rgba(255, 255, 255, 0.16) 48%,
        rgba(255, 255, 255, 0.05)
      ),
      linear-gradient(160deg, rgba(248, 250, 253, 0.18), rgba(232, 238, 246, 0.1));
    color: rgba(42, 48, 58, 0.78);
    box-shadow: 0 8px 18px rgba(18, 24, 36, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.56),
      inset 0 -1px 0 rgba(216, 224, 236, 0.24);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform-origin: calc(100% - 16px) calc(100% + 14px);
    transform: translateY(0) scale(0.86);
    transition: opacity 0.18s ease, transform 0.24s ease;
  }

  body.mobile-nav-open .mobile-nav-pop-list a {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(calc(var(--lift) * -1)) scale(1);
    animation: mobileNavItemBounceFromFab 0.46s
      cubic-bezier(0.2, 0.92, 0.24, 1.1)
      both;
  }

  .mobile-nav-pop-list a:nth-child(1) { --lift: 276px; }
  .mobile-nav-pop-list a:nth-child(2) { --lift: 230px; }
  .mobile-nav-pop-list a:nth-child(3) { --lift: 184px; }
  .mobile-nav-pop-list a:nth-child(4) { --lift: 138px; }
  .mobile-nav-pop-list a:nth-child(5) { --lift: 92px; }
  .mobile-nav-pop-list a:nth-child(6) { --lift: 46px; }

  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(6) { animation-delay: 0.02s; }
  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(5) { animation-delay: 0.07s; }
  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(4) { animation-delay: 0.12s; }
  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(3) { animation-delay: 0.17s; }
  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(2) { animation-delay: 0.22s; }
  body.mobile-nav-open .mobile-nav-pop-list a:nth-child(1) { animation-delay: 0.27s; }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav-fab,
    .mobile-top-fab,
    .mobile-top-fab svg,
    .mobile-nav-sheet-backdrop,
    .mobile-nav-pop-list a {
      transition: none !important;
      animation: none !important;
    }
  }

  @keyframes mobileNavItemBounceFromFab {
    0% {
      opacity: 0;
      transform: translateY(0) scale(0.84);
    }
    62% {
      opacity: 1;
      transform: translateY(calc((var(--lift) * -1) - 3px)) scale(1.035);
    }
    82% {
      transform: translateY(calc((var(--lift) * -1) + 1px)) scale(0.995);
    }
    100% {
      opacity: 1;
      transform: translateY(calc(var(--lift) * -1)) scale(1);
    }
  }

  @keyframes mobileTopFabFloat {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .mobile-nav-pop-list a.is-active {
    color: #f9fbff;
    border-color: rgba(70, 79, 96, 0.7);
    background: linear-gradient(
        150deg,
        rgba(112, 124, 146, 0.72),
        rgba(82, 93, 113, 0.74) 44%,
        rgba(60, 69, 86, 0.76)
      ),
      linear-gradient(160deg, rgba(90, 101, 122, 0.56), rgba(64, 74, 92, 0.48));
    box-shadow: 0 11px 24px rgba(12, 16, 24, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.28);
  }

  .mobile-nav-fab::after,
  .mobile-nav-pop-list a::after {
    opacity: 0.2;
  }

  .mobile-nav-pop-list a.is-active::after {
    opacity: 0.1;
  }

  .mobile-nav-fab:focus,
  .mobile-nav-fab:focus-visible,
  .mobile-nav-fab:active,
  .mobile-nav-pop-list a:focus,
  .mobile-nav-pop-list a:focus-visible,
  .mobile-nav-pop-list a:active {
    outline: none;
  }

  .mobile-top-fab.is-active {
    color: var(--accent-2);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    opacity: 1;
  }

  footer {
    padding-bottom: 20px;
  }
}
