/* ============================================================
   超级星露谷 · Stardew Valley Assistant — 宣传页样式
   与桌面应用保持一致的设计语言：OKLCH 色彩、季节主题、
   圆角、毛玻璃、Lucide 风格图标
   ============================================================ */

/* ---------- 主题变量（与 src/index.css 同源） ---------- */
:root {
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 10px);

  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --border: oklch(0.91 0 0);
  --input: oklch(0.91 0 0);

  --primary: var(--primary-color, oklch(0.45 0.12 130));
  --primary-foreground: var(--primary-foreground-color, oklch(0.985 0 0));
  --secondary: oklch(0.96 0.01 130);
  --secondary-foreground: oklch(0.25 0.05 130);
  --accent: var(--accent-color, oklch(0.96 0.02 80));
  --accent-foreground: var(--accent-foreground-color, oklch(0.25 0.05 80));
  --ring: var(--primary-color, oklch(0.45 0.12 130));

  --primary-color: oklch(0.45 0.12 130);
  --primary-foreground-color: oklch(0.985 0 0);
  --accent-color: oklch(0.96 0.02 80);
  --accent-foreground-color: oklch(0.25 0.05 80);

  --content-max: 1200px;
  --content-narrow: 820px;
  --nav-h: 4.25rem;
}

/* 深色模式 */
[data-theme-mode="dark"] {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.2 0 0);
  --card-foreground: oklch(0.985 0 0);
  --muted: oklch(0.25 0 0);
  --muted-foreground: oklch(0.65 0 0);
  --border: oklch(0.3 0 0);
  --input: oklch(0.3 0 0);

  --primary: var(--primary-color, oklch(0.65 0.15 130));
  --primary-foreground: var(--primary-foreground-color, oklch(0.145 0 0));
  --secondary: oklch(0.25 0.02 130);
  --secondary-foreground: oklch(0.985 0 0);
  --accent: var(--accent-color, oklch(0.25 0.04 80));
  --accent-foreground: var(--accent-foreground-color, oklch(0.985 0 0));
  --ring: var(--primary-color, oklch(0.65 0.15 130));

  --primary-color: oklch(0.65 0.15 130);
  --primary-foreground-color: oklch(0.145 0 0);
  --accent-color: oklch(0.25 0.04 80);
  --accent-foreground-color: oklch(0.985 0 0);
}

/* ---------- 季节主题（与 src/index.css 同源） ---------- */
[data-theme-season="spring"] {
  --primary-color: oklch(0.65 0.15 350);
  --primary-foreground-color: oklch(0.985 0 0);
  --accent-color: oklch(0.97 0.02 350);
  --accent-foreground-color: oklch(0.4 0.1 350);
}
[data-theme-mode="dark"][data-theme-season="spring"] {
  --primary-color: oklch(0.72 0.13 350);
  --primary-foreground-color: oklch(0.145 0 0);
  --accent-color: oklch(0.25 0.04 350);
  --accent-foreground-color: oklch(0.985 0 0);
}

[data-theme-season="summer"] {
  --primary-color: oklch(0.70 0.15 85);
  --primary-foreground-color: oklch(0.985 0 0);
  --accent-color: oklch(0.98 0.02 85);
  --accent-foreground-color: oklch(0.45 0.1 85);
}
[data-theme-mode="dark"][data-theme-season="summer"] {
  --primary-color: oklch(0.78 0.13 85);
  --primary-foreground-color: oklch(0.145 0 0);
  --accent-color: oklch(0.25 0.04 85);
  --accent-foreground-color: oklch(0.985 0 0);
}

[data-theme-season="fall"] {
  --primary-color: oklch(0.58 0.16 45);
  --primary-foreground-color: oklch(0.985 0 0);
  --accent-color: oklch(0.97 0.02 45);
  --accent-foreground-color: oklch(0.38 0.1 45);
}
[data-theme-mode="dark"][data-theme-season="fall"] {
  --primary-color: oklch(0.66 0.14 45);
  --primary-foreground-color: oklch(0.145 0 0);
  --accent-color: oklch(0.25 0.04 45);
  --accent-foreground-color: oklch(0.985 0 0);
}

[data-theme-season="winter"] {
  --primary-color: oklch(0.58 0.12 220);
  --primary-foreground-color: oklch(0.985 0 0);
  --accent-color: oklch(0.97 0.02 220);
  --accent-foreground-color: oklch(0.35 0.08 220);
}
[data-theme-mode="dark"][data-theme-season="winter"] {
  --primary-color: oklch(0.66 0.10 220);
  --primary-foreground-color: oklch(0.145 0 0);
  --accent-color: oklch(0.23 0.04 220);
  --accent-foreground-color: oklch(0.985 0 0);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { width: 1em; height: 1em; }
/* Lucide icons render as <svg> inside <i data-lucide>; inherit color & current font size */
i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; font-style: normal; line-height: 0; }
i[data-lucide] svg { width: 1em; height: 1em; stroke-width: 2; }
::selection { background: color-mix(in oklab, var(--primary) 28%, transparent); }

