:root {
  color-scheme: light;
  --bg: #f6f8fd;
  --bg-elevated: #ffffff;
  --bg-soft: #eef2fb;
  --bg-card-tint: linear-gradient(145deg, rgba(91, 82, 245, 0.06), rgba(14, 165, 233, 0.06));
  --ink: #171928;
  --ink-secondary: #4e556c;
  --ink-muted: #767f98;
  --line: rgba(23, 25, 40, 0.09);
  --line-strong: rgba(91, 82, 245, 0.22);
  --primary: #5b52f5;
  --primary-hover: #493fe2;
  --primary-soft: rgba(91, 82, 245, 0.11);
  --cyan: #0ea5e9;
  --cyan-soft: rgba(14, 165, 233, 0.12);
  --mint: #10b981;
  --mint-soft: rgba(16, 185, 129, 0.12);
  --warm: #f59e0b;
  --warm-soft: rgba(245, 158, 11, 0.14);
  --brand-gradient: linear-gradient(135deg, #5b52f5 0%, #1ea7f3 55%, #34d399 100%);
  --header-glass: rgba(246, 248, 253, 0.86);
  --shadow-sm: 0 4px 16px rgba(23, 25, 40, 0.05);
  --shadow-md: 0 14px 36px rgba(35, 39, 74, 0.09);
  --shadow-lg: 0 28px 64px rgba(45, 46, 108, 0.16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --container: min(1160px, calc(100% - 40px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1220;
  --bg-elevated: #171b2e;
  --bg-soft: #1f253d;
  --bg-card-tint: linear-gradient(145deg, rgba(114, 106, 255, 0.12), rgba(14, 165, 233, 0.1));
  --ink: #f3f5fc;
  --ink-secondary: #bcc4dc;
  --ink-muted: #8b95b4;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(129, 122, 255, 0.34);
  --primary: #7c74ff;
  --primary-hover: #8f88ff;
  --primary-soft: rgba(124, 116, 255, 0.18);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.16);
  --mint: #34d399;
  --mint-soft: rgba(52, 211, 153, 0.16);
  --warm: #fbbf24;
  --warm-soft: rgba(251, 191, 36, 0.18);
  --header-glass: rgba(15, 18, 32, 0.86);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Decorative background aura */
.page-aura {
  position: fixed;
  inset: 0 0 auto 0;
  height: 620px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 18%, rgba(91, 82, 245, 0.14), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(14, 165, 233, 0.13), transparent 40%),
    radial-gradient(circle at 60% 48%, rgba(52, 211, 153, 0.08), transparent 45%);
}

html[data-theme="dark"] .page-aura {
  background:
    radial-gradient(circle at 14% 18%, rgba(124, 116, 255, 0.22), transparent 44%),
    radial-gradient(circle at 86% 12%, rgba(56, 189, 248, 0.16), transparent 42%),
    radial-gradient(circle at 60% 48%, rgba(52, 211, 153, 0.08), transparent 45%);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 74px;
  background: var(--header-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
  height: 64px;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(91, 82, 245, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 6px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

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

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-sun {
  display: none;
}

html[data-theme="dark"] .icon-sun {
  display: block;
}

html[data-theme="dark"] .icon-moon {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(91, 82, 245, 0.26);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 28, 0.45);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: var(--bg-elevated);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-secondary);
}

.drawer-nav a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(91, 82, 245, 0.28);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-tagline {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
}

.hero-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.hero-pill:nth-child(1) i { background: #5b52f5; }
.hero-pill:nth-child(2) i { background: #0ea5e9; }
.hero-pill:nth-child(3) i { background: #10b981; }
.hero-pill:nth-child(4) i { background: #f59e0b; }

/* Download Action Cards (Placeholder Ready) */
.download-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 13px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.download-btn.is-primary {
  background: var(--primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(91, 82, 245, 0.28);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-btn.is-primary:hover {
  background: var(--primary-hover);
}

.download-btn.is-secondary:hover {
  border-color: var(--line-strong);
}

.download-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.16);
}

.download-btn.is-secondary .download-btn-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.download-btn-icon svg {
  width: 20px;
  height: 20px;
}

.download-btn-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.download-btn-text small {
  display: block;
  font-size: 12px;
  opacity: 0.84;
  margin-top: 2px;
}

.download-note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ===== Hero Interactive Phone & Floating Window Mockup ===== */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 10px 26px;
}

.showcase-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 82, 245, 0.24), rgba(14, 165, 233, 0.14) 55%, transparent 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(350px, 100%);
  border-radius: 34px;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 14px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 12px;
  padding: 0 4px;
}

.phone-notch {
  width: 72px;
  height: 16px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.12;
}

.app-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.app-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.app-top-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.float-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 11px;
  font-weight: 650;
}

.float-status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.mockup-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 13px;
  background: var(--bg-soft);
  margin-bottom: 12px;
}

.mockup-tab {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mockup-tab.is-active {
  background: var(--bg-elevated);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.mockup-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.mockup-search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mockup-panel[hidden] {
  display: none;
}

.sound-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sound-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.sound-item:hover,
.sound-item.is-playing {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.sound-item.is-playing {
  background: var(--primary-soft);
}

.sound-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sound-play-dot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
}

.sound-item.is-playing .sound-play-dot {
  background: var(--primary);
  color: #ffffff;
}

.sound-meta {
  min-width: 0;
}

.sound-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sound-meta small {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
}

.wave-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  flex-shrink: 0;
}

.wave-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
  opacity: 0.35;
  height: 6px;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.wave-bars span:nth-child(2) { height: 12px; }
.wave-bars span:nth-child(3) { height: 8px; }
.wave-bars span:nth-child(4) { height: 14px; }

.sound-item.is-playing .wave-bars span {
  opacity: 1;
  animation: waveBounce 0.75s ease-in-out infinite alternate;
}

.sound-item.is-playing .wave-bars span:nth-child(2) { animation-delay: 0.15s; }
.sound-item.is-playing .wave-bars span:nth-child(3) { animation-delay: 0.3s; }
.sound-item.is-playing .wave-bars span:nth-child(4) { animation-delay: 0.45s; }

@keyframes waveBounce {
  0% { height: 4px; }
  100% { height: 16px; }
}

.library-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.mini-action-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: var(--bg-elevated);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* Floating Forward Window Card */
.floating-widget-card {
  position: absolute;
  right: -14px;
  bottom: 6px;
  z-index: 3;
  width: 214px;
  padding: 13px 14px;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.floating-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.floating-widget-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.floating-widget-title span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.floating-widget-tag {
  font-size: 10px;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.floating-selected {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--ink-secondary);
  margin-bottom: 9px;
}

.floating-selected strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 2px;
}

.floating-forward-btn {
  width: 100%;
  border: 0;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(91, 82, 245, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-forward-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* ===== Sections ===== */
.section {
  padding: 68px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 15px;
  color: var(--ink-secondary);
}

/* Core Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.violet { background: var(--primary-soft); color: var(--primary); }
.feature-icon.cyan { background: var(--cyan-soft); color: var(--cyan); }
.feature-icon.mint { background: var(--mint-soft); color: var(--mint); }
.feature-icon.warm { background: var(--warm-soft); color: var(--warm); }

.feature-card h3 {
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.feature-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-points li {
  font-size: 12.5px;
  font-weight: 550;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink-secondary);
}

/* Workflow Steps */
.workflow-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* Scenarios */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card-tint);
  border: 1px solid var(--line);
}

.scenario-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 650;
  color: var(--primary);
  margin-bottom: 10px;
}

.scenario-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--ink-secondary);
}

/* App Basic Info Card (Audit Friendly) */
.info-shell {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
}

.info-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-item.is-wide {
  grid-column: 1 / -1;
}

.info-item small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 5px;
}

.info-item strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 0 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-bottom: 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* Contact & Support Banner */
.contact-banner {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.contact-banner h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-banner p {
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  font-size: 14px;
}

.contact-row span {
  color: var(--ink-muted);
}

.contact-row strong {
  font-weight: 650;
}

.copy-btn {
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
  padding: 5px 11px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 80;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: #1a1d30;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 550;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}

html[data-theme="dark"] .toast {
  background: #f3f5fc;
  color: #141726;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sound-item.is-playing .wave-bars span {
    animation: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 16px;
    gap: 9px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    display: none;
  }

  .hero-title-row {
    gap: 12px;
  }

  .hero-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .download-group {
    flex-direction: column;
  }

  .download-btn {
    width: 100%;
  }

  .hero-showcase {
    padding: 8px 0 68px;
  }

  .floating-widget-card {
    right: 6px;
    bottom: 0;
    width: 204px;
  }

  .section {
    padding: 48px 0;
  }

  .features-grid,
  .steps-grid,
  .scenarios-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .info-shell,
  .contact-banner {
    padding: 22px 18px;
  }

  .contact-row {
    flex-wrap: wrap;
  }
}
