/* Homepage styles are isolated from the account and management pages. */
.home-page {
  --bg: #f4f7fb;
  --hero-page-rgb: 244, 247, 251;
  --panel: #ffffff;
  --panel-2: #ecf2f8;
  --ink: #20334a;
  --muted: #607184;
  --blue: #2178ba;
  --cyan: #268777;
  --line: #dce5ef;
  --surface-raised: linear-gradient(145deg, #fff, #f9fbfe);
  --surface-soft: linear-gradient(145deg, #f5f9ff, #eaf1f9);
  --surface-edge: #fff;
  --shadow-card: 0 12px 28px -10px rgba(35, 67, 106, .18), 0 3px 7px rgba(35, 67, 106, .04), inset 0 1px 0 var(--surface-edge);
  --shadow-panel: 0 22px 42px -18px rgba(35, 67, 106, .24), 0 4px 12px rgba(35, 67, 106, .04), inset 0 1px 0 var(--surface-edge);
  --button-primary: linear-gradient(150deg, #2f76bd, #1e5b9f);
  --button-border: #276cb5;
  --button-shadow: 0 6px 14px rgba(33, 99, 175, .2), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(9, 49, 103, .24);
  --max: 1240px;
  background: var(--bg);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="dark"] .home-page {
  --bg: #161b1e;
  --hero-page-rgb: 22, 27, 30;
  --panel: #20272b;
  --panel-2: #262f34;
  --ink: #edf1f3;
  --muted: #a3afb6;
  --line: #343e44;
  --blue: #7db9e8;
  --cyan: #78c4af;
  --surface-raised: linear-gradient(145deg, #28333e, #202a33);
  --surface-soft: linear-gradient(145deg, #2b3c4d, #263340);
  --surface-edge: rgba(255, 255, 255, .08);
  --shadow-card: 0 12px 28px -10px rgba(0, 0, 0, .35), 0 3px 7px rgba(0, 0, 0, .12), inset 0 1px 0 var(--surface-edge);
  --shadow-panel: 0 22px 42px -18px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .12), inset 0 1px 0 var(--surface-edge);
}
html[data-theme] .home-page { background: var(--bg); color: var(--ink); }
.home-page .app :is(h1, h2, h3, h4, p, a, span, strong, small, time, button) { letter-spacing: 0; }
.home-page .app :is(.kicker, .section-kicker, .home-news-heading-copy > span, .home-news-meta time, .hero-aside, .tutorial-type) { font-family: "Segoe UI", Arial, sans-serif; }
.home-page .wrap { width: min(var(--max), calc(100% - 96px)); }
.home-page :is(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.home-page .app :is(h2, h3, h4) { color: var(--ink); }

html[data-theme] .home-page .topbar {
  width: 100%;
  height: 76px;
  padding-inline: max(48px, calc((100% - var(--max)) / 2));
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(22, 40, 60, .1), inset 0 -1px 0 var(--surface-edge);
}
.home-page .topbar .brand img { width: 132px; }
.home-page .nav { gap: 25px; margin-right: 30px; }
html[data-theme] .home-page .nav a { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
html[data-theme] .home-page .nav a:is(:hover, .active) { color: var(--ink); }
.home-page .nav a::after { bottom: -28px; background: var(--blue); height: 2px; }
html[data-theme] .home-page .auth :is(a, button) { min-height: 36px; border-radius: 7px; padding: 7px 16px; color: var(--ink); font-size: 12px; }
html[data-theme] .home-page .auth a.signup { background: var(--button-primary); border-color: var(--button-border); box-shadow: var(--button-shadow); color: #fff; }
.home-page .home-mobile-auth { display: none; }
.home-page .menu-toggle { width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; color: var(--ink); }
.home-page .menu-toggle span { display: flex; width: 22px; height: 22px; }
.home-page .menu-toggle svg { width: 22px; height: 22px; }

/* Scale panoramas with the viewport and fade into the shared site wallpaper. */
html[data-theme] .home-page .hero {
  --hero-fade-size: clamp(160px, 14vw, 280px);
  min-height: clamp(700px, 41.667vw, 1000px);
  margin-top: 76px;
  padding-bottom: 24px;
  background: transparent;
  color: #263940;
}
html[data-theme] .home-page .hero-bg {
  /* Continue behind the recommendation bar so the section edge stays invisible. */
  inset: 0 0 -96px;
  opacity: 1;
  background: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--hero-fade-size)), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - var(--hero-fade-size)), transparent);
}
html[data-theme] .home-page .hero-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  background: transparent;
}
html[data-theme] .home-page .hero-bg::before,
html[data-theme] .home-page .hero-bg::after,
html[data-theme] .home-page .hero::after { content: none; }
.home-page .hero-artwork-slide { position: relative; background: transparent; }
.home-page .hero-artwork-slide img {
  display: block;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 24%, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, .72) 56%, #000 68%, #000), linear-gradient(180deg, transparent, #000 8%, #000 68%, transparent);
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 24%, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, .72) 56%, #000 68%, #000), linear-gradient(180deg, transparent, #000 8%, #000 68%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.home-page .hero-artwork-slide:not(.hero-artwork-panorama) img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: 100%;
}
.home-page .hero-artwork-panorama { display: flex; align-items: flex-start; justify-content: center; }
.home-page .hero-artwork-panorama img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-position: center center;
}
.home-page .hero-carousel-controls { position: absolute; z-index: 2; top: 26px; right: max(48px, calc((100% - var(--max)) / 2)); display: flex; gap: 4px; }
.home-page .hero-carousel-controls button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #dce5ef; border-radius: 6px; background: rgba(255, 255, 255, .82); color: #476773; cursor: pointer; }
.home-page .hero-carousel-controls button:hover { box-shadow: 0 3px 8px rgba(43, 67, 83, .1); }
.home-page .hero-carousel-controls button span { display: flex; }
.home-page .hero-carousel-controls svg { width: 15px; height: 15px; }
.home-page .hero-grid { display: none; }
.home-page .hero .wrap { padding-block: 48px 40px; }
.home-page .hero-content { max-width: 720px; }
.home-page .hero .kicker { margin-bottom: 20px; color: #697b80; font-size: 11px; }
.home-page .hero .kicker::before { width: 20px; background: #348878; }
html[data-theme] .home-page .hero h1.hero-brand-line { margin: 0 0 22px; color: #263940; font-family: "Segoe UI", Arial, sans-serif; font-size: 74px; font-weight: 650; line-height: 1.05; text-shadow: none; }
.home-page .hero-brand-line span { display: inline-block; margin-left: 14px; color: #697b80; font-family: "Microsoft YaHei", sans-serif; font-size: 16px; font-weight: 400; }
.home-page .hero-tagline { max-width: 590px; margin: 0 0 18px; font-size: 27px; font-weight: 500; line-height: 1.5; }
.home-page .hero-tagline em { color: #247d70; font-style: normal; }
html[data-theme] .home-page .hero-lead { max-width: 490px; margin: 0; color: #000000; font-size: 14px; line-height: 1.9; }
html[data-theme] .home-page .hero-download-head { display: flex; justify-content: space-between; max-width: 720px; margin: 30px 0 12px; color: #5e7178; font-size: 12px; }
.home-page .hero-download-head a { display: inline-flex; align-items: center; gap: 5px; color: #247d70; }
.home-page .hero-download-head svg { width: 13px; height: 13px; }
.home-page .hero-downloads { max-width: 720px; margin: 0; gap: 10px; perspective: none; }
html[data-theme] .home-page .hero-download,
html[data-theme] .home-page .hero-download:is(:hover, :focus-visible) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 10px;
  min-height: 100px;
  padding: 14px 16px;
  border: 1px solid #45666c;
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(66, 104, 107, .9), rgba(41, 72, 78, .9));
  backdrop-filter: none;
  box-shadow: 0 6px 14px rgba(41, 72, 78, .18), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .12);
  text-shadow: none;
  transform-style: flat;
  transition: transform .2s ease;
}
.home-page .hero-download-no { display: none; }
html[data-theme] .home-page .hero-download::before { display: none; }
html[data-theme] .home-page .hero-download::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); }
.home-page .hero-download-copy { min-width: 0; gap: 5px; }
html[data-theme] .home-page .hero-download-copy strong { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.home-page .hero-download-mobile-label { display: none; }
html[data-theme] .home-page .hero-download-copy small { min-height: 0; color: #fff; font-size: 13px; line-height: 1.55; }
html[data-theme] .home-page .hero-download-copy time { color: #fff; font-size: 12px; font-family: "Segoe UI", sans-serif; line-height: 1.4; }
.home-page .hero-download-icon { width: 18px; height: 18px; color: #fff; }
html[data-theme] .home-page .hero-download:is(:hover, :focus-visible) { transform: translateY(-3px); }
.home-page .hero-doc-link { display: inline-flex; align-items: center; gap: 12px; margin: 20px 0 0; color: #247d70; font-size: 12px; }
.home-page .hero-doc-link svg { width: 15px; height: 15px; }
html[data-theme] .home-page .hero-aside { display: none; }

.home-page .home-metrics { margin-top: 28px; border: 1px solid #e4ebef; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 34px -12px rgba(43, 67, 83, .16), inset 0 1px 0 #fff; }
.home-page .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 0; margin: 0; padding: 20px 24px; }
.home-page .hero-stat { min-width: 0; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; border-left: 1px solid #e6edef; }
.home-page .hero-stat:first-child { border-left: 0; }
html[data-theme] .home-page .hero-stat-icon { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; color: #348878; background: #eef6f4; }
.home-page .hero-stat-icon svg { width: 21px; height: 21px; }
.home-page .hero-stat-copy { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
html[data-theme] .home-page .hero-stat strong { color: #263940; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 23px; font-weight: 650; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; text-shadow: none; }
html[data-theme] .home-page .hero-stat-label { color: #71828b; font-size: 12px; line-height: 1.4; }

html[data-theme] .home-page :is(.notice, .home-news-section, .home-banner-section, .ai-band, .security-band, .advantage-section, .home-protection-section, .protection, .tutorials) { background: var(--bg); }
html[data-theme] .home-page .promo-notice { position: relative; z-index: 4; margin-top: -24px; border: 0; background: transparent; box-shadow: none; }
.home-page .promo-notice .wrap { min-height: 72px; gap: 24px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow-panel); }
.home-page .promo-notice .notice-label { gap: 10px; padding-right: 24px; border-right: 1px solid var(--line); color: var(--cyan); font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; font-size: 15px; font-weight: 700; }
.home-page .notice-label svg { flex-shrink: 0; width: 20px; height: 20px; }
.home-page .promo-ticker { mask-image: linear-gradient(90deg, transparent, #000 1%, #000 99%, transparent); }
html[data-theme] .home-page .promo-track a { padding-right: 48px; color: var(--ink); font-size: 14px; }
.home-page .promo-track a::before { background: var(--cyan); width: 4px; height: 4px; }
.home-page .promo-track b { color: var(--blue); font-size: 15px; }
.home-page .promo-notice .notice-more { color: var(--blue); font-size: 12px; font-weight: 600; }
.home-page .home-news-section { padding: 30px 0 34px; }
html[data-theme] .home-page .home-news-surface { padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-panel); }
.home-page .home-news-heading { margin-bottom: 20px; }
.home-page .home-news-heading-copy { gap: 18px; }
.home-page .home-news-heading-copy > span { border: 0; padding: 0; color: var(--muted); font-size: 10px; }
.home-page .home-news-heading h2 { font-size: 20px; font-weight: 600; }
.home-page .home-news-list { gap: 32px; }
html[data-theme] .home-page .home-news-item,
html[data-theme] .home-page .home-news-item:hover { min-height: 75px; padding: 14px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.home-page .home-news-title { font-size: 14px; font-weight: 500; }
.home-page .home-news-meta time { color: var(--muted); }
.home-page .home-news-category { padding: 3px 7px; border-radius: 4px; color: var(--blue); background: var(--panel-2); }
.home-page .home-news-arrow { width: 24px; height: 24px; color: var(--muted); }
.home-page .home-banner-section { padding: 0 0 32px; }
.home-page .home-banner-link { border-radius: 12px; box-shadow: var(--shadow-card); }

.home-page .section { padding-block: 70px; border: 0; border-top: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--surface-edge); }
.home-page .section-head { align-items: center; gap: 48px; margin-bottom: 36px; }
.home-page .section-kicker { margin-bottom: 10px; color: var(--blue); font-family: "Segoe UI", sans-serif; font-size: 11px; font-weight: 600; }
.home-page .section-kicker::before { width: 16px; background: var(--cyan); }
.home-page .section h2 { font-size: 32px; font-weight: 600; line-height: 1.35; white-space: normal; }
.home-page .section h2 em { color: var(--ink); }
.home-page .section .ai-title { font-size: 32px !important; }
.home-page .section-desc { max-width: 375px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.home-page .ai-section-head, .home-page .security-section-head { display: flex; }
.home-page .section-heading-copy { flex: 1; min-width: 0; width: 100%; }
.home-page .section-title-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.home-page .section-title-line h2 { flex: 0 0 auto; max-width: 100%; }
.home-page .section-title-line .section-desc { flex: 1 1 320px; max-width: none; margin: 0; font-size: 14px; text-align: left; white-space: pre-line; overflow-wrap: anywhere; }
.home-page .ai-section-count { display: inline; margin-left: .5em; white-space: normal; }
.home-page .ai-section-count:first-child { margin-left: 0; }
.home-page .home-banner-section + .ai-band { padding-top: 70px; }

.home-page .ai-grid { grid-template-columns: repeat(auto-fill, min(100%, 374px)); gap: 24px; }
html[data-theme] .home-page .ai-band .ai-card,
html[data-theme] .home-page .ai-band .ai-card:hover { min-height: 424px; padding: 24px; border-color: var(--line); border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-card); transform: none; transition: transform .2s ease; }
html[data-theme] .home-page .ai-band .ai-card:is(:hover, :focus-within) { transform: translateY(-4px); }
.home-page .ai-card::before, .home-page .ai-card::after { display: none; }
.home-page .ai-card-main h3 { color: var(--ink); font-size: 16px; }
.home-page .ai-card-main p { color: var(--muted); font-size: 12px; }
.home-page .ai-card-badge { margin-left: 6px; color: var(--cyan); }
.home-page .ai-card-image { padding: 8px; margin-top: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); box-shadow: inset 0 1px 6px rgba(35, 67, 106, .06); aspect-ratio: 3 / 2; }
.home-page .ai-card-image img { filter: none; border-radius: 5px; box-shadow: 0 9px 18px -5px rgba(20, 40, 65, .24); }
.home-page .ai-action { font-size: 13px; }
.home-page .ai-download-action { border-radius: 7px; border-color: var(--button-border); color: #fff; background: var(--button-primary); box-shadow: var(--button-shadow); }
.home-page .ai-download-action.unavailable { border-color: var(--line); color: var(--muted); background: var(--surface-soft); box-shadow: inset 0 1px 0 var(--surface-edge); }

.home-page .security-band .section-head h2 { font-size: 32px; }
.home-page .security-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border: 0; }
.home-page #security .security-card { min-height: 320px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); transform: none; background: var(--surface-raised); transition: transform .2s ease; }
.home-page #security .security-card:is(:hover, :focus-within) { transform: translateY(-4px); }
.home-page .security-no { color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 11px; }
.home-page .security-icon { width: 46px; height: 46px; margin: 18px 0 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); background: var(--surface-soft); box-shadow: 0 4px 9px rgba(35, 67, 106, .1), inset 0 1px 0 var(--surface-edge); }
.home-page #security .security-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.home-page #security .security-card p { font-size: 13px; line-height: 1.9; }
.home-page .home-security-meta { margin-bottom: 12px; gap: 7px; font-size: 11px; }
.home-page .home-security-actions { gap: 10px; padding-top: 12px; }
.home-page .home-security-action,
.home-page .home-security-action:is(:hover, :focus-visible) { position: relative; overflow: hidden; justify-content: center; min-height: 38px; padding: 9px 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); box-shadow: inset 0 1px 0 var(--surface-edge); color: var(--blue); font-size: 12px; transition: transform .2s ease; }
.home-page .home-security-action:nth-child(2):not(.unavailable) { border-color: var(--button-border); background: var(--button-primary); box-shadow: var(--button-shadow); color: #fff; }
.home-page .home-security-action:not(.unavailable):is(:hover, :focus-visible) { transform: translateY(-2px); }
.home-page .home-security-action::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); opacity: 0; transform: translateX(-100%); }
.home-page .home-security-action:not(.unavailable):is(:hover, :focus-visible)::after { animation: hero-download-sheen .75s ease-out; }
.home-page .home-security-action svg { width: 13px; height: 13px; }
.home-page .home-security-action.unavailable { color: var(--muted); }

.home-page .advantage-summary { align-items: center; gap: 28px; }
.home-page .advantage-summary > p { max-width: 355px; font-size: 13px; line-height: 1.8; }
.home-page .outline-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; white-space: nowrap; }
.home-page .outline-link svg { width: 14px; height: 14px; }
.home-page .advantage-summary .outline-link { border: 0; padding: 0; }
.home-page .advantage-grid { border: 0; column-gap: 36px; }
.home-page .advantage,
.home-page .advantage:nth-child(odd),
.home-page .advantage:nth-child(even),
html[data-theme] .home-page .advantage:hover { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); box-shadow: var(--shadow-card); transform: none; transition: transform .2s ease; }
.home-page .advantage-grid { gap: 20px; }
html[data-theme] .home-page .advantage:hover { transform: translateY(-3px); }
.home-page .advantage::after { display: none; }
.home-page .advantage-top { color: var(--muted); }
.home-page .advantage .no { color: var(--muted); font-size: 11px; }
.home-page .advantage-icon { box-sizing: content-box; width: 20px; height: 20px; padding: 9px; border-radius: 9px; border: 1px solid var(--line); color: var(--blue); background: var(--surface-soft); box-shadow: inset 0 1px 0 var(--surface-edge); }
.home-page .advantage h3 { margin: 21px 0 10px; font-size: 17px; font-weight: 600; }
.home-page .advantage p { max-width: none; font-size: 13px; line-height: 1.9; }

.home-page .home-protection-heading h2 { font-size: 32px; }
.home-page .home-protection-heading { display: flex; align-items: flex-end; gap: 24px; }
.home-page .home-protection-toolbar { flex-shrink: 0; justify-content: flex-end; }
.home-page .home-protection-toolbar { gap: 24px; }
.home-page .home-protection-count { font-size: 12px; }
.home-page .home-protection-all { font-size: 12px; }
.home-page .home-protection-controls button { width: 34px; height: 34px; border-radius: 7px; background: var(--surface-raised); box-shadow: var(--shadow-card); }
.home-page .home-protection-carousel { padding-block: 4px 22px; }
html[data-theme] .home-page .home-protection-card { border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-card); }
.home-page .home-protection-copy { min-height: 120px; padding: 17px 18px; }
.home-page .home-protection-meta { font-size: 11px; }
.home-page .home-protection-copy h3 { margin: 10px 0 17px; font-size: 18px; font-weight: 600; }
.home-page .home-protection-detail { font-size: 12px; }
.home-page .protection { padding-top: 36px; border-top: 0; }
.home-page .protection .section-head { padding-top: 16px; border-top: 0; }
.home-page .protection .section-kicker { display: none; }
.home-page .protection .section-head h2 { font-size: 26px; }
.home-page .protection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border: 0; }
.home-page .protection-item { min-height: 150px; padding: 23px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); box-shadow: var(--shadow-card); }
.home-page .protection-item:last-child { border-right: 1px solid var(--line); }
.home-page .protection-item span { color: var(--muted); font-size: 11px; }
.home-page .protection-item h3 { margin: 16px 0 8px; font-size: 16px; }
.home-page .protection-item p { font-size: 12px; }

.home-page .tutorial-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
html[data-theme] .home-page .tutorial-feature { min-height: 0; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); box-shadow: var(--shadow-panel); }
.home-page .tutorial-feature::after { display: none; }
.home-page .tutorial-feature > svg { box-sizing: content-box; width: 28px; height: 28px; padding: 13px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); background: var(--surface-raised); box-shadow: var(--shadow-card); }
.home-page .tutorial-feature h3 { margin: 12px 0; color: var(--ink); font-size: 23px; font-weight: 600; }
.home-page .tutorial-feature p { max-width: none; color: var(--muted); font-size: 13px; }
.home-page .manual-quick-links { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-page .manual-quick-links a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: var(--surface-raised); box-shadow: var(--shadow-card); font-size: 13px; }
.home-page .manual-quick-links svg { width: 15px; height: 15px; }
.home-page .tutorial-list { display: grid; gap: 12px; border: 0; }
html[data-theme] .home-page .tutorial-item,
html[data-theme] .home-page .tutorial-item:hover { min-height: 94px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); box-shadow: var(--shadow-card); transition: transform .2s ease; }
html[data-theme] .home-page .tutorial-item:hover { transform: translateY(-3px); }
.home-page .tutorial-item h4 { margin: 5px 0; font-size: 15px; font-weight: 500; }
.home-page .tutorial-item p { color: var(--muted); font-size: 12px; }
.home-page .tutorial-type { color: var(--muted); font-size: 10px; }
.home-page .tutorial-item > svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--blue); }