/* 滚动条（与桌面应用一致的细滚动条） */
* { scrollbar-width: thin; scrollbar-color: transparent transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: transparent; border-radius: 9999px; border: 2px solid transparent; }
*:hover, *:focus-within { scrollbar-color: color-mix(in oklab, var(--border) 88%, transparent) transparent; }
*:hover::-webkit-scrollbar-thumb, *:focus-within::-webkit-scrollbar-thumb { background: color-mix(in oklab, var(--border) 88%, transparent); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: var(--content-narrow); }
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: color-mix(in oklab, var(--muted) 45%, transparent); }
.text-primary { color: var(--primary); }

/* ---------- 背景装饰 ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  transition: background 0.6s ease;
}
.bg-blob-1 {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: var(--primary);
}
.bg-blob-2 {
  width: 460px; height: 460px;
  top: 30%; left: -120px;
  background: var(--accent);
  opacity: 0.5;
}
.bg-blob-3 {
  width: 380px; height: 380px;
  bottom: -100px; right: 20%;
  background: var(--primary);
  opacity: 0.22;
}
[data-theme-mode="dark"] .bg-blob { opacity: 0.18; }
[data-theme-mode="dark"] .bg-blob-2 { opacity: 0.22; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--border) 60%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--border) 60%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}
.btn .icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn-sm { padding: 0.5rem 0.875rem; font-size: 0.825rem; border-radius: var(--radius-md); }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; border-radius: var(--radius-xl); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.06), 0 4px 12px color-mix(in oklab, var(--primary) 35%, transparent);
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--primary) 88%, white);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px oklch(0 0 0 / 0.08), 0 8px 20px color-mix(in oklab, var(--primary) 40%, transparent);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: color-mix(in oklab, var(--foreground) 18%, transparent);
}
.btn-outline:hover {
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  border-color: color-mix(in oklab, var(--foreground) 30%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover { background: color-mix(in oklab, var(--foreground) 6%, transparent); }

.btn:active { transform: translateY(0); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 78%, transparent);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
}
.nav-brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08), 0 2px 6px oklch(0 0 0 / 0.1);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-title { font-weight: 700; font-size: 0.95rem; }
.nav-brand-subtitle { font-size: 0.7rem; color: var(--muted-foreground); letter-spacing: 0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}
.nav-links a:hover { color: var(--foreground); background: color-mix(in oklab, var(--foreground) 5%, transparent); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--muted-foreground);
  transition: all 0.15s ease;
  font-size: 1.1rem;
}
.nav-theme-toggle:hover { color: var(--foreground); background: color-mix(in oklab, var(--foreground) 5%, transparent); }
.nav-theme-toggle .icon-moon { display: none; }
[data-theme-mode="dark"] .nav-theme-toggle .icon-sun { display: none; }
[data-theme-mode="dark"] .nav-theme-toggle .icon-moon { display: block; }

.nav-menu-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--foreground);
  font-size: 1.25rem;
}
.nav-menu-toggle:hover { background: color-mix(in oklab, var(--foreground) 6%, transparent); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 3.5rem; padding-bottom: 4rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { max-width: 560px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, transparent);
  border-radius: 9999px;
}
.badge-pill { border-radius: 9999px; }
.badge-dot {
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--muted-foreground);
}
.icon-sm { width: 1rem; height: 1rem; color: var(--primary); }
.icon-sm svg { width: 1rem; height: 1rem; }

/* QQ group icon (custom SVG asset, sized to match button icons) */
.qq-icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  display: inline-block;
}
.qq-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Hero visual (app screenshot) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.app-screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.06),
    0 12px 32px oklch(0 0 0 / 0.12),
    0 32px 64px color-mix(in oklab, var(--primary) 18%, transparent);
  overflow: hidden;
  background: var(--card);
}
.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.hero-glow {
  position: absolute;
  inset: -10% -5% -10% -5%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--primary) 22%, transparent), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  padding: 2rem 0;
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--muted) 30%, transparent);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.825rem; color: var(--muted-foreground); }

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-2xl);
  transition: all 0.25s ease;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--feature-glow, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 30%, transparent);
  box-shadow: 0 12px 32px oklch(0 0 0 / 0.08);
}
.feature-card:hover::before { opacity: 0.08; }
.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--feature-color, var(--primary)) 12%, transparent);
  color: var(--feature-color, var(--primary));
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.825rem;
  color: var(--muted-foreground);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--feature-color, var(--primary));
}

