/* SilkPlayer Official Landing Page Stylesheet
 * Lifestyle Warmth & Daylight Aesthetics
 * Palette: Oatmeal / Linen (#faf6f0), Terracotta (#c8682e), Roasted Walnut (#2b231c)
 * Typography: Apple System SF Pro + Clean Sans
 * Strictly Zero Emojis, Restrained Human Interaction
 */

:root {
  /* Warm Daylight Base */
  --bg-main: #faf6f0;
  --bg-surface: #ffffff;
  --bg-card: #f6eee3;
  --bg-code: #f3e9db;
  --bg-pill: #f0e6d6;
  --bg-header: rgba(250, 246, 240, 0.88);

  /* Borders & Dividers */
  --border-subtle: #ebdccb;
  --border-card: #e4d3bf;
  --border-focus: #c8682e;

  /* Typography Colors */
  --text-main: #2b231c;
  --text-secondary: #6e5e50;
  --text-muted: #9c8a79;

  /* Terracotta Accent Warmth */
  --accent-warm: #c8682e;
  --accent-hover: #b45722;
  --accent-soft: rgba(200, 104, 46, 0.12);
  --accent-subtle: rgba(200, 104, 46, 0.06);

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(90, 60, 30, 0.05);
  --shadow-hover: 0 10px 30px rgba(90, 60, 30, 0.1);
  --shadow-window: 0 20px 48px -12px rgba(80, 50, 20, 0.16);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;

  --max-width: 1360px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-main);
  background-image: 
    linear-gradient(to right, rgba(43, 35, 28, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 35, 28, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  background-position: center top;
}

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

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

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-main);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(80, 50, 20, 0.1);
  border-radius: 9999px;
  padding: 3px 5px;
  box-shadow: 0 4px 14px rgba(80, 50, 20, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.38rem 0.92rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(80, 50, 20, 0.07);
}

.nav-link.active {
  color: var(--accent-warm);
  background: var(--bg-surface);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(80, 50, 20, 0.09);
}

/* Primary Action Pill in Nav */
.nav-link.nav-cta {
  background: rgba(212, 107, 43, 0.08);
  color: var(--accent-warm);
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--accent-warm);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(212, 107, 43, 0.28);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* GitHub Action Button in Nav */
.nav-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.26rem 0.68rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(70, 50, 30, 0.04);
  transition: var(--transition);
  line-height: 1.2;
}

.nav-github-btn:hover {
  border-color: rgba(200, 104, 46, 0.4);
  color: var(--accent-warm);
  transform: translateY(-1px);
}

.nav-github-btn svg {
  display: block;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.18rem 0.35rem;
  box-shadow: 0 1px 3px rgba(70, 50, 30, 0.04);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  transition: var(--transition);
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  color: var(--accent-warm);
  font-weight: 600;
  background: rgba(200, 104, 46, 0.1);
}

.lang-divider {
  color: var(--border-subtle);
  font-size: 0.75rem;
  padding: 0 0.15rem;
  user-select: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-warm);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200, 104, 46, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 104, 46, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: 0 2px 6px rgba(70, 50, 30, 0.04);
}

.btn-secondary:hover {
  background: #fbf7f0;
  border-color: var(--accent-warm);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6.5rem 1.5rem 4.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-radial-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 960px;
  height: 480px;
  background: radial-gradient(ellipse 65% 55% at 50% 35%, rgba(200, 104, 46, 0.08), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.48rem 1.35rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.95rem;
  color: var(--accent-warm);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(70, 50, 30, 0.04), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 100%;
}

.hero-badge svg {
  color: var(--accent-warm);
  flex-shrink: 0;
}

.hero-title {
  display: block;
  text-align: center;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0 auto 1.35rem;
  color: var(--text-main);
}

.hero-title .brand-text {
  color: var(--accent-warm);
}

.hero-line1 {
  display: block;
  margin-bottom: 0.25rem;
}

.hero-line2 {
  display: block;
  padding-left: 0;
}

.hero-subtitle {
  display: block;
  text-align: center;
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.85;
}

.sub-line1,
.sub-line2 {
  display: block;
  padding-left: 0;
}

.sub-line1 {
  margin-bottom: 0.35rem;
}

.hero-cta-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-download-btn {
  text-decoration: none;
  padding: 0.85rem 2.1rem;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 9999px;
}

.hero-download-btn svg {
  flex-shrink: 0;
}

.hero-cta-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 680px;
}

