/* 糖心Vlog传媒平台 - PC & 移动端响应式 */
:root {
  --primary: #ff6b35;
  --primary-dark: #e85a2a;
  --accent: #ff2d75;
  --accent-light: #ff6b9d;
  --bg-dark: #0d0d0f;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222228;
  --text-primary: #f5f5f7;
  --text-secondary: #a0a0a8;
  --text-muted: #6b6b75;
  --border: #2a2a32;
  --gradient: linear-gradient(135deg, #ffb347 0%, #ff6b35 40%, #ff2d75 100%);
  --shadow: 0 4px 24px rgba(255, 45, 117, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 64px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo img { width: 40px; height: 40px; border-radius: 10px; }

.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-desktop { display: flex; gap: 28px; list-style: none; }
.nav-desktop a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--text-primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile li { border-bottom: 1px solid var(--border); }
.nav-mobile a { display: block; padding: 14px 0; color: var(--text-secondary); font-size: 1rem; }
.nav-mobile a:hover { color: var(--text-primary); }

.hero {
  padding: 60px 0 80px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 45, 117, 0.1) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 45, 117, 0.15);
  border: 1px solid rgba(255, 45, 117, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gradient); color: #fff; }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  max-width: 280px;
  border-radius: 24px;
  box-shadow: var(--shadow), 0 20px 60px rgba(0,0,0,0.5);
  border: 3px solid var(--border);
}

.hero-float {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 140px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-card); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

.category-showcase { margin-bottom: 32px; }

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.cat-tab {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: default;
}
.cat-tab.active { background: var(--gradient); color: #fff; border-color: transparent; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s;
}
.screenshot-item:hover { transform: scale(1.02); }

.screenshot-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.screenshot-item figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.content-article { max-width: 900px; margin: 0 auto; }
.content-article h2 { font-size: 1.6rem; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.content-article h3 { font-size: 1.25rem; margin: 28px 0 12px; color: var(--accent-light); }
.content-article p { margin-bottom: 16px; color: var(--text-secondary); text-align: justify; }
.content-article ul, .content-article ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.content-article li { margin-bottom: 8px; }
.content-article a { text-decoration: underline; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 14px;
  color: #fff;
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-secondary); }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: "+"; font-size: 1.2rem; color: var(--accent); }
.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { display: block; }

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.internal-links a {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.internal-links a:hover { border-color: var(--accent); color: var(--text-primary); }

.page-hero {
  padding: 48px 0 32px;
  text-align: center;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero p { color: var(--text-secondary); }

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-secondary); }

.legal-content { padding: 48px 0 72px; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--accent-light); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 16px; }

.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.error-page h1 { font-size: 1.5rem; margin: 16px 0 12px; }
.error-page p { color: var(--text-secondary); margin-bottom: 24px; }

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }

  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero h1 { font-size: 1.85rem; }
  .hero-desc { margin: 0 auto 28px; font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-float { display: none; }
  .hero-phone { max-width: 240px; margin: 0 auto; }

  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }

  .features-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .error-code { font-size: 4rem; }
}

@media (max-width: 480px) {
  .screenshot-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
}

/* ========== 首页 V2 样式 ========== */
.page-home .home-main { overflow-x: hidden; }

/* Hero */
.hx-hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}

.hx-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgba(255, 107, 53, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 90% 20%, rgba(255, 45, 117, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 70% 85%, rgba(255, 179, 71, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0f0f14 0%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hx-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
}

.hx-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 45, 117, 0.1);
  border: 1px solid rgba(255, 45, 117, 0.28);
  margin-bottom: 18px;
}

.hx-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

.hx-hero-copy h1 em {
  font-style: normal;
  display: block;
  margin-top: 4px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hx-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 22px;
}

.hx-search-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.hx-search-icon { font-size: 1rem; opacity: 0.6; }
.hx-search-text { font-size: 0.88rem; color: var(--text-muted); }

.hx-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.hx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.hx-pills li {
  font-size: 0.78rem;
  padding: 5px 13px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.hx-hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hx-device-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 53, 0.15);
  background: radial-gradient(circle, rgba(255, 45, 117, 0.08) 0%, transparent 70%);
  animation: hx-pulse 4s ease-in-out infinite;
}

@keyframes hx-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hx-device-main {
  position: relative;
  z-index: 2;
  width: 56%;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 45, 117, 0.12);
}

