/*
Theme Name: WPS Office Theme
Theme URI: https://www.wps-wp.com/
Author: WPS Team
Author URI: https://www.wps-wp.com/
Description: 参考 WPS Office 官网设计的现代化 WordPress 主题，具备完整 SEO 优化、语义化 HTML5 结构、响应式布局与高性能表现。适用于办公软件、产品展示类网站。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wps-office-theme
Tags: custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready, one-column, two-columns, right-sidebar, flexible-header, blog, news
*/

/* ==========================================================================
   CSS Variables - Design Tokens
   ========================================================================== */
:root {
  --color-primary: #0066ff;
  --color-primary-hover: #0052cc;
  --color-secondary: #1a1a2e;
  --color-accent: #00d4aa;
  --color-download: linear-gradient(270deg, #ff06a2 0%, #ff6225 100%);
  --color-download-shadow: rgba(255, 0, 60, 0.16);
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e5e7eb;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Inter", var(--font-sans);
  --container-max: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --gradient-accent: linear-gradient(135deg, #ff06a2 0%, #ff6225 100%);
  --btn-focus-ring: 0 0 0 3px rgba(0, 102, 255, 0.24);
  --section-gap: clamp(2.2rem, 5vw, 4rem);
  --card-hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --surface-1: #ffffff;
  --surface-2: #f8f9fa;
  --surface-3: #f3f6fb;
  --hero-bg: linear-gradient(180deg, #f0f7ff 0%, #e8f4fd 70%, #e5f2fc 100%);
  --main-bg: linear-gradient(180deg, #f0f7ff 0%, #e8f4fd 70%, #e5f2fc 100%);
  --footer-bg: linear-gradient(180deg, #f5f7fa 0%, #f0f2f5 100%);
}

:root[data-theme="dark"] {
  --color-primary: #8eb8ff;
  --color-primary-hover: #b2ceff;
  --color-secondary: #f2f7ff;
  --color-text: #dee8fb;
  --color-text-light: #a8b7d2;
  --color-bg: #0f172a;
  --color-bg-alt: #111c34;
  --color-border: #223252;
  --color-download: linear-gradient(270deg, #2563eb 0%, #0ea5e9 100%);
  --color-download-shadow: rgba(14, 165, 233, 0.28);
  --gradient-accent: linear-gradient(135deg, #7dd3fc 0%, #60a5fa 52%, #34d399 100%);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.4);
  --surface-1: #111c34;
  --surface-2: #16243f;
  --surface-3: #192b49;
  --hero-bg: linear-gradient(180deg, #0f172a 0%, #111e36 65%, #122540 100%);
  --main-bg: linear-gradient(180deg, #0f172a 0%, #111b33 65%, #11233e 100%);
  --footer-bg: linear-gradient(180deg, #111b31 0%, #0f172a 100%);
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff06a2 0%, #ff6225 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-logo-img {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
}
.site-logo-img img {
  height: 40px;
  width: auto;
  display: block;
  vertical-align: middle;
}

.site-description {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}

.main-navigation ul,
.main-navigation .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--spacing-md);
}

.main-navigation a {
  color: var(--color-text);
  font-weight: 500;
}

.main-navigation a:hover {
  color: var(--color-primary);
}

.main-navigation .menu-item-has-children {
  position: relative;
}
.main-navigation .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 4px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  vertical-align: 3px;
  opacity: 0.7;
}
.main-navigation .menu-item-has-children > a[role="button"] {
  cursor: pointer;
}
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  padding: var(--spacing-xs) 0;
  margin: 0;
  list-style: none;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  z-index: 100;
  animation: dropdownFade 0.2s ease;
}
.main-navigation .sub-menu::before {
  content: '';
  display: block;
  height: 8px;
  margin-top: -8px;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.main-navigation .menu-item-has-children:hover .sub-menu {
  display: block;
}
.main-navigation .sub-menu li {
  margin: 0;
}
.main-navigation .sub-menu li:first-child a {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.main-navigation .sub-menu li:last-child a {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.main-navigation .sub-menu a {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em var(--spacing-md);
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: normal;
  transition: all var(--transition);
  cursor: pointer;
}
.main-navigation .sub-menu button {
  display: flex;
  align-items: center;
  gap: 0.4em;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.35em var(--spacing-md);
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: normal;
  transition: all var(--transition);
  cursor: pointer;
  text-align: left;
}
.main-navigation .sub-menu .platform-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.main-navigation .sub-menu a:hover {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.06) 0%, rgba(255, 98, 37, 0.06) 100%);
  color: #ff06a2;
}
.main-navigation .sub-menu button:hover {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.06) 0%, rgba(255, 98, 37, 0.06) 100%);
  color: #ff06a2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.language-switcher {
  position: relative;
}

.language-switcher-trigger {
  min-width: 148px;
  justify-content: space-between;
  gap: 0.35rem;
}

.language-current-text {
  font-size: 0.82rem;
}

.language-current-meta {
  font-size: 0.78rem;
  opacity: 0.84;
  white-space: nowrap;
}

.language-switcher-arrow {
  font-size: 0.62rem;
  opacity: 0.85;
  transition: transform var(--transition);
}

.language-switcher.open .language-switcher-arrow {
  transform: rotate(180deg);
}

.language-switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  margin: 0;
  padding: var(--spacing-xs) 0;
  list-style: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.language-switcher.open .language-switcher-menu {
  display: block;
}

.language-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 0.44rem 0.82rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.language-option:hover {
  background: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
}

.language-option.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.theme-toggle {
  min-width: 96px;
  justify-content: center;
}

.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
  padding: var(--spacing-lg) 0 var(--spacing-xl);
  background: var(--hero-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  top: -140px;
  left: -80px;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.18) 0%, rgba(0, 102, 255, 0) 70%);
  animation: heroBlobDriftA 15s ease-in-out infinite alternate;
}

.hero-section::after {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -180px;
  background: radial-gradient(circle at center, rgba(255, 98, 37, 0.2) 0%, rgba(255, 98, 37, 0) 68%);
  animation: heroBlobDriftB 17s ease-in-out infinite alternate;
}

.hero-section .site-container {
  position: relative;
  z-index: 1;
}

.hero-section .site-container::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(40vw, 460px);
  height: min(40vw, 460px);
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 72%);
  filter: blur(3px);
  animation: heroBlobDriftC 19s ease-in-out infinite alternate;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-sm);
  color: var(--color-secondary);
  transform: translate3d(calc(var(--hero-parallax-x) * 0.26), calc(var(--hero-parallax-y) * 0.2), 0);
  transition: transform 0.32s var(--card-hover-ease);
  will-change: transform;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin: 0 auto var(--spacing-md);
  max-width: 600px;
  transform: translate3d(calc(var(--hero-parallax-x) * 0.16), calc(var(--hero-parallax-y) * 0.12), 0);
  transition: transform 0.38s var(--card-hover-ease);
  will-change: transform;
}
.hero-trust-strip {
  margin: 0 auto var(--spacing-md);
  max-width: min(980px, 100%);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 143, 176, 0.24);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 245, 255, 0.9) 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero-trust-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.38) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: trustSheen 9.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-trust-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4b6185;
  font-weight: 700;
}
.hero-trust-track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(137, 160, 191, 0.35);
  position: relative;
}