/* Hero Stage & Interactive Walkthrough Carousel */
.hero-stage-container {
  position: relative;
  margin-top: 2.4rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 20px 48px -15px rgba(80, 50, 20, 0.08), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-carousel-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-window);
  border: 1px solid var(--border-subtle);
}

.corner-tick {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 2;
}

.corner-tick::before,
.corner-tick::after {
  content: '';
  position: absolute;
  background: var(--accent-warm);
  opacity: 0.65;
}

.corner-tick.tick-tl { top: -1px; left: -1px; }
.corner-tick.tick-tl::before { top: 0; left: 0; width: 10px; height: 1.5px; }
.corner-tick.tick-tl::after { top: 0; left: 0; width: 1.5px; height: 10px; }

.corner-tick.tick-tr { top: -1px; right: -1px; }
.corner-tick.tick-tr::before { top: 0; right: 0; width: 10px; height: 1.5px; }
.corner-tick.tick-tr::after { top: 0; right: 0; width: 1.5px; height: 10px; }

.corner-tick.tick-bl { bottom: -1px; left: -1px; }
.corner-tick.tick-bl::before { bottom: 0; left: 0; width: 10px; height: 1.5px; }
.corner-tick.tick-bl::after { bottom: 0; left: 0; width: 1.5px; height: 10px; }

.corner-tick.tick-br { bottom: -1px; right: -1px; }
.corner-tick.tick-br::before { bottom: 0; right: 0; width: 10px; height: 1.5px; }
.corner-tick.tick-br::after { bottom: 0; right: 0; width: 1.5px; height: 10px; }

@media (max-width: 640px) {
  .hero {
    padding: 4.5rem 1.25rem 3.5rem;
  }
  .hero-badge {
    font-size: 0.82rem;
    padding: 0.4rem 0.95rem;
    border-radius: 14px;
    line-height: 1.45;
  }
  .hero-title {
    font-size: clamp(1.8rem, 5.6vw, 2.4rem);
  }
}

/* Architectural Section Dividers */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-width);
  margin: 1.5rem auto 4.5rem;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-card), transparent);
}

.divider-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 0.28rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(70, 50, 30, 0.03);
  white-space: nowrap;
}

/* Focused Sections Common */
.section {
  padding: 4.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  scroll-margin-top: 4.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
  text-wrap: balance;
}

/* Core Highlights (Widescreen 1360px Proportions: ~400px Text, ~860px Visual) */
.highlight-row {
  display: grid;
  gap: 4.5rem;
  align-items: center; /* 宽屏下垂直居中更协调 */
  margin-bottom: 6.5rem;
}

/* Pattern 1: Text Left, Visual Right */
.highlight-row.row-text-left {
  grid-template-columns: minmax(360px, 420px) 1fr;
}
.highlight-row.row-text-left .highlight-text {
  order: 1;
}
.highlight-row.row-text-left .highlight-visual,
.highlight-row.row-text-left .highlight-visual-group,
.highlight-row.row-text-left .window-visual,
.highlight-row.row-text-left .showcase-widget {
  order: 2;
}

/* Pattern 2: Visual Left, Text Right */
.highlight-row.row-visual-left {
  grid-template-columns: 1fr minmax(360px, 420px);
}
.highlight-row.row-visual-left .highlight-visual,
.highlight-row.row-visual-left .highlight-visual-group,
.highlight-row.row-visual-left .window-visual,
.highlight-row.row-visual-left .showcase-widget {
  order: 1;
}
.highlight-row.row-visual-left .highlight-text {
  order: 2;
}

/* Settings and About Rows (Balanced for macOS floating windows) */
.settings-row.highlight-row.row-text-left {
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 5.5rem;
}
.settings-row.highlight-row.row-text-left .highlight-text {
  order: 1;
}
.settings-row.highlight-row.row-text-left .window-visual {
  order: 2;
}

.settings-row.highlight-row.row-visual-left {
  grid-template-columns: 1fr 1.2fr;
  margin-bottom: 5.5rem;
}
.settings-row.highlight-row.row-visual-left .window-visual {
  order: 1;
}
.settings-row.highlight-row.row-visual-left .highlight-text {
  order: 2;
}

