/* 糖心Vlog APP最新版 tx-vlog.quest - 全局样式 */
:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --accent: #d81b60;
  --accent-light: #f06292;
  --bg-dark: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-card-hover: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #777;
  --border: #333;
  --gradient: linear-gradient(135deg, #ff8c00 0%, #d81b60 100%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --max-width: 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;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-menu a.active {
  background: var(--gradient);
  color: #fff;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.menu-toggle:hover {
  border-color: var(--primary);
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle .bar::before {
  top: -6px;
}

.menu-toggle .bar::after {
  top: 6px;
}

.menu-toggle.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}

.menu-toggle.active .bar {
  background: transparent;
}

.menu-toggle.active .bar::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 60px 0 80px;
  background: radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 107, 53, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(216, 27, 96, 0.12) 0%,
      transparent 50%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 25px;
  color: var(--text-primary) !important;
  font-weight: 600;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.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);
  padding: 30px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.section-alt .feature-card {
  background: var(--bg-dark);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.screenshot-item figcaption {
  padding: 12px;
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-tag {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 25px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.category-tag:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-article h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.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: 16px 0 16px 24px;
  color: var(--text-secondary);
}

.content-article li {
  margin-bottom: 8px;
}

.content-article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.section-alt .step-card {
  background: var(--bg-dark);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  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;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  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-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.open .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.internal-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.internal-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary) !important;
  transition: border-color 0.2s;
}

.internal-link-card:hover {
  border-color: var(--primary);
}

.internal-link-card .link-icon {
  font-size: 1.5rem;
}

.internal-link-card .link-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.internal-link-card .link-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-hero {
  padding: 50px 0 30px;
  text-align: center;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-secondary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.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;
}

.legal-content .update-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  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: 20px 0 12px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  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-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb span {
  margin: 0 8px;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo img {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  }

  .nav-menu a:active {
    transform: scale(0.98);
  }

  .nav-menu a:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    background: var(--bg-card-hover);
  }

  .nav-menu a.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.3);
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: 50px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .internal-links {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .error-code {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-download,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 首页专属设计 (.page-home) ===== */
.page-home .home-main {
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.page-home .home-orb-1 {
  width: 420px;
  height: 420px;
  background: #ff6b35;
  top: -120px;
  left: -80px;
}

.page-home .home-orb-2 {
  width: 360px;
  height: 360px;
  background: #d81b60;
  bottom: -100px;
  right: 10%;
}

.page-home .home-orb-3 {
  width: 240px;
  height: 240px;
  background: #ff8c00;
  top: 40%;
  right: -60px;
}

.page-home .home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.page-home .home-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(216, 27, 96, 0.12);
  border: 1px solid rgba(216, 27, 96, 0.35);
  border-radius: 20px;
}

.page-home .home-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.25;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-home .home-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  max-width: 480px;
}

.page-home .home-stats li {
  padding: 14px 12px;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.page-home .home-stats strong {
  display: block;
  font-size: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-home .home-stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-home .home-hero-showcase {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-phone {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease;
}

.page-home .home-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-phone-back {
  width: 200px;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  opacity: 0.7;
  z-index: 1;
}

.page-home .home-phone-mid {
  width: 260px;
  z-index: 3;
  box-shadow: 0 24px 60px rgba(216, 27, 96, 0.25);
}

.page-home .home-phone-front {
  width: 190px;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  opacity: 0.75;
  z-index: 2;
}

.page-home .home-hero-showcase:hover .home-phone-back {
  transform: translateY(-52%) rotate(-12deg);
}

.page-home .home-hero-showcase:hover .home-phone-front {
  transform: translateY(-48%) rotate(12deg);
}

.page-home .home-strip {
  position: sticky;
  top: 61px;
  z-index: 50;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.page-home .home-strip-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.page-home .home-strip-track::-webkit-scrollbar {
  display: none;
}

.page-home .home-strip-item {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s;
}

.page-home .home-strip-item:hover,
.page-home .home-strip-item.is-hot {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.page-home .home-section {
  padding: 72px 0;
}

.page-home .home-section-alt {
  background: var(--bg-card);
}

.page-home .home-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.page-home .home-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: 24px;
}

.page-home .home-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-home .home-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.page-home .home-section-head p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.page-home .home-section-head-row p {
  margin: 0;
}

.page-home .home-link-more {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-home .home-feature {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.page-home .home-section-alt .home-feature {
  background: #141414;
}

.page-home .home-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}

.page-home .home-feature:hover {
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.page-home .home-feature:hover::before {
  opacity: 1;
}

.page-home .home-feature-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.06);
}

.page-home .home-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-home .home-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-home .home-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.page-home .home-bento-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.page-home .home-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-home .home-bento-lg {
  grid-column: span 2;
}

.page-home .home-bento-img {
  aspect-ratio: 9/16;
  overflow: hidden;
}

.page-home .home-bento-lg .home-bento-img {
  aspect-ratio: 16/10;
}

.page-home .home-bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .home-bento-card:hover .home-bento-img img {
  transform: scale(1.05);
}

.page-home .home-bento-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.page-home .home-bento-tag {
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border-radius: 12px;
}

.page-home .home-scroll-wrap {
  margin: 0 -20px;
  padding: 0 20px;
}

.page-home .home-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: 12px;
}

.page-home .home-scroll-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-dark);
  transition: border-color 0.2s;
}

.page-home .home-scroll-item:hover {
  border-color: var(--primary);
}

.page-home .home-scroll-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.page-home .home-scroll-item figcaption {
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

.page-home .home-community {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.page-home .home-community-aside {
  position: sticky;
  top: 130px;
}

.page-home .home-community-list {
  list-style: none;
}

.page-home .home-community-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-home .home-community-list li span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.page-home .home-community-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.page-home .home-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.page-home .home-gallery-wide {
  grid-column: span 2;
}

.page-home .home-gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.page-home .home-gallery-wide img {
  aspect-ratio: 16/9;
}

.page-home .home-gallery-item:hover img {
  transform: scale(1.04);
}

.page-home .home-gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 10px;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.page-home .home-timeline {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.page-home .home-timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.page-home .home-timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.35);
}

.page-home .home-timeline-body {
  padding: 20px 24px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.page-home .home-section-alt .home-timeline-body {
  background: #141414;
}

.page-home .home-timeline-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.page-home .home-timeline-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .home-article-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%);
}

.page-home .home-article-wrap {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.page-home .home-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: none;
}

.page-home .home-faq .faq-item {
  margin-bottom: 0;
}

.page-home .home-footer {
  position: relative;
}

.page-home .home-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

@media (max-width: 1024px) {
  .page-home .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-home .home-hero-showcase {
    height: 400px;
    order: -1;
  }

  .page-home .home-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-bento-lg {
    grid-column: span 3;
  }

  .page-home .home-community {
    grid-template-columns: 1fr;
  }

  .page-home .home-community-aside {
    position: static;
  }

  .page-home .home-community-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }

  .page-home .home-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-home .home-hero {
    padding: 48px 0 40px;
  }

  .page-home .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-hero-showcase {
    height: 320px;
  }

  .page-home .home-phone-mid {
    width: 220px;
  }

  .page-home .home-phone-back,
  .page-home .home-phone-front {
    width: 160px;
  }

  .page-home .home-strip {
    top: 55px;
  }

  .page-home .home-section {
    padding: 52px 0;
  }

  .page-home .home-section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .home-features {
    grid-template-columns: 1fr;
  }

  .page-home .home-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-bento-lg {
    grid-column: span 2;
  }

  .page-home .home-community-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-gallery-wide {
    grid-column: span 2;
  }

  .page-home .home-community-list {
    grid-template-columns: 1fr;
  }

  .page-home .home-article-wrap {
    padding: 28px 20px;
  }

  .page-home .home-hero-actions {
    flex-direction: column;
  }

  .page-home .home-hero-actions .btn-download,
  .page-home .home-hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-home .home-bento {
    grid-template-columns: 1fr;
  }

  .page-home .home-bento-lg {
    grid-column: span 1;
  }

  .page-home .home-scroll-item {
    flex: 0 0 160px;
  }
}