.trust-badge-item:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.16);
}
.trust-badge-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.13);
}
.hero-seo-intro {
  margin: -0.25rem auto var(--spacing-sm);
  max-width: 760px;
  font-size: 0.9rem;
  color: #4d6280;
  line-height: 1.6;
}
.hero-quick-nav {
  margin: 0 0 var(--spacing-sm);
}
.hero-quick-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-quick-nav-list li {
  margin: 0;
}
.hero-quick-nav-list a {
  display: inline-block;
  font-size: 0.8125rem;
  color: #334155;
  border: 1px solid rgba(51, 65, 85, 0.12);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  background: rgba(255, 255, 255, 0.52);
}
.hero-quick-nav-list a:hover {
  color: var(--color-primary);
  border-color: rgba(0, 102, 255, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: white !important;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.24);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--color-secondary) !important;
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: rgba(0, 102, 255, 0.45);
  color: var(--color-primary) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text) !important;
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.45);
  color: var(--color-primary) !important;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring);
}

/* Hero 下载区 - 参考 wps-wp.com */
.hero-logo-image {
  margin-bottom: var(--spacing-sm);
}
.hero-logo-image img {
  height: 180px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.hero-download-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-2xl);
}

.hero-stats {
  margin-top: var(--spacing-lg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-sm);
}