.hx-device-float {
  position: absolute;
  z-index: 3;
  border-radius: 18px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.hx-float-r {
  right: 2%;
  bottom: 10%;
  width: 34%;
  transform: rotate(5deg);
}

.hx-float-l {
  left: 0;
  top: 14%;
  width: 32%;
  transform: rotate(-7deg);
  z-index: 1;
  opacity: 0.9;
}

.hx-marquee {
  border-top: 1px solid var(--border);
  background: rgba(26, 26, 31, 0.6);
  padding: 14px 0;
  overflow: hidden;
}

.hx-marquee-track {
  display: flex;
  gap: 48px;
  animation: hx-scroll 25s linear infinite;
  white-space: nowrap;
}

.hx-marquee-track span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hx-marquee-track span::before {
  content: "◆ ";
  color: var(--primary);
  font-size: 0.6rem;
}

@keyframes hx-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats */
.hx-stats {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.hx-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.hx-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hx-stat span { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.hx-section { padding: 64px 0; }
.hx-section-dark { background: #101015; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hx-section-alt { background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%); }

.hx-head { text-align: center; margin-bottom: 36px; }

.hx-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.hx-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.hx-head p { color: var(--text-secondary); max-width: 540px; margin: 0 auto; font-size: 0.95rem; }

/* Spotlight */
.hx-spotlight {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 380px;
}

.hx-spot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.hx-spot:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(255, 45, 117, 0.18);
}

.hx-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hx-spot-lg {
  grid-row: span 2;
}

.hx-spot-info {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.hx-spot-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 6px;
}

.hx-spot-info h3 { font-size: 1rem; margin-bottom: 4px; }
.hx-spot-info p { font-size: 0.82rem; color: var(--text-secondary); }

/* Tabs & scroll rows */
.hx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.hx-tab {
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hx-tab:hover { border-color: var(--accent); color: var(--text-primary); }

.hx-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 117, 0.3);
}

.hx-panel { display: none; }
.hx-panel.active { display: block; animation: hx-fade 0.35s ease; }

@keyframes hx-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hx-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.hx-scroll-row::-webkit-scrollbar { height: 6px; }
.hx-scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.hx-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s;
  margin: 0;
}

.hx-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 45, 117, 0.4);
}

.hx-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top center;
}

.hx-card-tall { flex: 0 0 160px; }

.hx-card figcaption {
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hx-card figcaption strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

/* Features */
.hx-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hx-feat {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.hx-feat:hover {
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.hx-feat-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 45, 117, 0.1);
}

.hx-feat h3 { font-size: 1.05rem; margin-bottom: 8px; }
.hx-feat p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* Steps */
.hx-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hx-steps li {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hx-steps li::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.6;
}

.hx-step-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.7;
}

.hx-steps h3 { font-size: 0.98rem; margin-bottom: 8px; }
.hx-steps p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

/* Guide magazine layout */
.hx-guide-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.hx-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.hx-toc h2 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.hx-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hx-toc nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.hx-toc nav a:hover {
  background: rgba(255, 45, 117, 0.08);
  color: var(--text-primary);
}

.hx-guide-body h2:first-of-type { margin-top: 0; }

/* CTA Banner */
.hx-cta-banner {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 45, 117, 0.12) 100%);
  border-top: 1px solid var(--border);
}

.hx-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hx-cta-inner h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.hx-cta-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hx-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hx-lead { margin-left: auto; margin-right: auto; }
  .hx-search-mock { margin-left: auto; margin-right: auto; }
  .hx-cta { justify-content: center; }
  .hx-pills { justify-content: center; }
  .hx-hero-visual { min-height: 340px; margin-top: 12px; }
  .hx-spotlight { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: auto; }
  .hx-spot-lg { grid-row: span 1; grid-column: span 2; min-height: 280px; }
  .hx-features { grid-template-columns: repeat(2, 1fr); }
  .hx-steps { grid-template-columns: repeat(2, 1fr); }
  .hx-guide-wrap { grid-template-columns: 1fr; }
  .hx-toc { position: static; }
  .hx-toc nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .hx-hero { padding-top: 32px; }
  .hx-float-l { display: none; }
  .hx-device-main { width: 65%; }
  .hx-float-r { width: 38%; right: 0; }
  .hx-stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hx-section { padding: 48px 0; }
  .hx-spotlight { grid-template-columns: 1fr; }
  .hx-spot-lg { grid-column: span 1; min-height: 240px; }
  .hx-spot { min-height: 180px; }
  .hx-features { grid-template-columns: 1fr; }
  .hx-steps { grid-template-columns: 1fr; }
  .hx-cta-inner { text-align: center; justify-content: center; }
  .hx-card { flex: 0 0 150px; }
}

@media (max-width: 480px) {
  .hx-tab { padding: 8px 16px; font-size: 0.82rem; }
  .hx-search-mock { max-width: 100%; }
}