.about-row.highlight-row.row-visual-left {
  grid-template-columns: 1fr 1.2fr;
  margin-bottom: 2rem;
}
.about-row.highlight-row.row-visual-left .window-visual {
  order: 1;
}
.about-row.highlight-row.row-visual-left .highlight-text {
  order: 2;
}

.about-row.highlight-row.row-text-left {
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 2rem;
}
.about-row.highlight-row.row-text-left .highlight-text {
  order: 1;
}
.about-row.highlight-row.row-text-left .window-visual {
  order: 2;
}

/* Acoustic Showcase Container Stability */
#music .showcase-panel .highlight-visual {
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181411;
}

#music .showcase-panel .highlight-visual img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.highlight-text {
  padding-top: 0.15rem; /* 让文字标签与左侧/右侧截图顶边像素级对齐 */
}

.highlight-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-warm);
  margin-top: 0;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.highlight-title {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.highlight-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.highlight-points svg {
  color: var(--accent-warm);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.highlight-points strong {
  color: var(--text-main);
}

.highlight-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-window);
  border: 1px solid var(--border-subtle);
  background: #000000;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.highlight-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px -15px rgba(80, 50, 20, 0.22);
}

.highlight-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight-visual-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.visual-caption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  padding: 0 0.5rem;
}

/* Native Floating Window Visual (Settings & About Rows) */
.window-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  cursor: pointer;
}

.window-visual img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 42px rgba(80, 55, 30, 0.12);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.window-visual:hover img {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(80, 55, 30, 0.18);
}

/* FAQ Compact & Low-Profile */
#faq {
  padding: 3rem 1.5rem 2.25rem;
}

#faq .section-header {
  margin-bottom: 2rem;
}

#faq .section-title {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 1px 4px rgba(70, 50, 30, 0.03);
}

.faq-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-card .faq-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.55rem;
}

.faq-card .faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-card .faq-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
  padding-left: 0.95rem;
}

.faq-card .faq-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #b35900;
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-card .faq-list strong {
  color: var(--text-main);
  font-weight: 600;
}

.faq-card code {
  background: var(--bg-code);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #8c421b;
  border: 1px solid var(--border-card);
  display: inline-block;
  margin: 0.2rem 0;
}

/* Minimal Compact Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #f3ecdf;
  padding: 1.35rem 1.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-dot {
  color: var(--border-subtle);
  user-select: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

/* LAN Setup Walkthrough Carousel */
.walkthrough-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.walkthrough-carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-window);
  border: 1px solid var(--border-subtle);
  background: #000000;
}

.walkthrough-track {
  display: flex;
  width: 100%;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.walkthrough-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: block;
}

.walkthrough-slide .highlight-visual {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  width: 100%;
}

.walkthrough-slide .highlight-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.walkthrough-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 20, 16, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 30;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.walkthrough-arrow svg {
  pointer-events: none;
}

.walkthrough-arrow.prev {
  left: 14px;
}

.walkthrough-arrow.next {
  right: 14px;
}

.walkthrough-arrow:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  transform: translateY(-50%) scale(1.08);
}

.walkthrough-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding: 0.35rem 0.5rem;
}

.walkthrough-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.walkthrough-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--border-card);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.walkthrough-dot.active {
  width: 24px;
  background: var(--accent-warm);
}

.walkthrough-caption {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.caption-step {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-warm);
  font-size: 0.82rem;
}

.caption-divider {
  color: var(--border-card);
}

/* Interactive Showcase Tabs & Containers */
.showcase-widget {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.showcase-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.75);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(70, 50, 30, 0.04), inset 0 1px 0 #ffffff;
}