.hero-stat-card {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hero-stat-number {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.hero-stat-label {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #55637a;
}
.btn-download {
  background: var(--color-download) !important;
  color: #fff !important;
  padding: 0.5rem 4rem;
  border-radius: 2rem;
  box-shadow: 0 12px 32px var(--color-download-shadow);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-download:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px var(--color-download-shadow);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-download:active {
  box-shadow: 0 8px 20px var(--color-download-shadow);
}

/* Hero 下载下拉菜单 */
.download-dropdown {
  position: relative;
  display: inline-block;
}
.download-dropdown-trigger {
  cursor: pointer;
  font-family: inherit;
  border: none;
  font-size: 1rem;
  font-weight: 600;
}
.download-dropdown-trigger .download-dropdown-arrow {
  font-size: 0.65em;
  margin-left: 0.25em;
  opacity: 0.9;
  transition: transform var(--transition);
}
.download-dropdown.open .download-dropdown-trigger .download-dropdown-arrow {
  transform: rotate(180deg);
}
.download-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  padding: var(--spacing-xs) 0;
  margin: 0;
  list-style: none;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  z-index: 100;
  animation: dropdownFade 0.2s ease;
}
.download-dropdown.open .download-dropdown-menu {
  display: block;
}
.download-dropdown-menu li {
  margin: 0;
}
.download-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em var(--spacing-md);
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: normal;
  color: var(--color-text);
  transition: all var(--transition);
  cursor: pointer;
}
.download-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.4em;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  padding: 0.35em var(--spacing-md);
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: normal;
  transition: all var(--transition);
  cursor: pointer;
  text-align: left;
}
.download-dropdown-menu .platform-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.download-dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.06) 0%, rgba(255, 98, 37, 0.06) 100%);
  color: #ff06a2;
}
.download-dropdown-menu button:hover {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.06) 0%, rgba(255, 98, 37, 0.06) 100%);
  color: #ff06a2;
}

.glow-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.46s var(--card-hover-ease), box-shadow 0.46s var(--card-hover-ease);
  transform: translate3d(0, 0, 0);
}
.glow-card:hover {
  transform: translate3d(0, -6px, 0) scale(1.012);
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(37, 99, 235, 0.52), rgba(14, 165, 233, 0.44), rgba(34, 211, 238, 0.42), rgba(37, 99, 235, 0.52));
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.42;
  pointer-events: none;
  animation: cardBorderFlow 11s linear infinite;
}
.glow-card::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -42%;
  height: 52%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.26) 0%, rgba(236, 72, 153, 0.18) 35%, rgba(15, 23, 42, 0) 72%);
  filter: blur(18px);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.glow-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Product Sections - 参考 wps-wp.com */
.product-section {
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
  text-align: center;
}

.home .site-main > section {
  position: relative;
}

.home .site-main > section + section {
  margin-top: var(--section-gap);
}

.home .site-main > section + section::before {
  content: "";
  position: absolute;
  top: calc(var(--section-gap) * -0.5);
  left: 50%;
  transform: translateX(-50%);
  width: min(88vw, 1100px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.5) 50%, transparent 100%);
  pointer-events: none;
  animation: sectionDividerBreath 6.8s ease-in-out infinite;
}
.section-desc {
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.65;
}
.product-ai {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  color: var(--color-text);
  background: linear-gradient(180deg, #e5f2fc 0%, #f5f0f8 25%, rgba(255, 240, 248, 0.9) 50%, #f8f5fa 75%, #f8f9fa 100%);
}
.product-ai .section-title,
.product-ai .section-desc {
  color: var(--color-secondary);
}
.product-ai-intro-image {
  width: 100%;
  padding: 0 var(--spacing-sm);
  overflow: hidden;
}
.product-ai-intro-image img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  vertical-align: bottom;
}
.product-ai-image {
  width: 100%;
  padding: 0 var(--spacing-sm);
  overflow: hidden;
}
.product-ai-image img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}
.product-doc {
  padding-top: var(--spacing-sm);
  background: linear-gradient(180deg, #f8f9fa 0%, #f5f6f8 50%, #f5f6f8 100%);
}
.product-ux {
  background: linear-gradient(180deg, #f5f6f8 0%, #fafbfc 50%, #ffffff 100%);
}
.product-sync {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f8f9fa 100%);
}
.product-365 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f5f7fa 100%);
}
.product-365 .site-container {
  order: 1;
  padding-bottom: 0;
}
.product-365-image {
  order: 2;
  width: 100%;
  padding: 0 var(--spacing-sm);
  overflow: hidden;
}
.product-365-image img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  vertical-align: bottom;
  transition: transform 0.4s ease;
}
.product-365-image:hover img {
  transform: scale(1.05);
}
.product-365 .section-title {
  background: linear-gradient(135deg, #ff06a2 0%, #ff6225 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-365 .section-desc {
  color: var(--color-secondary);
}
.product-365 .btn-primary {
  margin-top: var(--spacing-md);
}
.product-illustration {
  max-width: 900px;
  margin: 0 auto;
}
.ai-placeholder,
.doc-placeholder {
  padding: var(--spacing-2xl);
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
}
.doc-placeholder {
  background: rgba(0,0,0,0.05);
  color: var(--color-text-light);
}
.product-doc-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.product-doc-image img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* 文章网格 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--spacing-sm);
  text-align: left;
}
.article-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.46s var(--card-hover-ease);
  will-change: transform;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
}
.article-thumb {
  display: block;
  height: 180px;
  background-color: #e8f4fd;
  background-size: cover;
  background-position: center;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-content {
  padding: var(--spacing-sm) var(--spacing-md);
}
.article-content h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--spacing-xs);
}
.article-content h3 a {
  color: var(--color-secondary);
}
.article-content h3 a:hover {
  color: var(--color-primary);
}
.article-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #fafbfc 50%, #ffffff 100%);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.42s var(--card-hover-ease), box-shadow 0.42s var(--card-hover-ease);
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  background: var(--color-bg);
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-question:hover {
  background: #fff5f5;
}
.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}
.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e24a4a;
  transition: transform var(--transition);
}
.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer.open {
  opacity: 1;
  transform: translateY(0);
}
.faq-answer p {
  margin: 0;
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 软件下载区 */
.download-section {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
}
.download-card {
  padding: var(--spacing-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.download-card:hover {
  box-shadow: var(--shadow-md);
}
.download-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--spacing-md);
}
.download-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-xs);
}
.download-ver {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}
.download-card .btn {
  margin-top: var(--spacing-sm);
}