/* Feature card color variants (与 OnboardingFeaturesStep 渐变同源) */
.feature-card[data-color="purple"]   { --feature-color: oklch(0.58 0.2 290); --feature-glow: oklch(0.58 0.2 290); }
.feature-card[data-color="emerald"]  { --feature-color: oklch(0.6 0.15 160); --feature-glow: oklch(0.6 0.15 160); }
.feature-card[data-color="amber"]    { --feature-color: oklch(0.7 0.15 65);  --feature-glow: oklch(0.7 0.15 65); }
.feature-card[data-color="yellow"]   { --feature-color: oklch(0.75 0.16 95); --feature-glow: oklch(0.75 0.16 95); }
.feature-card[data-color="violet"]   { --feature-color: oklch(0.6 0.2 300);  --feature-glow: oklch(0.6 0.2 300); }
.feature-card[data-color="orange"]   { --feature-color: oklch(0.65 0.18 35); --feature-glow: oklch(0.65 0.18 35); }
.feature-card[data-color="pink"]     { --feature-color: oklch(0.65 0.2 0);   --feature-glow: oklch(0.65 0.2 0); }
.feature-card[data-color="blue"]     { --feature-color: oklch(0.6 0.15 240); --feature-glow: oklch(0.6 0.15 240); }
.feature-card[data-color="cyan"]     { --feature-color: oklch(0.65 0.14 200);--feature-glow: oklch(0.65 0.14 200); }
.feature-card[data-color="rose"]     { --feature-color: oklch(0.65 0.2 10);  --feature-glow: oklch(0.65 0.2 10); }
.feature-card[data-color="teal"]     { --feature-color: oklch(0.6 0.12 180); --feature-glow: oklch(0.6 0.12 180); }

/* ---------- Showcase ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.showcase-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-xl);
  transition: all 0.2s ease;
}
.showcase-card:hover {
  border-color: color-mix(in oklab, var(--primary) 30%, transparent);
  transform: translateY(-2px);
}
.showcase-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.showcase-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.showcase-card p { font-size: 0.825rem; color: var(--muted-foreground); }

/* ---------- Themes ---------- */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.theme-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 1rem;
  background: var(--card);
  border: 2px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-xl);
  transition: all 0.2s ease;
}
.theme-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
}
.theme-card[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent);
}
.theme-swatch {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.08);
}
.theme-swatch-classic { background: linear-gradient(135deg, oklch(0.55 0.12 130), oklch(0.4 0.13 145)); }
.theme-swatch-spring  { background: linear-gradient(135deg, oklch(0.75 0.15 350), oklch(0.6 0.16 340)); }
.theme-swatch-summer  { background: linear-gradient(135deg, oklch(0.78 0.15 85),  oklch(0.65 0.16 70)); }
.theme-swatch-fall    { background: linear-gradient(135deg, oklch(0.65 0.16 45),  oklch(0.5 0.17 30)); }
.theme-swatch-winter  { background: linear-gradient(135deg, oklch(0.65 0.12 220), oklch(0.5 0.1 240)); }
.theme-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.theme-info p { font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.4; }
.themes-hint {
  text-align: center;
  font-size: 0.825rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

/* ---------- Tech ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.tech-item {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-xl);
}
.tech-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.tech-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.tech-item p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Download ---------- */
.download-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background:
    radial-gradient(ellipse at top right, color-mix(in oklab, var(--primary) 12%, transparent), transparent 60%),
    var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 40px oklch(0 0 0 / 0.06);
}
.download-content .section-eyebrow,
.download-content .section-title,
.download-content .section-desc { text-align: left; margin-left: 0; }
.download-content .section-head { margin: 0 0 1.5rem; text-align: left; }
.download-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}
.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--muted-foreground);
}
.download-meta strong { color: var(--foreground); }
.download-meta a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.dot-sep { opacity: 0.5; }

.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.download-orb {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 22%, transparent), transparent 70%);
  filter: blur(0);
  animation: float 4s ease-in-out infinite;
}
.download-orb img { width: 140px; height: 140px; filter: drop-shadow(0 12px 24px oklch(0 0 0 / 0.2)); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: color-mix(in oklab, var(--primary) 30%, transparent); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.faq-answer a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Community ---------- */
.community-card {
  padding: 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, color-mix(in oklab, var(--primary) 10%, transparent), transparent 70%),
    var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-2xl);
}
.community-content .section-title,
.community-content .section-desc { margin-left: auto; margin-right: auto; }
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--muted) 30%, transparent);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand { display: flex; gap: 0.875rem; align-items: flex-start; }
.footer-brand-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); }
.footer-brand-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.footer-brand-sub { font-size: 0.825rem; color: var(--muted-foreground); line-height: 1.5; max-width: 360px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--foreground);
  padding: 0.3rem 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { max-width: none; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .themes-grid { grid-template-columns: repeat(3, 1fr); }
  .download-card { grid-template-columns: 1fr; padding: 2rem; }
  .download-visual { order: -1; }
  .download-orb { width: 160px; height: 160px; }
  .download-orb img { width: 100px; height: 100px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost span,
  .nav-actions .btn-primary span { display: none; }
  .nav-actions .btn { padding: 0.5rem; }
  .nav-menu-toggle { display: inline-flex; }
  .section { padding: 4rem 0; }
  .hero { padding-top: 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .community-card { padding: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .app-body { grid-template-columns: 110px 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-meta { gap: 0.75rem; }
  .themes-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
  .mock-nav-item { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
