/* SilkPlayer Official Website - Warm Lifestyle & Daylight Aesthetic */
:root {
  /* Warm Daylight Lifestyle Palette */
  --bg-base: #faf6f0;
  --bg-surface: #ffffff;
  --bg-warm-card: #fdfbf7;
  --bg-pill: #efe7dc;
  --bg-code: #f3ece0;
  
  --border-subtle: #e8ded2;
  --border-card: #e4d8c8;
  --border-focus: #c8682e;
  
  --text-main: #2b231c;
  --text-secondary: #685a4e;
  --text-muted: #9a8a7c;
  
  --accent-warm: #c8682e;
  --accent-hover: #b45722;
  --accent-amber: #d97736;
  --accent-soft: rgba(200, 104, 46, 0.08);
  
  --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;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1080px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-window: 0 24px 60px -15px rgba(85, 55, 30, 0.16), 0 0 0 1px rgba(180, 150, 120, 0.15);
  --shadow-card: 0 4px 20px rgba(90, 65, 40, 0.04);
  --shadow-card-hover: 0 12px 32px -8px rgba(90, 65, 40, 0.1);
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.7;
  background: radial-gradient(circle at 50% -50px, rgba(235, 215, 190, 0.55) 0%, transparent 65%),
              var(--bg-base);
  min-height: 100vh;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(250, 246, 240, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 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: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-warm);
}

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

/* 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 {
  padding: 5.5rem 1.5rem 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.05rem;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.85;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.copy-btn:hover {
  color: var(--accent-warm);
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Focused 3 Highlights (图文交错，聚焦生活重点) */
.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

.highlight-row:nth-child(even) {
  grid-template-columns: 1.25fr 1fr;
}

.highlight-row:nth-child(even) .highlight-text {
  order: 2;
}

.highlight-row:nth-child(even) .highlight-visual {
  order: 1;
}

.highlight-text {
  display: flex;
  flex-direction: column;
}

.highlight-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.highlight-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.highlight-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  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);
}

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

.highlight-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-window);
  background: #181512;
  cursor: pointer;
  border: 1px solid var(--border-card);
  transition: transform 0.3s ease;
}

.highlight-visual:hover {
  transform: translateY(-2px);
}

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

/* Native Settings Minimal Showcase */
.settings-glimpse {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.settings-glimpse-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.settings-glimpse-info p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.settings-glimpse-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(80, 55, 30, 0.12);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.settings-glimpse-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Acquisition / Download Section */
.download-container {
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--accent-warm);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 14px 40px -10px rgba(200, 104, 46, 0.16);
}

.tier-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-free {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tier-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.tier-features svg {
  color: #16a34a;
  flex-shrink: 0;
}

.download-actions-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.download-sublinks {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-sublinks a:hover {
  color: var(--accent-warm);
}

/* FAQ Minimal */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

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

.faq-card code {
  background: var(--bg-code);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #8c421b;
  border: 1px solid var(--border-card);
}

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

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.65rem;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* 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: 860px) {
  .nav-links {
    display: none;
  }
  .highlight-row,
  .highlight-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight-row:nth-child(even) .highlight-text {
    order: 1;
  }
  .highlight-row:nth-child(even) .highlight-visual {
    order: 2;
  }
  .settings-glimpse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}