/* 多平台下载区 */
.download-platforms-section {
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 var(--spacing-md);
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%);
}
.download-platforms-section .section-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-xs);
}
.download-platforms-desc {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0 0 var(--spacing-md);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  max-width: 720px;
  margin: 0 auto;
}
.download-platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
}
.download-platform-icon {
  width: 32px;
  height: 32px;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}
.download-platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.download-platform-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-xs);
  color: var(--color-secondary);
}
.download-platform-ver {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0 0 var(--spacing-sm);
  white-space: nowrap;
}
.btn-download-platform {
  display: inline-block;
  padding: 0.3em 0.9em;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  min-width: max-content;
  cursor: pointer;
}
.btn-download-platform:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Bottom CTA */
.bottom-cta-section {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.bottom-cta-box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 250, 255, 0.95) 100%);
  border: 1px solid #d7e6ff;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.12);
}

.bottom-cta-title {
  margin: 0 0 var(--spacing-xs);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--color-secondary);
}

.bottom-cta-desc {
  margin: 0 auto var(--spacing-md);
  max-width: 620px;
  color: #4e5e78;
}
@media (max-width: 768px) {
  .download-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .download-platforms-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 var(--spacing-sm);
  color: var(--color-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-sm);
}

.feature-card {
  padding: var(--spacing-lg);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: box-shadow 0.46s var(--card-hover-ease);
}

.feature-card:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff06a2 0%, #ff6225 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-icon-inner {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(255, 106, 0, 0.3);
}
.feature-icon-img {
  background: none;
  width: auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-img img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-xs);
}

.feature-desc {
  color: var(--color-text-light);
  margin: 0;
  font-size: 0.9375rem;
}

/* 使用场景 */
.use-cases-section {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-md);
}

.use-case-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #e6edf9;
  box-shadow: 0 10px 26px rgba(0, 102, 255, 0.08);
  transition: box-shadow 0.46s var(--card-hover-ease);
}

.use-case-card:hover {
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.13);
}

.use-case-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--color-secondary);
}

.use-case-desc {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-secondary);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-xs);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* ==========================================================================
   Content Area
   ========================================================================== */
.site-main {
  padding: var(--spacing-xl) 0;
  min-height: 50vh;
  background: var(--main-bg);
}
.site-main:has(.download-platforms-section) {
  padding-bottom: 0;
}

.entry-header {
  margin-bottom: var(--spacing-lg);
}

.entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-sm);
}

.entry-content {
  font-size: 1.0625rem;
}

