body.page-home {
  --home-accent: #3a6dff;
  --home-ink: #162033;
  --home-muted: #66758b;
  --home-border: rgba(209, 220, 238, 0.9);
  --home-surface: rgba(255, 255, 255, 0.95);
  font-family: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--home-ink);
  background:
    radial-gradient(circle at top left, rgba(58, 109, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(135, 169, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 40%);
}

body.page-home .app-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 300px;
  z-index: 30;
  margin: 0;
  padding: 14px 36px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.84) 72%, rgba(248, 251, 255, 0) 100%);
  backdrop-filter: blur(16px);
}

body.page-home .app-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #586783;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.page-home .app-nav a:hover,
body.page-home .app-nav a.active {
  color: var(--home-accent);
  border-bottom: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.page-home .sidebar {
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98) 0%, rgba(245, 248, 254, 0.94) 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

body.page-home .sidebar > h1 {
  margin: 0 24px 14px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 1.78rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.page-home .sidebar .search {
  padding: 16px 20px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  margin-bottom: 16px;
}

body.page-home .sidebar .search input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.96);
  color: var(--home-ink);
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

body.page-home .sidebar .search input:focus {
  outline: none;
  border-color: rgba(58, 109, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(58, 109, 255, 0.08);
}

body.page-home .sidebar .sidebar-nav {
  padding: 0 16px 36px;
}

body.page-home .sidebar ul {
  margin-left: 0;
}

body.page-home .sidebar li {
  margin: 3px 0;
}

body.page-home .sidebar ul li a {
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 13px;
  white-space: normal;
  line-height: 1.45;
}

body.page-home .sidebar ul li.active > a {
  border-right: none;
  background: rgba(58, 109, 255, 0.07);
  color: var(--home-accent);
}

body.page-home .content {
  left: 300px;
  padding-top: 72px;
  background:
    radial-gradient(circle at top right, rgba(58, 109, 255, 0.06), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 38%);
}

body.page-home .markdown-section {
  max-width: 1140px;
  padding: 28px 24px 80px;
}

body.page-home .markdown-section > h1 {
  display: none;
}

body.page-home .home-service {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.page-home .home-hero {
  position: relative;
  padding: 38px 30px 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 255, 0.92) 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-align: center;
}

body.page-home .home-hero::before,
body.page-home .home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

body.page-home .home-hero::before {
  top: -120px;
  left: -120px;
  width: 250px;
  height: 250px;
  background: rgba(58, 109, 255, 0.07);
}

body.page-home .home-hero::after {
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  background: rgba(165, 180, 252, 0.12);
}

body.page-home .home-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-home .home-hero h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 14px auto 10px;
  color: var(--home-ink);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

body.page-home .home-hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
}

body.page-home .home-feature-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

body.page-home .home-feature-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 109, 255, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #4b5f82;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

body.page-home .home-service-grid,
body.page-home .home-shortcuts {
  display: grid;
  gap: 18px;
}

body.page-home .home-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-home .home-service-card,
body.page-home .home-shortcut {
  border-radius: 22px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

body.page-home .home-service-card {
  padding: 20px;
}

body.page-home .home-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

body.page-home .home-card-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.page-home .home-card-icon-start {
  background: linear-gradient(135deg, #3772ff 0%, #6da2ff 100%);
}

body.page-home .home-card-icon-desktop {
  background: linear-gradient(135deg, #5b7cfa 0%, #8ea4ff 100%);
}

body.page-home .home-card-icon-nas {
  background: linear-gradient(135deg, #10b981 0%, #53d3b4 100%);
}

body.page-home .home-card-icon-mobile {
  background: linear-gradient(135deg, #f59e0b 0%, #f8bf5c 100%);
}

body.page-home .home-card-icon-network {
  background: linear-gradient(135deg, #8b5cf6 0%, #b28cff 100%);
}

body.page-home .home-card-icon-case {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

body.page-home .home-card-icon-pro {
  background: linear-gradient(135deg, #0ea5e9 0%, #56c5ff 100%);
}

body.page-home .home-card-icon-faq {
  background: linear-gradient(135deg, #f97316 0%, #fb9a56 100%);
}

body.page-home .home-card-icon-support {
  background: linear-gradient(135deg, #14b8a6 0%, #4dd3c4 100%);
}

body.page-home .home-card-head h3,
body.page-home .home-shortcut strong {
  color: var(--home-ink);
}

body.page-home .home-card-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

body.page-home .home-card-head p,
body.page-home .home-shortcut span {
  color: var(--home-muted);
}

body.page-home .home-card-head p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

body.page-home .home-card-links {
  display: grid;
  gap: 10px;
}

body.page-home .home-card-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, #fafcff 0%, #f5f8fd 100%);
  color: #31425b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.page-home .home-card-links a::after {
  content: "›";
  color: #9aa8bc;
  font-size: 18px;
}

body.page-home .home-card-links a:hover {
  transform: translateX(1px);
  color: var(--home-accent);
  border-color: rgba(58, 109, 255, 0.22);
  box-shadow: 0 10px 18px rgba(58, 109, 255, 0.06);
  text-decoration: none;
}

body.page-home .home-shortcuts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-home .home-shortcut {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(58, 109, 255, 0.05) 0%, rgba(255, 255, 255, 0.96) 100%);
}

body.page-home .home-shortcut strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

body.page-home .home-shortcut span {
  display: block;
  font-size: 13px;
  line-height: 1.75;
}

@media screen and (max-width: 1080px) {
  body.page-home .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-home .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  body.page-home .app-nav {
    left: 0;
    padding: 12px 12px 0 56px;
    gap: 6px;
  }

  body.page-home .app-nav a {
    padding: 7px 12px;
    font-size: 12px;
  }

  body.page-home .content {
    padding-top: 72px;
  }

  body.page-home .markdown-section {
    max-width: 100%;
    padding: 22px 16px 60px;
  }

  body.page-home .home-hero,
  body.page-home .home-service-grid,
  body.page-home .home-shortcuts {
    grid-template-columns: 1fr;
  }

  body.page-home .home-hero {
    padding: 28px 18px 22px;
    border-radius: 22px;
  }

  body.page-home .sidebar > h1 {
    margin: 0 20px 12px;
    padding-bottom: 14px;
    font-size: 1.6rem;
  }

  body.page-home .sidebar .search {
    padding: 14px 16px 0;
  }

  body.page-home .sidebar .sidebar-nav {
    padding: 0 12px 32px;
  }

  body.page-home .home-hero h2 {
    font-size: 1.75rem;
  }

  body.page-home .home-hero p {
    font-size: 14px;
  }

  body.page-home .home-card-head h3 {
    font-size: 18px;
  }
}