html[data-theme] .home-page .contact { padding-block: 20px 54px; border: 0; background: var(--bg); }
.home-page .contact::before, .home-page .contact::after { display: none; }
.home-page .contact .wrap { align-items: center; gap: 48px; padding: 38px 42px; border: 1px solid #3c536c; border-radius: 16px; background: radial-gradient(ellipse at 85% 20%, rgba(59, 121, 180, .32), transparent 65%), linear-gradient(135deg, #283c53, #182a40); box-shadow: 0 20px 35px -12px rgba(22, 43, 70, .3), inset 0 1px 0 rgba(255, 255, 255, .16); }
html[data-theme] .home-page .contact .kicker { margin-bottom: 10px; color: #acc7e2; font-size: 10px; }
html[data-theme] .home-page .contact h2 { margin: 0; color: #fff; font-size: 30px; font-weight: 600; }
.home-page .contact-copy { max-width: 465px; display: flex; align-items: center; gap: 30px; }
html[data-theme] .home-page .contact-copy p { color: #c7d6e6; font-size: 13px; }
html[data-theme] .home-page .contact .btn-primary { flex-shrink: 0; min-height: 44px; padding-inline: 18px; border: 1px solid var(--button-border); border-radius: 7px; background: var(--button-primary); box-shadow: var(--button-shadow); color: #fff; font-size: 13px; }
html[data-theme] .home-page .footer { padding-top: 44px; background: var(--bg); border-color: var(--line); color: var(--muted); }
.home-page .footer-top { padding-bottom: 34px; }
.home-page .footer .brand img { width: 126px; }
.home-page .footer .footer-dark-logo { display: none; }
html[data-theme="dark"] .home-page .footer .footer-dark-logo { display: block; }
html[data-theme="dark"] .home-page .footer .footer-light-logo { display: none; }
.home-page .footer-note { max-width: 320px; font-size: 12px; line-height: 1.9; }
.home-page .footer-links { gap: 64px; }
html[data-theme] .home-page .footer-links strong { margin-bottom: 16px; color: var(--ink); font-size: 12px; font-weight: 600; }
.home-page .footer-links a { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.home-page .footer-bottom { min-height: 57px; color: var(--muted); font-size: 11px; }
.home-page .site-theme-switcher { right: 20px; bottom: 20px; gap: 4px; padding: 4px; border-radius: 6px; border-color: var(--line); background: var(--panel); box-shadow: 0 2px 12px rgba(20, 30, 36, .06); }
.home-page .site-theme-switcher button { width: 32px; height: 32px; padding: 6px; border-radius: 4px; font-size: 0; }
.home-page .theme-switch-icon { font-size: 16px; }

@media (max-width: 1120px) {
  .home-page .wrap { width: calc(100% - 64px); }
  html[data-theme] .home-page .topbar { padding-inline: 32px; }
  .home-page .auth { display: flex; }
  .home-page .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 16px 32px; background: var(--panel); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; }
  .home-page .nav.open { display: flex; }
  .home-page .nav > a { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); }
  .home-page .nav a::after { display: none; }
  .home-page .home-mobile-auth { display: flex; width: 100%; gap: 30px; padding-top: 15px; }
  .home-page .home-mobile-auth a { padding: 6px 0; }
  .home-page .home-mobile-auth button { border: 0; padding: 0; }
  .home-page .menu-toggle { display: block; margin-left: 14px; }
  .home-page .topbar .brand { margin-right: auto; }
  .home-page .hero-content { max-width: 660px; }
  .home-page .hero-tagline { font-size: 25px; }
  .home-page .section-head { gap: 30px; }
  .home-page .advantage-summary { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-page .advantage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .home-page .tutorial-grid { gap: 28px; }
}
@media (max-width: 800px) {
  .home-page .section { padding-block: 52px; }
  .home-page .section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home-page .section-desc { max-width: 540px; margin: 0; }
  .home-page .ai-section-head, .home-page .security-section-head { display: flex; }
  .home-page .home-protection-heading { display: flex; }
  .home-page .home-protection-intro { max-width: none; text-align: left; }
  .home-page .ai-section-intro, .home-page .security-section-intro { max-width: none; text-align: left; }
  .home-page .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-page #security .security-card { min-height: 300px; padding: 22px; }
  .home-page .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 0; }
  .home-page .hero-stat { gap: 8px; padding-inline: 16px; }
  html[data-theme] .home-page .hero-stat strong { font-size: 22px; }
  html[data-theme] .home-page .hero-stat-label { font-size: 11px; }
  .home-page .home-protection-toolbar { width: 100%; justify-content: flex-start; gap: 18px; margin: 0; }
  .home-page .home-protection-controls { margin-left: auto; }
  .home-page .home-protection-count { flex-basis: auto; }
  .home-page .contact-copy { display: block; max-width: 340px; }
  .home-page .contact-copy .btn { margin-top: 18px; }
  .home-page .footer-links { gap: 32px; }
}
@media (max-width: 600px) {
  .home-page .wrap { width: calc(100% - 40px); }
  html[data-theme] .home-page .topbar { height: 68px; padding-inline: 20px; }
  .home-page .topbar .brand img { width: 120px; }
  .home-page .auth { display: none; }
  .home-page .nav { top: 68px; padding-inline: 20px; }
  html[data-theme] .home-page .hero { --hero-fade-size: 160px; min-height: 0; margin-top: 68px; padding-bottom: 18px; }
  html[data-theme] .home-page .hero-artwork { top: 0; right: 0; width: 100%; height: 100%; }
  .home-page .hero-artwork-slide:not(.hero-artwork-panorama) img { right: 0; width: 100%; height: auto; }
  .home-page .hero-artwork-panorama img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .home-page .hero-carousel-controls { top: 12px; right: 20px; }
  .home-page .hero .wrap { padding-block: 42px 36px; }
  .home-page .hero-content { max-width: none; }
  .home-page .hero .kicker { font-size: 10px; margin-bottom: 18px; }
  html[data-theme] .home-page .hero h1.hero-brand-line { margin-bottom: 18px; font-size: 48px; }
  .home-page .hero-brand-line span { margin-left: 8px; font-size: 12px; }
  .home-page .hero-tagline { margin-bottom: 14px; font-size: 22px; line-height: 1.5; }
  html[data-theme] .home-page .hero-lead { font-size: 13px; line-height: 1.85; }
  html[data-theme] .home-page .hero-download-head { margin-top: 24px; font-size: 11px; }
  .home-page .hero-downloads { grid-template-columns: 1fr; gap: 8px; }
  html[data-theme] .home-page .hero-download,
  html[data-theme] .home-page .hero-download:is(:hover, :focus-visible) { min-height: 64px; padding: 12px 16px; gap: 12px; grid-template-columns: minmax(0, 1fr) 18px; }
  .home-page .hero-download-copy { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  html[data-theme] .home-page .hero-download-copy strong { font-size: 16px; }
  .home-page .hero-download-desktop-label { display: none; }
  .home-page .hero-download-mobile-label { display: inline; }
  .home-page .hero-download-copy time { flex-shrink: 0; white-space: nowrap; }
  .home-page .hero-download-copy small { display: none; }
  html[data-theme] .home-page .hero-download-copy time { font-size: 12px; }
  .home-page .hero-download-icon { display: block; }
  .home-page .hero-doc-link { margin-top: 18px; font-size: 11px; }
  .home-page .hero-aside { display: none; }
  .home-page .home-metrics { margin-top: 22px; }
  .home-page .hero-stats { padding: 16px 4px; }
  .home-page .hero-stat { flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; }
  html[data-theme] .home-page .hero-stat-icon { flex-basis: 30px; width: 30px; height: 30px; border-radius: 8px; }
  .home-page .hero-stat-icon svg { width: 17px; height: 17px; }
  .home-page .hero-stat-copy { align-items: center; gap: 5px; }
  html[data-theme] .home-page .hero-stat strong { font-size: 18px; }
  html[data-theme] .home-page .hero-stat-label { font-size: 10px; white-space: nowrap; }
  html[data-theme] .home-page .promo-notice { margin-top: -18px; }
  .home-page .promo-notice .wrap { display: flex; min-height: 60px; padding: 12px 16px; gap: 14px; }
  .home-page .promo-notice .notice-label { gap: 8px; padding-right: 14px; font-size: 13px; }
  .home-page .notice-label svg { width: 18px; height: 18px; }
  html[data-theme] .home-page .promo-track a { font-size: 13px; }
  .home-page .home-news-section { padding-block: 26px; }
  html[data-theme] .home-page .home-news-surface { padding: 20px; }
  .home-page .home-news-heading-copy { gap: 12px; }
  .home-page .home-news-heading-copy > span { font-size: 8px; }
  .home-page .home-news-heading h2 { font-size: 18px; }
  .home-page .home-news-list { grid-template-columns: 1fr; gap: 0; }
  .home-page .home-news-item { min-height: 68px; }
  .home-page .home-news-meta { gap: 8px; }
  .home-page .home-news-title { font-size: 13px; }
  .home-page .home-news-more { font-size: 11px; }
  .home-page .section { padding-block: 42px; }
  .home-page .home-banner-section + .ai-band { padding-top: 42px; }
  .home-page .section-head { display: flex; gap: 14px; margin-bottom: 28px; }
  .home-page .section h2, .home-page .security-band .section-head h2, .home-page .home-protection-heading h2 { font-size: 26px; }
  .home-page .section .ai-title { font-size: 26px !important; }
  .home-page .section-desc { font-size: 12px; }
  .home-page .section-title-line .section-desc { flex-basis: 100%; font-size: 12px; }
  .home-page .security-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-page #security .security-card { min-height: 280px; padding: 22px; }
  .home-page #security .security-card h3 { font-size: 18px; }
  .home-page .security-icon { margin-block: 17px 14px; }
  .home-page .home-security-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-page .advantage-summary { margin-top: 0; }
  .home-page .advantage-summary > p { font-size: 12px; }
  .home-page .advantage-summary .outline-link { margin-top: 0; }
  .home-page .advantage-grid { gap: 16px; }
  .home-page .advantage,
  .home-page .advantage:nth-child(odd),
  .home-page .advantage:nth-child(even),
  html[data-theme] .home-page .advantage:hover { min-height: 190px; padding: 18px 16px; }
  .home-page .advantage h3 { margin: 18px 0 10px; font-size: 16px; }
  .home-page .advantage p { font-size: 12px; }
  .home-page .home-protection-count, .home-page .home-protection-all { font-size: 11px; }
  .home-page .home-protection-toolbar { gap: 14px; }
  .home-page .home-protection-controls button { width: 32px; height: 32px; }
  .home-page .protection { padding-top: 0; }
  .home-page .protection .section-head { padding-top: 18px; }
  .home-page .protection .section-head h2 { font-size: 24px; }
  .home-page .protection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-page .protection-item { min-height: 150px; padding: 20px 16px; }
  .home-page .protection-item h3 { font-size: 15px; }
  .home-page .protection-item p { font-size: 12px; }
  .home-page .tutorial-grid { grid-template-columns: 1fr; gap: 18px; }
  html[data-theme] .home-page .tutorial-feature { padding: 24px; }
  .home-page .tutorial-feature h3 { font-size: 21px; }
  .home-page .tutorial-item { min-height: 96px; }
  .home-page .contact .wrap { display: block; }
  .home-page .contact .wrap { padding: 28px 24px; }
  html[data-theme] .home-page .contact h2 { font-size: 26px; }
  .home-page .contact-copy { margin-top: 20px; max-width: none; }
  .home-page .footer-top { display: block; }
  .home-page .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
  .home-page .footer-bottom { padding-block: 18px; gap: 8px; font-size: 10px; }
  .home-page .site-theme-switcher { top: 14px; right: 68px; bottom: auto; padding: 2px; border: 0; background: transparent; box-shadow: none; }
}
@media (max-width: 380px) {
  .home-page .hero-download-copy { flex-wrap: wrap; gap: 4px 10px; }
  .home-page .hero-download-copy strong { flex-basis: 100%; }
  html[data-theme] .home-page .hero h1.hero-brand-line { margin-bottom: 12px; font-size: 41px; }
  .home-page .hero-brand-line span { display: block; margin: 9px 0 0; }
  .home-page .hero .wrap { padding-block: 20px 36px; }
  .home-page .hero .kicker { margin-bottom: 12px; }
  .home-page .hero-tagline { font-size: 20px; }
  html[data-theme] .home-page .hero-lead { font-size: 12px; line-height: 1.75; }
  html[data-theme] .home-page .hero-download-head { margin-top: 20px; }
  html[data-theme] .home-page .hero-download,
  html[data-theme] .home-page .hero-download:is(:hover, :focus-visible) { min-height: 56px; padding-block: 10px; }
  .home-page .hero-doc-link { margin-top: 14px; }
  .home-page .home-metrics { margin-top: 16px; }
  html[data-theme] .home-page .hero-stat strong { font-size: 16px; }
  .home-page .home-news-heading-copy > span { display: none; }
  .home-page .home-protection-toolbar { gap: 10px; }
  .home-page .home-protection-controls { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] .home-page .hero-download:is(:hover, :focus-visible, :active) { transform: none; }
  html[data-theme] .home-page :is(.ai-band .ai-card, #security .security-card, .advantage, .tutorial-item, .home-security-action):is(:hover, :focus-within, :focus-visible) { transform: none; }
  .home-page .home-security-action:not(.unavailable):is(:hover, :focus-visible)::after { animation: none; }
}