.entry-content h2 {
  font-size: 1.5rem;
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

.entry-content p {
  margin: 0 0 var(--spacing-md);
}

/* Posts Grid (Blog) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.post-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-thumbnail-link {
  display: block;
  overflow: hidden;
}

.post-thumbnail-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-thumbnail-link img {
  transform: scale(1.05);
}

.post-content {
  padding: var(--spacing-md);
}

.post-card .entry-title {
  font-size: 1.25rem;
  margin: 0 0 var(--spacing-xs);
}

.post-card .entry-title a {
  color: var(--color-secondary);
}

.post-card .entry-title a:hover {
  color: var(--color-primary);
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

.entry-summary {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.page-header {
  margin-bottom: var(--spacing-xl);
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

/* Help Page */
.help-search-wrap {
  margin: 0 0 var(--spacing-lg);
}

.help-search-form {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.help-search-autocomplete {
  position: relative;
  flex: 1;
  min-width: 0;
}

.help-search-form input[type="search"] {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--color-text);
  min-height: 44px;
}

.help-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.12);
}

.help-search-form .btn {
  white-space: nowrap;
  min-height: 44px;
  border-radius: 2rem;
}

.help-search-form .btn-primary {
  background: var(--color-download);
  color: #fff !important;
  box-shadow: 0 10px 24px var(--color-download-shadow);
  border: none;
}

.help-search-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--color-download-shadow);
}

.help-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 120;
}

.help-search-suggest li {
  margin: 0;
}

.help-search-suggest-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.5rem 0.9rem;
  color: var(--color-text);
}

.help-search-suggest-item:hover {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.06) 0%, rgba(255, 98, 37, 0.06) 100%);
  color: #ff06a2;
}

.help-search-suggest-item.is-active {
  background: linear-gradient(135deg, rgba(255, 6, 162, 0.1) 0%, rgba(255, 98, 37, 0.1) 100%);
  color: #ff06a2;
}