.showcase-tab {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.showcase-tab.active {
  background: var(--bg-surface);
  color: var(--accent-warm);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(80, 50, 20, 0.08);
}

.showcase-panels {
  position: relative;
  width: 100%;
}

.showcase-panel {
  display: none;
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}

.showcase-panel.active {
  display: block;
}

.showcase-panel .highlight-visual,
.showcase-panel .window-visual {
  width: 100%;
}

.dual-card-preview {
  position: relative;
}

.floating-subview {
  position: absolute;
  right: -16px;
  bottom: -20px;
  width: 35%;
  max-width: 270px;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 42px rgba(40, 25, 10, 0.28);
  border: 2px solid var(--bg-surface);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.floating-subview:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 24px 50px rgba(40, 25, 10, 0.35);
}

/* Pro Badge Tag */
.highlight-tag.tag-pro {
  background: rgba(200, 104, 46, 0.12);
  color: var(--accent-warm);
  border-color: rgba(200, 104, 46, 0.25);
  font-weight: 600;
}

/* Pricing Section */
#pricing {
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, rgba(246, 238, 227, 0.45) 0%, rgba(250, 246, 240, 0.8) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 2.5rem auto 0;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 2px solid var(--accent-warm);
  box-shadow: 0 12px 36px rgba(200, 104, 46, 0.14);
  background: #ffffff;
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(200, 104, 46, 0.25);
}

.early-bird-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ea580c, #c8682e);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.32rem 1.15rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.38);
  white-space: nowrap;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pricing-card.has-early-bird {
  border: 2px solid var(--accent-warm);
  background: #ffffff;
}

.pricing-original-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.35rem;
  font-weight: 500;
  opacity: 0.75;
}

.pricing-header {
  margin-bottom: 1.25rem;
}

.pricing-tier {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  min-height: 2.5rem;
}

.pricing-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.25rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-cny-estimate {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li svg {
  color: var(--accent-warm);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-features li strong {
  color: var(--text-main);
}

.pricing-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.pricing-btn.btn-free {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-card);
}

.pricing-btn.btn-free:hover {
  background: var(--bg-code);
  border-color: var(--border-focus);
}

.pricing-btn.btn-pro {
  background: var(--accent-warm);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200, 104, 46, 0.25);
}

.pricing-btn.btn-pro:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(200, 104, 46, 0.35);
}

.pricing-btn.btn-family {
  background: var(--bg-surface);
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.pricing-btn.btn-family:hover {
  background: var(--accent-soft);
}

.pricing-guarantee {
  margin: 2.25rem auto 0;
  max-width: 900px;
  padding: 1.15rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-warm);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.pricing-guarantee strong {
  color: var(--text-main);
  font-weight: 600;
}

/* macOS-Style Floating HUD Toast */
.hud-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(35, 28, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-toast.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hud-toast svg {
  color: #f7a869;
  flex-shrink: 0;
}

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

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(35, 28, 22, 0.85);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive */
@media (max-width: 1060px) {
  .highlight-row {
    gap: 3rem;
  }
  .highlight-row.row-text-left {
    grid-template-columns: minmax(300px, 360px) 1fr;
  }
  .highlight-row.row-visual-left {
    grid-template-columns: 1fr minmax(300px, 360px);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .highlight-row,
  .highlight-row.row-text-left,
  .highlight-row.row-visual-left,
  .settings-row.highlight-row.row-text-left,
  .settings-row.highlight-row.row-visual-left,
  .about-row.highlight-row.row-visual-left,
  .about-row.highlight-row.row-text-left {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight-row.row-text-left .highlight-text,
  .highlight-row.row-visual-left .highlight-text,
  .settings-row.highlight-row.row-text-left .highlight-text,
  .settings-row.highlight-row.row-visual-left .highlight-text,
  .about-row.highlight-row.row-visual-left .highlight-text,
  .about-row.highlight-row.row-text-left .highlight-text {
    order: 1;
  }
  .highlight-row.row-text-left .highlight-visual,
  .highlight-row.row-visual-left .highlight-visual,
  .highlight-row.row-text-left .highlight-visual-group,
  .highlight-row.row-visual-left .highlight-visual-group,
  .highlight-row.row-text-left .showcase-widget,
  .highlight-row.row-visual-left .showcase-widget,
  .highlight-row.row-text-left .walkthrough-widget,
  .highlight-row.row-visual-left .walkthrough-widget,
  .highlight-row.row-text-left .window-visual,
  .highlight-row.row-visual-left .window-visual,
  .settings-row.highlight-row.row-text-left .window-visual,
  .settings-row.highlight-row.row-visual-left .window-visual,
  .about-row.highlight-row.row-visual-left .window-visual,
  .about-row.highlight-row.row-text-left .window-visual {
    order: 2;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .floating-subview {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