.help-search-suggest-title {
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-search-suggest-meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.help-search-suggest-empty {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.help-search-hint {
  margin: var(--spacing-sm) 0 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.help-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-posts-grid .post-card {
  transform-origin: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.help-posts-grid .post-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(26, 26, 46, 0.14);
}

.help-posts-grid .post-card .entry-title a {
  transition: color var(--transition), background var(--transition);
}

.help-posts-grid .post-card .entry-title a:hover,
.help-posts-grid .post-card .entry-title a:focus-visible {
  background: linear-gradient(90deg, var(--color-primary) 0%, #3f7bff 50%, #6a5bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 992px) {
  .help-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .help-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .help-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: var(--spacing-md) 0 var(--spacing-lg);
  background: var(--footer-bg);
  border-top: 1px solid var(--color-border);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.footer-report {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.footer-report a {
  color: var(--color-text-light);
}
.footer-report a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Motion & Dark Theme
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

:root[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(34, 50, 82, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

:root[data-theme="dark"] .main-navigation a,
:root[data-theme="dark"] .site-description {
  color: var(--color-text-light);
}

:root[data-theme="dark"] .main-navigation a:hover {
  color: var(--color-primary);
}

:root[data-theme="dark"] .main-navigation .sub-menu,
:root[data-theme="dark"] .download-dropdown-menu,
:root[data-theme="dark"] .help-search-suggest {
  background: var(--surface-1);
  border-color: var(--color-border);
}

:root[data-theme="dark"] .main-navigation .sub-menu a,
:root[data-theme="dark"] .main-navigation .sub-menu button,
:root[data-theme="dark"] .download-dropdown-menu a,
:root[data-theme="dark"] .download-dropdown-menu button {
  color: var(--color-text);
}

:root[data-theme="dark"] .main-navigation .sub-menu a:hover,
:root[data-theme="dark"] .main-navigation .sub-menu button:hover,
:root[data-theme="dark"] .download-dropdown-menu a:hover,
:root[data-theme="dark"] .download-dropdown-menu button:hover,
:root[data-theme="dark"] .help-search-suggest-item:hover,
:root[data-theme="dark"] .help-search-suggest-item.is-active {
  background: rgba(118, 168, 255, 0.14);
  color: var(--color-primary);
}

:root[data-theme="dark"] .hero-section,
:root[data-theme="dark"] .site-main {
  background: var(--main-bg);
}

:root[data-theme="dark"] .language-switcher-menu {
  background: var(--surface-1);
  border-color: var(--color-border);
}

:root[data-theme="dark"] .hero-stat-card,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .article-card,
:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .download-card,
:root[data-theme="dark"] .download-platform-card,
:root[data-theme="dark"] .use-case-card,
:root[data-theme="dark"] .bottom-cta-box {
  background: var(--surface-1);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] .product-ai {
  background: linear-gradient(180deg, #12233f 0%, #152948 35%, #172d4f 100%);
}

:root[data-theme="dark"] .product-doc,
:root[data-theme="dark"] .faq-section,
:root[data-theme="dark"] .download-platforms-section,
:root[data-theme="dark"] .bottom-cta-section,
:root[data-theme="dark"] .use-cases-section,
:root[data-theme="dark"] .product-ux,
:root[data-theme="dark"] .product-sync,
:root[data-theme="dark"] .product-365 {
  background: linear-gradient(180deg, #111c34 0%, #162845 100%);
}

:root[data-theme="dark"] .faq-question {
  background: var(--surface-1);
  color: var(--color-text);
}

:root[data-theme="dark"] .faq-question:hover {
  background: rgba(118, 168, 255, 0.08);
}

:root[data-theme="dark"] .hero-quick-nav-list a,
:root[data-theme="dark"] .btn-download-platform {
  background: var(--surface-2);
  border-color: var(--color-border);
  color: var(--color-text);
}

:root[data-theme="dark"] .site-footer {
  background: var(--footer-bg);
}

:root[data-theme="dark"] .hero-trust-strip {
  background: linear-gradient(120deg, rgba(16, 31, 58, 0.94) 0%, rgba(17, 41, 73, 0.94) 100%);
  border-color: rgba(94, 142, 212, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}
:root[data-theme="dark"] .hero-trust-label {
  color: #b6caf0;
}
:root[data-theme="dark"] .trust-badge-item {
  background: rgba(16, 29, 52, 0.92);
  border-color: rgba(88, 130, 199, 0.46);
  color: #e2ebfb;
}
:root[data-theme="dark"] .trust-badge-item:hover {
  border-color: rgba(125, 171, 246, 0.74);
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.22);
}
:root[data-theme="dark"] .glow-card::before {
  opacity: 0.68;
  animation-duration: 13s;
}
:root[data-theme="dark"] .glow-card::after {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.34) 0%, rgba(59, 130, 246, 0.26) 38%, rgba(15, 23, 42, 0) 72%);
}
:root[data-theme="dark"] .hero-section::before {
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.24) 0%, rgba(59, 130, 246, 0) 70%);
}
:root[data-theme="dark"] .hero-section::after {
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.2) 0%, rgba(34, 211, 238, 0) 70%);
}
:root[data-theme="dark"] .hero-section .site-container::after {
  background: radial-gradient(circle at center, rgba(125, 211, 252, 0.2) 0%, rgba(125, 211, 252, 0) 72%);
}
:root[data-theme="dark"] .btn-download:hover {
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.34), 0 0 18px rgba(56, 189, 248, 0.22);
}

:root[data-theme="dark"] .footer-copyright,
:root[data-theme="dark"] .footer-report,
:root[data-theme="dark"] .footer-report a {
  color: var(--color-text-light);
}
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-navigation ul {
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
  }

  .theme-toggle {
    width: 100%;
  }

  .hero-section {
    padding: var(--spacing-xl) 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero-trust-strip {
    border-radius: 20px;
    padding: 0.8rem;
  }

  .hero-trust-label {
    text-align: left;
  }

  .hero-trust-track {
    justify-content: flex-start;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .home .site-main > section + section {
    margin-top: clamp(1.3rem, 4vw, 2rem);
  }

}

@keyframes cardBorderFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 240% 50%;
  }
}

@keyframes trustSheen {
  0%,
  72% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes heroBlobDriftA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(36px, 26px, 0) scale(1.12);
  }
}

@keyframes heroBlobDriftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-34px, -20px, 0) scale(1.1);
  }
}

@keyframes heroBlobDriftC {
  0% {
    transform: translate3d(-50%, 0, 0) scale(0.95);
  }
  100% {
    transform: translate3d(calc(-50% + 18px), 24px, 0) scale(1.08);
  }
}

@keyframes sectionDividerBreath {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) scaleX(0.94);
    filter: blur(0);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scaleX(1.02);
    filter: blur(0.4px);
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  clip: auto !important;
  height: auto;
  width: auto;
  padding: 0.5rem;
  background: var(--color-bg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-title,
  .hero-subtitle {
    transform: none !important;
  }

  .home .site-main > section + section::before {
    animation: none !important;
  }
}
