/**
 * common.css - 合并公共样式文件
 * 包含: normalize.css, theme.css, style.css, support.css, anniu.css, scroll-optimization.css
 */

/* ====== normalize.css ====== */

/**
 * 文件名称：normalize.css
 * 文件功能：CSS重置文件，统一不同浏览器的默认样式，确保跨浏览器的一致性
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. 文档基础样式重置
 * 2. 区块元素样式统一
 * 3. 分组内容样式调整
 * 4. 文本级语义元素样式规范
 * 5. 嵌入内容样式处理
 * 6. 表单元素样式统一
 * 7. 交互元素样式规范
 * 8. 其他杂项样式调整
 * 
 * 关联文件：
 * - static/css/style.css：主样式文件
 * - static/css/main.min.css：压缩合并的CSS文件
 * 
 * 注意事项：
 * - 此文件基于 normalize.css v8.0.1
 * - 遵循 MIT License 开源协议
 * - 建议在所有样式文件之前引入，确保基础样式的一致性
 */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;

    /* 1 */
    -webkit-text-size-adjust: 100%;

    /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;

    /* 1 */
    height: 0;

    /* 1 */
    overflow: visible;

    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;

    /* 1 */
    font-size: 1em;

    /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;

    /* 1 */
    text-decoration: underline;

    /* 2 */
    text-decoration: underline dotted;

    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;

    /* 1 */
    font-size: 1em;

    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;

    /* 1 */
    font-size: 100%;

    /* 1 */
    line-height: 1.15;

    /* 1 */
    margin: 0;

    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;

    /* 1 */
    color: inherit;

    /* 2 */
    display: table;

    /* 1 */
    max-width: 100%;

    /* 1 */
    padding: 0;

    /* 3 */
    white-space: normal;

    /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type='checkbox'],
[type='radio'] {
    box-sizing: border-box;

    /* 1 */
    padding: 0;

    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
    -webkit-appearance: textfield;

    /* 1 */
    outline-offset: -2px;

    /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;

    /* 1 */
    font: inherit;

    /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

/* ====== theme.css ====== */

/**
 * 文件名称：theme.css
 * 文件功能：主题系统样式文件，包含主题变量定义、暗黑模式样式和主题切换效果
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. 核心变量定义（浅色模式）
 * 2. 暗黑模式变量定义
 * 3. 主题切换动画效果
 * 4. 高对比度模式支持
 * 5. 减少动画偏好设置
 * 6. 日/夜主题切换按钮样式
 * 
 * 关联文件：
 * - static/js/theme.js：主题切换逻辑实现
 * - static/js/script.js：与主脚本文件交互
 * - static/css/style.css：基础样式文件
 * 
 * 注意事项：
 * - 使用 CSS 变量实现主题切换
 * - 支持系统主题自动检测
 * - 主题切换时使用平滑过渡效果
 * - 兼容高对比度模式和减少动画偏好设置
 */

/* ================= 核心变量 ================= */
:root {
    /* 主色调 - 蓝色系 */
    --primary: #4a84e8;
    --primary-light: #6b99f0;
    --primary-dark: #3a6bc0;
    --primary-hover: #5a90f5;
    --primary-active: #3a6bc0;

    /* 辅助色 */
    --secondary: #00e5ff;
    --secondary-light: #33eaff;
    --secondary-dark: #00b8cc;

    /* 功能色 */
    --success: #4caf50;
    --success-light: #66bb6a;
    --success-dark: #388e3c;
    --warning: #ff9800;
    --warning-light: #ffb74d;
    --warning-dark: #f57c00;
    --error: #f44336;
    --error-light: #ef5350;
    --error-dark: #d32f2f;
    --info: #2196f3;
    --info-light: #42a5f5;
    --info-dark: #1976d2;

    /* 中性色 - iOS标准 */
    --bg-color: #fff;
    --content-bg: #fff;
    --surface-bg: #f8f9fa;
    --text-main: #000;
    --text-secondary: #3c3c43;
    --text-light: #8e8e93;
    --text-lighter: #c7c7cc;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --divider-color: #f0f0f0;

    /* 旧变量兼容 */
    --pink: var(--primary);
    --blue: var(--secondary);
    --purple: #e1859d;
    --purple1: #a855f7;

    /* 字体 */
    --font-main: 'Noto Sans SC', 'Microsoft YaHei', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;
    --font-mono: 'Consolas', 'Monaco', monospace;

    /* 排版 */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --line-height-xs: 1.2;
    --line-height-sm: 1.3;
    --line-height-base: 1.5;
    --line-height-lg: 1.6;
    --line-height-xl: 1.8;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* 布局 */
    --ios-header-height: 56px;
    --ios-border-color: rgb(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 4px rgb(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgb(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgb(0, 0, 0, 0.1);

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* 响应式断点 */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;

    /* 网格系统 */
    --grid-columns: 12;
    --grid-gutter: var(--space-4);
    --container-max-width: 1200px;
    --container-padding: var(--space-4);

    /* 按钮样式 */
    --btn-primary-bg: var(--primary);
    --btn-primary-color: #fff;
    --btn-primary-hover-bg: var(--primary-hover);
    --btn-primary-active-bg: var(--primary-active);
    --btn-secondary-bg: var(--surface-bg);
    --btn-secondary-color: var(--text-main);
    --btn-secondary-border: var(--border-color);
    --btn-secondary-hover-bg: var(--primary-light);
    --btn-secondary-hover-color: #fff;
    --btn-ghost-bg: transparent;
    --btn-ghost-color: var(--text-main);
    --btn-ghost-border: var(--border-color);
    --btn-ghost-hover-bg: var(--primary);
    --btn-ghost-hover-color: #fff;
    --btn-sm-padding: var(--space-2) var(--space-4);
    --btn-md-padding: var(--space-3) var(--space-6);
    --btn-lg-padding: var(--space-4) var(--space-8);
    --btn-sm-font-size: var(--text-sm);
    --btn-md-font-size: var(--text-base);
    --btn-lg-font-size: var(--text-lg);
    --btn-radius: var(--radius-md);
    --btn-shadow: var(--shadow-sm);
    --btn-hover-shadow: var(--shadow-md);

    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-ease-in-out: 0.3s ease-in-out;

    /* 图标 */
    --icon-size-sm: 16px;
    --icon-size-md: 24px;
    --icon-size-lg: 32px;
    --icon-size-xl: 48px;
    --icon-color: var(--text-main);
    --icon-hover-color: var(--primary);
}

/* ================= 暗黑模式变量 ================= */
.dark-mode {
    /* 主色调 - 优化后的蓝色系，提升可见性 */
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #3b82f6;
    --primary-hover: #7ab8ff;
    --primary-active: #2563eb;

    /* 辅助色 - 增强霓虹效果 */
    --secondary: #22d3ee;
    --secondary-light: #67e8f9;
    --secondary-dark: #06b6d4;

    /* 功能色 - 优化对比度 */
    --success: #4ade80;
    --success-light: #86efac;
    --success-dark: #22c55e;
    --warning: #fb923c;
    --warning-light: #fdba74;
    --warning-dark: #f97316;
    --error: #f87171;
    --error-light: #fca5a5;
    --error-dark: #ef4444;
    --info: #60a5fa;
    --info-light: #93c5fd;
    --info-dark: #3b82f6;

    /* 中性色 - ISO 26标准优化，提升对比度和可读性 */
    --bg-color: #0f0f11;
    --content-bg: #1a1a1d;
    --surface-bg: #242428;
    --surface-elevated: #2d2d33;
    --surface-highlight: #34343a;
    --text-main: #fafafa;
    --text-secondary: #e4e4e7;
    --text-light: #a1a1aa;
    --text-lighter: #71717a;
    --text-muted: #52525b;
    --border-color: #3f3f46;
    --border-light: #2a2a30;
    --border-glow: rgba(96, 165, 250, 0.3);
    --divider-color: #27272a;

    /* 布局阴影 - 优化深度感 */
    --ios-border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.15);

    /* 按钮样式 - 优化暗黑模式下的可见性 */
    --btn-primary-bg: var(--primary);
    --btn-primary-color: #0f0f11;
    --btn-primary-hover-bg: var(--primary-light);
    --btn-primary-active-bg: var(--primary-dark);
    --btn-secondary-bg: var(--surface-bg);
    --btn-secondary-color: var(--text-main);
    --btn-secondary-border: var(--border-color);
    --btn-secondary-hover-bg: var(--surface-highlight);
    --btn-secondary-hover-color: var(--text-main);
    --btn-ghost-bg: transparent;
    --btn-ghost-color: var(--text-secondary);
    --btn-ghost-border: var(--border-color);
    --btn-ghost-hover-bg: var(--surface-bg);
    --btn-ghost-hover-color: var(--text-main);

    /* 玻璃拟态效果变量 */
    --glass-bg: rgba(36, 36, 40, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 20px;
    --glass-saturate: 1.2;

    /* 动画 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-ease-in-out: 0.25s ease-in-out;
}

/* ================= 玻璃拟态效果 ================= */

.glass-panel {
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(var(--glass-blur, 20px));
    -webkit-backdrop-filter: blur(var(--glass-blur, 20px));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-panel-elevated {
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(var(--glass-blur, 24px));
    -webkit-backdrop-filter: blur(var(--glass-blur, 24px));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* 暗黑模式玻璃拟态增强 */
.dark-mode .glass-panel {
    background: rgba(36, 36, 40, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .glass-panel-elevated {
    background: rgba(45, 45, 51, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

/* 霓虹发光效果 */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    opacity: 0;
    filter: blur(8px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.5;
}

.dark-mode .glow-effect:hover::before {
    opacity: 0.7;
}

/* 高级阴影层次 */
.layer-shadow-1 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.layer-shadow-2 {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.layer-shadow-3 {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.layer-shadow-glow {
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(96, 165, 250, 0.15);
}

/* 渐变边框效果 */
.gradient-border {
    position: relative;
    background: var(--surface-bg);
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.dark-mode .gradient-border {
    background: var(--surface-bg);
}

/* 悬停光效 */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hover-shine:hover::after {
    animation: shine-sweep 0.6s ease;
}

@keyframes shine-sweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

/* ================= 主题切换动画 ================= */

/* 全局主题过渡 - 为所有使用CSS变量的元素添加平滑过渡 */
html,
body {
    transition:
        background-color 0.4s ease,
        color 0.4s ease;
}

/* 避免全量元素过渡导致切换卡顿：只给常见文本/背景属性做轻量过渡 */
*,
*:before,
*:after {
    transition:
        background-color 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease;
}

/* 特定元素的主题过渡优化 */
.ios-header,
.ios-main-content,
.tech-card,
.module-card,
.domain-card,
.stat-card,
.why-card,
.nav-menu,
.cta-banner,
.site-footer,
.carousel-container,
.carousel-slide,
.cyber-btn,
.cta-btn,
.domain-btn,
.top-nav-item,
.nav-menu-item,
.percent,
.card-icon,
.module-icon,
.why-icon,
.intro-card,
.licensing-features,
.licensing-advantages,
.licensing-why,
.richness-content,
.guarantee-header,
.marketing-header,
.brand-content,
.hero-wrapper,
.hero-container,
.cta-inner,
.footer-inner,
.content-inner,
.stats-container,
.marketing-modules,
.feature-grid,
.domains-grid,
.why-grid,
.domains-header,
.licensing-intro,
.intro-content {
    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* 表单元素和交互组件过渡 */
input,
textarea,
select,
button {
    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* SVG图标颜色过渡 */
svg,
svg path,
svg circle,
svg rect,
svg line,
svg polyline {
    transition:
        fill 0.4s ease,
        stroke 0.4s ease;
}

/* 图片和背景过渡 */
img,
.character-image,
.richness-image img,
.macbook-logo,
.why-icon img,
.intro-icon img {
    transition:
        filter 0.4s ease,
        opacity 0.4s ease;
}

/* 暗色模式下图片亮度调整 */
.dark-mode img:not(.logo-img, [src*='logo']) {
    filter: brightness(0.95);
}

/* 链接和文字颜色过渡 */
a,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    transition: color 0.4s ease;
}

/* 滚动条颜色过渡 */
::-webkit-scrollbar-track {
    transition: background-color 0.4s ease;
}

::-webkit-scrollbar-thumb {
    transition: background-color 0.4s ease;
}

/* 遮罩和模糊效果过渡 */
#blurOverlay {
    transition:
        backdrop-filter 0.4s ease,
        background-color 0.4s ease;
}

/* 确保动画元素在主题切换时保持流畅 */
.theme-switch__container,
.theme-switch__sun-moon-container,
.theme-switch__moon,
.theme-switch__spot {
    transition:
        background-color 0.4s ease,
        transform 0.4s ease,
        opacity 0.4s ease;
}

/* 主题切换过场：更顺滑 easing + 轻微模糊淡入（克制） */
:root {
    --theme-switch-duration: 350ms;
    --theme-switch-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.theme-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgb(16, 18, 26, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    will-change: opacity;
    transform: translateZ(0);
    transition:
        opacity var(--theme-switch-duration) var(--theme-switch-ease),
        visibility 0s linear var(--theme-switch-duration),
        backdrop-filter var(--theme-switch-duration) var(--theme-switch-ease),
        -webkit-backdrop-filter var(--theme-switch-duration) var(--theme-switch-ease),
        background-color var(--theme-switch-duration) var(--theme-switch-ease);
}

.theme-loader-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    background: rgb(16, 18, 26, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 全局加载动画（基于 Uiverse 版本） */
.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: auto;
    margin: 0;
    padding: 0 10px;
    font-family: Poppins, 'Noto Sans SC', sans-serif;
    font-size: 1.6em;
    font-weight: 600;
    user-select: none;
    color: #fff;
    scale: 1.15;
    opacity: 0.92;
    transform: translateY(4px) scale(0.985);
    will-change: transform, opacity;
    transition:
        transform var(--theme-switch-duration) var(--theme-switch-ease),
        opacity var(--theme-switch-duration) var(--theme-switch-ease);
}

.theme-loader-overlay.active .loader-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: transparent;
    mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, black 7px, black 8px);
}

.loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, #ff0 0%, transparent 50%),
        radial-gradient(circle at 45% 45%, #f00 0%, transparent 45%),
        radial-gradient(circle at 55% 55%, #0ff 0%, transparent 45%),
        radial-gradient(circle at 45% 55%, #0f0 0%, transparent 45%),
        radial-gradient(circle at 55% 45%, #00f 0%, transparent 45%);
    mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, black 25%);
    animation:
        theme-loader-transform 2s infinite alternate,
        theme-loader-opacity 3s infinite;
    animation-timing-function: cubic-bezier(0.6, 0.8, 0.5, 1);
}

.loader-letter {
    display: inline-block;
    opacity: 0;
    will-change: opacity, transform;
    animation: theme-loader-letter-anim 3s infinite linear;
    z-index: 2;
}

.loader-letter:nth-child(1) {
    animation-delay: 0.1s;
}

.loader-letter:nth-child(2) {
    animation-delay: 0.205s;
}

.loader-letter:nth-child(3) {
    animation-delay: 0.31s;
}

.loader-letter:nth-child(4) {
    animation-delay: 0.415s;
}

.loader-letter:nth-child(5) {
    animation-delay: 0.521s;
}

.loader-letter:nth-child(6) {
    animation-delay: 0.626s;
}

.loader-letter:nth-child(7) {
    animation-delay: 0.731s;
}

.loader-letter:nth-child(8) {
    animation-delay: 0.837s;
}

@keyframes theme-loader-transform {
    0% {
        transform: translate(-55%);
    }

    100% {
        transform: translate(55%);
    }
}

@keyframes theme-loader-opacity {

    0%,
    100% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    65% {
        opacity: 0;
    }
}

@keyframes theme-loader-letter-anim {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
        text-shadow: 0 0 4px #fff;
        transform: scale(1.1) translateY(-2px);
    }

    20% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
    }
}

/* 避免对 body 使用 filter 导致 fixed 顶栏绘制异常/消失 */
html.theme-transitioning .ios-main-content {
    opacity: 0.96;
    transition: opacity var(--theme-switch-duration) var(--theme-switch-ease);
}

/* 主题切换瞬间临时降级顶部玻璃效果（仅性能模式启用） */
html.theme-perf-mode.theme-perf-mode.theme-transitioning .ios-header,
html.theme-perf-mode.theme-perf-mode.theme-transitioning .ios-header.scrolled,
html.theme-perf-mode.theme-perf-mode.theme-transitioning .ios-header--dark,
html.theme-perf-mode.theme-perf-mode.theme-transitioning .ios-header--dark.scrolled {
    backdrop-filter: blur(12px) saturate(120%) brightness(1);
    -webkit-backdrop-filter: blur(12px) saturate(120%) brightness(1);
    will-change: auto;
}

/* 主题开关动画性能优化：尽量只走 transform/opacity 合成层 */
.theme-switch,
.theme-switch * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.theme-switch__shooting-star,
.theme-switch__shooting-star-2,
.theme-switch__meteor,
.theme-switch__aurora,
.theme-switch__comets,
.theme-switch__comets .comet,
.theme-switch__stars-cluster .star {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* 避免被全局 transition 拖慢，主题开关内部单独控制时长 */
.theme-switch.theme-switch,
.theme-switch.theme-switch *,
.theme-switch.theme-switch *:before,
.theme-switch.theme-switch *:after {
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 低性能/节能模式下进一步减负，减少粒子与流光层 */
html.theme-perf-mode.theme-perf-mode .theme-switch__shooting-star.theme-switch__shooting-star,
html.theme-perf-mode.theme-perf-mode .theme-switch__shooting-star-2.theme-switch__shooting-star-2,
html.theme-perf-mode.theme-perf-mode .theme-switch__meteor.theme-switch__meteor,
html.theme-perf-mode.theme-perf-mode .theme-switch__aurora.theme-switch__aurora,
html.theme-perf-mode.theme-perf-mode .theme-switch__comets.theme-switch__comets {
    display: none;
}

/* ================= iOS 长按菜单（全局） ================= */
:root {
    --ios-lp-radius: 20px;
    --ios-lp-item-radius: 12px;
    --ios-lp-border: rgb(180, 210, 255, 0.25);
    --ios-lp-bg-1: rgb(30, 38, 58, 0.72);
    --ios-lp-bg-2: rgb(18, 24, 38, 0.6);
    --ios-lp-item-bg: rgb(255, 255, 255, 0.03);
    --ios-lp-item-hover: rgb(255, 255, 255, 0.12);
    --ios-lp-text: #f5f8ff;
    --ios-lp-title: rgb(255, 255, 255, 0.6);
}

.ios-liquid-longpress-menu {
    position: fixed;
    z-index: 12000;
    width: 236px;
    min-width: 228px;
    max-width: 244px;
    padding: 8px 8px 6px;
    border-radius: var(--ios-lp-radius);
    border: 1px solid var(--ios-lp-border);
    background: linear-gradient(140deg, var(--ios-lp-bg-1), var(--ios-lp-bg-2));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 18px 48px rgb(0, 0, 0, 0.42),
        inset 0 1px 0 rgb(255, 255, 255, 0.26);
    transform: scale(0.945) translateY(-5px);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        visibility 0.24s ease;
}

.ios-liquid-longpress-menu:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-top: 1px solid var(--ios-lp-border);
    border-left: 1px solid var(--ios-lp-border);
    background: linear-gradient(140deg,
            color-mix(in srgb, var(--ios-lp-bg-1) 92%, transparent),
            color-mix(in srgb, var(--ios-lp-bg-2) 92%, transparent));
}

.ios-liquid-longpress-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    animation: ios-context-pop 260ms cubic-bezier(0.22, 0.68, 0.24, 1.03);
}

.ios-liquid-longpress-menu .liquid-menu-title {
    position: relative;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ios-lp-title);
    margin: 2px 6px 10px;
    padding-bottom: 6px;
}

.ios-liquid-longpress-menu .liquid-menu-title:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgb(180, 210, 255, 0.22), rgb(180, 210, 255, 0.08));
}

.ios-liquid-longpress-menu .liquid-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 28px 10px 12px;
    border-radius: var(--ios-lp-item-radius);
    color: var(--ios-lp-text);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid transparent;
    background: var(--ios-lp-item-bg);
    transform: scale(1);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.18s ease;
}

.ios-liquid-longpress-menu .liquid-menu-item+.liquid-menu-item {
    margin-top: 6px;
}

.ios-liquid-longpress-menu .liquid-menu-item:hover {
    background: var(--ios-lp-item-hover);
    border-color: rgb(255, 255, 255, 0.22);
    transform: scale(1.01);
}

.ios-liquid-longpress-menu .liquid-menu-item:active {
    transform: scale(0.985);
    transition-duration: 0.08s;
}

.ios-liquid-longpress-menu .liquid-menu-item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgb(130, 180, 255, 0.55),
        0 0 0 5px rgb(130, 180, 255, 0.2);
}

.ios-liquid-longpress-menu .liquid-menu-item.is-suggested {
    background: rgb(125, 180, 255, 0.18);
    border-color: rgb(165, 205, 255, 0.35);
}

.ios-liquid-longpress-menu .liquid-menu-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(157, 194, 255, 0.2);
    border: 1px solid rgb(182, 214, 255, 0.32);
    color: #e8f2ff;
    opacity: 1;
    flex-shrink: 0;
}

.ios-liquid-longpress-menu .liquid-menu-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentcolor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ios-liquid-longpress-menu .liquid-menu-label {
    flex: 1;
}

.ios-liquid-longpress-menu .liquid-menu-item:after {
    content: '›';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(235, 245, 255, 0.45);
    font-size: 16px;
    line-height: 1;
}

@keyframes ios-context-pop {
    0% {
        opacity: 0;
        transform: scale(0.935) translateY(-6px);
    }

    70% {
        opacity: 1;
        transform: scale(1.018) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ios-longpress-trigger.ios-longpress-flash {
    box-shadow: 0 0 0 0 rgb(105, 170, 255, 0.55);
    animation: ios-longpress-blue-flash 1000ms ease-out;
}

@keyframes ios-longpress-blue-flash {
    0% {
        box-shadow: 0 0 0 0 rgb(105, 170, 255, 0.55);
    }

    100% {
        box-shadow: 0 0 0 12px rgb(105, 170, 255, 0);
    }
}

html.ios-scroll-lock.ios-scroll-lock,
body.ios-scroll-lock.ios-scroll-lock {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

html:not(.dark-mode) {
    --ios-lp-border: rgb(170, 198, 238, 0.35);
    --ios-lp-bg-1: rgb(248, 252, 255, 0.98);
    --ios-lp-bg-2: rgb(238, 246, 255, 0.93);
    --ios-lp-item-bg: rgb(255, 255, 255, 0.7);
    --ios-lp-item-hover: rgb(255, 255, 255, 0.92);
    --ios-lp-text: #0e1f33;
    --ios-lp-title: rgb(20, 40, 72, 0.6);
}

.ios-longpress-tip {
    position: fixed;
    z-index: 12010;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    color: #f0f6ff;
    background: rgb(20, 28, 46, 0.88);
    border: 1px solid rgb(180, 210, 255, 0.28);
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.ios-longpress-tip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ================= 高对比度模式支持 ================= */
@media (prefers-contrast: high) {
    .ios-header:after {
        border-color: rgb(0, 0, 0, 0.5);
        opacity: 1;
    }

    .dark-mode .ios-header:after {
        border-color: rgb(255, 255, 255, 0.5);
    }
}

/* ================= 减少动画偏好设置 ================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================= 日/夜主题切换按钮 ================= */
.fox-theme-toggle {
    display: block;
    position: relative;
    width: 50px;
    height: 30px;
    cursor: pointer;
    z-index: 9999;
}

.fox-theme-toggle input[type='checkbox'] {
    cursor: pointer;
    z-index: 3;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.fox-switch {
    display: block;
    position: relative;
    width: 50px;
    height: 30px;
    border: 4px solid dodgerblue;
    border-radius: 30px;
    transition: border-color 0.25s ease 0s;
}

.fox-switch .fox-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 20px;
    width: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 100%;
    top: 50%;
    margin-top: -10px;
    left: 1px;
    transform: translateX(0);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
    box-shadow: 0 2px 8px rgb(251, 191, 36, 0.4);
}

.fox-button svg {
    width: 12px;
    height: 12px;
    position: absolute;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        rotate 0.3s ease;
}

.sun-icon {
    color: #fff;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    color: #fefcd7;
    opacity: 0;
    transform: rotate(-90deg) scale(1.3);
}

.dark-mode .fox-switch {
    border-color: #fff;
}

.dark-mode .fox-switch .fox-button {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    box-shadow: 0 2px 8px rgb(30, 58, 95, 0.6);
}

.dark-mode .fox-button .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.dark-mode .fox-button .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1.3);
}

.fox-theme-toggle input[type='checkbox']:checked~.fox-switch .fox-button {
    transform: translateX(20px);
}

.fox-theme-toggle input[type='checkbox']:checked~.fox-switch .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.fox-theme-toggle input[type='checkbox']:checked~.fox-switch .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1.3);
}

/* ====== style.css ====== */

/**
 * 文件名称：style.css
 * 文件功能：网站主样式文件，包含全局样式、组件样式和响应式设计
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. 全局样式重置和基础设置
 * 2. 导航栏样式
 * 3. 内容区域样式
 * 4. 卡片组件样式
 * 5. 按钮组件样式
 * 6. 响应式设计
 * 7. 动画效果
 * 
 * 关联文件：
 * - static/js/script.js：与主脚本文件交互，处理DOM操作和事件监听
 * - static/css/theme.css：主题切换相关样式
 * - static/css/scroll-optimization.css：滚动优化相关样式
 * 
 * 注意事项：
 * - 所有样式采用 BEM 命名规范
 * - 支持深色模式和浅色模式
 * - 响应式设计适配不同屏幕尺寸
 */

/* HUD圆圈样式 - 已合并到 Banner 核心设计区块 */

/* 产品丰富区块的HUD圆圈样式 */
.product-richness-section__hud-circle--1 {
    width: 40vw;
    height: 40vw;
    right: -10vw;
    top: -10vw;
}

.product-richness-section__hud-circle--2 {
    width: 25vw;
    height: 25vw;
    left: -5vw;
    bottom: -5vw;
    border: 2px dashed rgb(74, 132, 232, 0.15);
}

.product-richness-section__hud-circle--3 {
    width: 20vw;
    height: 20vw;
    right: 15vw;
    bottom: 15vw;
    border: 1px solid rgb(0, 229, 255, 0.1);
    animation-duration: 20s;
}

/* 技术卡片样式 */
.tech-card-blue {
    --accent: var(--blue);
}

.tech-card-green {
    --accent: #4caf50;
}

.tech-card-pink {
    --accent: var(--pink);
}

.tech-card-orange {
    --accent: #ff9800;
}

.tech-card-purple {
    --accent: #9c27b0;
}

.tech-card-blue2 {
    --accent: #2196f3;
}

.tech-card-gray {
    --accent: #607d8b;
}

/* 模块卡片样式 */
.module-card-blue {
    --accent: var(--blue);
}

.module-card-green {
    --accent: #4caf50;
}

.module-card-pink {
    --accent: var(--pink);
}

.module-card-orange {
    --accent: #ff9800;
}

.module-card-purple {
    --accent: #944bda;
}

.module-card-red {
    --accent: #f00;
}

/* 无背景图片 */
.no-background {
    background: none;
}

/* 百分比图表样式 */
.percent-blue {
    --clr: #4a84e8;
    --num: 85;
}

.percent-cyan {
    --clr: #00e5ff;
    --num: 95;
}

.percent-red {
    --clr: #f00;
    --num: 70;
}

.percent-green {
    --clr: #4caf50;
    --num: 80;
}

.percent-purple {
    --clr: #9c27b0;
    --num: 99;
}

.percent-yellow {
    --clr: #ffeb3b;
    --num: 70;
}

.percent-orange {
    --clr: #ff9800;
    --num: 75;
}

.percent-pink {
    --clr: #e91e63;
    --num: 98;
}

/* 数字动画样式 */
.animated-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    line-height: 200px;
    font-family: Arial, sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgb(74, 132, 232, 0.8);
}

/* 星星样式 */
.star-0 {
    --j: 0;
    --y: 0.1;
}

.star-1 {
    --j: 1;
    --y: 0.5;
}

.star-2 {
    --j: 2;
    --y: 0.2;
}

.star-3 {
    --j: 3;
    --y: 0.1;
}

.star-4 {
    --j: 4;
    --y: 0.6;
}

.star-5 {
    --j: 5;
    --y: 0.2;
}

.star-6 {
    --j: 6;
    --y: 0.9;
}

.star-7 {
    --j: 7;
    --y: 0.4;
}

.star-8 {
    --j: 8;
    --y: 0.3;
}

.star-9 {
    --j: 9;
    --y: 0.5;
}

.star-10 {
    --j: 10;
    --y: 0.3;
}

.star-11 {
    --j: 11;
    --y: 0.4;
}

.star-12 {
    --j: 12;
    --y: 0.7;
}

.star-13 {
    --j: 13;
    --y: 0.8;
}

.star-14 {
    --j: 14;
    --y: 0.1;
}

.star-15 {
    --j: 15;
    --y: 0.2;
}

.star-16 {
    --j: 16;
    --y: 0.9;
}

.star-17 {
    --j: 17;
    --y: 0.4;
}

.star-18 {
    --j: 18;
    --y: 0.3;
}

.star-19 {
    --j: 19;
    --y: 0.5;
}

.star-20 {
    --j: 20;
    --y: 0.9;
}

.star-21 {
    --j: 21;
    --y: 0.2;
}

.star-22 {
    --j: 22;
    --y: 0.6;
}

.star-23 {
    --j: 23;
    --y: 0.2;
}

.star-24 {
    --j: 24;
    --y: 0.8;
}

.star-25 {
    --j: 25;
    --y: 0.7;
}

.star-26 {
    --j: 26;
    --y: 0.1;
}

.star-27 {
    --j: 27;
    --y: 0.3;
}

/* 星系手臂深度样式 */
.arm-depth-1 {
    --d: 1;
}

.arm-depth-2 {
    --d: 2;
}

.arm-depth-3 {
    --d: 3;
}

.arm-depth-4 {
    --d: 4;
}

/* 授权页面样式 */
.intro-card-top {
    margin-top: 30px;
}

.license-icon-image {
    width: 164px;
    height: 164px;
}

.intro-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tech-card-primary {
    --accent: var(--primary);
}

.tech-card-secondary {
    --accent: var(--secondary);
}

.license-status-icon {
    width: 58px;
    height: 58px;
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 图片文案 */
.image-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* 轮播图文案 */
.carousel-slide {
    position: relative;
}

.carousel-slide__image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.6);
    color: var(--text-main);
    padding: 8px 16px;
    font-size: 12px;
    margin-top: 0;
}

/* ================= 浏览器兼容性支�?=================
/* 支持 backdrop-filter 的浏览器 */
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {

    /* 已支持的浏览器使用液态玻璃效�? */
    .tech-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    #blurOverlay {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* 不支�?backdrop-filter 的浏览器降级方案 */
@supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
    .ios-header.scrolled:before {
        background: rgb(255, 255, 255, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .dark-mode .ios-header.scrolled:before {
        background: rgb(30, 30, 30, 0.95);
    }

    .tech-card {
        background: rgb(255, 255, 255, 0.9);
    }

    .dark-mode .tech-card {
        background: rgb(30, 30, 40, 0.9);
    }

    #blurOverlay {
        background: rgb(0, 0, 0, 0.6);
    }
}

/* 减少动画偏好设置 - 尊重用户系统设置 */
@media (prefers-reduced-motion: reduce) {

    /* 禁用所有动�? */
    html,
    body,
    div,
    span,
    applet,
    object,
    iframe,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    blockquote,
    pre,
    a,
    abbr,
    acronym,
    address,
    big,
    cite,
    code,
    del,
    dfn,
    em,
    img,
    ins,
    kbd,
    q,
    s,
    samp,
    small,
    strike,
    strong,
    sub,
    sup,
    tt,
    var,
    b,
    u,
    i,
    center,
    dl,
    dt,
    dd,
    ol,
    ul,
    li,
    fieldset,
    form,
    label,
    legend,
    table,
    caption,
    tbody,
    tfoot,
    thead,
    tr,
    th,
    td,
    article,
    aside,
    canvas,
    details,
    embed,
    figure,
    figcaption,
    footer,
    header,
    hgroup,
    menu,
    nav,
    output,
    ruby,
    section,
    summary,
    time,
    mark,
    audio,
    video,
    html:before,
    body:before,
    div:before,
    span:before,
    applet:before,
    object:before,
    iframe:before,
    h1:before,
    h2:before,
    h3:before,
    h4:before,
    h5:before,
    h6:before,
    p:before,
    blockquote:before,
    pre:before,
    a:before,
    abbr:before,
    acronym:before,
    address:before,
    big:before,
    cite:before,
    code:before,
    del:before,
    dfn:before,
    em:before,
    img:before,
    ins:before,
    kbd:before,
    q:before,
    s:before,
    samp:before,
    small:before,
    strike:before,
    strong:before,
    sub:before,
    sup:before,
    tt:before,
    var:before,
    b:before,
    u:before,
    i:before,
    center:before,
    dl:before,
    dt:before,
    dd:before,
    ol:before,
    ul:before,
    li:before,
    fieldset:before,
    form:before,
    label:before,
    legend:before,
    table:before,
    caption:before,
    tbody:before,
    tfoot:before,
    thead:before,
    tr:before,
    th:before,
    td:before,
    article:before,
    aside:before,
    canvas:before,
    details:before,
    embed:before,
    figure:before,
    figcaption:before,
    footer:before,
    header:before,
    hgroup:before,
    menu:before,
    nav:before,
    output:before,
    ruby:before,
    section:before,
    summary:before,
    time:before,
    mark:before,
    audio:before,
    video:before,
    html:after,
    body:after,
    div:after,
    span:after,
    applet:after,
    object:after,
    iframe:after,
    h1:after,
    h2:after,
    h3:after,
    h4:after,
    h5:after,
    h6:after,
    p:after,
    blockquote:after,
    pre:after,
    a:after,
    abbr:after,
    acronym:after,
    address:after,
    big:after,
    cite:after,
    code:after,
    del:after,
    dfn:after,
    em:after,
    img:after,
    ins:after,
    kbd:after,
    q:after,
    s:after,
    samp:after,
    small:after,
    strike:after,
    strong:after,
    sub:after,
    sup:after,
    tt:after,
    var:after,
    b:after,
    u:after,
    i:after,
    center:after,
    dl:after,
    dt:after,
    dd:after,
    ol:after,
    ul:after,
    li:after,
    fieldset:after,
    form:after,
    label:after,
    legend:after,
    table:after,
    caption:after,
    tbody:after,
    tfoot:after,
    thead:after,
    tr:after,
    th:after,
    td:after,
    article:after,
    aside:after,
    canvas:after,
    details:after,
    embed:after,
    figure:after,
    figcaption:after,
    footer:after,
    header:after,
    hgroup:after,
    menu:after,
    nav:after,
    output:after,
    ruby:after,
    section:after,
    summary:after,
    time:after,
    mark:after,
    audio:after,
    video:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* 简化动画效�? */
    .tech-card {
        transform: translateY(0) rotateX(0) !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .cyber-btn {
        transition: none !important;
        transform: none !important;
        box-shadow:
            6px 6px 14px rgb(0, 0, 0, 0.12),
            -6px -6px 14px rgb(255, 255, 255, 0.9) !important;
    }

    .cyber-btn.ghost {
        box-shadow:
            inset 4px 4px 10px rgb(0, 0, 0, 0.08),
            inset -4px -4px 10px rgb(255, 255, 255, 0.7) !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .ios-header {
        border-bottom: 2px solid rgb(0, 0, 0, 0.5);
    }
}

/*
文件功能：iOS风格移动端应用界面样�?创建日期�?026-03-16
作者：前端开发团�?描述：该文件包含了iOS风格移动端应用界面的所有样式定义，
      包括导航栏、内容区域、底部导航栏等组件的样式�?      以及深色模式和动画效果的样式定义�? */

/* ================= 基础重置 ================= */

/* 全局样式重置 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 滚动条隐藏样�?- 兼容各主流浏览器 */

/* Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* 全局样式重置和基础设置 */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    background-size: 40px 40px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
}

/* 内容区域样式 */
.content-section {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
    margin-bottom: var(--space-12);
}

/* .hero-wrapper 早期定义已合并到 Banner 核心设计区块 */

/* 网格系统 */
.grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr);
    gap: var(--grid-gutter);
}

/* 响应式网�? */
@media (width <=768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .footer-waves {
        top: -45px;
        height: 45px;
    }
}

@media (width <=480px) {
    .grid {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* ================= 按钮样式 ================= */

/* 基础按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--btn-md-padding);
    font-size: var(--btn-md-font-size);
    font-weight: var(--font-weight-medium);
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
}

/* 主要按钮 */
.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover-bg);
    box-shadow: var(--btn-hover-shadow);
    transform: translateY(-2px);
    transition:
        transform var(--transition-bounce),
        box-shadow var(--transition-bounce);
}

.btn-primary:active {
    background-color: var(--btn-primary-active-bg);
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

/* 次要按钮 */
.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-color);
    border: 1px solid var(--btn-secondary-border);
    box-shadow: var(--btn-shadow);
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover-bg);
    color: var(--btn-secondary-hover-color);
    border-color: var(--btn-secondary-hover-bg);
    box-shadow: var(--btn-hover-shadow);
    transform: translateY(-2px);
    transition:
        transform var(--transition-bounce),
        box-shadow var(--transition-bounce);
}

.btn-secondary:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

/* 幽灵按钮 */
.btn-ghost {
    background-color: var(--btn-ghost-bg);
    color: var(--btn-ghost-color);
    border: 1px solid var(--btn-ghost-border);
}

.btn-ghost:hover {
    background-color: var(--btn-ghost-hover-bg);
    color: var(--btn-ghost-hover-color);
    border-color: var(--btn-ghost-hover-bg);
    transform: translateY(-2px);
    transition: transform var(--transition-bounce);
}

.btn-ghost:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

/* 按钮波纹效果 */
.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn:active:before {
    transform: translate(-50%, -50%) scale(30);
}

/* 按钮尺寸 */
.btn-sm {
    padding: var(--btn-sm-padding);
    font-size: var(--btn-sm-font-size);
}

.btn-lg {
    padding: var(--btn-lg-padding);
    font-size: var(--btn-lg-font-size);
}

/* 按钮禁用状�? */
.btn.btn:disabled,
.btn.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 按钮加载状�? */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading:after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--space-4);
    width: 16px;
    height: 16px;
    border: 2px solid currentcolor;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 响应式按�? */
@media (width <=768px) {
    .btn {
        padding: var(--btn-sm-padding);
        font-size: var(--btn-sm-font-size);
    }

    .btn-lg {
        padding: var(--btn-md-padding);
        font-size: var(--btn-md-font-size);
    }
}

/* ================= iOS应用风格 ================= */

/* iOS应用基础样式 */
.ios-app {
    font-family:
        'Noto Sans SC',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: var(--surface-bg);
}

/* iOS顶部导航栏 - 胶囊风格（零布局抖动） */
.ios-header {
    position: fixed;
    top: 12px;
    left: 24px;
    right: 24px;
    height: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;

    /* 胶囊形状始终存在，只淡入玻璃效果 */
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;

    /* 零布局过渡：只用transform和opacity */
    transition:
        border-radius 0.5s cubic-bezier(0.32, 0.72, 0, 1),
        padding 0.5s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    will-change: transform;
}

/* 顶部状态响应式 */
@media (width <=768px) {
    .ios-header {
        top: 8px;
        left: 12px;
        right: 12px;
        padding: 10px 14px;
    }

    .ios-header:before {
        backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
        -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
    }

    .ios-header.ios-header--compact:before {
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
    }

    .dark-mode .ios-header.ios-header--compact:before {
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
    }
}

@media (width <=640px) {
    .ios-header {
        top: 6px;
        left: 8px;
        right: 8px;
        padding: 8px 10px;
    }
}

.ios-header.nav-open {
    border-radius: 24px;
    padding-bottom: 0;
    align-items: stretch;
    transform: translateZ(0) scale(1);
    transition: border-radius 0.4s cubic-bezier(0.32, 0.72, 0, 1), padding 0.4s cubic-bezier(0.32, 0.72, 0, 1), transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: border-radius;
    backface-visibility: hidden;
}

.ios-header.nav-open:before {
    backdrop-filter: blur(20px) saturate(160%) brightness(1.08);
    -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.08);
}

.ios-header.nav-open:before,
.ios-header.nav-open.scrolled:before,
.ios-header.nav-open.ios-header--compact:before {
    opacity: 1;
}

.ios-header.nav-open:after,
.ios-header.nav-open.scrolled:after,
.ios-header.nav-open.ios-header--compact:after {
    opacity: 1;
}

.ios-header.nav-open.ios-header--compact {
    transform: translateZ(0) scale(1);
}

/* 玻璃层 - 用opacity淡入淡出，零抖动 */
.ios-header:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.62), rgb(255, 255, 255, 0) 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.52) 0%, rgb(255, 255, 255, 0.28) 50%, rgb(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(50px) saturate(220%) brightness(1.15);
    -webkit-backdrop-filter: blur(50px) saturate(220%) brightness(1.15);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ios-header:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgb(255, 255, 255, 0.6);
    box-shadow:
        0 12px 40px rgb(0, 0, 0, 0.14),
        0 4px 12px rgb(0, 0, 0, 0.06),
        inset 0 1px 0 rgb(255, 255, 255, 0.7),
        inset 0 -1px 0 rgb(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* 滚动时玻璃层淡入 */
.ios-header.scrolled:before,
.ios-header.scrolled:after {
    opacity: 1;
}

/* 紧凑模式 - 用scale缩放代替布局变化 */
.ios-header.ios-header--compact {
    transform: translateZ(0) scale(0.92);
}

.ios-header.ios-header--compact:before {
    backdrop-filter: blur(26px) saturate(178%);
    -webkit-backdrop-filter: blur(26px) saturate(178%);
}

.ios-header.ios-header--compact:after {
    border-color: rgb(255, 255, 255, 0.64);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.82),
        0 10px 26px rgb(8, 15, 32, 0.22);
}

/* 胶囊内子元素过渡 - 只用transform */
.ios-header .nav-menu-btn,
.ios-header .ios-theme-toggle {
    transition: transform 0.4s ease;
}

.ios-header.ios-header--compact .nav-menu-btn {
    transform: scale(0.9);
}

.ios-header.ios-header--compact .ios-theme-toggle {
    transform: scale(0.9);
}

.ios-header.ios-header--compact .ios-logo {
    transform: scale(0.92);
}

.ios-header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
}

/* 增强标题栏内容的可读性 */
.ios-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

/* 暗黑模式下保持默认样式 */
.ios-logo--dark {
    /* 无特殊样式 */
    color: inherit;
}

.ios-logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.ios-logo--dark img {
    filter: none;
}

/* 移除流光特效 */
.ios-logo:before {
    display: none;
}

/* 移除流光动画 */
@keyframes shine {
    0% {
        transform: translateX(-150%) translateZ(0) rotate(30deg);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: translateX(0%) translateZ(0) rotate(30deg);
        opacity: 1;
    }

    85% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(150%) translateZ(0) rotate(30deg);
        opacity: 0;
    }
}

/* 移除第二层流光效果 */
.ios-logo:after {
    display: none;
}

/* 移除第二层流光动画 */
@keyframes shine-secondary {
    0% {
        transform: translateX(-150%) translateZ(0) rotate(30deg);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    50% {
        transform: translateX(0%) translateZ(0) rotate(30deg);
        opacity: 0.7;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(150%) translateZ(0) rotate(30deg);
        opacity: 0;
    }
}

/* 确保图片在暗黑模式下也能正确显示 */
.dark-mode .ios-logo img {
    /* 使用滤镜调整图片在暗黑模式下的显示效果 */
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 8px rgb(255, 255, 255, 0.3));

    /* 增强亮度和对比度，添加白色阴影增强可见性 */
}

/* 暗黑模式下的流光特效 */
.dark-mode .ios-logo:before {
    background: linear-gradient(120deg,
            rgb(255, 255, 255, 0) 0%,
            rgb(255, 255, 255, 0) 35%,
            rgb(255, 255, 255, 0.5) 45%,
            rgb(255, 255, 255, 0.8) 50%,
            rgb(255, 255, 255, 0.5) 55%,
            rgb(255, 255, 255, 0) 65%,
            rgb(255, 255, 255, 0) 100%);
}

/* 暗黑模式下的第二层流光 */
.dark-mode .ios-logo:after {
    background: linear-gradient(120deg,
            rgb(255, 255, 255, 0) 0%,
            rgb(255, 255, 255, 0) 40%,
            rgb(255, 255, 255, 0.25) 50%,
            rgb(255, 255, 255, 0) 60%,
            rgb(255, 255, 255, 0) 100%);
}

/* 主题切换按钮 */
.ios-theme-toggle {
    background: transparent;
    border: 1px solid transparent;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ios-theme-toggle:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgb(255, 255, 255, 0.2);
    border: 1px solid rgb(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.ios-header.scrolled .ios-theme-toggle:before {
    opacity: 1;
}

.ios-theme-toggle:hover {
    background: rgb(255, 255, 255, 0.3);
    transform: scale(1.05);

    /*  hover时轻微放�? */
}

.dark-mode .ios-theme-toggle:before {
    background: rgb(28, 28, 30, 0.3);
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .ios-theme-toggle:hover {
    background: rgb(28, 28, 30, 0.4);
}

.ios-theme-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-main);
    transition: transform 0.3s ease;
}

.ios-theme-toggle:active .ios-theme-icon {
    transform: scale(0.9);

    /* 点击时的缩放效果 */
}

/* 主题切换提示 */
.ios-theme-toast {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 8px;
}

.dark-mode .ios-theme-toast {
    background: rgb(255, 255, 255, 0.8);
    color: black;
}

.ios-theme-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

/* iOS主内容区域 */
.ios-main-content {
    position: fixed;
    inset: 0;
    overflow: visible auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    will-change: scroll-position;
    padding: 80px 0 16px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* iOS底部导航�?- 液态玻璃效�? */

/* 页面切换动画 */

/* 页面进入动画 */
.ios-main-content.enter {
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 页面退出动�? */
.ios-main-content.exit {
    animation: slideOut 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

/* 页面进入动画关键�? */
@keyframes slideIn {
    from {
        transform: translateX(100%) scale(0.95);

        /* 从右侧进入并稍微缩小 */
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* 页面退出动画关键帧 */
@keyframes slideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateX(-100%) scale(0.95);

        /* 向左侧退出并稍微缩小 */
        opacity: 0;
    }
}

/* 反向动画（用于从右向左滑动） */
.ios-main-content.enter-reverse {
    animation: slideInReverse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.ios-main-content.exit-reverse {
    animation: slideOutReverse 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes slideInReverse {
    from {
        transform: translateX(-100%) scale(0.95);

        /* 从左侧进入并稍微缩小 */
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutReverse {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateX(100%) scale(0.95);

        /* 向右侧退出并稍微缩小 */
        opacity: 0;
    }
}

/* ================= Hero Section 动画 ================= */

/* 圆环旋转动画 - 使用 rotate 独立属性，不与 scale 动画冲突 */
@keyframes rotateClockwise {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

@keyframes rotateCounterClockwise {
    from {
        rotate: 360deg;
    }

    to {
        rotate: 0deg;
    }
}

/* 打字机效�? */
@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 闪烁动画 */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 淡入向上动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 简单淡入动�? */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* .hud-circle 动画已合并到装饰元素区块 */

.hud-circle[style*='dashed'] {
    animation: rotateCounterClockwise 30s linear infinite;
}

/* HUD 代码动画 */
.hud-code {
    animation:
        fadeIn 1.5s ease-out,
        blink 1s ease-in-out infinite 2s;
}

/* Hero 容器动画 */
.hero-container {
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Hero 文字组动�? */
.hero-text-group {
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

/* Tag line 动画 */
.hero-text-group .tag-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    animation: fadeIn 0.6s ease-out 1.2s backwards;
    max-width: 100%;
    flex-wrap: wrap;
}

.hero-text-group .tag-line .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b99f0, #00e5ff);
    animation: pulse 2s ease-in-out infinite;
    transform: translateY(-5px);
}

.hero-text-group .tag-line .line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6b99f0);
}

/* From Uiverse.io by elijahgummer - tag-badge 样式 */
.hero-text-group .tag-line .tag-badge {
    position: relative;
    text-decoration: none;
    padding: 8px 16px;
    color: var(--text-main);
    font-weight: 500;
    text-shadow: 0 1px 2px rgb(0, 0, 0, 0.2);
    background: rgb(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 2px 4px rgb(0, 0, 0, 0.2);
    user-select: none;
    margin-left: 10px;
    font-size: 12px;
}

.hero-text-group .tag-line .tag-badge span {
    width: 25px;
    height: 5px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 10px;
    background: linear-gradient(135deg, #6b99f0, #00e5ff);
}

/* 黑暗模式下的 tag-line */
.dark-mode .hero-text-group .tag-line {
    color: var(--text-secondary);
}

.dark-mode .hero-text-group .tag-line .dot {
    background: linear-gradient(135deg, #6b99f0, #00e5ff);
}

.dark-mode .hero-text-group .tag-line .line {
    background: linear-gradient(90deg, transparent, #6b99f0);
}

.dark-mode .hero-text-group .tag-line .tag-badge {
    background: rgb(255, 255, 255, 0.25);
    border: 1px solid rgb(255, 255, 255, 0.18);
    color: var(--text-main);
}

/* ====== 九星服务版发光徽章 ====== */
.tag-badge-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1px;
    border-radius: 999px;
    overflow: hidden;
    background: rgb(200, 200, 200, 0.4);
    cursor: default;
    animation: fadeIn 0.6s ease-out 1.2s backwards;
    max-width: 100%;
}

.tag-badge-glow-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.tag-badge-glow-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96px;
    height: 96px;
    transform: translate(-50%, -33%);
    background: linear-gradient(135deg, rgb(122, 105, 249), rgb(242, 99, 120), rgb(245, 131, 63));
    filter: blur(24px);
    opacity: 0.6;
}

.tag-badge-glow-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    animation: 10s ease-in-out 0s infinite alternate none running border-glow-translate;
}

.tag-badge-glow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 48px;
    filter: blur(24px);
    border-radius: 999px;
    transform: translateX(-50%);
    animation: 10s ease-in-out 0s infinite alternate none running border-glow-scale;
    background: linear-gradient(135deg, rgb(122, 105, 249), rgb(242, 99, 120), rgb(245, 131, 63));
}

.tag-badge-glow-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgb(250, 250, 250, 0.9);
    border-radius: 999px;
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 16px) clamp(6px, 1.5vw, 8px) clamp(6px, 1.5vw, 8px);
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tag-badge-glow-star-wrap {
    position: relative;
    display: inline-flex;
    transition: transform 0.5s ease;
}

.tag-badge-glow:hover .tag-badge-glow-star-wrap {
    transform: scale(1.05) rotate(360deg);
}

.tag-badge-glow-star {
    opacity: 0.8;
    animation: 14s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s infinite alternate none running star-rotate;
    width: clamp(14px, 3.5vw, 18px);
    height: clamp(14px, 3.5vw, 18px);
}

.tag-badge-glow-shine {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    filter: blur(8px);
    opacity: 0;
    animation: 14s ease-in-out 0s infinite alternate none running star-shine;
    background: linear-gradient(135deg, rgb(59, 196, 242), rgb(122, 105, 249), rgb(242, 99, 120), rgb(245, 131, 63));
    pointer-events: none;
}

.tag-badge-glow-text {
    margin-left: 6px;
    font-size: clamp(11px, 2.5vw, 12px);
    font-weight: 500;
    color: rgb(26, 26, 26);
    transition: transform 0.3s ease;
}

.tag-badge-glow-version {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 5px;
    font-size: clamp(10px, 2vw, 11px);
    font-weight: 600;
    color: rgb(26, 26, 26);
    background: rgb(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgb(255, 255, 255, 0.5), 0 2px 8px rgb(122, 105, 249, 0.2);
    vertical-align: middle;
    transition: all 0.3s ease;
}

.tag-badge-glow:hover .tag-badge-glow-version {
    background: rgb(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgb(255, 255, 255, 0.6), 0 4px 16px rgb(122, 105, 249, 0.3);
    transform: translateY(-1px);
}

.dark-mode .tag-badge-glow-version {
    color: rgb(255, 255, 255);
    background: rgb(255, 255, 255, 0.08);
    border-color: rgb(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgb(255, 255, 255, 0.15), 0 2px 8px rgb(0, 0, 0, 0.2);
}

.dark-mode .tag-badge-glow:hover .tag-badge-glow-version {
    background: rgb(255, 255, 255, 0.15);
}

.tag-badge-glow:hover .tag-badge-glow-text {
    transform: scale(1.05);
}

.dark-mode .tag-badge-glow {
    background: rgb(50, 50, 50, 0.6);
}

.dark-mode .tag-badge-glow-inner {
    background: rgb(10, 10, 10, 0.9);
}

.dark-mode .tag-badge-glow-star {
    opacity: 1;
}

.dark-mode .tag-badge-glow-shine {
    opacity: 0.3;
}

.dark-mode .tag-badge-glow-text {
    color: rgb(255, 255, 255);
}

/* 授权图片浮动动画 */
.license-icon-image {
    animation: float 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 数字化商业解决方案 */
.digital-solution-box {
    text-align: center;
    margin: 32px 0;
    animation: fadeInUp 0.8s ease-out 2.2s backwards;
    width: 100%;
    max-width: 100%;
}

.digital-solution-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main, #333);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.1);
}

.digital-solution-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary, #666);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgb(0, 0, 0, 0.05);
    padding: 0 20px;
}

/* 黑暗模式下的数字化商业解决方案 */
.dark-mode .digital-solution-title {
    color: var(--text-main, #fff);
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}

.dark-mode .digital-solution-desc {
    color: var(--text-secondary, #aaa);
    text-shadow: 0 1px 2px rgb(0, 0, 0, 0.2);
}

/* FAQ样式 */
.faq-section {
    margin: 40px 0;
}

.faq-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.03);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--content-bg);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--content-bg);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    border-radius: 12px 12px 0 0;
}

.faq-question:hover {
    background: rgb(74, 132, 232, 0.05);
}

.faq-question span {
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.4;
}

.faq-toggle {
    transition: transform 0.3s ease;
    color: var(--primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item--active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 20px;
    background: var(--content-bg);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 12px 12px;
}

.faq-item--active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* 深色模式下的FAQ样式 */
.dark-mode .faq-item {
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.2);
    border-color: var(--ios-border-color);

    /* background now handled by var(--content-bg) */
}

.dark-mode .faq-item:hover {
    box-shadow: 0 6px 24px rgb(107, 153, 240, 0.2);
}

.dark-mode .faq-question {
    /* background now handled by var(--content-bg) */
}

.dark-mode .faq-question:hover {
    background: rgb(107, 153, 240, 0.1);
}

.dark-mode .faq-question span {
    color: var(--text-main);
}

.dark-mode .faq-answer {
    /* background now handled by var(--content-bg) */
    border-top-color: var(--ios-border-color);
    color: var(--text-secondary);
}

/* .dark-mode .ios-app - now handled by var(--surface-bg) */

.dark-mode .ios-header {
    background-color: transparent;
}

.dark-mode .ios-header:before {
    background: linear-gradient(135deg, rgb(60, 60, 70, 0.45) 0%, rgb(40, 40, 50, 0.3) 50%, rgb(50, 50, 60, 0.38) 100%);
}

.dark-mode .ios-header:after {
    border-color: rgb(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgb(0, 0, 0, 0.25),
        0 2px 8px rgb(0, 0, 0, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.15),
        inset 0 -1px 0 rgb(0, 0, 0, 0.2);
}

.dark-mode .ios-header.ios-header--compact:before {
    backdrop-filter: blur(26px) saturate(178%);
    -webkit-backdrop-filter: blur(26px) saturate(178%);
}

.dark-mode .ios-header.ios-header--compact:after {
    border-color: rgb(226, 238, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.25),
        0 10px 26px rgb(3, 8, 20, 0.52);
}

.ios-logo {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-main);
    transition: transform 0.4s ease;
}

.dark-mode .ios-logo {
    color: var(--text-main);
}

/* .dark-mode .directory-nav - now handled by var(--content-bg) */

/* .dark-mode .directory-tabs - now handled by var(--surface-bg) */

.dark-mode .directory-tab {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .directory-tab:hover {
    color: var(--primary);
    background: rgb(74, 132, 232, 0.1);
}

.dark-mode .directory-tab.active {
    color: var(--primary);

    /* background now handled by var(--content-bg) */
}

.dark-mode .directory-panel {
    /* background now handled by var(--content-bg) */
    color: var(--text-main);
}

/* 暗黑模式下的CTA横幅 - 保持蓝色渐变，仅调整边框发光 */

/* .dark-mode .cta-banner background 已在下方 5587 行统一处理 */

.dark-mode .cta-banner:after {
    color: rgb(255, 255, 255, 0.2);
}

.dark-mode .cta-content:before {
    color: rgb(255, 255, 255, 0.6);
}

.dark-mode .cta-desc:before {
    color: rgb(255, 255, 255, 0.8);
}

.dark-mode .cta-btn.primary {
    background: var(--text-main);
    color: #2c2c2e;
}

.dark-mode .cta-btn.primary:hover {
    background: #4a84e8;
    color: var(--text-main);
    box-shadow: 5px 5px 0 rgb(74, 132, 232, 0.3);
}

.dark-mode .cta-btn.secondary {
    border-color: rgb(255, 255, 255, 0.7);
}

.dark-mode .cta-btn.secondary:hover {
    background: rgb(255, 255, 255, 0.1);
    border-color: var(--text-main);
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.2);
}

/* 暗黑模式下的页脚 */
.dark-mode .site-footer {
    background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
    border-top: 1px solid rgb(255, 255, 255, 0.1);
}

/* 暗黑模式下的波浪 */
.dark-mode .parallax>use:nth-child(1) {
    fill: rgb(255, 255, 255, 0.25);
}

.dark-mode .parallax>use:nth-child(2) {
    fill: rgb(255, 255, 255, 0.18);
}

.dark-mode .parallax>use:nth-child(3) {
    fill: rgb(255, 255, 255, 0.12);
}

.dark-mode .parallax>use:nth-child(4) {
    fill: rgb(255, 255, 255, 0.06);
}

.dark-mode .parallax>use:nth-child(5) {
    fill: rgb(44, 44, 46, 1);
}

.dark-mode .footer-waves {
    background: transparent;
}

.dark-mode .footer-desc,
.dark-mode .footer-nav-title,
.dark-mode .footer-nav-list li a,
.dark-mode .footer-copyright,
.dark-mode .footer-legal a {
    color: var(--text-main);
}

.dark-mode .footer-nav-list li a:hover {
    color: var(--pink);
}

.dark-mode .footer-social-link {
    background: rgb(255, 255, 255, 0.08);
    color: #aaa;
}

.dark-mode .footer-social-link:hover {
    background: var(--pink);
    color: #fff;
}

.dark-mode .footer-main {
    border-bottom-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .footer-legal .divider {
    color: rgb(255, 255, 255, 0.3);
}

/* 暗黑模式下的 Neumorphism 按钮 */
.dark-mode .cyber-btn {
    background: var(--bg-color);
    color: var(--text-main);
    box-shadow:
        6px 6px 14px rgb(0, 0, 0, 0.5),
        -6px -6px 14px rgb(255, 255, 255, 0.05);
}

.dark-mode .cyber-btn:before {
    background: linear-gradient(180deg, rgb(255, 255, 255, 0.08) 0%, transparent 100%);
}

.dark-mode .cyber-btn:hover {
    box-shadow:
        8px 8px 18px rgb(0, 0, 0, 0.55),
        -8px -8px 18px rgb(255, 255, 255, 0.06),
        0 0 16px rgb(107, 153, 240, 0.2);
}

.dark-mode .cyber-btn:active {
    box-shadow:
        inset 4px 4px 10px rgb(0, 0, 0, 0.5),
        inset -4px -4px 10px rgb(255, 255, 255, 0.05);
}

.dark-mode .cyber-btn.ghost {
    background: var(--bg-color);
    color: var(--text-main);
    box-shadow:
        inset 4px 4px 10px rgb(0, 0, 0, 0.4),
        inset -4px -4px 10px rgb(255, 255, 255, 0.04);
}

.dark-mode .cyber-btn.ghost:hover {
    box-shadow:
        inset 2px 2px 6px rgb(0, 0, 0, 0.35),
        inset -2px -2px 6px rgb(255, 255, 255, 0.03),
        0 0 16px rgb(107, 153, 240, 0.15);
}

.dark-mode .cyber-btn.ghost:active {
    box-shadow:
        inset 6px 6px 14px rgb(0, 0, 0, 0.5),
        inset -6px -6px 14px rgb(255, 255, 255, 0.05);
}

/* 暗黑模式下的price-btn */
.dark-mode .price-btn {
    background: var(--text-main);
    color: #2c2c2e;
}

.dark-mode .price-card:hover .price-btn {
    background: var(--accent, var(--pink));
    color: #fff;
    box-shadow: 4px 4px 0 var(--text-main);
}

.dark-mode .price-card.featured .price-btn {
    background: var(--pink);
    color: #fff;
}

/* .dark-mode .tech-card::after - now handled by var(--content-bg) */

.dark-mode .tech-card h3 {
    color: var(--text-main);
}

.dark-mode .tech-card>p {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .domain-card {
    /* background now handled by var(--content-bg) */
    border-color: var(--ios-border-color);
}

.dark-mode .domain-name {
    color: var(--text-main);
}

/* .dark-mode .price-card::after - now handled by var(--content-bg) */

.dark-mode .price-header h3 {
    color: var(--text-main);
}

.dark-mode .price-features li {
    color: rgb(255, 255, 255, 0.7);
    border-bottom-color: var(--ios-border-color);
}

.dark-mode .support-content {
    color: var(--text-main);
}

.dark-mode .support-content p {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .support-list li {
    color: rgb(255, 255, 255, 0.7);
    border-bottom-color: var(--ios-border-color);
}

.dark-mode .support-info {
    background: rgb(228, 70, 125, 0.1);
}

/* 服务时间样式 */
.service-hours {
    margin: 40px 0;
    padding: 30px;
    background: var(--content-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.hours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hours-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgb(74, 132, 232, 0.05);
    border-radius: 8px;
    border: 1px solid rgb(74, 132, 232, 0.1);
    transition: all 0.3s ease;
}

.hours-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgb(74, 132, 232, 0.1);
}

.hours-label {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
}

.hours-value {
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
}

/* 深色模式下的服务时间样式 */
.dark-mode .service-hours {
    /* background now handled by var(--content-bg) */
    border-color: var(--ios-border-color);
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.2);
}

.dark-mode .hours-item {
    background: rgb(107, 153, 240, 0.1);
    border-color: rgb(107, 153, 240, 0.2);
}

.dark-mode .hours-item:hover {
    box-shadow: 0 6px 24px rgb(107, 153, 240, 0.2);
}

.dark-mode .hours-label {
    color: var(--text-secondary);
}

.dark-mode .hours-value {
    color: var(--text-main);
}

/* 服务入口区样�? */
.service-hero {
    margin: 40px 0;
    padding: 60px 30px;
    background:
        /* 顶层渐变，用于平滑过渡到下方内容?*/
        linear-gradient(to bottom, transparent, transparent 85%, var(--bg-color) 98%),
        /* 网格�?*/
        linear-gradient(rgb(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgb(0, 0, 0, 0.03) 1px, transparent 1px),
        /* 底层背景�?*/
        var(--bg-color);
    background-size:
        100% 100%,
        40px 40px,
        40px 40px,
        100% 100%;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgb(74, 132, 232, 0.3),
        0 0 0 1px rgb(255, 255, 255, 0.1) inset;
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroBackgroundShift 15s ease-in-out infinite;
}

@keyframes heroBackgroundShift {

    0%,
    100% {
        background-position:
            0% 0%,
            0 0,
            0 0,
            0 0;
    }

    50% {
        background-position:
            0% 0%,
            40px 40px,
            40px 40px,
            0 0;
    }
}

.service-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(74, 132, 232, 0.2), transparent);
    animation: lightScan 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes lightScan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.service-hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.service-hero .main-title {
    font-size: 52px;
    margin-bottom: 28px;
    color: var(--text-main);
    text-shadow: 0 4px 8px rgb(0, 0, 0, 0.2);
    font-weight: 900;
    letter-spacing: -1px;
}

.service-hero .title-row-1 {
    color: var(--text-main);
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.15);
    position: relative;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 4px rgb(0, 0, 0, 0.15);
    }

    100% {
        text-shadow:
            0 2px 10px rgb(74, 132, 232, 0.5),
            0 0 20px rgb(74, 132, 232, 0.3);
    }
}

.service-hero .title-row-2 {
    color: transparent;
    margin-left: 20px;
    position: relative;
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite alternate 0.5s;
}

.service-hero .title-row-2:before {
    content: '专业支持';
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    left: 10px;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.1);
}

.service-hero .title-row-2:after {
    content: '专业支持';
    background: var(--bg-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--text-main);
    left: 10px;
    text-shadow: 0 2px 8px rgb(0, 0, 0, 0.15);
}

.service-hero .desc-box {
    margin-bottom: 30px;
}

.service-hero .desc-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.service-quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.quick-link {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgb(74, 132, 232, 0.3),
        0 0 0 1px rgb(255, 255, 255, 0.1) inset;
    overflow: hidden;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.quick-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.3), transparent);
    transition: transform 0.5s ease;
    transform: translateX(-100%);
}

.quick-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgb(74, 132, 232, 0.4),
        0 0 0 1px rgb(255, 255, 255, 0.2) inset;
}

.quick-link:hover:before {
    transform: translateX(100%);
}

.quick-link:active {
    transform: translateY(-1px) scale(0.98);
}

/* 联系方式区域样式 */
.contact-section {
    margin: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.contact-card {
    padding: 30px;
    background: var(--content-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(74, 132, 232, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(74, 132, 232, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.contact-title {
    font-weight: 600;
    color: var(--text-main);
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.qr-code-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: rgb(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
}

.qr-placeholder-text {
    color: var(--text-light);
    font-size: 12px;
    text-align: center;
}

.contact-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.3);
}

/* 深色模式下的联系方式样式 */
.dark-mode .contact-card {
    /* background now handled by var(--content-bg) */
    border-color: var(--ios-border-color);
    box-shadow: 0 4px 20px rgb(0, 0, 0, 0.2);
}

.dark-mode .contact-card:hover {
    box-shadow: 0 8px 24px rgb(107, 153, 240, 0.2);
}

.dark-mode .contact-icon {
    background: rgb(107, 153, 240, 0.2);
    color: var(--primary);
}

.dark-mode .contact-card:hover .contact-icon {
    background: var(--primary);
    color: white;
}

.dark-mode .contact-title {
    color: var(--text-main);
}

.dark-mode .contact-info {
    color: var(--text-secondary);
}

.dark-mode .qr-code-placeholder {
    background: rgb(255, 255, 255, 0.05);
    border-color: var(--ios-border-color);
}

.dark-mode .qr-placeholder-text {
    color: var(--text-light);
}

.dark-mode .contact-link {
    background: var(--primary);
}

.dark-mode .contact-link:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgb(107, 153, 240, 0.3);
}

/* 动画图片容器样式 */
.animated-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animated-image {
    position: absolute;
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 2s ease-out;
    transform-origin: center;
    opacity: 0.6;
}

/* 深色模式下的服务入口区样�? */
.dark-mode .service-hero {
    background:
        /* 径向渐变背景 */
        radial-gradient(circle at 20% 30%, rgb(107, 153, 240, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgb(107, 153, 240, 0.15) 0%, transparent 50%),
        /* 线性渐变背�?*/
        linear-gradient(135deg, #2a2a2c 0%, #1c1c1e 100%);
    box-shadow:
        0 8px 32px rgb(0, 0, 0, 0.4),
        0 0 0 1px rgb(107, 153, 240, 0.1) inset;
}

.dark-mode .service-hero:before {
    background: linear-gradient(90deg, transparent, rgb(107, 153, 240, 0.2), transparent);
}

.dark-mode .service-hero .main-title {
    color: white;
    text-shadow: 0 4px 8px rgb(0, 0, 0, 0.4);
}

.dark-mode .service-hero .title-row-1 {
    color: white;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.3);
}

.dark-mode .service-hero .title-row-2:before {
    background: var(--primary);
}

.dark-mode .service-hero .title-row-2:after {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.dark-mode .service-hero .desc-text {
    /* 移除固定颜色，使用渐变效果 */
    background: linear-gradient(135deg, #00e5ff, #4a84e8, #00e5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-mode .desc-text {
    background: linear-gradient(135deg, #00e5ff, #4a84e8, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .desc-text:before {
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.2), transparent);
}

/* 深色模式下的动画图片 */
.dark-mode .animated-image {
    opacity: 0.5;
}

/* 响应式设�?- 动画图片 */
@media (width <=768px) {
    .animated-image {
        max-height: 80px;
    }
}

/* 性能优化 */
.ios-main-content {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 硬件加�? */
.ios-header,
.directory-tab {
    transform: translateZ(0);
}

/* 适配iPhone X及以上的安全区域 */
@supports (padding: max(0px)) {
    .ios-header {
        top: calc(12px + env(safe-area-inset-top));
    }

    .ios-main-content {
        padding-top: calc(80px + env(safe-area-inset-top));
        bottom: env(safe-area-inset-bottom);
    }
}

/* ================= Banner 核心设计 ================= */
.hero-wrapper {
    position: relative;
    min-height: 80vh;
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        /* 顶层渐变，用于平滑过渡到下方内容?*/
        linear-gradient(to bottom, transparent, transparent 85%, var(--bg-color) 98%),
        /* 网格?*/
        linear-gradient(rgb(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgb(0, 0, 0, 0.03) 1px, transparent 1px),
        /* 底层背景�?*/
        var(--bg-color);
    background-size:
        100% 100%,
        40px 40px,
        40px 40px,
        100% 100%;
    padding: 0;
    box-sizing: border-box;
}

/* iOS 星空背景 */
.hero-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        /* 大星星 - 层1 */
        radial-gradient(1px 1px at 10% 15%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1px 1px at 25% 8%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 22%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1px 1px at 55% 5%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 18%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 85% 12%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 95% 25%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        /* 中星星 - 层2 */
        radial-gradient(1px 1px at 5% 35%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 18% 42%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 32% 38%, rgb(255, 255, 255, 0.4) 50%, transparent 100%),
        radial-gradient(1px 1px at 48% 30%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 62% 45%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1px 1px at 78% 32%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        /* 小星星 - 层3 */
        radial-gradient(0.8px 0.8px at 8% 55%, rgb(255, 255, 255, 0.4) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 22% 60%, rgb(255, 255, 255, 0.3) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 38% 52%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 52% 58%, rgb(255, 255, 255, 0.4) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 68% 50%, rgb(255, 255, 255, 0.3) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 82% 56%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 15% 70%, rgb(255, 255, 255, 0.3) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 45% 72%, rgb(255, 255, 255, 0.4) 50%, transparent 100%),
        radial-gradient(0.8px 0.8px at 75% 68%, rgb(255, 255, 255, 0.3) 50%, transparent 100%),
        /* 蓝色星星 */
        radial-gradient(1.2px 1.2px at 30% 10%, rgb(74, 132, 232, 0.6) 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 65% 28%, rgb(74, 132, 232, 0.5) 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 88% 45%, rgb(74, 132, 232, 0.4) 50%, transparent 100%),
        radial-gradient(1px 1px at 12% 48%, rgb(0, 229, 255, 0.4) 50%, transparent 100%),
        radial-gradient(1px 1px at 58% 65%, rgb(0, 229, 255, 0.3) 50%, transparent 100%);
    animation: iosStarTwinkle 6s ease-in-out infinite alternate;
}

/* 暗黑模式下星空更明显 */
.dark-mode .hero-wrapper:before {
    background:
        radial-gradient(1.5px 1.5px at 10% 15%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 25% 8%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(2px 2px at 40% 22%, rgb(255, 255, 255, 1) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 55% 5%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(2px 2px at 70% 18%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 12%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 95% 25%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 5% 35%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(2px 2px at 18% 42%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 32% 38%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 48% 30%, rgb(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(2px 2px at 62% 45%, rgb(255, 255, 255, 1) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 78% 32%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 40%, rgb(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1px 1px at 8% 55%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 22% 60%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 38% 52%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 52% 58%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 68% 50%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 82% 56%, rgb(255, 255, 255, 0.7) 50%, transparent 100%),
        radial-gradient(1px 1px at 15% 70%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 45% 72%, rgb(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 75% 68%, rgb(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 10%, rgb(107, 153, 240, 0.8) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 65% 28%, rgb(107, 153, 240, 0.7) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 88% 45%, rgb(107, 153, 240, 0.6) 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 12% 48%, rgb(0, 229, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 58% 65%, rgb(0, 229, 255, 0.5) 50%, transparent 100%);
    animation: iosStarTwinkle 4s ease-in-out infinite alternate;
}

@keyframes iosStarTwinkle {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.floor-grid {
    position: absolute;
    bottom: -20%;
    left: -50%;
    width: 200%;
    height: 80%;
    background:
        linear-gradient(transparent 0%, rgb(106, 0, 255, 0.05) 100%),
        linear-gradient(90deg, rgb(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgb(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size:
        100% 100%,
        80px 80px,
        80px 80px;
    transform: perspective(1000px) rotateX(70deg);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;

    /* height: 100%; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 60px 20px;

    /* transform: translateY(-20px); */
}

/* === 文字排版 === */
.hero-text-group {
    z-index: 10;
    position: relative;
    width: 100%;
    min-width: 300px;
    max-width: 800px;
    text-align: center;
}

.tag-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: rgb(26, 26, 26, 0.65);
    letter-spacing: 0.4px;
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: auto;
    margin-right: auto;
}

.tag-line span.dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #4a84e8 0%, #00e5ff 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 3px rgb(74, 132, 232, 0.3),
        0 0 10px rgb(74, 132, 232, 0.2),
        0 0 20px rgb(74, 132, 232, 0.1);
    animation: dotPulse 2s ease-in-out infinite;
    position: relative;
}

.tag-line span.dot:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgb(74, 132, 232, 0.2);
    animation: dotRing 3s linear infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 3px rgb(74, 132, 232, 0.3),
            0 0 10px rgb(74, 132, 232, 0.2),
            0 0 20px rgb(74, 132, 232, 0.1);
    }

    50% {
        transform: scale(1.1);
        box-shadow:
            0 0 0 4px rgb(74, 132, 232, 0.4),
            0 0 15px rgb(74, 132, 232, 0.3),
            0 0 30px rgb(74, 132, 232, 0.15);
    }
}

@keyframes dotRing {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 0.6;
    }
}

.dark-mode .tag-line span.dot {
    background: linear-gradient(135deg, #6b99f0 0%, #33eaff 100%);
    box-shadow:
        0 0 0 3px rgb(107, 153, 240, 0.4),
        0 0 10px rgb(107, 153, 240, 0.25),
        0 0 20px rgb(107, 153, 240, 0.12);
}

.dark-mode .tag-line span.dot:before {
    border-color: rgb(107, 153, 240, 0.3);
}

.tag-line span.line {
    width: 44px;
    height: 1px;
    background: rgb(0, 0, 0, 0.18);
}

.tag-line .tag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: rgb(26, 26, 26, 0.72);
    background: transparent;
    border: 1px solid rgb(0, 0, 0, 0.16);
}



.main-title {
    font-size: 80px;
    line-height: 1.2;
    font-weight: 900;
    font-style: italic;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1.5s backwards;
}

.title-row-1 {
    display: block;
    color: var(--text-main);
    letter-spacing: -2px;
}

.title-row-2 {
    display: block;
    position: relative;
    margin-left: 0;
    opacity: 1;

    /* 整体透明�? */

    /* 这里的颜色设为透明，因为我们要用伪元素来画�? */
    color: transparent;
}

/* --- 底层：负责显�?渐变边框" (实际是加粗的渐变�? --- */
.title-row-2:before {
    content: '九星服务';

    /* 【注意】这里的内容必须和HTML里的文字一�? */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    text-align: center;

    /* 设置渐变背景 */
    background: #4a84e8;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* 核心：用超粗的描边来模拟边框宽度 (比如4px) */
    -webkit-text-stroke: 4px transparent;

    /* 新增：防止斜体字右边被切�? */
    padding-right: 14px;
    margin-right: -14px;

    /* 抵消 padding 带来的布局影响 */
}

/* --- 顶层：负�?镂空" (用背景色遮住中间) --- */
.title-row-2:after {
    content: '九星服务';

    /* 【注意】这里的内容必须和HTML里的文字一�? */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    text-align: center;

    /* 填充页面的背景色，制造镂空假�? */

    /* 你的页面背景色是 #f0f2f5，这里使用变量或直接写死 */
    color: var(--bg-color);

    /* 稍微细一点的描边，确保边缘清�? */
    -webkit-text-stroke: 0;
}

.desc-box {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 1.8s backwards;
}

.desc-decor {
    width: 4px;
    align-self: stretch;
    background: linear-gradient(to bottom, var(--pink), var(--purple));
}

.desc-text {
    max-width: 400px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a84e8, #00e5ff, #4a84e8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        textGradient 3s ease-in-out infinite,
        textSlideIn 1s ease-out forwards;
}

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.desc-text:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.3), transparent);
    animation: textShine 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes textShine {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.btn-group {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 2.5s backwards;
}

/* === Neumorphism 按钮样式 === */
.cyber-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: var(--bg-color);
    color: var(--text-main);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Neumorphism 凸起阴影 */
    box-shadow:
        6px 6px 14px rgb(0, 0, 0, 0.12),
        -6px -6px 14px rgb(255, 255, 255, 0.9);
}

/* 内发光高光 */
.cyber-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgb(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* 底部微光 */
.cyber-btn:after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cyber-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        8px 8px 18px rgb(0, 0, 0, 0.15),
        -8px -8px 18px rgb(255, 255, 255, 0.95),
        0 0 12px rgb(74, 132, 232, 0.15);
}

.cyber-btn:hover:after {
    opacity: 0.6;
}

.cyber-btn:active {
    transform: translateY(1px);

    /* Neumorphism 按下凹陷效果 */
    box-shadow:
        inset 4px 4px 10px rgb(0, 0, 0, 0.1),
        inset -4px -4px 10px rgb(255, 255, 255, 0.7);
}

.cyber-btn:active:before {
    opacity: 0.3;
}

/* Ghost 变体 - 凹陷风格 */
.cyber-btn.ghost {
    background: var(--bg-color);
    color: var(--text-main);
    border: none;
    border-radius: 16px;

    /* Neumorphism 凹陷阴影 */
    box-shadow:
        inset 4px 4px 10px rgb(0, 0, 0, 0.08),
        inset -4px -4px 10px rgb(255, 255, 255, 0.7);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-btn.ghost:before {
    opacity: 0.15;
}

.cyber-btn.ghost:hover {
    box-shadow:
        inset 2px 2px 6px rgb(0, 0, 0, 0.06),
        inset -2px -2px 6px rgb(255, 255, 255, 0.5),
        0 0 12px rgb(74, 132, 232, 0.12);
    transform: translateY(-1px);
}

.cyber-btn.ghost:active {
    transform: translateY(1px);
    box-shadow:
        inset 6px 6px 14px rgb(0, 0, 0, 0.12),
        inset -6px -6px 14px rgb(255, 255, 255, 0.8);
}

/* 移动设备优化 */
@media (width <=768px) {
    .cyber-btn {
        padding: 12px 28px;
        font-size: 14px;
        border-radius: 12px;
        box-shadow:
            4px 4px 10px rgb(0, 0, 0, 0.1),
            -4px -4px 10px rgb(255, 255, 255, 0.85);
    }

    .cyber-btn.ghost {
        box-shadow:
            inset 3px 3px 8px rgb(0, 0, 0, 0.07),
            inset -3px -3px 8px rgb(255, 255, 255, 0.6);
    }
}

/* === 装饰性元素 === */
.hud-circle {
    position: absolute;
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgb(74, 132, 232, 0.03) 0%, transparent 50%);
    box-shadow:
        0 0 20px rgb(74, 132, 232, 0.05),
        inset 0 0 30px rgb(74, 132, 232, 0.02);
    animation: rotateClockwise 20s linear infinite;
    transition:
        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        scale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud-circle:before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(135deg,
            rgb(74, 132, 232, 0.1) 0%,
            rgb(0, 229, 255, 0.1) 50%,
            rgb(74, 132, 232, 0.1) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.hud-circle:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px dashed rgb(74, 132, 232, 0.08);
    animation: rotateCounterClockwise 40s linear infinite;
}

.dark-mode .hud-circle {
    background: radial-gradient(circle at 30% 30%, rgb(107, 153, 240, 0.05) 0%, transparent 50%);
    box-shadow:
        0 0 20px rgb(107, 153, 240, 0.08),
        inset 0 0 30px rgb(107, 153, 240, 0.03);
}

.dark-mode .hud-circle:before {
    background: linear-gradient(135deg,
            rgb(107, 153, 240, 0.15) 0%,
            rgb(51, 234, 255, 0.15) 50%,
            rgb(107, 153, 240, 0.15) 100%);
}

.dark-mode .hud-circle:after {
    border-color: rgb(107, 153, 240, 0.12);
}

.hud-code {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgb(74, 132, 232, 0.4);
    writing-mode: vertical-rl;
    left: 30px;
    bottom: 200px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgb(74, 132, 232, 0.2);
    background: linear-gradient(180deg, rgb(74, 132, 232, 0.02) 0%, transparent 100%);
    padding: 10px 8px;
    border-radius: 4px;
    border-left: 2px solid rgb(74, 132, 232, 0.2);
}

.hud-code code {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.dark-mode .hud-code {
    color: rgb(107, 153, 240, 0.6);
    text-shadow: 0 0 10px rgb(107, 153, 240, 0.3);
    background: linear-gradient(180deg, rgb(107, 153, 240, 0.03) 0%, transparent 100%);
    border-left-color: rgb(107, 153, 240, 0.3);
}

/* === 右侧立绘区域 === */
.hero-char-area {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
}

/* 光效�? */

/* 角色立绘 */
.character-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: auto;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(-10px 0 20px rgb(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* ================= Banner底部文字滚动�?(最终修复版) ================= */

/* .hero-marquee 样式已由 #marqueeWrapper ID选择器覆盖，此处移除 */

#marqueeWrapper {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 16px 0;
    transform: rotate(-2.5deg);
    transform-origin: center bottom;
    background: linear-gradient(90deg, #8da1e0, #2f78ec);
    box-shadow: 0 5px 20px rgb(0, 85, 255, 0.4);
    border-top: 3px solid rgb(255, 255, 255, 0.5);
    border-bottom: 3px solid rgb(255, 255, 255, 0.5);
    z-index: 15;
    overflow: hidden;
}

#marqueeMover {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    gap: 60px;
    padding-right: 60px;
    will-change: transform;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgb(0, 0, 0, 0.2);
}

.marquee-item span.dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #4a84e8 0%, #00e5ff 100%);
    border-radius: 50%;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 2px rgb(74, 132, 232, 0.3),
        0 0 6px rgb(74, 132, 232, 0.2);
    display: inline-block;
    animation: marqueeDotPulse 1.5s ease-in-out infinite;
}

@keyframes marqueeDotPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.15);
    }
}

.dark-mode .marquee-item span.dot {
    background: linear-gradient(135deg, #6b99f0 0%, #33eaff 100%);
    box-shadow:
        0 0 0 2px rgb(107, 153, 240, 0.4),
        0 0 6px rgb(107, 153, 240, 0.25);
}

/* 顶部导航链接区域 */
.top-navigation-section {
    margin: 0 0 60px;
    padding: 20px 0;
    background: var(--content-bg);
    border-radius: 0 0 20px 20px;
}

/* 暗黑模式下的顶部导航区域背景 */

/* .dark-mode .top-navigation-section - now handled by var(--content-bg) */

.top-navigation-section .content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.top-nav-item {
    padding: 10px 20px;
    border-radius: 20px;
    background: rgb(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-main);
}

.top-nav-item:hover {
    background: rgb(74, 132, 232, 0.1);
    border-color: rgb(74, 132, 232, 0.3);
    transform: translateY(-2px);
}

.top-nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.3);
}

/* 暗黑模式下的顶部导航 */
.dark-mode .top-nav-item {
    background: rgb(30, 30, 40, 0.8);
    border-color: rgb(255, 255, 255, 0.1);
    color: var(--text-main);
}

.dark-mode .top-nav-item:hover {
    background: rgb(107, 153, 240, 0.2);
    border-color: rgb(107, 153, 240, 0.4);
}

.dark-mode .top-nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgb(107, 153, 240, 0.4);
}

/* ================= 多根目录导航 ================= */

.directory-nav {
    margin-top: 40px;
    background: var(--content-bg);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.directory-tabs {
    display: flex;
    flex-wrap: wrap;
    background: var(--surface-bg);
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
}

.directory-tab {
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-main);
    overflow: hidden;
    white-space: nowrap;
}

.directory-tab:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(74, 132, 232, 0.1), transparent);
    transition: left 0.5s ease;
}

.directory-tab:hover:before {
    left: 100%;
}

.directory-tab:hover {
    color: var(--primary);
    background: rgb(74, 132, 232, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.15);
}

.directory-tab:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgb(74, 132, 232, 0.1);
}

.directory-tab.active {
    color: var(--primary);
    background: var(--content-bg);
    border-bottom: 2px solid var(--primary);
}

.directory-content {
    padding: 30px 20px;
    width: 100%;
    max-width: 100%;
}

.directory-panel {
    display: none;
    animation: fadeInSlide 0.3s ease;
    padding: 0;
    background: var(--bg-color);
    box-sizing: border-box;
}

.directory-panel.active {
    display: block;
}

#licensing.directory-panel {
    padding-top: 100px;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 技术支持内容样�? */
.support-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.support-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.support-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.support-list {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.support-list li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px dashed rgb(0, 0, 0, 0.05);
}

.support-info {
    background: rgb(228, 70, 125, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.support-info p {
    margin: 0;
    color: var(--pink);
    font-weight: 600;
}

/* ================= 核心优势板块 ================= */

/* --- 1. 板块整体布局 --- */
.content-section {
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
    width: 100%;
}

.content-inner {
    /* 铺满整个水平空间并与边框保持距离 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- 2. 标题区域样式 --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-top: 20px;
}

/* 背景超大淡色�? */
.title-main {
    font-size: 70px;
    font-weight: 900;
    font-style: italic;
    color: rgb(0, 0, 0, 0.03);

    /* 极淡灰色 */
    line-height: 1.4;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    text-align: center;
    max-width: 100%;
    pointer-events: none;

    /* 防止挡住鼠标 */
    user-select: none;
}

/* 前景主标�? */
.title-sub {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    margin-top: 30px;

    /* 调整垂直位置，让它叠在大字中�? */
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-sub .slash {
    color: var(--pink);
    margin: 0 10px;
    font-weight: normal;
}

.title-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --- 3. 卡片网格布局 --- */
.home-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.home-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.home-sub-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    /* 自适应列宽 */
    gap: 20px;

    /* 卡片间距 */
    margin-top: 20px;

    /* 增加与标题的间距 */
    margin-left: 20px;
    margin-right: 20px;

    /* 卡片两边留空�? */
}

/* --- 解决方案部分样式 --- */
.solutions-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    background: linear-gradient(135deg, #4a84e8 0%, #6b63ff 100%);
    color: white;
    border-radius: 12px;
    margin: 0 20px 40px;
}

.solutions-main-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.solutions-sub-title {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 20px 40px;
}

.solution-card {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgb(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgb(0, 0, 0, 0.1);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgb(0, 0, 0, 0.15);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a84e8 0%, #6b63ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.solution-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.solution-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a84e8;
    font-weight: bold;
}

.channel-distribution {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 30px;
    margin: 0 20px;
    box-shadow: 0 4px 15px rgb(0, 0, 0, 0.1);
    border: 1px solid rgb(0, 0, 0, 0.1);
}

.channel-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.channel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a84e8 0%, #6b63ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    flex-shrink: 0;
}

.channel-info {
    flex: 1;
}

.channel-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.channel-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.channel-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.channel-tag {
    background: rgb(74, 132, 232, 0.1);
    color: #4a84e8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 暗黑模式下的解决方案样式 */
.dark-mode .solution-card,
.dark-mode .channel-distribution {
    /* background now handled by var(--content-bg) */
    border-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .solution-title,
.dark-mode .channel-title {
    color: white;
}

.dark-mode .solution-features li,
.dark-mode .channel-desc {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .channel-tag {
    background: rgb(74, 132, 232, 0.2);
    color: #6b9eff;
}

/* --- 域名管理部分样式 --- */
.domains-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.domains-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.domains-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 0 24px;
    padding: 10px 0;
}

.domain-card {
    background: var(--content-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgb(0, 0, 0, 0.05);
    contain: content;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.12);
    border-color: rgb(74, 132, 232, 0.3);
}

.domain-card-header {
    height: 16px;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

/* 为不同卡片设置不同颜色的头部 */
.domain-card:nth-child(1) .domain-card-header {
    background: linear-gradient(135deg, #4a84e8 0%, #6b63ff 100%);
}

.domain-card:nth-child(2) .domain-card-header {
    background: linear-gradient(135deg, #9c27b0 0%, #e040fb 100%);
}

.domain-card:nth-child(3) .domain-card-header {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
}

.domain-card:nth-child(4) .domain-card-header {
    background: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
}

.domain-card:nth-child(5) .domain-card-header {
    background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
}

.domain-card:nth-child(6) .domain-card-header {
    background: linear-gradient(135deg, #7b1fa2 0%, #ba68c8 100%);
}

.domain-card:nth-child(7) .domain-card-header {
    background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
}

.domain-card:nth-child(8) .domain-card-header {
    background: linear-gradient(135deg, #f57c00 0%, #ffb74d 100%);
}

/* 头部装饰效果 */
.domain-card-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.3), transparent);
    animation: shineSlide 3s infinite;
    will-change: transform;
}

@keyframes shineSlide {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.domain-card-content {
    padding: 24px;
    text-align: center;
    position: relative;
}

/* 卡片内容装饰 */
.domain-card-content:before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.1), rgb(107, 99, 255, 0.1));
    border-radius: 50%;
    z-index: 0;
}

.domain-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.domain-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #4a84e8 0%, #6b63ff 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.domain-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.domain-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.4);
}

.domain-btn:hover:before {
    left: 100%;
}

.domain-btn span {
    position: relative;
    z-index: 1;
}

/* 暗黑模式下的域名卡片样式 */
.dark-mode .domain-card {
    /* background now handled by var(--content-bg) */
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.4);
    border-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .domain-card:hover {
    border-color: rgb(107, 158, 255, 0.4);
}

.dark-mode .domain-card-content:before {
    background: linear-gradient(135deg, rgb(107, 158, 255, 0.1), rgb(138, 129, 255, 0.1));
}

.dark-mode .domain-name {
    color: white;
}

.dark-mode .domain-btn {
    background: linear-gradient(135deg, #3a3a3c 0%, #4a4a4c 100%);
    border-color: rgb(255, 255, 255, 0.1);
    color: white;
}

.dark-mode .domain-btn:hover {
    background: linear-gradient(135deg, #4a4a4c 0%, #5a5a5c 100%);
    border-color: #6b9eff;
    box-shadow: 0 4px 12px rgb(107, 158, 255, 0.3);
}

/* 响应式设�? */
@media (width <=1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .channel-content {
        flex-direction: column;
        text-align: center;
    }

    .channel-icon {
        align-self: center;
    }

    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width <=768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-header,
    .solutions-grid,
    .channel-distribution {
        margin: 0 10px 30px;
    }

    .solutions-main-title {
        font-size: 24px;
    }

    .solutions-sub-title {
        font-size: 14px;
    }

    .domains-grid {
        grid-template-columns: 1fr;
        margin: 0 10px;
    }

    .domains-title {
        font-size: 20px;
    }

    .domains-subtitle {
        font-size: 14px;
    }
}

/* 中等屏幕 - 2列布局 */
@media (width <=1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);

        /* 两列等宽 */
    }

    .home-main-title {
        font-size: 28px;
    }

    .home-sub-title {
        font-size: 14px;
    }
}

/* 小屏�?- 响应式标�? */
@media (width <=768px) {
    .home-main-title {
        font-size: 24px;
    }

    .home-sub-title {
        font-size: 13px;
    }

    .home-header {
        margin-bottom: 30px;
        padding: 15px 0;
    }
}

/* --- 4. 卡片核心样式 (带边框切角修复版 + 3D效果) --- */
.tech-card {
    position: relative;

    /* 【核心】父元素背景色即为边框色 (默认浅灰) */
    background: var(--border-color);
    padding: 1px;

    /* 这里留出1px缝隙，但这由下面�?inset 控制更精准，这里主要用于占位 */

    /* 定义切角形状：右下角切掉 */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    z-index: 1;

    /* 建立层级上下�? */

    /* 3D变换准备 */
    transform-style: preserve-3d;
    perspective: 1000px;

    /* 初始状�?- 用于stagger动画 */
    opacity: 0;
    transform: translateY(30px) rotateX(10deg) translateZ(0);
}

/* 为所有动画元素添加硬件加速 */
.cyber-btn,
.character-image {
    transform: translateZ(0);
}

/* HUD圆环使用独立变换属性，避免 transform 冲突 */
.hud-circle {
    will-change: rotate, scale, translate;
    translate: 0 0 0;
    contain: layout style;
}

/* 卡片进入视口时的动画 */
.tech-card.in-view {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Stagger动画延迟 - 每张卡片依次出现 */
.tech-card:nth-child(1) {
    transition-delay: 0.1s;
}

.tech-card:nth-child(2) {
    transition-delay: 0.15s;
}

.tech-card:nth-child(3) {
    transition-delay: 0.2s;
}

.tech-card:nth-child(4) {
    transition-delay: 0.25s;
}

.tech-card:nth-child(5) {
    transition-delay: 0.3s;
}

.tech-card:nth-child(6) {
    transition-delay: 0.35s;
}

.tech-card:nth-child(7) {
    transition-delay: 0.4s;
}

.tech-card:nth-child(8) {
    transition-delay: 0.45s;
}

/* 【核心】伪元素：充当白色的卡片背景 */
.tech-card:after {
    content: '';
    position: absolute;

    /* 上下左右各缩�?1px，从而露出父元素的背景色，形�?边框" */
    inset: 1px;
    background: var(--content-bg);

    /* 形状必须和父元素完全一�? */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    z-index: -1;

    /* 放在内容底部 */
}

/* 顶部彩色装饰�? */
.tech-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);

    /* 调用 HTML 中的颜色变量 */
    opacity: 0.8;
    z-index: 2;
    transition: 0.3s;
}

/* --- 5. 卡片悬停交互 (3D倾斜效果) --- */
.tech-card:hover {
    transform: translateY(-10px) scale(1.02);

    /* 上浮+轻微放大 */

    /* 悬停时，父元素背�?边框)变成主题�? */
    background: var(--accent);

    /* 添加发光阴影 */
    box-shadow:
        0 20px 40px var(--shadow),
        0 0 30px var(--accent);
}

/* 3D倾斜效果 - 根据鼠标位置 */
.tech-card.tilt-left:hover {
    transform: translateY(-10px) scale(1.02) rotateY(-5deg) rotateX(5deg);
}

.tech-card.tilt-right:hover {
    transform: translateY(-10px) scale(1.02) rotateY(5deg) rotateX(5deg);
}

.tech-card:hover:before {
    opacity: 1;
    height: 4px;

    /* 添加流光效果 */
    background: linear-gradient(90deg, var(--accent), #fff, var(--accent));
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* --- 6. 卡片内部元素样式 --- */
.card-bg-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 60px;
    font-weight: bold;

    /* 默认状态：改为使用纯色配合低透明度，过渡更自�? */
    color: var(--text-main);

    /* 黑色�? */
    opacity: 0.05;

    /* 5% 不透明�?(淡淡的灰�? */

    pointer-events: none;
    z-index: 0;

    /* 增加 transition 时间，让变化更柔�? */
    transition: all 0.3s ease;
}

.tech-card:hover .card-bg-num {
    /* 悬停状态：变成主题�? */
    color: var(--accent);

    /* 【核心修改】大幅提高不透明�? */

    /* 之前�?0.1 (太淡�?，现在改�?0.35 (清晰可见) */
    opacity: 0.5;
}

.card-header {
    position: relative;
    z-index: 2;
    padding: 35px 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgb(0, 0, 0, 0.04);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s;
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.tech-card:hover .card-icon {
    background: var(--accent);
    color: #fff;
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    margin: 0;
}

.tech-card>p {
    /* 选择直接子元素p */
    position: relative;
    z-index: 2;
    padding: 0 30px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 25px;
    min-height: 45px;

    /* 保证高度对其 */
}

.card-line {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
    margin-bottom: 15px;
}

.card-footer {
    position: relative;
    z-index: 2;
    padding: 0 30px 25px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-light);
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- 7. 卡片悬停交互 --- */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;

    /* 调整间距 */
}

.domain-card {
    position: relative;
    background: var(--content-bg);
    padding: 25px 20px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    overflow: hidden;

    --accent: var(--blue);

    contain: content;
}

.domain-card:nth-child(4n + 1) {
    --accent: var(--blue);
}

.domain-card:nth-child(4n + 2) {
    --accent: var(--pink);
}

.domain-card:nth-child(4n + 3) {
    --accent: #944bda;
}

.domain-card:nth-child(4n + 4) {
    --accent: #ff9d00;
}

.domain-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
    opacity: 0.1;
    transform: rotate(-90deg);
    transition: 0.3s;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.domain-card:hover:before {
    opacity: 1;
}

.domain-name {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
}

.domain-status {
    font-size: 12px;
    padding: 4px 12px;
    background: rgb(0, 0, 0, 0.03);
    border-radius: 20px;
    color: var(--text-light);
    font-weight: bold;
}

.domain-card:hover .domain-status {
    background: var(--accent);
    color: #fff;
}

.domain-btn {
    width: 100%;
    padding: 8px;
    border: 1px dashed var(--border-color);
    background: transparent;
    font-size: 13px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.domain-card:hover .domain-btn {
    border-style: solid;
    border-color: var(--accent);
    color: var(--accent);
}

.domain-btn:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* ================= 统一响应式适配 ================= */

/* 1. 超大屏幕 */
@media (width >=1920px) {
    .character-image {
        height: 90%;
        right: -200px;
        bottom: -10px;
    }
}

/* 2. 中等屏幕 */
@media (width <=1600px) {
    .cta-character {
        transform: scale(0.95);
    }
}

@media (width <=1366px) {
    .cta-character {
        transform: scale(0.9);
    }
}

/* 3. 热门域名板块调整 */
@media (width <=1100px) {
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-character.cta-character {
        display: none;
    }
}

/* 3. 笔记�?小屏显示�? */
@media (width <=1024px) {
    .main-title {
        font-size: 60px;
    }

    .title-row-2 {
        margin-left: 5px;
    }

    .character-image {
        max-height: 70%;
        transform: none;
    }

    .char-placeholder {
        max-width: 100%;
        height: auto;
        transform: translate(-50%, -50%);
    }

    .hero-container {
        transform: translateY(-15px);
    }

    .hero-char-area {
        max-width: 400px;
    }
}

/* 4. 平板横屏/小屏笔记�? */
@media (width <=900px) {
    .content-section {
        margin-top: 0;
        padding-top: 50px;
    }

    .feature-grid {
        grid-template-columns: 1fr;

        /* 变为单列 */
        gap: 20px;
    }

    .title-main {
        font-size: 50px;

        /* 缩小背景大字 */
        top: 10px;
    }

    .content-inner {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* 5. 手机/平板竖屏 */
@media (width <=768px) {
    .hero-wrapper {
        height: auto;
        padding: 0;
        min-height: 100vh;
        overflow: hidden;
    }

    .hero-container {
        flex-direction: column;
        transform: translateY(0);
        align-items: center;
    }

    .hero-text-group {
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
        min-width: unset;
    }

    .hero-char-area {
        width: 100%;
        max-width: 300px;
        min-width: unset;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        margin: 20px auto 0;
        height: auto;
    }

    .character-image {
        max-height: 250px;
        transform: none;
    }

    .char-placeholder {
        transform: translate(-50%, -50%);
        max-width: 300px;
    }

    /* 多根目录导航响应�? */
    .directory-tabs {
        flex-direction: column;
    }

    .directory-tab {
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .directory-tab.active {
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid var(--primary);
    }

    .directory-content {
        padding: 20px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .cta-btn {
        width: auto;
        padding: 12px 24px;
        font-size: 14px;
    }

    .cta-character {
        display: none;
    }

    .cta-banner.cta-banner:after {
        display: none;
    }

    .pricing-grid.pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner.footer-inner {
        padding: 40px 20px 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-main.footer-main {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-bottom: 30px;
    }

    .footer-brand.footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo.footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-logo .logo-text.logo-text {
        font-size: 28px;
    }

    .footer-desc.footer-desc {
        max-width: 100%;
        margin: 0 auto;
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-nav-group.footer-nav-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        gap: clamp(8px, 3vw, 24px);
        justify-content: space-evenly;
    }

    .footer-nav-section.footer-nav-section {
        min-width: 0;
        flex: 1 1 0;
        text-align: center;
    }

    .footer-nav-title.footer-nav-title {
        font-size: 13px;
        text-align: center;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .footer-nav-title.footer-nav-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav-list.footer-nav-list a {
        font-size: 12px;
    }

    .footer-nav-list.footer-nav-list {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom.footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: clamp(10px, 2vw, 20px);
        padding-top: 25px;
    }

    .footer-copyright.footer-copyright {
        font-size: 12px;
        text-align: center;
    }

    .footer-legal.footer-legal {
        font-size: 11px;
        justify-content: center;
    }

    .tag-line {
        justify-content: center;
    }

    .cyber-btn.ghost {
        display: none;
    }

    .main-title {
        font-size: 58px;
    }

    /* 标题居中修正 */
    .title-row-2 {
        margin-left: auto;
        margin-right: auto;
        width: max-content;
        max-width: 100%;

        /* 抵消斜体带来的视觉偏差，使其看起来更居中 */
        transform: translateX(5px);
    }

    /* 移动端重置伪元素偏移 */
    .title-row-2:before,
    .title-row-2:after {
        left: 0;
        width: 100%;
    }

    .desc-box {
        justify-content: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .desc-text {
        max-width: 100%;
        text-align: center;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-char-area {
        position: relative;
        width: 100%;
        max-width: 250px;
        height: auto;
        right: 0;
        opacity: 0.8;
        margin-top: 20px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: auto;
    }

    .character-image {
        max-height: 200px;
        right: auto;
        left: auto;
        transform: none;
        bottom: auto;
    }

    .char-placeholder {
        width: 300px;
        height: 300px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-marquee {
        bottom: 0;
        padding: 10px 0;
        box-shadow: 0 3px 15px var(--shadow);
    }

    .content-section {
        margin-top: 15px;
        padding-top: 60px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .title-main {
        font-size: 40px;
    }

    .title-sub {
        font-size: 24px;
    }
}

/* ================= 解析价格板块 ================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;

    /* 调整间距 */
}

.pricing-grid .price-card:nth-child(4n + 1) {
    --accent: var(--blue);
}

.pricing-grid .price-card:nth-child(4n + 2) {
    --accent: var(--pink);
}

.pricing-grid .price-card:nth-child(4n + 3) {
    --accent: #944bda;
}

.pricing-grid .price-card:nth-child(4n + 4) {
    --accent: #ff9d00;
}

/* 商业授权样式 */
.licensing-header {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
    color: inherit;
    position: relative;
    overflow: visible;
}

.licensing-header:before {
    display: none;
}

.licensing-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.licensing-intro {
    margin-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.intro-card {
    background: url('../picture/rp-new5.png') no-repeat center center;
    background-size: cover;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow);
}

.intro-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgb(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.intro-icon {
    width: 164px;
    height: 164px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.intro-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.intro-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.intro-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.intro-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: rgb(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgb(255, 255, 255, 0.85);
    margin: 0;
    padding-top: 12px;
}

.intro-decoration {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    z-index: 1;
}

.deco-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.deco-circle:nth-child(2) {
    animation-delay: 0.3s;
}

.deco-circle:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.licensing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.licensing-advantages {
    margin-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.licensing-advantages .section-title,
.licensing-why .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.licensing-why {
    margin-bottom: 40px;
    margin-left: 20px;
    margin-right: 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--content-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    contain: content;
}

.why-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent, var(--primary)));
    animation: rotate 4s linear infinite;
}

.why-card:after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--content-bg);
    border-radius: 18px;
    z-index: 1;
}

.why-card>* {
    position: relative;
    z-index: 2;
}

.why-card.licensed {
    --accent: var(--primary);

    border-color: var(--primary);
}

.why-card.unlicensed {
    --accent: #ff9d00;

    border-color: #ff9d00;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
}

.why-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.why-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-card.licensed .why-icon {
    background: transparent;
    box-shadow: none;
}

.why-card.licensed .why-icon img {
    animation: pulse 2s ease-in-out infinite;
}

.why-card.unlicensed .why-icon {
    background: transparent;
    box-shadow: none;
}

.why-card.unlicensed .why-icon img {
    animation: pulse 2s ease-in-out infinite 0.5s;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.why-footer {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent, var(--primary));
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* 黑暗模式下的商业授权样式 */
.dark-mode .licensing-header {
    background: transparent;
}

.dark-mode .intro-card {
    background: url('../picture/rp-new5.png') no-repeat center center;
    background-size: cover;
}

.dark-mode .why-card:after {
    background: rgb(30, 30, 40, 0.8);
}

.dark-mode .why-card {
    border-color: rgb(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px var(--shadow);
}

.dark-mode .why-card:hover {
    box-shadow: 0 12px 30px var(--shadow);
}

.dark-mode .why-card.licensed .why-icon {
    background: transparent;
    box-shadow: none;
}

.dark-mode .why-card.unlicensed .why-icon {
    background: transparent;
    box-shadow: none;
}

.dark-mode .why-card h3 {
    color: white;
}

.dark-mode .why-card p {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .why-footer {
    color: var(--accent, var(--primary-light));
}

/* 响应式设�?- 商业授权 */
@media (width <=900px) {
    .licensing-intro {
        margin-bottom: 40px;
    }

    .intro-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .intro-decoration {
        display: none;
    }

    .licensing-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .licensing-buttons {
        flex-direction: column;
    }
}

@media (width <=768px) {
    .licensing-header {
        padding: 30px 20px;
    }

    .intro-card {
        padding: 30px 20px;
    }

    .intro-icon {
        width: 164px;
        height: 164px;
    }

    .intro-icon svg {
        width: 40px;
        height: 40px;
    }

    .intro-content h3 {
        font-size: 24px;
    }

    .intro-content h4 {
        font-size: 18px;
    }

    .intro-content p {
        font-size: 14px;
    }

    .why-card {
        padding: 30px;
    }

    .why-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .why-icon {
        width: 48px;
        height: 48px;
    }

    .why-icon svg {
        width: 24px;
        height: 24px;
    }

    .why-card h3 {
        font-size: 18px;
    }

    .why-card p {
        font-size: 14px;
    }
}

.price-card {
    position: relative;

    /* 【核心】父元素背景色即为边框色 */
    background: var(--border-color);
    padding: 1px;

    /* 定义切角形状：右下角切掉 */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.price-card:after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--content-bg);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
    z-index: -1;
}

/* 顶部彩色装饰�? */
.price-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, var(--pink));
    opacity: 0.8;
    z-index: 2;
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
    background: var(--accent, var(--pink));
}

.price-card.featured {
    transform: scale(1.05);
    background: var(--pink);
    z-index: 2;
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--pink);
    color: #fff;
    padding: 4px 35px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 2px 10px rgb(228, 70, 125, 0.3);
}

.price-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-header h3 {
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 5px;
}

.price-header p {
    font-size: 13px;
    color: var(--text-light);
}

.price-value {
    font-size: 44px;
    font-weight: 900;
    color: var(--accent, var(--pink));
    margin: 25px 0;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-style: italic;
}

.price-value span {
    font-size: 15px;
    color: var(--text-lighter);
    font-weight: bold;
    font-style: normal;
}

.price-features {
    list-style: none;
    margin: 20px 0 30px;
    padding: 0;
    width: 100%;
}

.price-features li {
    padding: 10px 0;
    color: #666;
    font-size: 13px;
    border-bottom: 1px dashed rgb(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.price-features li:before {
    content: '>';
    font-family: var(--font-mono);
    color: var(--accent, var(--pink));
    font-weight: bold;
    margin-right: 8px;
    font-size: 10px;
}

.price-btn {
    width: 100%;
    padding: 14px;
    background: var(--text-main);
    color: #fff;
    font-weight: bold;
    font-style: italic;
    font-size: 15px;
    clip-path: polygon(8px 0, 100% 0, 100% 70%, calc(100% - 8px) 100%, 0 100%, 0 30%);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.price-card:hover .price-btn {
    background: var(--accent, var(--pink));
    box-shadow: 4px 4px 0 var(--text-main);
}

.price-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--text-main);
    transition: all 0.1s ease;
}

.price-card.featured .price-btn {
    background: var(--pink);
}

/* 6. 小屏手机 */
@media (width <=480px) {
    .title-main {
        font-size: 40px;
    }

    .footer-nav-group.footer-nav-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        gap: clamp(6px, 2.5vw, 16px);
        justify-content: space-evenly;
    }

    .footer-nav-section.footer-nav-section {
        min-width: 0;
        flex: 1 1 0;
        text-align: center;
    }

    .footer-nav-title.footer-nav-title {
        font-size: 11px;
        text-align: center;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .footer-nav-title.footer-nav-title:after {
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
    }

    .footer-nav-list.footer-nav-list {
        text-align: center;
    }

    .footer-nav-list.footer-nav-list li {
        margin-bottom: 4px;
    }

    .footer-nav-list.footer-nav-list a {
        font-size: 10px;
    }

    .footer-nav-list.footer-nav-list a:before {
        display: none;
    }
}

/* ================= CTA 横幅 ================= */
.cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    padding: 80px 20px 60px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image:
        linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%),
        linear-gradient(to top, rgb(255, 255, 255, 0.1), rgb(255, 255, 255, 0.5));
    box-shadow:
        0 -8px 32px rgb(59, 130, 246, 0.3),
        0 0 10px rgb(255, 255, 255, 0.3),
        inset 0 0 10px rgb(255, 255, 255, 0.05);
    animation: gradientShift 15s ease infinite;
}

/* 暗黑模式下的边框发光效果 */
.dark-mode .cta-banner {
    border: 1px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image:
        linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%),
        linear-gradient(to top, rgb(255, 255, 255, 0.2), rgb(255, 255, 255, 0.6));
    box-shadow:
        0 -8px 32px rgb(59, 130, 246, 0.3),
        0 0 15px rgb(255, 255, 255, 0.4),
        inset 0 0 10px rgb(255, 255, 255, 0.1);
}

/* 渐变动画 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 数据流装�? */
.cta-banner:after {
    content: '01010011 01010100 01000001 01010010 01010100';
    position: absolute;
    right: 20px;
    top: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgb(255, 255, 255, 0.15);
    letter-spacing: 2px;
    pointer-events: none;
}

/* 装饰性圆�? */
.cta-banner:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgb(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgb(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgb(255, 255, 255, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgb(255, 255, 255, 0.05) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
}

/* 暗黑模式下的装饰性圆�? */
.dark-mode .cta-banner:before {
    background:
        radial-gradient(circle at 20% 20%, rgb(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgb(255, 255, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgb(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgb(255, 255, 255, 0.08) 0%, transparent 35%);
}

/* 光效装饰 */
.cta-banner .light-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: lightPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

/* 暗黑模式下的发光效果 */
.dark-mode .cta-banner .light-effect {
    background: radial-gradient(circle, rgb(255, 255, 255, 0.2) 0%, transparent 70%);
}

@keyframes lightPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.cta-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
    text-align: left;
    box-sizing: border-box;
}

.cta-inner:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -150px;
    width: 1px;
    height: 1px;
}

.cta-content {
    color: #fff;
    position: relative;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 代码标签 */

/* ================= 货源丰富区块样式 ================= */
.product-richness-section {
    margin: 0;
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.richness-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

/* 区块标题样式 - 统一与richness-text h3一致 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 2px;
}

.section-sub-title {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.richness-text h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 2px;
}

.richness-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.richness-image {
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.richness-image:hover {
    transform: translateY(-5px);
}

.richness-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 深色模式下的货源丰富区块样式 */
.dark-mode .product-richness-section {
    /* background now handled by var(--content-bg) */
}

.dark-mode .richness-text h3 {
    color: var(--text-main);
}

.dark-mode .richness-text p {
    color: var(--text-secondary);
}

.dark-mode .richness-image {
    /* 移除深色模式下的阴影 */
    box-shadow: none;
}

.dark-mode .richness-image:hover {
    /* 移除深色模式下的悬停阴影 */
    box-shadow: none;
}

/* 响应式设�? */
@media (width <=768px) {
    .product-richness-section {
        margin: 0;
        padding: 60px 0;
    }

    .richness-content {
        gap: 20px;
    }

    .richness-text h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .richness-text p {
        font-size: 14px;
        padding: 0 10px;
    }

    .richness-image {
        max-width: 95%;
    }
}

/* 平板设备 */
@media (width >=769px) and (width <=1024px) {
    .richness-image {
        max-width: 600px;
    }
}

/* ================= 服务保障数据区块样式 ================= */
.service-guarantee-section {
    margin: 0;
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.guarantee-header {
    text-align: center;
    margin-bottom: 60px;
}

.guarantee-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 2px;
}

.guarantee-header p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.stats-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    will-change: scroll-position;
    scroll-behavior: smooth;
}

.stats-container::-webkit-scrollbar {
    display: none;
}

.stat-card {
    position: relative;
    width: 220px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    contain: content;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card .percent {
    position: relative;
    width: 150px;
    height: 150px;
}

.stat-card .percent svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(270deg);
}

.stat-card .percent svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke-width: 2;
    stroke: #e0e0e0;
}

.stat-card .percent svg circle:nth-child(2) {
    stroke: var(--clr);
    stroke-dasharray: 440;
    stroke-dashoffset: calc(440 - (440 * var(--num)) / 100);
    opacity: 0;
}

.stat-card.animate .percent svg circle:nth-child(2) {
    animation: fadeIn 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.dot {
    position: absolute;
    inset: 5px;
    z-index: 10;
    opacity: 0;
}

.stat-card.animate .dot {
    animation: animateDot 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes animateDot {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        transform: rotate(calc(3.6deg * var(--num) * 0.9)) scale(1.1);
    }

    100% {
        transform: rotate(calc(3.6deg * var(--num))) scale(1);
    }
}

.dot:before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr);
    box-shadow:
        0 0 10px var(--clr),
        0 0 30px var(--clr);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 10px var(--clr),
            0 0 30px var(--clr);
        transform: translateX(-50%) scale(1);
    }

    50% {
        box-shadow:
            0 0 15px var(--clr),
            0 0 40px var(--clr);
        transform: translateX(-50%) scale(1.1);
    }

    100% {
        box-shadow:
            0 0 10px var(--clr),
            0 0 30px var(--clr);
        transform: translateX(-50%) scale(1);
    }
}

.number {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.stat-card.animate .number {
    animation: numberFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes numberFadeIn {
    0% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.number h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-weight: 700;
    font-size: 2em;
    margin: 0;
    white-space: nowrap;
}

/* 兼容无 h2 包裹的直接 stat-number 写法 */
.number>.stat-number {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-weight: 700;
    font-size: 2em;
    margin: 0;
    white-space: nowrap;
}

.number h2 span:not(.stat-number) {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.5em;
}

.number > .stat-number span:not(.stat-number) {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.5em;
}

.number p {
    font-weight: 300;
    font-size: 0.75em;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 8px 0 0;
}

/* 深色模式下的服务保障数据区块样式 */
.dark-mode .service-guarantee-section {
    background: transparent;
}

.dark-mode .guarantee-header h3 {
    color: var(--text-main);
}

.dark-mode .guarantee-header p {
    color: var(--text-secondary);
}

.dark-mode .stat-card {
    background: transparent;
    box-shadow: none;
}

.dark-mode .stat-card:hover {
    box-shadow: none;
}

.dark-mode .stat-card .percent svg circle {
    stroke: #333;
}

.dark-mode .number h2 {
    color: var(--text-main);
}

.dark-mode .number>.stat-number {
    color: var(--text-main);
}

.dark-mode .number h2 span {
    color: var(--text-secondary);
}

.dark-mode .number>.stat-number span {
    color: var(--text-secondary);
}

.dark-mode .number p {
    color: var(--text-secondary);
}

/* 响应式设�? */
@media (width <=768px) {
    .service-guarantee-section {
        margin: 0;
        padding: 60px 0;
    }

    .guarantee-header {
        margin-bottom: 40px;
    }

    .guarantee-header h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .guarantee-header p {
        font-size: 14px;
        padding: 0 10px;
    }

    .stats-container {
        gap: 20px;
        padding: 0 10px;
    }

    .stat-card {
        width: 160px;
        height: 180px;
    }

    .stat-card .percent {
        width: 110px;
        height: 110px;
    }

    .stat-card .percent svg {
        width: 110px;
        height: 110px;
    }

    .stat-card .percent svg circle {
        transform: translate(4px, 4px);
    }

    .number h2 {
        font-size: 1.6em;
    }

    .number>.stat-number {
        font-size: 1.6em;
    }

    .number p {
        font-size: 0.65em;
    }
}

/* 平板设备 */
@media (width >=769px) and (width <=1024px) {
    .stats-container {
        gap: 25px;
    }

    .stat-card {
        width: 180px;
        height: 210px;
    }

    .stat-card .percent {
        width: 120px;
        height: 120px;
    }

    .stat-card .percent svg {
        width: 120px;
        height: 120px;
    }

    .number h2 {
        font-size: 1.8em;
    }

    .number>.stat-number {
        font-size: 1.8em;
    }

    .number p {
        font-size: 0.7em;
    }
}

.cta-content:before {
    content: '// SYSTEM.CTA';
    position: absolute;
    top: -28px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgb(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.cta-title {
    font-size: 34px;
    font-weight: 800;
    font-style: normal;
    margin-bottom: 12px;
    text-shadow: none;
    letter-spacing: 0.5px;
    position: relative;
    font-family: var(--font-main);
}

.cta-desc {
    font-size: 14px;
    opacity: 0.9;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 15px;
    font-weight: 400;
}

/* 描述前缀 */
.cta-desc:before {
    content: '>';
    position: absolute;
    left: 0;
    color: rgb(255, 255, 255, 0.7);
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: flex-start;
}

.cta-btn {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: var(--font-main);
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: var(--text-main);
    color: #fff;
    clip-path: polygon(10px 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%, 0 30%);
}

.cta-btn.primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.3);
    background: #000;
}

.cta-btn.primary:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgb(255, 255, 255, 0.3);
    transition: all 0.1s ease;
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgb(255, 255, 255, 0.6);
    clip-path: none;
    border-radius: 4px;
}

.cta-btn.secondary:hover {
    background: rgb(255, 255, 255, 0.15);
    border-color: var(--text-main);
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.2);
}

.cta-btn.secondary:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgb(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

/* 暗黑模式下的CTA按钮样式 */
.dark-mode .cta-btn.primary {
    background: #000;
    color: #fff;
}

.dark-mode .cta-btn.primary:hover {
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.3);
    background: #333;
}

.dark-mode .cta-btn.primary:active {
    box-shadow: 2px 2px 0 rgb(255, 255, 255, 0.3);
}

.dark-mode .cta-btn.secondary {
    border-color: rgb(255, 255, 255, 0.6);
}

.dark-mode .cta-btn.secondary:hover {
    border-color: #fff;
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.2);
}

.dark-mode .cta-btn.secondary:active {
    box-shadow: 2px 2px 0 rgb(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    background: rgb(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 rgb(255, 255, 255, 0.2);
}

.cta-btn.secondary:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgb(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

.cta-character {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    order: 1;
    margin-bottom: 0;
}

.cta-character-img {
    height: 600px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgb(0, 0, 0, 0.2));
}

/* MacBook 容器�?CTA 区域的适配 */
.cta-character .macbook-container {
    transform: scale(1.3);
    transform-origin: center center;
}

/* ================= MacBook 动画样式 ================= */
.macbook-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.6);
    transform-origin: center bottom;
}

.macbook {
    position: relative;
    width: 228px;
    height: 260px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.macbook:hover {
    transform: translateY(-8px);
    animation-play-state: paused;
}

.macbook__topBord {
    position: absolute;
    z-index: 0;
    top: 34px;
    left: 0;
    width: 128px;
    height: 116px;
    border-radius: 6px;
    transform-origin: center;
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
    transform: scale(0) skewY(-30deg);
    animation: topbord 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.macbook__topBord:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 6px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #000;
}

.macbook__topBord:after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: -7px;
    left: 8px;
    width: 168px;
    height: 12px;
    transform-origin: left bottom;
    transform: rotate(-42deg) skew(-4deg);
    background: linear-gradient(-135deg, #c8c9c9 52%, #8c8c8c 56%);
}

.macbook__display {
    position: absolute;
    top: 17px;
    left: 12px;
    z-index: 2;
    width: calc(100% - 12px);
    height: calc(100% - 18px);
    background: linear-gradient(45deg, #3ba9ff, #c82aff);
}

.macbook__display:before {
    content: '';
    position: absolute;
    z-index: 5;
    top: -9px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 18px);
    border-radius: 6px;
    background: linear-gradient(60deg, rgb(255, 255, 255, 0) 60%, rgb(255, 255, 255, 0.3) 60%);
}

.macbook__load {
    position: relative;
    width: 100%;
    height: 100%;
    background: #222;
    animation: display 0.4s 3.3s ease forwards;
    opacity: 1;
    z-index: 2;
}

.macbook__load:before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px;
    height: 6px;
    border-radius: 3px;
    box-sizing: border-box;
    border: solid 1px #fff;
}

.macbook__load:after {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    bottom: 0;
    margin: auto;
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    animation: load 1.8s 1.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* MacBook 屏幕 */
.macbook__screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #3ba9ff, #c82aff);
    opacity: 0;
    animation: showScreen 0.6s 3.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    z-index: 1;
}

/* MacBook 屏幕中的 logo */
.macbook-logo {
    max-width: 70%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgb(0, 0, 0, 0.3));
}

@keyframes showScreen {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.macbook__underBord {
    position: relative;
    left: 42px;
    bottom: -145px;
    width: 150px;
    height: 90px;
    border-radius: 6px;
    transform-origin: center;
    transform: rotate(-30deg) skew(30deg);
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    animation: modal 0.6s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.macbook__underBord:before {
    content: '';
    position: absolute;
    z-index: 3;
    top: -8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #dcdede;
}

.macbook__underBord:after {
    content: '';
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 12px;
    width: 170px;
    height: 15px;
    transform-origin: top left;
    background: linear-gradient(-45deg, #c8c9c9 61%, #8c8c8c 66%);
    transform: rotate(31deg) skew(-16deg);
}

.macbook__keybord {
    position: relative;
    top: 0;
    left: 16px;
    z-index: 3;
    border-radius: 3px;
    width: calc(100% - 16px);
    height: 45px;
    background: #c8c9c9;
}

.macbook__keybord:before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    height: 25px;
    border-radius: 3px;
    background: #c8c9c9;
}

.keybord {
    position: relative;
    top: 2px;
    left: 2px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 3px);
    height: calc(100% - 4px);
}

.keybord__touchbar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #000;
}

.keybord__keyBox {
    display: grid;
    grid-template-rows: 3fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    height: 24px;
    margin: 1px 0 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
}

.keybord__key {
    position: relative;
    width: 8px;
    height: 7px;
    margin: 1px;
    background: #000;
}

.keybord__keyBox .keybord__key {
    transform: translate(60px, -60px);
    animation: key 0.4s 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.keybord__keyBox .keybord__key:before,
.keybord__keyBox .keybord__key:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.keybord__key:before {
    top: 8px;
    transform: translate(20px, -20px);
    animation: key1 0.4s 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.keybord__key:after {
    top: 16px;
    transform: translate(40px, -40px);
    animation: key2 0.4s 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.keybord__keyBox .key--12:before {
    width: 10px;
}

.keybord__keyBox .key--13:before {
    height: 10px;
}

.key--01 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.key--02 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.key--03 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}

.key--04 {
    grid-row: 1 / 2;
    grid-column: 4 / 5;
}

.key--05 {
    grid-row: 1 / 2;
    grid-column: 5 / 6;
}

.key--06 {
    grid-row: 1 / 2;
    grid-column: 6 / 7;
}

.key--07 {
    grid-row: 1 / 2;
    grid-column: 7 / 8;
}

.key--08 {
    grid-row: 1 / 2;
    grid-column: 8 / 9;
}

.key--09 {
    grid-row: 1 / 2;
    grid-column: 9 / 10;
}

.key--10 {
    grid-row: 1 / 2;
    grid-column: 10 / 11;
}

.key--11 {
    grid-row: 1 / 2;
    grid-column: 11 / 12;
}

.key--12 {
    grid-row: 1 / 2;
    grid-column: 12 / 13;
}

.key--13 {
    grid-row: 1 / 2;
    grid-column: 13 / 14;
}

.keybord__keyBox--under {
    margin: 0;
    padding: 0 0 0 1px;
    box-sizing: border-box;
    list-style: none;
    display: flex;
}

.keybord__keyBox--under .keybord__key {
    transform: translate(80px, -80px);
    animation: key3 0.3s 1.6s linear forwards;
    opacity: 0;
}

.key--19 {
    width: 28px;
}

/* MacBook 动画关键�? */
@keyframes topbord {
    0% {
        transform: scale(0) skewY(-30deg);
        opacity: 0;
    }

    40% {
        transform: scale(1.08) skewY(-30deg);
        opacity: 1;
    }

    60% {
        transform: scale(0.96) skewY(-30deg);
        opacity: 1;
    }

    80% {
        transform: scale(1.02) skewY(-30deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) skewY(-30deg);
        opacity: 1;
    }
}

@keyframes display {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes load {
    0% {
        transform: scaleX(0);
        opacity: 0.5;
    }

    15% {
        transform: scaleX(0.3125);
        opacity: 1;
    }

    30% {
        transform: scaleX(0.3125);
        opacity: 1;
    }

    50% {
        transform: scaleX(0.6875);
        opacity: 1;
    }

    75% {
        transform: scaleX(0.6875);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

@keyframes modal {
    0% {
        transform: scale(0) rotate(-30deg) skew(30deg);
        opacity: 0;
    }

    40% {
        transform: scale(1.06) rotate(-30deg) skew(30deg);
        opacity: 1;
    }

    60% {
        transform: scale(0.98) rotate(-30deg) skew(30deg);
        opacity: 1;
    }

    80% {
        transform: scale(1.01) rotate(-30deg) skew(30deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(-30deg) skew(30deg);
        opacity: 1;
    }
}

@keyframes key {
    0% {
        transform: translate(60px, -60px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translate(-5px, 5px) scale(1.02);
        opacity: 1;
    }

    80% {
        transform: translate(2px, -2px) scale(0.99);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes key1 {
    0% {
        transform: translate(20px, -20px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translate(-2px, 2px) scale(1.02);
        opacity: 1;
    }

    80% {
        transform: translate(1px, -1px) scale(0.99);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes key2 {
    0% {
        transform: translate(40px, -40px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translate(-3px, 3px) scale(1.02);
        opacity: 1;
    }

    80% {
        transform: translate(1px, -1px) scale(0.99);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes key3 {
    0% {
        transform: translate(80px, -80px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translate(-6px, 6px) scale(1.02);
        opacity: 1;
    }

    80% {
        transform: translate(2px, -2px) scale(0.99);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* ================= 顶部导航菜单 ================= */

/* 右侧按钮区 */
.ios-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* 导航菜单按钮 - 用opacity淡入玻璃效果 */
.nav-menu-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease;
    position: relative;
}

/* 按钮玻璃层 */
.nav-menu-btn:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(130% 130% at 20% 10%,
            rgb(255, 255, 255, 0.72),
            rgb(255, 255, 255, 0.22) 58%,
            rgb(255, 255, 255, 0.14));
    border: 1px solid rgb(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.88),
        inset 0 -1px 0 rgb(255, 255, 255, 0.24),
        0 10px 24px rgb(16, 26, 48, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.ios-header.scrolled .nav-menu-btn:before {
    opacity: 1;
}

.nav-menu-btn:hover {
    transform: scale(1.05);
}

.nav-menu-btn:active {
    transform: scale(0.95);
}

.dark-mode .nav-menu-btn:before {
    background: radial-gradient(135% 135% at 20% 8%,
            rgb(146, 170, 220, 0.58),
            rgb(78, 92, 128, 0.42) 58%,
            rgb(46, 56, 84, 0.38));
    border-color: rgb(226, 238, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.44),
        inset 0 -1px 0 rgb(255, 255, 255, 0.16),
        0 12px 30px rgb(2, 8, 22, 0.62);
}

/* 深色模式按钮底色 */
.dark-mode .nav-menu-btn {
    background: rgb(255, 255, 255, 0.06);
    border-color: rgb(255, 255, 255, 0.08);
}

.dark-mode .nav-menu-btn:hover {
    background: rgb(28, 28, 30, 0.4);
}

/* 深色模式 iOS18 光泽层 */
.dark-mode .nav-menu-btn:after {
    background: linear-gradient(180deg, rgb(255, 255, 255, 0.08), rgb(255, 255, 255, 0));
}

/* 深色模式滚动后增强 */
.dark-mode .ios-header.scrolled .nav-menu-btn {
    background: rgb(28, 28, 30, 0.6);
    border-color: rgb(255, 255, 255, 0.15);
}

/* 汉堡菜单图标 */
.nav-menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-menu-line {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}


.nav-menu-btn[aria-expanded='true'] .nav-menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-btn[aria-expanded='true'] .nav-menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-menu-btn[aria-expanded='true'] .nav-menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 导航菜单容器 - 胶囊内部扩展 (GPU 加速: grid-template-rows 动画) */
.nav-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: grid-template-rows 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s 0.15s cubic-bezier(0.32, 0.72, 0, 1);
    opacity: 0;
    z-index: 999;
    pointer-events: none;
    margin: 0;
    padding: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: grid-template-rows, opacity;
}

/* 菜单展开状态 - opacity 无延迟立即淡入 */
.nav-menu[aria-hidden='false'] {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateZ(0);
    pointer-events: auto;
    transition: grid-template-rows 0.45s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

/* ================= iOS 18 顶部导航样式 ================= */

/* iOS 18 按钮增强光泽 */
.nav-menu-btn:after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(255, 255, 255, 0.22), rgb(255, 255, 255, 0));
}

/* iOS 18 按钮hover/active增强 */
.ios-header.scrolled .nav-menu-btn:hover {
    transform: translateY(-1px) scale(1.025);
}

.ios-header.scrolled .nav-menu-btn:hover:before {
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.94),
        inset 0 -1px 0 rgb(255, 255, 255, 0.28),
        0 12px 28px rgb(22, 34, 62, 0.24);
}

.ios-header.scrolled .nav-menu-btn:active {
    transform: scale(0.965);
}

/* iOS 18 深色模式按钮增强 */
.dark-mode .ios-header.scrolled .nav-menu-btn:hover:before {
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.52),
        inset 0 -1px 0 rgb(255, 255, 255, 0.2),
        0 14px 34px rgb(4, 10, 26, 0.72);
}

.nav-menu .nav-menu-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    display: block;
}

.nav-menu .nav-menu-aurora {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    max-width: 200px;
    max-height: 200px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgb(255, 0, 72, 0.45), rgb(255, 0, 0, 0.2), transparent);
    animation: sazzad-aurora-move 6.5s infinite ease-in-out;
}

.dark-mode .nav-menu .nav-menu-aurora {
    background: radial-gradient(circle, rgb(0, 150, 255, 0.45), rgb(100, 0, 255, 0.2), transparent);
}

.nav-menu .nav-menu-content {
    position: relative;
    z-index: 1;
}

/* iOS 18 Logo光泽动画 */
@keyframes ios-logo-sheen {
    0% {
        transform: translateX(-130%) skewX(-22deg);
        opacity: 0;
    }

    16% {
        opacity: 0.3;
    }

    44% {
        opacity: 0.18;
    }

    72% {
        transform: translateX(170%) skewX(-22deg);
        opacity: 0;
    }

    100% {
        transform: translateX(170%) skewX(-22deg);
        opacity: 0;
    }
}

.ios-logo {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
}

.ios-logo:before {
    content: '';
    position: absolute;
    top: -25%;
    left: -40%;
    width: 46%;
    height: 170%;
    pointer-events: none;
    background: linear-gradient(110deg, rgb(255, 255, 255, 0), rgb(255, 255, 255, 0.42), rgb(255, 255, 255, 0));
    opacity: 0;
}

.ios-logo:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgb(255, 255, 255, 0.24);
}

.ios-header:not(.ios-header--compact) .ios-logo:before {
    animation: ios-logo-sheen 8.6s linear infinite;
}

/* ============================================
   手机端导航按钮适配
   ============================================ */
@media (width <=768px) {
    .ios-header-content {
        padding: 0 14px;
        width: 100%;
        flex-shrink: 0;
    }

    .nav-menu-btn {
        padding: 8px;
        background: rgb(255, 255, 255, 0.15);
        border: 1px solid rgb(255, 255, 255, 0.2);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .ios-header.scrolled .nav-menu-btn {
        background: rgb(255, 255, 255, 0.8);
        border-color: rgb(255, 255, 255, 0.6);
    }

    .dark-mode .nav-menu-btn {
        background: rgb(30, 30, 30, 0.3);
        border-color: rgb(255, 255, 255, 0.1);
    }

    .dark-mode .ios-header.scrolled .nav-menu-btn {
        background: rgb(30, 30, 30, 0.8);
        border-color: rgb(255, 255, 255, 0.15);
    }
}

.nav-menu-content {
    padding: 8px 0 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-menu-content::before {
    content: '';
    display: block;
    height: 1px;
    background: rgb(0, 0, 0, 0.08);
    margin: 4px 0 12px;
}

.dark-mode .nav-menu-content::before {
    background: rgb(255, 255, 255, 0.1);
}

.nav-menu-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.nav-menu-group:last-child {
    margin-bottom: 0;
}

.nav-menu-group-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    gap: 10px;
    transition: background-color 0.25s ease, color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu-group-btn:hover {
    background-color: rgb(120, 120, 128, 0.08);
}

.nav-menu-group-btn:active {
    background-color: rgb(120, 120, 128, 0.14);
    transform: scale(0.98);
    transition: background-color 0.1s ease, transform 0.1s ease;
}

.nav-menu-group-btn[aria-expanded='true'] {
    color: var(--primary);
}

.nav-menu-group-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    color: #fff;
    background: var(--primary);
}

.nav-menu-group[data-group="product"] .nav-menu-group-icon {
    background: linear-gradient(135deg, #007AFF, #5856D6);
}

.nav-menu-group[data-group="help"] .nav-menu-group-icon {
    background: linear-gradient(135deg, #34C759, #30D158);
}

.nav-menu-group[data-group="addon"] .nav-menu-group-icon {
    background: linear-gradient(135deg, #FF9500, #FF3B30);
}

.nav-menu-group[data-group="contact"] .nav-menu-group-icon {
    background: linear-gradient(135deg, #AF52DE, #5856D6);
}

.nav-menu-group-icon svg {
    width: 16px;
    height: 16px;
}

.nav-menu-group-arrow {
    width: 14px;
    height: 14px;
    margin-left: auto;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    flex-shrink: 0;
    color: rgb(60, 60, 67, 0.3);
}

.nav-menu-group-btn[aria-expanded='true'] .nav-menu-group-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.dark-mode .nav-menu-group-btn:hover {
    background-color: rgb(120, 120, 128, 0.12);
}

.dark-mode .nav-menu-group-arrow {
    color: rgb(235, 235, 245, 0.3);
}

.nav-menu-group-items {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-menu-group-items.open {
    grid-template-rows: 1fr;
}

.nav-menu-group-items>div {
    min-height: 0;
    overflow: hidden;
    margin-top: 4px;
    padding: 4px 0;
    border-radius: 10px;
    background: rgb(120, 120, 128, 0.08);
}

.dark-mode .nav-menu-group-items>div {
    background: rgb(120, 120, 128, 0.18);
}

.nav-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    opacity: 0;
    transform: translateY(-4px) translateZ(0);
    will-change: transform, opacity;
}

.nav-menu-item+.nav-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 0;
    height: 0.33px;
    background: rgb(60, 60, 67, 0.12);
}

.dark-mode .nav-menu-item+.nav-menu-item::before {
    background: rgb(235, 235, 245, 0.12);
}

.nav-menu[aria-hidden='false'] .nav-menu-item {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.nav-menu[aria-hidden='false'] .nav-menu-item:nth-child(1) {
    transition: opacity 0.25s 0.03s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s 0.03s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.nav-menu[aria-hidden='false'] .nav-menu-item:nth-child(2) {
    transition: opacity 0.25s 0.07s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s 0.07s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.nav-menu[aria-hidden='false'] .nav-menu-item:nth-child(3) {
    transition: opacity 0.25s 0.11s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s 0.11s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.nav-menu[aria-hidden='false'] .nav-menu-item:nth-child(4) {
    transition: opacity 0.25s 0.15s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s 0.15s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.nav-menu[aria-hidden='false'] .nav-menu-item:nth-child(5) {
    transition: opacity 0.25s 0.19s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s 0.19s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.2s ease, color 0.2s ease;
}

.nav-menu-item:hover {
    background-color: rgb(120, 120, 128, 0.08);
}

.nav-menu-item:active {
    background-color: rgb(120, 120, 128, 0.14);
    transform: scale(0.98);
    transition: background-color 0.1s ease, transform 0.1s ease;
}

.nav-menu-item.active {
    color: var(--primary);
}

.nav-menu-item-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    color: var(--primary);
    background: rgb(120, 120, 128, 0.08);
}

.dark-mode .nav-menu-item-icon {
    background: rgb(120, 120, 128, 0.2);
}

.nav-menu-item-icon svg {
    width: 16px;
    height: 16px;
}

.nav-menu-item-text {
    flex: 1;
    font-size: 15px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ios-header.scrolled:before {
        background: rgb(255, 255, 255, 0.9);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-menu-btn {
        background: rgb(255, 255, 255, 0.9);
    }

    .dark-mode .ios-header.scrolled:before {
        background: rgb(28, 34, 48, 0.92);
    }

    .dark-mode .nav-menu-btn {
        background: rgb(28, 34, 48, 0.92);
    }
}

/* ================= 全站 UI 一致性补丁（iOS18） ================= */
:root {
    --ui-radius-sm: 12px;
    --ui-radius-md: 16px;
    --ui-radius-lg: 20px;
    --ui-shadow-soft: 0 10px 24px rgb(12, 20, 38, 0.14);
    --ui-shadow-soft-hover: 0 14px 30px rgb(12, 20, 38, 0.18);
    --ui-text-muted: #475569;

    /* Typography scale */
    --ui-fs-h1: clamp(32px, 4vw, 44px);
    --ui-fs-h2: clamp(24px, 3vw, 32px);
    --ui-fs-h3: clamp(18px, 2.1vw, 24px);
    --ui-fs-h4: 18px;
    --ui-fs-body: 15px;
    --ui-fs-body-sm: 14px;
    --ui-fs-caption: 12px;
    --ui-fs-caption-sm: 11px;
    --ui-lh-tight: 1.25;
    --ui-lh-base: 1.6;
}

.tech-card,
.module-card,
.domain-card,
.why-card,
.intro-card {
    box-shadow: var(--ui-shadow-soft);
    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.tech-card:hover,
.module-card:hover,
.domain-card:hover,
.why-card:hover,
.intro-card:hover {
    box-shadow: var(--ui-shadow-soft-hover);
}

.tech-card p,
.module-card p,
.domain-card p,
.stat-card p,
.why-card p,
.footer-copyright,
.footer-legal {
    color: var(--ui-text-muted);
    font-size: var(--ui-fs-body-sm);
    line-height: var(--ui-lh-base);
}

.hero-title,
.section-title,
.cta-title,
.landing-eco__hero h1 {
    font-size: var(--ui-fs-h1);
    line-height: var(--ui-lh-tight);
}

.section-title,
.landing-eco__section-title,
.tech-card h3,
.module-card h3,
.domain-card h3,
.why-card h3,
.intro-content h3,
.footer-nav-title {
    line-height: var(--ui-lh-tight);
}

.tech-card h3,
.module-card h3,
.domain-card h3,
.why-card h3,
.intro-content h3 {
    font-size: var(--ui-fs-h3);
}

.nav-menu-item,
.top-nav-item,
.cyber-btn,
.c-btn,
.cta-btn {
    font-size: var(--ui-fs-body-sm);
    line-height: 1.2;
}

.hero-subtitle,
.hero-description,
.cta-desc,
.landing-eco__hero-lead,
.landing-eco__card-text p,
.landing-eco__features li {
    font-size: var(--ui-fs-body);
    line-height: var(--ui-lh-base);
}

.footer-copyright,
.footer-legal,
.nav-menu-item-text,
.landing-eco__stat-label,
.landing-eco__footer-copy,
.footer-nav-list a,
.footer-nav-title,
.why-footer,
.card-footer {
    font-size: var(--ui-fs-caption);
}

.ios-header-right .theme-switch,
.top-navigation-section .top-nav-item small,
.footer-legal .divider,
.hero-subtitle small,
.landing-eco__hero-en,
.landing-eco__card-no {
    font-size: var(--ui-fs-caption-sm);
}

.section-title,
.landing-eco__section-title,
.footer-main,
.footer-bottom,
.licensing-advantages,
.licensing-why,
.cta-banner {
    margin-top: 0;
}

@media (width <=768px) {

    .section-title,
    .landing-eco__section-title,
    .footer-main,
    .footer-bottom,
    .licensing-advantages,
    .licensing-why,
    .cta-banner {
        margin-top: 0;
    }
}

/* 第二轮字体层级精调：极大标题与数字统一节奏 */
.main-title {
    font-size: clamp(42px, 6.2vw, 76px);
    line-height: 1.12;
}

@keyframes heroBrandIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: heroBrandIn 0.8s ease-out 1.5s forwards;
}

.hero-brand-image {
    display: block;
    width: min(40vw, 280px);
    height: auto;
    object-fit: contain;
}

.hero-brand-image-dark {
    display: none;
}

.dark-mode .hero-brand-image-light {
    display: none;
}

.dark-mode .hero-brand-image-dark {
    display: block;
}

.service-hero .main-title {
    font-size: var(--ui-fs-h1);
    line-height: var(--ui-lh-tight);
}

.title-main {
    font-size: clamp(40px, 5.6vw, 64px);
    line-height: 1.1;
}

.cart-rank,
.brand-rank,
.rank-number {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1;
}

@media (width <=1024px) {
    .main-title {
        font-size: clamp(36px, 6vw, 58px);
    }

    .title-main {
        font-size: clamp(34px, 5.4vw, 50px);
    }
}

@media (width <=768px) {
    .main-title {
        font-size: clamp(30px, 8.2vw, 48px);
        line-height: 1.15;
    }

    .hero-brand-image {
        width: min(72vw, 300px);
    }

    .title-main {
        font-size: clamp(28px, 7.5vw, 42px);
    }

    .cart-rank,
    .brand-rank,
    .rank-number {
        font-size: clamp(24px, 7vw, 38px);
    }
}

/* ================= Footer 波浪动画 ================= */
.footer-waves {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;

    /* 确保波浪动画不会影响容器位置 */
    transform: translateZ(0);
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 17s;
}

.parallax>use:nth-child(5) {
    animation-delay: -6s;
    animation-duration: 22s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* ================= 顶部导航区域 ================= */
.top-navigation-section {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    background: var(--bg-color);
}

.top-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.top-nav-item {
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgb(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgb(255, 255, 255, 0.2);
    box-shadow:
        0 4px 20px rgb(0, 0, 0, 0.08),
        inset 0 1px 0 rgb(255, 255, 255, 0.3),
        inset 0 -1px 0 rgb(0, 0, 0, 0.05);
}

.top-nav-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.top-nav-item:hover:before {
    left: 100%;
}

.top-nav-item:hover {
    color: var(--primary);
    background: rgb(255, 255, 255, 0.25);
    border-color: rgb(74, 132, 232, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgb(74, 132, 232, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.4),
        inset 0 -1px 0 rgb(0, 0, 0, 0.08);
}

.top-nav-item.active {
    color: var(--primary);
    background: rgb(255, 255, 255, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgb(74, 132, 232, 0.5);
    font-weight: 700;
    box-shadow:
        0 8px 24px rgb(74, 132, 232, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.5),
        inset 0 -1px 0 rgb(74, 132, 232, 0.2);
}

.top-nav-item.active:before {
    background: linear-gradient(90deg, transparent, rgb(74, 132, 232, 0.3), transparent);
}

/* 暗黑模式样式 */
.dark-mode .top-nav-item {
    background: rgb(30, 30, 40, 0.6);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow:
        0 4px 20px rgb(0, 0, 0, 0.3),
        inset 0 1px 0 rgb(255, 255, 255, 0.1),
        inset 0 -1px 0 rgb(0, 0, 0, 0.2);
}

.dark-mode .top-nav-item:before {
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.1), transparent);
}

.dark-mode .top-nav-item:hover {
    background: rgb(40, 40, 50, 0.7);
    border-color: rgb(74, 132, 232, 0.4);
    box-shadow:
        0 8px 24px rgb(74, 132, 232, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.15),
        inset 0 -1px 0 rgb(0, 0, 0, 0.25);
}

.dark-mode .top-nav-item.active {
    color: var(--primary);
    background: rgb(40, 40, 50, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgb(74, 132, 232, 0.5);
    box-shadow:
        0 8px 24px rgb(74, 132, 232, 0.25),
        inset 0 1px 0 rgb(255, 255, 255, 0.2),
        inset 0 -1px 0 rgb(74, 132, 232, 0.2);
}

.dark-mode .title-subtitle {
    color: var(--text-secondary);
}

/* 响应式设�? */
@media (width <=768px) {
    .top-nav {
        gap: 12px;
    }

    .top-nav-item {
        padding: 12px 20px;
        font-size: 14px;
    }

    .title-subtitle {
        font-size: 16px;
        margin-top: 12px;
        padding: 0 16px;
    }
}

@media (width <=480px) {
    .top-nav {
        gap: 8px;
    }

    .top-nav-item {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 24px;
    }

    .title-subtitle {
        font-size: 14px;
        margin-top: 10px;
        padding: 0 12px;
    }
}

/* ================= 品牌展示区块 ================= */
.brand-showcase-section {
    position: relative;
    z-index: 10;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(74, 132, 232, 0.02) 100%);
}

/* ================= 核心优势区块 ================= */
.core-advantages-section {
    position: relative;
    z-index: 10;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(74, 132, 232, 0.02) 50%, var(--bg-color) 100%);
}

.core-advantages-section .content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.brand-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.brand-title {
    text-align: center;
    margin-bottom: 40px;
}

.brand-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub-title {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.brand-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgb(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255, 0.2);
    padding: 20px;
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: rgb(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgb(0, 0, 0, 0.5);
}

.indicator.active {
    background: var(--primary);
    width: 40px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgb(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev svg,
.carousel-next svg {
    width: 20px;
    height: 20px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.carousel-prev:hover svg,
.carousel-next:hover svg {
    color: white;
}

/* 深色模式适配 */
.dark-mode .brand-showcase-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(107, 153, 240, 0.03) 100%);
}

.dark-mode .core-advantages-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(107, 153, 240, 0.03) 50%, var(--bg-color) 100%);
}

.dark-mode .indicator {
    background: rgb(255, 255, 255, 0.3);
}

.dark-mode .indicator:hover {
    background: rgb(255, 255, 255, 0.5);
}

.dark-mode .indicator.active {
    background: var(--primary);
}

.dark-mode .carousel-prev,
.dark-mode .carousel-next {
    background: rgb(44, 44, 46, 0.9);
}

.dark-mode .carousel-prev svg,
.dark-mode .carousel-next svg {
    color: var(--text-main);
}

.dark-mode .carousel-prev:hover,
.dark-mode .carousel-next:hover {
    background: var(--primary);
}

.dark-mode .brand-sub-title {
    color: rgb(255, 255, 255, 0.7);
}

/* 响应式设�? */
@media (width <=768px) {
    .brand-showcase-section {
        padding: 40px 0 30px;
    }

    .brand-main-title {
        font-size: 28px;
    }

    .brand-sub-title {
        font-size: 15px;
    }

    .brand-carousel {
        padding: 0 12px;
    }

    .carousel-container {
        padding: 15px;
    }

    .carousel-slide img {
        max-height: 300px;
    }

    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

@media (width <=480px) {
    .brand-main-title {
        font-size: 24px;
    }

    .brand-sub-title {
        font-size: 14px;
    }

    .brand-carousel {
        padding: 0 8px;
    }

    .carousel-container {
        padding: 10px;
    }

    .carousel-slide img {
        max-height: 200px;
    }
}

/* ================= 数字化商业营销解决方案区块 ================= */
.digital-marketing-section {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(74, 132, 232, 0.03) 50%, var(--bg-color) 100%);
}

/* 核心价值定位区�? */
.marketing-header {
    text-align: center;
    margin-bottom: 60px;
}

.marketing-value-proposition {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.08) 0%, rgb(0, 229, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgb(74, 132, 232, 0.15);
    position: relative;
    overflow: hidden;
}

.marketing-value-proposition:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.value-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.value-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 六大功能模块网格 */
.marketing-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 模块卡片样式 - 采用tech-card相同的切角边框设�? */
.module-card {
    position: relative;

    /* 父元素背景色即为边框�? */
    background: rgb(0, 0, 0, 0.1);
    padding: 1px;

    /* 定义切角形状：右下角切掉 */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
    z-index: 1;
}

/* 伪元素：充当卡片背景 */
.module-card:after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--content-bg);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    z-index: -1;
}

/* 顶部彩色装饰�? */
.module-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, var(--primary));
    opacity: 0.8;
    z-index: 2;
    transition: 0.3s;
}

.module-card:hover {
    transform: translateY(-10px);
    background: var(--accent, var(--primary));
}

.module-card:hover:before {
    opacity: 1;
    height: 4px;
}

.module-card.active {
    background: var(--accent, var(--primary));
}

/* 背景数字 */
.module-bg-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 60px;
    font-weight: bold;
    color: var(--text-main);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transition: all 0.3s ease;
}

.module-card:hover .module-bg-num {
    color: var(--accent, var(--primary));
    opacity: 0.5;
}

.dark-mode .module-bg-num {
    color: #fff;
    opacity: 0.03;
}

.dark-mode .module-card:hover .module-bg-num {
    color: var(--accent, var(--primary));
    opacity: 0.4;
}

/* 模块头部 */
.module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 35px 30px 20px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.module-card.active .module-header {
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.05) 0%, rgb(0, 229, 255, 0.02) 100%);
}

/* 模块图标 */
.module-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0, 0, 0, 0.04);
    border-radius: 4px;
    color: var(--text-main);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.module-icon svg {
    width: 22px;
    height: 22px;
}

.module-card:hover .module-icon {
    background: var(--accent, var(--primary));
    color: #fff;
}

/* 模块标题�? */
.module-title-group {
    flex: 1;
}

.module-title {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    color: var(--text-main);
    margin: 0 0 4px;
}

.module-subtitle {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

/* 展开/收起按钮 */
.module-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(74, 132, 232, 0.1);
    border-radius: 8px;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.module-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.module-card.active .module-toggle {
    background: var(--primary);
    color: white;
}

.module-card.active .module-toggle svg {
    transform: rotate(180deg);
}

/* 模块内容区域 */
.module-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s ease;
    position: relative;
    z-index: 2;
}

.module-card.active .module-content {
    max-height: 600px;
    padding: 0 30px 25px;
}

/* 模块简�? */
.module-intro {
    padding: 0 0 16px;
    margin-bottom: 16px;
}

.module-intro p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* 分割�? */
.module-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #eee, transparent);
    margin-bottom: 15px;
}

.dark-mode .module-line {
    background: linear-gradient(90deg, var(--ios-border-color), transparent);
}

/* 模块底部 */
.module-footer {
    padding: 0 30px 25px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-light);
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* 子模块列�? */
.sub-modules {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 子模块项 */
.sub-module-item {
    background: rgb(74, 132, 232, 0.03);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.sub-module-item:hover {
    background: rgb(74, 132, 232, 0.06);
    border-color: rgb(74, 132, 232, 0.15);
}

.sub-module-item.active {
    background: rgb(74, 132, 232, 0.08);
    border-color: rgb(74, 132, 232, 0.25);
}

/* 子模块头�? */
.sub-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-module-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.sub-module-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.sub-module-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.sub-module-item.active .sub-module-toggle {
    color: var(--primary);
}

.sub-module-item.active .sub-module-toggle svg {
    transform: rotate(180deg);
}

/* 子模块内�? */
.sub-module-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
    padding: 0 16px;
}

.sub-module-item.active .sub-module-content {
    max-height: 200px;
    padding: 0 16px 14px;
}

.sub-module-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* 深色模式适配 */
.dark-mode .digital-marketing-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgb(107, 153, 240, 0.05) 50%, var(--bg-color) 100%);
}

.dark-mode .marketing-value-proposition {
    background: linear-gradient(135deg, rgb(107, 153, 240, 0.1) 0%, rgb(51, 234, 255, 0.05) 100%);
    border-color: rgb(107, 153, 240, 0.2);
}

.dark-mode .module-card {
    background: rgb(255, 255, 255, 0.1);
}

.dark-mode .module-card:after {
    background: #2c2c2e;
}

.dark-mode .module-card:hover {
    background: var(--accent, var(--primary));
}

.dark-mode .module-icon {
    background: rgb(255, 255, 255, 0.08);
}

.dark-mode .module-title {
    color: var(--text-main);
}

.dark-mode .module-intro p {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .module-footer {
    color: var(--text-light);
}

.dark-mode .sub-module-item {
    background: rgb(107, 153, 240, 0.05);
}

.dark-mode .sub-module-item:hover {
    background: rgb(107, 153, 240, 0.1);
}

/* 响应式设�? */
@media (width <=1024px) {
    .marketing-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width <=768px) {
    .digital-marketing-section {
        padding: 60px 0;
    }

    .marketing-value-proposition {
        padding: 30px 20px;
    }

    .value-title {
        font-size: 24px;
    }

    .value-desc {
        font-size: 15px;
    }

    .marketing-modules {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .module-header {
        padding: 30px 20px 15px;
    }

    .module-icon {
        width: 40px;
        height: 40px;
    }

    .module-icon svg {
        width: 20px;
        height: 20px;
    }

    .module-title {
        font-size: 18px;
    }

    .module-bg-num {
        font-size: 48px;
        right: 15px;
    }

    .module-card.active .module-content {
        padding: 0 20px 20px;
    }
}

/* ================= Footer 详细设计 ================= */
.site-footer {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    border-top: none;
    margin-top: 0;
    position: relative;
    z-index: 101;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

/* 品牌信息�? */
.footer-brand {
    flex: 0 0 auto;
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    font-size: 24px;
    color: var(--pink);
    filter: drop-shadow(0 2px 4px rgb(228, 70, 125, 0.3));
}

.footer-logo .logo-text {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
}

.footer-logo .logo-image {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* 响应式设计 - 调整logo尺寸 */
@media (width <=768px) {
    .footer-logo .logo-image {
        height: 80px;
    }
}

@media (width <=480px) {
    .footer-logo .logo-image {
        height: 60px;
    }
}

.footer-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    max-width: 400px;
}

/* 主要内容�?- PC端横向排�? */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.08);
}

/* 导航栏目 */
.footer-nav-section {
    flex: 1;
    min-width: 100px;
    contain: content;
}

.footer-nav-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--pink);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-nav-list a:before {
    content: '→';
    position: absolute;
    left: -12px;
    color: var(--pink);
    font-weight: bold;
    opacity: 0;
    transition: all 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--pink);
    transform: translateX(6px);
}

.footer-nav-list a:hover:before {
    opacity: 1;
}

/* 联系方式�? */
.footer-contact-section {
    min-width: 140px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #666;
}

.contact-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 底部版权信息 */
.footer-bottom {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-light);
}

.footer-copyright a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: var(--pink);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--pink);
}

.footer-legal .divider {
    color: #ccc;
}

/* ================= Footer 社交链接 ================= */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgb(0, 0, 0, 0.04);
    color: #888;
    transition: all 0.25s ease;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-social-link:last-child .footer-social-icon {
    width: 24px;
    height: 24px;
}

.footer-social-link:hover {
    background: var(--pink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(228, 70, 125, 0.3);
}

/* 导航组间距调整 */
.footer-nav-group {
    display: flex;
    flex: 1;
    gap: 40px;
}

/* ====== support.css ====== */

/**
 * 文件名称：support.css
 * 文件功能：支持中心页面专用样式，包含支持中心页面的布局、组件样式和响应式设计
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. iOS风格界面设计
 * 2. 支持中心页面布局
 * 3. 问题列表和分类标签
 * 4. 授权引导流程
 * 5. FAQ 区域样式
 * 6. 暗黑模式适配
 * 7. 响应式设计
 * 8. 动画效果
 * 
 * 关联文件：
 * - static/js/support.js：支持中心页面交互逻辑
 * - static/js/script.js：与主脚本文件交互
 * - static/css/style.css：基础样式文件
 * - static/css/theme.css：主题切换相关样式
 * 
 * 注意事项：
 * - 支持深色模式和浅色模式
 * - 响应式设计适配不同屏幕尺寸
 * - 与主样式文件保持风格一致
 * - 使用 iOS 风格的设计元素
 */

/* 新客服中心样式 */

/* iOS系统字体 */
* {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 字体层次结构 */
:root {
    /* 字体大小 */
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;
    --font-size-5xl: 32px;

    /* 行高 */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.5;
    --line-height-loose: 1.6;

    /* iOS标准颜色 */
    --ios-blue: #007aff;
    --ios-green: #34c759;
    --ios-red: #ff3b30;
    --ios-yellow: #fc0;
    --ios-purple: #5856d6;
    --ios-pink: #ff2d55;
    --ios-orange: #ff9500;

    /* 中性色 */
    --ios-white: #fff;
    --ios-light-gray: #f2f2f7;
    --ios-medium-gray: #c7c7cc;
    --ios-dark-gray: #8e8e93;
    --ios-black: #000;
}

/* 主内容区域 - 渐变背景，允许动画视觉溢出 */
.ios-main-content {
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: visible;
    clip-path: inset(0 0 0 0);
    background: linear-gradient(180deg, #f2f2f7 0%, #e8edf5 20%, #f0f0f5 40%, #f2f2f7 60%, #e5eaf2 80%, #f2f2f7 100%);
    background-attachment: fixed;
}

/* iOS液态透明风格 */
.ios-blur {
    background: rgb(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgb(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.1);
}

/* 暗黑模式下的iOS液态透明风格 */
.dark-mode .ios-blur {
    background: rgb(30, 30, 30, 0.7);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.3);
}

/* 暗黑模式 - 深色渐变背景 */
.dark-mode .ios-main-content {
    background: linear-gradient(180deg, #0d0d0f 0%, #111118 20%, #0f0f14 40%, #0d0d0f 60%, #12121a 80%, #0d0d0f 100%);
    background-attachment: fixed;
}

/* Hero区域样式 - 允许动画溢出容器，无边框包裹 */
.ios-main-content .pricing-hero {
    position: relative;
    padding: 130px 40px 20px;
    text-align: center;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* HUD圆环 - 使用独立变换属性，避免动画冲突 */
.hud-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%,
            rgb(74, 132, 232, 0.04) 0%,
            rgb(107, 72, 255, 0.03) 30%,
            rgb(0, 229, 255, 0.02) 50%,
            transparent 70%);
    box-shadow:
        0 0 25px rgb(74, 132, 232, 0.1),
        0 0 50px rgb(107, 72, 255, 0.05),
        inset 0 0 30px rgb(74, 132, 232, 0.03),
        inset 0 0 50px rgb(107, 72, 255, 0.02);
    will-change: rotate, scale, translate;
    translate: 0 0 0;
    contain: layout style;
    transition:
        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        scale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 大圆环 - 顺时针慢旋 + 脉冲波纹 */
.pricing-hero .hud-circle.large {
    animation:
        rotateClockwise 28s linear infinite,
        pulseRipple 6s ease-in-out infinite;
}

/* 中圆环 - 逆时针旋转 + 呼吸缩放 */
.pricing-hero .hud-circle.medium {
    animation:
        rotateCounterClockwise 34s linear infinite,
        breathe 7s ease-in-out infinite 1.5s;
}

/* 小圆环 - 顺时针快旋 + 闪烁明暗 */
.pricing-hero .hud-circle.small {
    animation:
        rotateClockwise 22s linear infinite,
        flicker 5s ease-in-out infinite 2.5s;
}

/* 鼠标悬停时加速旋转并增强光晕 */
.pricing-hero:hover .hud-circle {
    animation-duration: 18s, 4s;
    animation-timing-function: linear, ease-in-out;
}

.pricing-hero:hover .hud-circle.large {
    scale: 1.06;
    box-shadow:
        0 0 40px rgb(74, 132, 232, 0.16),
        0 0 80px rgb(107, 72, 255, 0.08),
        0 0 20px rgb(0, 229, 255, 0.06),
        inset 0 0 50px rgb(74, 132, 232, 0.05),
        inset 0 0 70px rgb(107, 72, 255, 0.03);
}

.pricing-hero:hover .hud-circle.medium {
    scale: 1.08;
    box-shadow:
        0 0 35px rgb(74, 132, 232, 0.14),
        0 0 70px rgb(107, 72, 255, 0.07),
        inset 0 0 40px rgb(74, 132, 232, 0.04),
        inset 0 0 60px rgb(107, 72, 255, 0.02);
}

.pricing-hero:hover .hud-circle.small {
    scale: 1.1;
    box-shadow:
        0 0 30px rgb(74, 132, 232, 0.15),
        0 0 60px rgb(107, 72, 255, 0.08),
        inset 0 0 35px rgb(74, 132, 232, 0.05),
        inset 0 0 50px rgb(107, 72, 255, 0.03);
}

/* 圆环边框渐变光晕 */
.pricing-hero .hud-circle:before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(45deg,
            rgb(74, 132, 232, 0.2) 0%,
            rgb(107, 72, 255, 0.2) 25%,
            rgb(0, 229, 255, 0.2) 50%,
            rgb(107, 72, 255, 0.2) 75%,
            rgb(74, 132, 232, 0.2) 100%);
    background-size: 300% 300%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    animation:
        borderGlow 4s ease-in-out infinite,
        borderRotate 12s linear infinite;
    will-change: opacity, background-position;
}

/* 顺时针旋转 */
@keyframes rotateClockwise {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

/* 逆时针旋转 */
@keyframes rotateCounterClockwise {
    from {
        rotate: 360deg;
    }

    to {
        rotate: 0deg;
    }
}

/* 脉冲波纹 - 缩放 + 透明度 + 光晕联动 */
@keyframes pulseRipple {
    0% {
        scale: 1;
        opacity: 0.55;
        box-shadow:
            0 0 25px rgb(74, 132, 232, 0.1),
            0 0 50px rgb(107, 72, 255, 0.05),
            inset 0 0 30px rgb(74, 132, 232, 0.03),
            inset 0 0 50px rgb(107, 72, 255, 0.02);
    }

    50% {
        scale: 1.06;
        opacity: 0.8;
        box-shadow:
            0 0 40px rgb(74, 132, 232, 0.15),
            0 0 80px rgb(107, 72, 255, 0.08),
            0 0 12px rgb(0, 229, 255, 0.06),
            inset 0 0 50px rgb(74, 132, 232, 0.05),
            inset 0 0 70px rgb(107, 72, 255, 0.03);
    }

    100% {
        scale: 1;
        opacity: 0.55;
        box-shadow:
            0 0 25px rgb(74, 132, 232, 0.1),
            0 0 50px rgb(107, 72, 255, 0.05),
            inset 0 0 30px rgb(74, 132, 232, 0.03),
            inset 0 0 50px rgb(107, 72, 255, 0.02);
    }
}

/* 呼吸缩放 */
@keyframes breathe {

    0%,
    100% {
        scale: 1;
        opacity: 0.55;
    }

    50% {
        scale: 1.08;
        opacity: 0.85;
    }
}

/* 闪烁明暗 */
@keyframes flicker {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 0.85;
    }
}

/* 边框光晕呼吸 */
@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.35;
        scale: 1;
    }

    50% {
        opacity: 0.7;
        scale: 1.015;
    }
}

/* 边框渐变旋转 */
@keyframes borderRotate {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.tag-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.tag-line .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.tag-line .line {
    width: 40px;
    height: 1px;
    background: var(--content-bg);
}

.tag-badge {
    padding: 4px 8px;
    border-radius: 12px;
    background: rgb(74, 132, 232, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-title-image {
    margin: 20px auto;
    max-width: 250px;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* 暗黑模式下图片显示为白色 */
.dark-mode .main-title-image img,
.dark-mode .main-title-image-large {
    filter: brightness(0) invert(1);
}

/* 帮助中心页面的小英雄图片不需要反转 */
.dark-mode .main-title-image img.hero-image-small,
.dark-mode .main-title-image img[src*="shark-mascot"],
.dark-mode .pricing-hero .main-title-image img.hero-image-small {
    filter: none;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-container button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid white;
    border-radius: 12px;
    background: var(--card-background);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-container button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.button-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
}

/* 欢迎区域 */
.welcome-section {
    padding: 0;
}

/* 现代化欢迎头部 */
.welcome-header {
    background: linear-gradient(135deg, #4a84e8 0%, #6b48ff 100%);
    padding: 40px 20px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 24px rgb(74, 132, 232, 0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.welcome-text {
    flex: 1;
    min-width: 300px;
    color: white;
}

.welcome-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* 装饰元素 */
.welcome-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.1);
    animation: float 10s infinite ease-in-out;
    will-change: transform;
}

.decoration-dot {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.3);
    animation: pulseScale 3s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes pulseScale {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* 响应式设计 */
@media (width <=768px) {
    .welcome-header {
        padding: 30px 16px;
    }

    .welcome-text h1 {
        font-size: 24px;
    }

    .welcome-text p {
        font-size: 14px;
    }

    .search-container {
        max-width: 100%;
    }
}

@media (width <=480px) {
    .welcome-header {
        padding: 24px 12px;
    }

    .welcome-text h1 {
        font-size: 20px;
    }

    .welcome-content {
        gap: 16px;
    }
}

/* 分类标签 */
.category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 16px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--card-background);
    color: var(--text-secondary);
    border: 1px solid white;
}

.category-tab.active {
    background-color: #ff6b6b;
    color: white;
    border-color: white;
}

.category-tab:hover {
    transform: translateY(-2px);
}

/* 问题列表 */
.questions-list {
    padding: 0 16px 20px;
}

.question-item {
    margin-bottom: 12px;
    border: 1px solid white;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-background);
    transition: all 0.3s ease;
}

.question-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.question-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    background-color: var(--card-background);
}

.question-item-header span {
    font-size: 14px;
    color: var(--text-primary);
    flex: 1;
}

.question-item-arrow {
    color: var(--text-secondary);
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.question-item-content {
    padding: 0 16px 16px;
    background-color: var(--card-background);
    border-top: 1px solid white;
}

.question-item-content .detail-item {
    margin: 0;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

/* 分类章节样式 */
.category-section {
    margin-bottom: 24px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

/* 在线客服 */
.online-service {
    padding: 0 16px 24px;
}

.online-service-button {
    width: 100%;
    padding: 16px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(255, 107, 107, 0.3);
}

.online-service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(255, 107, 107, 0.4);
}

.online-service-button svg {
    color: white;
}

.service-hotline {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (width <=768px) {
    .customer-service-header {
        padding: 16px 12px;
    }

    .service-buttons {
        gap: 10px;
        padding: 0 12px 16px;
    }

    .service-button-icon {
        width: 40px;
        height: 40px;
    }

    .category-tabs {
        padding: 0 12px 12px;
        gap: 10px;
    }

    .questions-list {
        padding: 0 12px 16px;
    }

    .question-item {
        padding: 14px;
    }

    .online-service {
        padding: 0 12px 20px;
    }
}

@media (width <=480px) {
    .customer-service-header {
        padding: 12px 10px;
    }

    .customer-service-text h1 {
        font-size: 18px;
    }

    .customer-service-icon {
        width: 50px;
        height: 50px;
    }

    .customer-service-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-buttons {
        gap: 8px;
        padding: 0 10px 14px;
    }

    .service-button-icon {
        width: 36px;
        height: 36px;
    }

    .service-button-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-button span {
        font-size: 11px;
    }

    .category-tabs {
        padding: 0 10px 10px;
        gap: 8px;
    }

    .category-tab {
        padding: 6px 12px;
        font-size: 13px;
    }

    .questions-list {
        padding: 0 10px 14px;
    }

    .question-item {
        padding: 12px;
    }

    .question-item span {
        font-size: 13px;
    }

    .online-service {
        padding: 0 10px 16px;
    }

    .online-service-button {
        padding: 14px;
        font-size: 15px;
    }
}

/* 暗黑模式适配 */
.dark-mode .pricing-hero {
    background: transparent;
}

.dark-mode .hud-circle {
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.1), rgb(107, 72, 255, 0.1));
}

.dark-mode .tag-line {
    color: var(--dark-text-secondary);
}

.dark-mode .tag-line .line {
    background: var(--content-bg);
}

.dark-mode .tag-badge {
    background: rgb(74, 132, 232, 0.2);
    color: var(--primary-color);
}

.dark-mode .subtitle {
    color: var(--dark-text-secondary);
}

.dark-mode .button-container button {
    background: var(--dark-card-background);
    color: var(--dark-text-primary);
    border-color: white;
}

.dark-mode .button-container button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.dark-mode .customer-service-header {
    background-color: #333;
}

.dark-mode .customer-service-text h2,
.dark-mode .customer-service-text h1 {
    color: #fff;
}

.dark-mode .customer-service-icon {
    background-color: #444;
}

.dark-mode .customer-service-icon svg {
    color: #ff6b6b;
}

.dark-mode .feedback-card {
    background-color: rgb(68, 68, 68, 0.9);
}

.dark-mode .feedback-card span {
    color: #fff;
}

.dark-mode .feedback-arrow svg {
    color: #999;
}

.dark-mode .service-button span {
    color: var(--dark-text-primary);
}

.dark-mode .service-button:nth-child(1) .service-button-icon {
    background-color: rgb(74, 132, 232, 0.2);
}

.dark-mode .service-button:nth-child(2) .service-button-icon {
    background-color: rgb(76, 175, 80, 0.2);
}

.dark-mode .service-button:nth-child(3) .service-button-icon {
    background-color: rgb(255, 152, 0, 0.2);
}

.dark-mode .service-button:nth-child(4) .service-button-icon {
    background-color: rgb(156, 39, 176, 0.2);
}

.dark-mode .service-button:nth-child(5) .service-button-icon {
    background-color: rgb(0, 188, 212, 0.2);
}

.dark-mode .category-tab {
    background-color: var(--dark-card-background);
    color: var(--dark-text-secondary);
    border-color: white;
}

.dark-mode .category-tab.active {
    background-color: #ff6b6b;
    color: white;
    border-color: white;
}

.dark-mode .question-item {
    background-color: var(--dark-card-background);
    border-color: white;
}

.dark-mode .question-item span {
    color: var(--dark-text-primary);
}

.dark-mode .question-item svg {
    color: var(--dark-text-secondary);
}

.dark-mode .online-service-button {
    background-color: #ff6b6b;
    box-shadow: 0 4px 12px rgb(255, 107, 107, 0.3);
}

.dark-mode .service-hotline {
    color: var(--dark-text-secondary);
}

/* 焦点样式 */
.feedback-card:focus,
.service-button:focus,
.category-tab:focus,
.question-item:focus,
.online-service-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 触摸反馈 */
@media (hover: none) and (pointer: coarse) {

    .feedback-card:active,
    .service-button:active,
    .category-tab:active,
    .question-item:active,
    .online-service-button:active {
        transform: scale(0.96);
    }
}

/* 问题列表页面 */
.questions-list-section {
    min-height: 100vh;
    background-color: var(--background-color);
}

.questions-list-header {
    position: relative;
    padding: 40px 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
}

.questions-list-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgb(255, 255, 255, 0.1);
    border-radius: 0 0 50% 50%;
    transform: scaleY(0.5);
    transform-origin: top;
}

.questions-list-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.questions-list-content {
    padding: 0 16px 20px;
}

/* 问题详情页面 */
.question-detail-section {
    min-height: 100vh;
    background-color: var(--background-color);
}

.question-detail-header {
    position: relative;
    padding: 40px 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
}

.question-detail-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgb(255, 255, 255, 0.1);
    border-radius: 0 0 50% 50%;
    transform: scaleY(0.5);
    transform-origin: top;
}

.question-detail-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.question-detail-content {
    padding: 20px 16px;
}

.detail-item {
    margin-bottom: 24px;
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.05);
}

.detail-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.detail-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.detail-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

.detail-item .step-list {
    margin: 16px 0;
    padding-left: 20px;
}

.detail-item .step-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.action-button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.action-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.3);
}

/* 通用头部样式 */
.back-button {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 2;
}

.back-button:hover {
    background-color: rgb(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.header-actions {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

/* 暗黑模式适配 */
.dark-mode .questions-list-section {
    background-color: var(--dark-background);
}

.dark-mode .questions-list-header {
    background: linear-gradient(135deg, #333 0%, #555 100%);
}

.dark-mode .question-detail-section {
    background-color: var(--dark-background);
}

.dark-mode .question-detail-header {
    background: linear-gradient(135deg, #444 0%, #666 100%);
}

.dark-mode .back-button {
    background-color: rgb(255, 255, 255, 0.1);
    border: 1px solid rgb(255, 255, 255, 0.2);
    color: var(--dark-text-primary);
}

.dark-mode .back-button:hover {
    background-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .header-actions {
    color: var(--dark-text-primary);
}

.dark-mode .detail-item {
    background-color: var(--dark-card-background);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.2);
}

.dark-mode .detail-item h3 {
    color: var(--dark-text-primary);
}

.dark-mode .detail-item p {
    color: var(--dark-text-secondary);
}

.dark-mode .detail-item .step-list li {
    color: var(--dark-text-secondary);
}

/* 核心授权引导流程区域 - 与Hero区域无缝衔接 */
.authorization-flow {
    padding: 20px 0 80px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    overflow: visible;
    border-top: none;
    border-bottom: none;
}

.authorization-flow:before {
    content: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 面包屑导航 */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--ios-dark-gray);
}

.breadcrumb-item {
    color: #3c3c43;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--ios-medium-gray);
}

.section-title {
    text-align: center;
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-tight);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.flow-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-loose);
}

/* 步骤进度条 */
.flow-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.progress-step:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--ios-medium-gray);
    z-index: 1;
}

.progress-step:first-child:before {
    width: 50%;
    left: 50%;
}

.progress-step:last-child:before {
    width: 50%;
    left: 0;
}

.progress-step.active:before,
.progress-step.completed:before {
    background: var(--border-color);
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ios-light-gray);
    border: 2px solid var(--ios-medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ios-dark-gray);
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
    background: var(--surface-bg);
    color: #3c3c43;
    border-color: #e5e5ea;
    box-shadow: 0 0 0 4px rgb(0, 0, 0, 0.05);
}

.progress-step.completed .progress-circle {
    background: var(--surface-bg);
    color: #3c3c43;
    border-color: #e5e5ea;
}

.progress-step.completed .progress-circle:after {
    content: '✓';
    font-size: 16px;
    font-weight: 700;
    color: #3c3c43;
}

.progress-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ios-dark-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--text-primary);
    font-weight: 600;
}

.flow-steps {
    position: relative;
    width: 100%;
}

.flow-steps:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    margin-left: -1px;
    border-radius: 1px;
}

.flow-step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    min-height: 200px;
    width: 100%;
}

.flow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface-bg);
    color: #3c3c43;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -30px;
    z-index: 2;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.1);
    background: var(--border-color);
}

.step-content {
    flex: 1;
    background: var(--content-bg);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.05);
    margin: 0 20px;
    max-width: calc(50% - 40px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.dark-mode .step-content {
    background: rgb(30, 30, 30, 0.9);
    border: 1px solid rgb(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.3);
}

.dark-mode .step-title {
    color: #fff;
}

.dark-mode .step-description {
    color: #e0e0e0;
}

.dark-mode .step-details {
    background: rgb(40, 40, 40, 0.8);
    border-left: 4px solid rgb(255, 255, 255, 0.2);
}

.dark-mode .step-checklist li {
    color: #d0d0d0;
}

.dark-mode .step-checklist li:before {
    background: rgb(50, 50, 50, 0.8);
    color: #fff;
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .step-content:hover .step-details {
    background: rgb(50, 50, 50, 0.8);
}

.dark-mode .step-content:hover .step-checklist li:before {
    background: rgb(60, 60, 60, 0.9);
}

.dark-mode .package-item {
    background: rgb(40, 40, 40, 0.8);
    color: #d0d0d0;
    border-left: 3px solid rgb(255, 255, 255, 0.2);
    border-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .package-item strong {
    color: #fff;
}

.dark-mode .step-content:hover .package-item {
    background: rgb(50, 50, 50, 0.8);
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .step-tip {
    background: rgb(40, 40, 40, 0.8);
    border-left: 4px solid rgb(255, 255, 255, 0.2);
    border-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .tip-label {
    background: rgb(50, 50, 50, 0.8);
    color: #fff;
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .tip-content {
    color: #d0d0d0;
}

.dark-mode .step-icon {
    background: rgb(40, 40, 40, 0.8);
    color: #fff;
    border-color: rgb(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.3);
}

.dark-mode .step-content:hover .step-icon {
    background: rgb(50, 50, 50, 0.9);
    box-shadow: 0 8px 20px rgb(0, 0, 0, 0.4);
}

.dark-mode .step-content:before {
    background: rgb(255, 255, 255, 0.1);
}

/* 授权提醒区域暗黑模式样式 */
.dark-mode .authorization-reminder {
    background: linear-gradient(135deg,
            rgb(74, 132, 232, 0.06) 0%,
            rgb(107, 72, 255, 0.08) 50%,
            rgb(0, 229, 255, 0.04) 100%);
    border-top: 1px solid rgb(74, 132, 232, 0.15);
    border-bottom: 1px solid rgb(74, 132, 232, 0.08);
}

.dark-mode .authorization-reminder .section-title {
    color: #fff;
}

.dark-mode .reminder-content p {
    color: #e0e0e0;
}

.dark-mode .service-button {
    background: rgb(50, 50, 50, 0.8);
    color: #fff;
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.3);
}

.dark-mode .service-button:hover {
    background: rgb(60, 60, 60, 0.9);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.4);
}

.step-content:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--border-color);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-content:hover:before {
    opacity: 1;
}

.step-icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-bg);
    color: #3c3c43;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.05);
    z-index: 3;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-content:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgb(0, 0, 0, 0.1);
    background: var(--border-color);
}

.step-details {
    margin: 20px 0;
    padding: 20px;
    background: var(--surface-bg);
    border-radius: 12px;
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-content:hover .step-details {
    background: var(--border-color);
}

.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.step-checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--surface-bg);
    color: #3c3c43;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.step-content:hover .step-checklist li:before {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
    background: var(--border-color);
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-item {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px 16px;
    background: var(--surface-bg);
    border-radius: 8px;
    border-left: 3px solid var(--border-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.package-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.step-content:hover .package-item {
    background: var(--border-color);
    border-color: var(--border-light);
}

.step-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

/* 卡片进入动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 脉冲动画 */
@keyframes iosPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(0, 122, 255, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgb(0, 122, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgb(0, 122, 255, 0);
    }
}

.step-number {
    animation: iosPulse 2s infinite;
}

/* 滚动动画 */
.flow-step {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.flow-step:nth-child(1) {
    animation-delay: 0.1s;
}

.flow-step:nth-child(2) {
    animation-delay: 0.2s;
}

.flow-step:nth-child(3) {
    animation-delay: 0.3s;
}

.flow-step:nth-child(4) {
    animation-delay: 0.4s;
}

.flow-step:nth-child(5) {
    animation-delay: 0.5s;
}

.flow-step:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes pulseBlue {

    0%,
    100% {
        box-shadow: 0 6px 20px rgb(74, 132, 232, 0.4);
    }

    50% {
        box-shadow: 0 8px 28px rgb(74, 132, 232, 0.6);
    }
}

.flow-step:nth-child(odd) .step-content {
    margin-right: calc(50% + 20px);
}

.flow-step:nth-child(even) .step-content {
    margin-left: calc(50% + 20px);
}

.flow-step:nth-child(odd) .step-content:hover {
    transform: translateY(-4px);
}

.flow-step:nth-child(even) .step-content:hover {
    transform: translateY(-4px);
}

.step-title {
    font-family:
        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.step-title:before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--border-color);
    border-radius: 2px;
}

.step-content:hover .step-title {
    color: #3c3c43;
}

.step-description {
    font-family:
        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    color: #3c3c43;
    margin-bottom: 20px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.step-content:hover .step-description {
    color: #000;
}

.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface-bg);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.step-content:hover .step-tip {
    background: var(--border-color);
    border-color: var(--border-light);
}

.tip-label {
    font-family:
        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #3c3c43;
    background: var(--content-bg);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgb(0, 0, 0, 0.05);
    line-height: 1.3;
    border: 1px solid var(--border-color);
}

.tip-content {
    font-family:
        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #3c3c43;
    flex: 1;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.step-content:hover .tip-content {
    color: #000;
}

/* 授权提醒区域 - 渐变背景 + 微光效果 */
.authorization-reminder {
    padding: 80px 0;
    background: linear-gradient(135deg,
            rgb(74, 132, 232, 0.04) 0%,
            rgb(107, 72, 255, 0.06) 50%,
            rgb(0, 229, 255, 0.03) 100%);
    position: relative;
    overflow: visible;
    border-top: 1px solid rgb(74, 132, 232, 0.1);
    border-bottom: 1px solid rgb(74, 132, 232, 0.05);
}

.reminder-content {
    background: transparent;
    padding: 48px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dark-mode .service-list li:before {
    color: #fff;
}

/* .reminder-content 伪元素和 hover 效果已移除 */

.reminder-content p {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 36px;
    position: relative;
}

.reminder-content p:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6b48ff, var(--primary-color));
    border-radius: 2px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.service-list li {
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.15) 0%, rgb(107, 72, 255, 0.15) 100%);
    padding: 14px 24px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgb(74, 132, 232, 0.2);
    position: relative;
    overflow: hidden;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

.service-list li:hover {
    background: linear-gradient(135deg, rgb(74, 132, 232, 0.25) 0%, rgb(107, 72, 255, 0.25) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgb(74, 132, 232, 0.4);
    border-color: rgb(74, 132, 232, 0.4);
}

.reminder-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.service-button {
    padding: 18px 36px;
    background: var(--ios-blue);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgb(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.service-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-button:hover:before {
    left: 100%;
}

.service-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgb(0, 122, 255, 0.5);
}

.service-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 16px rgb(0, 122, 255, 0.4);
}

/* 页面底部FAQ区域 - 与上方区域无缝衔接 */
.faq-section {
    padding: 20px 0 80px;
    background: transparent;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    background: var(--content-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

/* iOS风格FAQ项 */
.ios-faq-item {
    border-bottom: 1px solid var(--border-color);
}

.ios-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: var(--content-bg);
    transition: background-color 0.2s ease;
}

.ios-faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #3c3c43;
    margin: 0;
    flex: 1;
}

.ios-faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.ios-faq-icon svg {
    color: #8e8e93;
}

.ios-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ios-faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #636366;
}

.ios-faq-question:hover {
    background: var(--surface-bg);
}

/* 暗黑模式下的FAQ区域 */
.dark-mode .faq-section {
    background: transparent;
    border-top: none;
}

.dark-mode .faq-list {
    background: rgb(30, 30, 40, 0.9);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.3);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .ios-faq-item {
    border-bottom: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .ios-faq-question {
    background: rgb(30, 30, 40, 0.9);
}

.dark-mode .ios-faq-question h3 {
    color: #fff;
}

.dark-mode .ios-faq-icon svg {
    color: #b0b0b0;
}

.dark-mode .ios-faq-answer p {
    color: #d0d0d0;
}

.dark-mode .ios-faq-question:hover {
    background: rgb(40, 40, 50, 0.9);
}

/* 操作按钮卡片样式 */
.action-button-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--content-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 20px 0;
}

.action-button-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.action-button-info {
    flex: 1;
}

.action-button-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 4px;
}

.action-button-info p {
    font-size: 13px;
    color: #8e8e93;
    margin: 0;
}

.action-button-container {
    cursor: pointer;
    position: relative;
    margin-left: auto;
}

.action-button-container button {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button-container button.secondary {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    color: #3c3c43;
}

.action-button-note {
    margin-top: 5px;
    font-size: 12px;
    color: #8e8e93;
    text-align: right;
    margin: 0;
}

/* 彩色按钮卡片 */
.action-button-card.primary .action-button-icon {
    background: linear-gradient(135deg, #007aff, #5ac8fa);
}

.action-button-card.green .action-button-icon {
    background: linear-gradient(135deg, #34c759, #30d158);
}

.action-button-card.orange .action-button-icon {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.action-button-card.purple .action-button-icon {
    background: linear-gradient(135deg, #af52de, #bf5af2);
}

.action-button-card.primary .action-button-container button,
.action-button-card.green .action-button-container button,
.action-button-card.orange .action-button-container button,
.action-button-card.purple .action-button-container button {
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
}

/* 按钮悬停效果 */
.action-button-card:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    border-color: var(--border-light);
}

.action-button-container button:hover {
    background: var(--border-color);
}

.action-button-card.primary .action-button-container button:hover {
    background: rgb(255, 255, 255, 0.2);
}

.action-button-card.green .action-button-container button:hover {
    background: rgb(255, 255, 255, 0.2);
}

.action-button-card.orange .action-button-container button:hover {
    background: rgb(255, 255, 255, 0.2);
}

.action-button-card.purple .action-button-container button:hover {
    background: rgb(255, 255, 255, 0.2);
}

/* 暗黑模式下的操作按钮卡片 */
.dark-mode .action-button-card {
    background: rgb(30, 30, 40, 0.7);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .action-button-info h5 {
    color: #fff;
}

.dark-mode .action-button-info p {
    color: #d0d0d0;
}

.dark-mode .action-button-container button {
    background: rgb(50, 50, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .action-button-container button:hover {
    background: rgb(60, 60, 60, 0.9);
}

.dark-mode .action-button-card:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.3);
    border-color: rgb(255, 255, 255, 0.2);
}

/* 步骤图标和徽章的彩色样式 */
.guide-step-icon.primary {
    background: linear-gradient(135deg, #007aff, #5ac8fa);
}

.guide-step-icon.green {
    background: linear-gradient(135deg, #34c759, #30d158);
}

.guide-step-icon.orange {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.guide-step-icon.purple {
    background: linear-gradient(135deg, #af52de, #bf5af2);
}

.guide-step-badge.purple {
    background: linear-gradient(135deg, #af52de, #bf5af2);
}

/* 引导按钮彩色样式 */
.guide-next-btn.green {
    background: #34c759;
}

/* 标签行样式 */
.tag-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-text {
    color: #4a84e8;
}

/* 英雄图片样式 */
.hero-image {
    max-width: 100%;
    height: auto;
}

/* 小英雄图片样式 */
.hero-image-small {
    max-width: 55%;
    height: auto;
}

/* hero-image-small 优先级覆盖 */
.pricing-hero .main-title-image img.hero-image-small {
    width: auto;
    max-width: 55%;
}

/* 货源推荐页面样式 */
.source-recommendation-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    overflow-y: auto;
    background: #f5f5f7;
}

.source-recommendation-page.is-visible {
    display: block;
}

.dark-mode .source-recommendation-page {
    background: #0d0d0f;
}

/* ================= 应用内置浏览器提示遮罩 (iOS 26 Liquid Glass) ================= */
.in-app-browser-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0, 0, 0, 0.35);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 20px;
}

.in-app-browser-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.in-app-browser-panel {
    position: relative;
    width: min(360px, 92vw);
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.72), rgb(255, 255, 255, 0) 50%),
        linear-gradient(160deg,
            rgb(255, 255, 255, 0.55) 0%,
            rgb(255, 255, 255, 0.32) 50%,
            rgb(255, 255, 255, 0.42) 100%);
    border: 1px solid rgb(255, 255, 255, 0.55);
    border-radius: 28px;
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow:
        0 32px 80px rgb(0, 0, 0, 0.18),
        0 8px 24px rgb(0, 0, 0, 0.08),
        inset 0 1px 0 rgb(255, 255, 255, 0.75),
        inset 0 -1px 0 rgb(0, 0, 0, 0.04);
    backdrop-filter: blur(50px) saturate(220%) brightness(1.12);
    -webkit-backdrop-filter: blur(50px) saturate(220%) brightness(1.12);
    transform: translateY(20px) scale(0.94);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.in-app-browser-panel::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgb(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.in-app-browser-panel::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgb(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.in-app-browser-overlay.is-visible .in-app-browser-panel {
    transform: translateY(0) scale(1);
}

.in-app-browser-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: white;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
}

.in-app-browser-icon svg {
    width: 30px;
    height: 30px;
}

.in-app-browser-mascot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    display: block;
}

.in-app-browser-title {
    position: relative;
    z-index: 1;
    font-size: 21px;
    font-weight: 700;
    color: rgb(15, 23, 42, 0.92);
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.in-app-browser-desc {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.7;
    color: rgb(71, 85, 105, 0.85);
    margin: 0 0 22px;
}

.in-app-browser-tip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgb(100, 116, 139, 0.9);
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.5), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.35) 0%, rgb(255, 255, 255, 0.18) 100%);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 22px;
    border: 1px solid rgb(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.5),
        0 2px 8px rgb(0, 0, 0, 0.04);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.tip-dot {
    width: 5px;
    height: 5px;
    background: rgb(59, 130, 246, 0.8);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgb(59, 130, 246, 0.4);
}

.tip-arrow {
    color: rgb(148, 163, 184, 0.7);
    font-size: 11px;
}

.tip-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 10px;
    background: rgb(226, 232, 240, 0.65);
    border-radius: 10px;
    font-weight: 600;
    color: rgb(71, 85, 105, 0.9);
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgb(255, 255, 255, 0.35);
    vertical-align: middle;
}

.tip-menu-icon {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.8;
}

.in-app-browser-btn-group {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.in-app-browser-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, rgb(59, 130, 246, 0.92), rgb(99, 102, 241, 0.88));
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease;
    box-shadow:
        0 4px 16px rgb(59, 130, 246, 0.28),
        inset 0 1px 0 rgb(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgb(255, 255, 255, 0.15);
}

.in-app-browser-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.in-app-browser-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgb(59, 130, 246, 0.38),
        inset 0 1px 0 rgb(255, 255, 255, 0.25);
}

.in-app-browser-btn:active {
    transform: scale(0.97);
}

.in-app-browser-btn.secondary {
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.45), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.55) 0%, rgb(255, 255, 255, 0.35) 100%);
    color: rgb(51, 65, 85, 0.95);
    box-shadow:
        0 2px 10px rgb(0, 0, 0, 0.06),
        inset 0 1px 0 rgb(255, 255, 255, 0.6);
    border: 1px solid rgb(255, 255, 255, 0.4);
}

.in-app-browser-btn.secondary:hover {
    box-shadow:
        0 4px 14px rgb(0, 0, 0, 0.1),
        inset 0 1px 0 rgb(255, 255, 255, 0.7);
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.55), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.65) 0%, rgb(255, 255, 255, 0.42) 100%);
}

.in-app-browser-btn.secondary.success {
    background: linear-gradient(135deg, rgb(16, 185, 129, 0.9), rgb(5, 150, 105, 0.88));
    color: white;
    box-shadow: 0 4px 16px rgb(16, 185, 129, 0.3);
}

.in-app-browser-btn.secondary.error {
    background: linear-gradient(135deg, rgb(239, 68, 68, 0.9), rgb(220, 38, 38, 0.88));
    color: white;
    box-shadow: 0 4px 16px rgb(239, 68, 68, 0.3);
}

.in-app-browser-btn.text {
    background: transparent;
    color: rgb(71, 85, 105, 0.85);
    box-shadow: none;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    backdrop-filter: none;
}

.in-app-browser-btn.text:hover {
    color: rgb(15, 23, 42, 0.95);
    transform: none;
    box-shadow: none;
}

/* 深色模式 Liquid Glass */
.dark-mode .in-app-browser-overlay {
    background: rgb(0, 0, 0, 0.5);
}

.dark-mode .in-app-browser-panel {
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.08), transparent 50%),
        linear-gradient(160deg, rgb(30, 34, 48, 0.65) 0%, rgb(22, 26, 38, 0.45) 50%, rgb(28, 32, 46, 0.55) 100%);
    border-color: rgb(255, 255, 255, 0.1);
    box-shadow:
        0 32px 80px rgb(0, 0, 0, 0.45),
        0 8px 24px rgb(0, 0, 0, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.08),
        inset 0 -1px 0 rgb(0, 0, 0, 0.15);
}

.dark-mode .in-app-browser-panel::before {
    background: radial-gradient(circle, rgb(59, 130, 246, 0.15) 0%, transparent 70%);
}

.dark-mode .in-app-browser-panel::after {
    background: radial-gradient(circle, rgb(139, 92, 246, 0.12) 0%, transparent 70%);
}

.dark-mode .in-app-browser-title {
    color: rgb(241, 245, 249, 0.92);
}

.dark-mode .in-app-browser-desc {
    color: rgb(148, 163, 184, 0.75);
}

.dark-mode .in-app-browser-tip {
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.06), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.08) 0%, rgb(255, 255, 255, 0.03) 100%);
    border-color: rgb(255, 255, 255, 0.08);
    color: rgb(148, 163, 184, 0.7);
    box-shadow:
        inset 0 1px 0 rgb(255, 255, 255, 0.06),
        0 2px 8px rgb(0, 0, 0, 0.1);
}

.dark-mode .tip-menu {
    background: rgb(51, 65, 85, 0.4);
    color: rgb(203, 213, 225, 0.8);
    border-color: rgb(255, 255, 255, 0.08);
}

.dark-mode .tip-menu-icon {
    opacity: 0.7;
}

.dark-mode .in-app-browser-btn {
    background: linear-gradient(135deg, rgb(59, 130, 246, 0.85), rgb(99, 102, 241, 0.8));
    box-shadow:
        0 4px 16px rgb(59, 130, 246, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.1);
}

.dark-mode .in-app-browser-btn.secondary {
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.08), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.12) 0%, rgb(255, 255, 255, 0.05) 100%);
    color: rgb(226, 232, 240, 0.9);
    box-shadow:
        0 2px 10px rgb(0, 0, 0, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.08);
    border-color: rgb(255, 255, 255, 0.1);
}

.dark-mode .in-app-browser-btn.secondary:hover {
    background:
        radial-gradient(120% 80% at 8% -10%, rgb(255, 255, 255, 0.12), transparent 50%),
        linear-gradient(135deg, rgb(255, 255, 255, 0.18) 0%, rgb(255, 255, 255, 0.08) 100%);
    box-shadow:
        0 4px 14px rgb(0, 0, 0, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.12);
}

.dark-mode .in-app-browser-btn.text {
    color: rgb(203, 213, 225, 0.85);
}

.dark-mode .in-app-browser-btn.text:hover {
    color: rgb(241, 245, 249, 0.95);
}

@media (width <=768px) {
    .in-app-browser-overlay {
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
    }

    .in-app-browser-panel {
        backdrop-filter: blur(20px) saturate(160%) brightness(1.08);
        -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.08);
    }
}

/* 货源推荐顶部导航栏 - iOS风格 */
.source-nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(249, 249, 249, 0.94);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* 标准导航栏 44px */
.source-nav-standard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 44px;
    position: relative;
}

.source-nav-back {
    display: flex;
    align-items: center;
    gap: 0;
    background: none;
    border: none;
    color: #007aff;
    font-size: 17px;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
    z-index: 1;
    letter-spacing: -0.02em;
}

.source-nav-back:active {
    opacity: 0.4;
}

.source-nav-back svg {
    margin-left: -5px;
    margin-right: -2px;
}

.source-nav-back-text {
    font-weight: 400;
    font-size: 17px;
}

.source-nav-standard-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1e;
    margin: 0;
    letter-spacing: -0.02em;
}

.source-nav-theme {
    background: none;
    border: none;
    color: #007aff;
    cursor: pointer;
    padding: 6px;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    z-index: 1;
}

.source-nav-theme:active {
    opacity: 0.4;
}

.source-nav-theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.source-nav-theme-icon.sun {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.source-nav-theme-icon.moon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}

/* 大标题 */
.source-nav-large-title {
    padding: 0 16px;
}

.source-nav-large-title-text {
    font-size: 34px;
    font-weight: 700;
    color: #1c1c1e;
    margin: 0;
    letter-spacing: 0.37px;
    line-height: 1.1;
}

/* iOS分段控制器 */
.source-segmented-control {
    display: flex;
    position: relative;
    margin: 12px 16px 10px;
    background: rgb(118, 118, 128, 0.12);
    border-radius: 8px;
    padding: 2px;
    height: 32px;
}

.source-segmented-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(25% - 3px);
    height: 28px;
    background: #fff;
    border-radius: 7px;
    box-shadow:
        0 1px 3px rgb(0, 0, 0, 0.08),
        0 1px 2px rgb(0, 0, 0, 0.06);
    transition:
        left 0.25s cubic-bezier(0.25, 0.1, 0.25, 1),
        width 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 1;
    pointer-events: none;
}

.source-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #3c3c43;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

.source-segment.active {
    color: #1c1c1e;
    font-weight: 600;
}

.source-segment:not(.active):active {
    opacity: 0.6;
}

/* 深色模式 */
.dark-mode .source-nav-bar {
    background: rgb(30, 30, 30, 0.94);
}

.dark-mode .source-nav-back,
.dark-mode .source-nav-theme {
    color: #0a84ff;
}

.dark-mode .source-nav-standard-title {
    color: #f2f2f7;
}

.dark-mode .source-nav-large-title-text {
    color: #f2f2f7;
}

.dark-mode .source-segmented-control {
    background: rgb(118, 118, 128, 0.24);
}

.dark-mode .source-segmented-slider {
    background: rgb(118, 118, 128, 0.32);
    box-shadow:
        0 1px 3px rgb(0, 0, 0, 0.2),
        0 1px 2px rgb(0, 0, 0, 0.14);
}

.dark-mode .source-segment {
    color: rgb(235, 235, 245, 0.6);
}

.dark-mode .source-segment.active {
    color: #f2f2f7;
}

/* 深色模式主题切换图标 */
.dark-mode .source-nav-theme-icon.sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}

.dark-mode .source-nav-theme-icon.moon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* 货源推荐内容区域 */
.source-content {
    padding: 0 16px 32px;
    min-height: calc(100vh - 140px);
}

/* 关闭按钮样式 */
.close-button {
    margin-top: 20px;
}

.close-icon {
    margin-right: 8px;
}

/* 微信图标样式 */
.wechat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 卡片底部样式 */
.card-footer {
    margin-top: auto;
}

/* 卡片内容样式 */
.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.card-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-title {
    font-weight: 600;
    font-size: 16px;
    color: #1c1c1e;
}

.card-action {
    display: flex;
    align-items: center;
}

.product-name {
    font-size: 14px;
    color: #8e8e93;
    margin-bottom: 16px;
    flex: 1;
}

/* 按钮样式 */
.button {
    width: 100%;
    padding: 10px 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #0056b3;
}

.button .icon {
    width: 16px;
    height: 16px;
}

/* 合作伙伴图片样式 */
.partner-image {
    max-width: 60%;
    height: auto;
}

/* 主标题图片样式 */
.main-title-image-large {
    max-width: 190%;
    height: auto;
}

/* 弹窗样式 */
.alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.alert-modal-content {
    background: var(--content-bg);
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgb(0, 0, 0, 0.3);
    text-align: center;
}

.alert-modal-icon {
    width: 64px;
    height: 64px;
    background: #f44;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.alert-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.alert-modal-message {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.alert-modal-button {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(to right, #1a1a1a, #333);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* 密码弹窗样式 */
.password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.password-modal-content {
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.password-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.password-modal-icon {
    width: 64px;
    height: 64px;
    background: #1a1a1a;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease;
}

.password-modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.password-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.password-modal-hint {
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 16px;
}

.password-length {
    font-size: 12px;
    color: #007aff;
    margin-bottom: 8px;
}

.input-method-tip {
    display: none;
    margin-bottom: 16px;
    padding: 16px;
    background: rgb(255, 248, 240, 0.7);
    border: 1px solid rgb(255, 224, 178, 0.5);
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 4px 16px rgb(255, 149, 0, 0.15);
    backdrop-filter: blur(16px);
    background-image: linear-gradient(135deg, rgb(255, 248, 240, 0.8) 0%, rgb(255, 252, 245, 0.5) 100%);
}

.tip-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tip-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(255, 149, 0, 0.2);
}

.tip-message {
    flex: 1;
}

.tip-title {
    font-size: 15px;
    color: #8b6914;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgb(255, 255, 255, 0.8);
}

.tip-desc {
    font-size: 14px;
    color: #8b6914;
    margin: 4px 0 0;
    line-height: 1.4;
    text-shadow: 0 1px 1px rgb(255, 255, 255, 0.6);
}

.loading-indicator {
    display: none;
    margin-bottom: 16px;
    text-align: center;
}

.loading-indicator.is-visible {
    display: block;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #007aff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-left: 8px;
    font-size: 14px;
    color: #666;
}

.verification-inputs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 0 10px;
    width: 100%;
}

.verification-input {
    flex: 1;
    max-width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #3c3c43;
    background: transparent;
    transition: all 0.3s ease;
}

.verification-input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 2px rgb(0, 122, 255, 0.1);
}

.verification-input:hover {
    border-color: #007aff;
}

/* 响应式适配 - 小屏幕设备 */
@media (width <=480px) {
    .verification-inputs {
        gap: 4px;
        padding: 0 10px;
    }

    .verification-input {
        max-width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 6px;
    }
}

/* 响应式适配 - 超小屏幕设备 */
@media (width <=320px) {
    .verification-inputs {
        gap: 3px;
        padding: 0 8px;
    }

    .verification-input {
        max-width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 6px;
    }
}

.verify-button {
    width: 100%;
    padding: 12px 16px;
    background: #007aff;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.verify-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* 暗黑模式下的弹窗样式 */
.dark-mode .alert-modal-content,
.dark-mode .password-modal-content {
    background: rgb(30, 30, 40, 0.95);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgb(0, 0, 0, 0.4);
}

.dark-mode .alert-modal-title,
.dark-mode .password-modal-title {
    color: #fff;
}

.dark-mode .alert-modal-message,
.dark-mode .password-modal-subtitle,
.dark-mode .password-modal-hint,
.dark-mode .loading-text {
    color: #d0d0d0;
}

.dark-mode .alert-modal-button,
.dark-mode .verify-button {
    background: linear-gradient(to right, #333, #555);
}

.dark-mode .verification-input {
    background: rgb(40, 40, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .close-btn {
    color: #666;
}

.liquid-products-info {
    background: rgb(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.liquid-products-info:hover {
    box-shadow: 0 6px 16px rgb(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.liquid-products-info-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.liquid-products-info-text {
    flex: 1;
}

.liquid-products-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.liquid-products-info-text p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

.plate-tooltip-container {
    flex-shrink: 0;
    padding: 0;
}

.warning-symbol {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9500;
    font-weight: bold;
    font-size: 16px;
}

.liquid-products-info-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 货源推荐内容样式 */
.source-recommendation-content {
    padding: 40px 0;
}

.source-recommendation-content .section-title {
    text-align: center;
    margin-bottom: 32px;
}

.liquid-search-bar {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.liquid-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #3c3c43;
}

.liquid-filter-panel {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.liquid-filter-panel h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 20px;
}

.liquid-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.liquid-filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #3c3c43;
    margin-bottom: 8px;
}

.liquid-filter-group select,
.liquid-filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #3c3c43;
    background: var(--content-bg);
}

.liquid-filter-group button {
    width: 100%;
    padding: 10px 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.liquid-filter-group button:hover {
    background: #0056b3;
}

.liquid-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.liquid-loading,
.liquid-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.liquid-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5ea;
    border-top: 3px solid #007aff;
    margin-bottom: 16px;
}

.liquid-loading p {
    font-size: 14px;
    color: #8e8e93;
}

.liquid-no-results {
    padding: 60px 0;
    text-align: center;
}

.liquid-no-results h4 {
    font-size: 18px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 8px;
}

.liquid-no-results p {
    font-size: 14px;
    color: #8e8e93;
}

.liquid-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.liquid-pagination button {
    padding: 8px 16px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.liquid-pagination button:hover {
    background: var(--surface-bg);
}

.liquid-pagination-numbers {
    display: flex;
    gap: 8px;
}

.liquid-pagination-numbers button {
    padding: 8px 16px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.liquid-pagination-numbers button:hover {
    background: var(--surface-bg);
}

/* 搜索栏样式 */
.liquid-search {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.search-icon {
    margin-right: 12px;
    color: #8e8e93;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #3c3c43;
}

/* 筛选功能样式 */
.liquid-filter-section {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.liquid-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 20px;
}

.liquid-filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.liquid-filter-group {
    display: flex;
    flex-direction: column;
}

.filter-button-group {
    align-self: end;
}

.liquid-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #3c3c43;
    margin-bottom: 8px;
}

.liquid-filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #3c3c43;
    background: var(--content-bg);
}

.liquid-filter-btn {
    width: 100%;
    padding: 10px 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.liquid-filter-btn:hover {
    background: #0056b3;
}

.filter-icon {
    margin-right: 8px;
    vertical-align: middle;
}

/* 货源展示区域样式 */
.liquid-products-section {
    margin-bottom: 32px;
}

.liquid-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

/* 加载和无结果状态样式 */
.liquid-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.liquid-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5ea;
    border-top: 3px solid #007aff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.liquid-loading p {
    font-size: 14px;
    color: #8e8e93;
}

.liquid-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

.no-results-icon {
    color: #8e8e93;
    margin-bottom: 16px;
}

.liquid-no-results h4 {
    font-size: 18px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 8px;
}

.liquid-no-results p {
    font-size: 14px;
    color: #8e8e93;
}

/* 分页控件样式 */
.liquid-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.liquid-pagination-btn {
    padding: 8px 16px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.liquid-pagination-btn:hover {
    background: var(--surface-bg);
}

.liquid-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.liquid-pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-icon {
    vertical-align: middle;
}

/* 暗黑模式下的货源推荐样式 */
.dark-mode .liquid-products-info {
    background: rgb(40, 40, 40, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .liquid-products-info h4 {
    color: #fff;
}

.dark-mode .liquid-products-info p {
    color: #d0d0d0;
}

.dark-mode .liquid-search-bar,
.dark-mode .liquid-filter-panel {
    background: rgb(30, 30, 40, 0.9);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.3);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .liquid-search-bar input {
    background: transparent;
    color: #fff;
}

.dark-mode .liquid-filter-panel h3 {
    color: #fff;
}

.dark-mode .liquid-filter-group label {
    color: #d0d0d0;
}

.dark-mode .liquid-filter-group select,
.dark-mode .liquid-filter-group input {
    background: rgb(40, 40, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .liquid-no-results h4 {
    color: #fff;
}

.dark-mode .liquid-no-results p {
    color: #b0b0b0;
}

.dark-mode .liquid-pagination button,
.dark-mode .liquid-pagination-numbers button {
    background: rgb(40, 40, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .liquid-pagination button:hover,
.dark-mode .liquid-pagination-numbers button:hover {
    background: rgb(50, 50, 60, 0.8);
}

/* 滚动顶部按钮样式 */
.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.15);
}

.dark-mode .scroll-top-btn {
    background: rgb(40, 40, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.3);
}

.dark-mode .scroll-top-btn:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.4);
}

/* 动画效果 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 单选按钮组样式 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.faq-item {
    background: rgb(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.1);
    margin-bottom: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgb(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.dark-mode .faq-item {
    background: rgb(30, 30, 30, 0.9);
    border: 1px solid rgb(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgb(0, 0, 0, 0.3);
}

.dark-mode .faq-question {
    color: #fff;
}

.dark-mode .faq-answer {
    color: #d0d0d0;
}

.dark-mode .faq-item:hover .faq-question {
    color: var(--primary-color);
}

.dark-mode .faq-item:hover .faq-answer {
    color: #e0e0e0;
}

.faq-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), #6b48ff);
    border-radius: 20px 0 0 20px;
}

.faq-item:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), #6b48ff, var(--primary-color));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover:after {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgb(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question:before {
    content: '?';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), #6b48ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.faq-item:hover .faq-question {
    color: var(--primary-color);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
    padding-left: 36px;
}

.faq-item:hover .faq-answer {
    color: var(--text-primary);
}

/* FAQ滚动动画 */
.faq-item {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* 响应式设计 */
@media (width <=768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .ios-main-content {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .ios-main-content .pricing-hero {
        padding: 130px 16px 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* 移动端禁用圆圈动画闪烁 */
    .hud-circle.hud-circle {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        contain: none;
    }

    .hud-circle.hud-circle:before {
        animation: none;
        -webkit-mask: none;
        mask: none;
        -webkit-mask-composite: unset;
        mask-composite: unset;
        border: 1px solid rgb(74, 132, 232, 0.15);
        background: none;
        opacity: 0.4;
    }

    .authorization-flow,
    .faq-section {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .flow-steps:before {
        left: 30px;
    }

    .flow-step.flow-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
    }

    .step-number {
        left: 30px;
        top: 0;
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-width: 2px;
    }

    .flow-step.flow-step .step-content.step-content {
        margin: 0 0 0 70px;
        max-width: 100%;
        padding: 30px;
        border-radius: 16px;
    }

    .flow-step .step-content:before {
        border-radius: 16px;
    }

    .step-icon {
        top: -20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .step-details {
        padding: 16px;
        border-radius: 10px;
    }

    .step-checklist li {
        font-size: 13px;
        padding-left: 24px;
        margin-bottom: 10px;
    }

    .step-checklist li:before {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .package-item {
        font-size: 13px;
        padding: 10px 14px;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .service-list li {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 24px;
    }

    .service-list li:before {
        left: 10px;
    }

    .reminder-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .service-button {
        width: 100%;
        max-width: 260px;
        padding: 16px 28px;
        font-size: 15px;
        border-radius: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-title:after {
        width: 60px;
        height: 3px;
    }

    .reminder-content {
        padding: 40px 24px;
    }

    .reminder-content p {
        font-size: 18px;
    }

    .faq-item {
        padding: 30px;
        border-radius: 16px;
    }

    .faq-item:before {
        width: 4px;
        border-radius: 16px 0 0 16px;
    }

    .faq-item:after {
        border-radius: 16px;
    }

    .faq-question {
        font-size: 17px;
    }

    .faq-answer {
        font-size: 14px;
        padding-left: 32px;
    }

    .faq-question:before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }

    .tip-label {
        font-size: 12px;
        padding: 3px 6px;
    }

    .tip-content {
        font-size: 12px;
    }
}

@media (width <=480px) {

    .authorization-flow,
    .authorization-reminder {
        padding: 60px 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .faq-section {
        padding: 20px 0 60px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .container {
        padding: 0 12px;
    }

    .flow-step.flow-step .step-content.step-content.step-content {
        padding: 24px;
        margin-left: 60px;
        border-radius: 14px;
    }

    .flow-step .step-content:before {
        border-radius: 14px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        left: 25px;
    }

    .flow-steps:before {
        left: 25px;
        width: 3px;
    }

    .step-icon {
        top: -18px;
        right: 16px;
        width: 35px;
        height: 35px;
    }

    .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .step-details {
        padding: 12px;
        border-radius: 8px;
    }

    .step-checklist li {
        font-size: 12px;
        padding-left: 20px;
        margin-bottom: 8px;
    }

    .step-checklist li:before {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .package-item {
        font-size: 12px;
        padding: 8px 12px;
    }

    .flow-intro {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .reminder-content {
        padding: 32px 16px;
    }

    .reminder-content p {
        font-size: 16px;
    }

    .service-button {
        max-width: 220px;
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 12px;
    }

    .faq-item {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .faq-item:before {
        width: 3px;
        border-radius: 14px 0 0 14px;
    }

    .faq-item:after {
        border-radius: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title:after {
        width: 50px;
        height: 2px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-description {
        font-size: 13px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 13px;
        padding-left: 28px;
    }

    .faq-question:before {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .tip-label {
        font-size: 11px;
        padding: 2px 5px;
    }

    .tip-content {
        font-size: 11px;
    }

    .service-list li {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
    }

    .service-list li:before {
        left: 8px;
        font-size: 11px;
    }
}

/* 横屏适配 */
@media (orientation: landscape) and (width <=1024px) {
    .step-content {
        padding: 28px;
        margin: 0 16px;
        max-width: calc(50% - 32px);
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .flow-step:nth-child(odd) .step-content {
        margin-right: calc(50% + 16px);
    }

    .flow-step:nth-child(even) .step-content {
        margin-left: calc(50% + 16px);
    }

    .reminder-content {
        padding: 36px 20px;
    }

    .service-button {
        max-width: 240px;
        padding: 14px 24px;
    }
}

/* 错误提示样式 */
.error-message {
    background: rgb(255, 59, 48, 0.1);
    border: 1px solid rgb(255, 59, 48, 0.3);
    border-left: 4px solid var(--ios-red);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.error-message-icon {
    width: 24px;
    height: 24px;
    background: var(--ios-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.error-message-text {
    flex: 1;
    font-size: 14px;
    color: var(--ios-red);
    line-height: 1.4;
}

/* 成功提示样式 */
.success-message {
    background: rgb(52, 199, 89, 0.1);
    border: 1px solid rgb(52, 199, 89, 0.3);
    border-left: 4px solid var(--ios-green);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.success-message-icon {
    width: 24px;
    height: 24px;
    background: var(--ios-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.success-message-text {
    flex: 1;
    font-size: 14px;
    color: var(--ios-green);
    line-height: 1.4;
}

/* 信息提示样式 */
.info-message {
    background: rgb(0, 122, 255, 0.1);
    border: 1px solid rgb(0, 122, 255, 0.3);
    border-left: 4px solid var(--ios-blue);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-message-icon {
    width: 24px;
    height: 24px;
    background: var(--ios-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.info-message-text {
    flex: 1;
    font-size: 14px;
    color: var(--ios-blue);
    line-height: 1.4;
}

/* 触摸目标优化 */
@media (hover: none) and (pointer: coarse) {
    .step-content {
        transition: transform 0.2s ease;
    }

    .step-content:active {
        transform: translateY(-2px) scale(0.98);
    }

    .service-list li {
        transition: transform 0.2s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-list li:active {
        transform: translateY(-2px) scale(0.98);
    }

    .service-button {
        transition: transform 0.2s ease;
        min-height: 44px;
    }

    .service-button:active {
        transform: translateY(-2px) scale(0.98);
    }

    .faq-item {
        transition: transform 0.2s ease;
    }

    .faq-item:active {
        transform: translateY(-2px) scale(0.98);
    }

    .step-number {
        min-width: 60px;
        min-height: 60px;
    }

    .step-icon {
        min-width: 44px;
        min-height: 44px;
    }

    .progress-circle {
        min-width: 44px;
        min-height: 44px;
    }

    /* 手势支持 */
    .flow-step {
        touch-action: manipulation;
    }

    .progress-step {
        touch-action: manipulation;
    }
}

/* 内联样式迁移 - 授权弹窗样式 */
.authorization-modal-content {
    text-align: center;
}

.authorization-modal-content img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.authorization-modal-content h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.authorization-modal-content p {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.authorization-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* HUD圆环尺寸定位 */
.pricing-hero .hud-circle.large {
    width: 50vw;
    height: 50vw;
    right: -25vw;
    top: -10vw;
}

.pricing-hero .hud-circle.medium {
    width: 30vw;
    height: 30vw;
    right: 10vw;
    bottom: -15vw;
    border: 2px dashed rgb(74, 132, 232, 0.12);
}

.pricing-hero .hud-circle.small {
    width: 15vw;
    height: 15vw;
    left: -7.5vw;
    top: 30vw;
    border: 1px solid rgb(0, 229, 255, 0.08);
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.authorization-buttons {
    margin-top: 30px;
}

/* 内联样式迁移 - 联系销售经理部分 */
.contact-section {
    background: var(--surface-bg);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 16px;
}

.contact-section-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--content-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    border-color: var(--border-light);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.contact-method-info {
    flex: 1;
}

.contact-method-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 4px;
}

.contact-method-info p {
    font-size: 13px;
    color: #8e8e93;
    margin: 0;
}

.wechat-icon {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.wechat-icon:hover {
    transform: scale(1.02);
}

.wechat-icon button {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wechat-icon button:hover {
    background: var(--border-color);
}

.wechat-icon button:active {
    transform: scale(0.98);
}

.qrcode-popup {
    position: absolute;
    top: -250px;
    left: 50%;
    background: var(--content-bg);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    pointer-events: none;
}

.qrcode-popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.qrcode-popup img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
}

.qrcode-popup p {
    margin-top: 10px;
    font-size: 14px;
    color: #3c3c43;
    font-weight: 500;
}

.qrcode-popup-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/* 内联样式迁移 - 注册和下载按钮 */
.action-button-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--content-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 20px 0;
}

.action-button-card:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    border-color: var(--border-light);
}

.action-button-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.action-button-info {
    flex: 1;
}

.action-button-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #3c3c43;
    margin-bottom: 4px;
}

.action-button-info p {
    font-size: 13px;
    color: #8e8e93;
    margin: 0;
}

.action-button-container {
    cursor: pointer;
    position: relative;
}

.action-button-container button {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: #3c3c43;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button-container button:hover {
    background: var(--border-color);
}

.action-button-container button:active {
    transform: scale(0.98);
}

.action-button-note {
    margin-top: 5px;
    font-size: 12px;
    color: #8e8e93;
    text-align: right;
}

/* 内联样式迁移 - 已授权用户操作指南 */
.radio-group {
    margin-bottom: 32px;
    position: relative;
}

.slider {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}

.radio-option {
    position: relative;
    z-index: 2;
}

/* 内联样式迁移 - 暗黑模式适配 */
.dark-mode .contact-section {
    background: rgb(40, 40, 40, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .contact-section h4 {
    color: #fff;
}

.dark-mode .contact-method {
    background: rgb(30, 30, 30, 0.7);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .contact-method:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.3);
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .contact-method-info h5 {
    color: #fff;
}

/* 指南步骤样式 */
.guide-steps {
    margin-top: 32px;
}

.dark-mode .contact-method-info p {
    color: #d0d0d0;
}

.dark-mode .wechat-icon button {
    background: rgb(50, 50, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .wechat-icon button:hover {
    background: rgb(60, 60, 60, 0.9);
}

.dark-mode .qrcode-popup {
    background: rgb(30, 30, 40, 0.95);
    border: 1px solid rgb(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.3);
}

.dark-mode .qrcode-popup p {
    color: #fff;
}

.dark-mode .qrcode-popup-arrow {
    border-top-color: rgb(30, 30, 40, 0.95);
}

.dark-mode .action-button-card {
    background: rgb(30, 30, 30, 0.7);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.dark-mode .action-button-card:hover {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.3);
    border-color: rgb(255, 255, 255, 0.2);
}

.dark-mode .action-button-info h5 {
    color: #fff;
}

.dark-mode .action-button-info p {
    color: #d0d0d0;
}

.dark-mode .action-button-container button {
    background: rgb(50, 50, 50, 0.8);
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .action-button-container button:hover {
    background: rgb(60, 60, 60, 0.9);
}

.dark-mode .action-button-note {
    color: #8e8e93;
}

/* 交互反馈增强 */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
    pointer-events: none;
}

.interactive-element:active:after {
    width: 300px;
    height: 300px;
}

/* 暗黑模式下的交互反馈 */
.dark-mode .interactive-element:after {
    background: rgb(255, 255, 255, 0.1);
}

.dark-mode .section-title {
    color: var(--dark-text-primary);
}

.dark-mode .flow-steps:before {
    background-color: var(--dark-border-color);
}

.dark-mode .step-icon {
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.4);
}

.dark-mode .step-title {
    color: var(--dark-text-primary);
}

.dark-mode .step-description {
    color: var(--dark-text-secondary);
}

.dark-mode .step-details {
    background-color: rgb(74, 132, 232, 0.1);
    border-left: 3px solid var(--primary-color);
}

.dark-mode .step-checklist li {
    color: var(--dark-text-secondary);
}

.dark-mode .step-checklist li:before {
    color: var(--primary-color);
}

.dark-mode .package-item {
    color: var(--dark-text-secondary);
    background-color: rgb(255, 255, 255, 0.05);
    border-left: 2px solid var(--primary-color);
}

.dark-mode .package-item strong {
    color: var(--dark-text-primary);
}

.dark-mode .step-tip {
    background-color: rgb(74, 132, 232, 0.2);
    border-left: 4px solid var(--primary-color);
}

.dark-mode .tip-content {
    color: var(--dark-text-secondary);
}

.dark-mode .flow-intro {
    color: var(--dark-text-secondary);
}

.dark-mode .reminder-content {
    background: transparent;
    box-shadow: none;
    border: none;
}

.dark-mode .reminder-content p {
    color: var(--dark-text-primary);
}

.dark-mode .service-list li {
    background-color: rgb(74, 132, 232, 0.2);
    color: var(--primary-color);
    border-color: rgb(74, 132, 232, 0.3);
}

.dark-mode .service-list li:hover {
    background-color: rgb(74, 132, 232, 0.3);
    box-shadow: 0 4px 12px rgb(74, 132, 232, 0.4);
}

.dark-mode .faq-section {
    background-color: transparent;
}

.dark-mode .faq-section:before {
    background: linear-gradient(90deg, var(--primary-color), #6b48ff);
}

.dark-mode .faq-section:after {
    background: radial-gradient(circle, rgb(74, 132, 232, 0.2) 0%, rgb(74, 132, 232, 0) 70%);
}

.dark-mode .faq-item {
    background-color: var(--dark-card-background);
    box-shadow: 0 4px 16px rgb(0, 0, 0, 0.3);
    border-color: rgb(255, 255, 255, 0.05);
}

.dark-mode .faq-item:hover {
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.dark-mode .faq-question {
    color: var(--dark-text-primary);
}

.dark-mode .faq-item:hover .faq-question {
    color: var(--primary-color);
}

.dark-mode .faq-answer {
    color: var(--dark-text-secondary);
}

.dark-mode .faq-item:hover .faq-answer {
    color: var(--dark-text-primary);
}

/* 暗黑模式下的提示样式 */
.dark-mode .error-message {
    background: rgb(255, 59, 48, 0.2);
    border: 1px solid rgb(255, 59, 48, 0.4);
}

.dark-mode .error-message-text {
    color: #ff453a;
}

.dark-mode .success-message {
    background: rgb(52, 199, 89, 0.2);
    border: 1px solid rgb(52, 199, 89, 0.4);
}

.dark-mode .success-message-text {
    color: #34c759;
}

.dark-mode .info-message {
    background: rgb(0, 122, 255, 0.2);
    border: 1px solid rgb(0, 122, 255, 0.4);
}

.dark-mode .info-message-text {
    color: #007aff;
}

/* 暗黑模式下的进度条样式 */
.dark-mode .progress-step:before {
    background: var(--dark-border-color);
}

.dark-mode .progress-step.active:before,
.dark-mode .progress-step.completed:before {
    background: var(--ios-blue);
}

.dark-mode .progress-circle {
    background: var(--dark-card-background);
    border-color: var(--dark-border-color);
    color: var(--dark-text-secondary);
}

.dark-mode .progress-step.active .progress-circle {
    background: var(--ios-blue);
    color: white;
    border-color: var(--ios-blue);
}

.dark-mode .progress-step.completed .progress-circle {
    background: var(--surface-bg);
    color: #3c3c43;
    border-color: #e5e5ea;
}

.dark-mode .progress-label {
    color: var(--dark-text-secondary);
}

.dark-mode .progress-step.active .progress-label,
.dark-mode .progress-step.completed .progress-label {
    color: var(--dark-text-primary);
}

/* 说明提示按钮ui */

/* From Uiverse.io by chase2k25 */
.checkbox-container {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -10px;
}

.checkbox-input {
    display: none;
}

.checkbox-label {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border: 2px solid #007aff;
    border-radius: 50%;
    box-shadow: 0 0 12px #007aff;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgb(0, 122, 255, 0.1),
            rgb(0, 122, 255, 0.1) 2px,
            transparent 2px,
            transparent 6px);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    z-index: 0;
    animation: grid-shift 1.5s linear infinite paused;
}

/* Checkmark */
.checkmark {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #007aff;
    border-radius: 50%;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    z-index: 2;
}

.checkmark:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid #007aff;
    border-bottom: 2px solid #007aff;
    transform: translate(-50%, -70%) rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Glitch effects */
.glitch-overlay-h {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(0, 122, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.glitch-overlay-v {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent, rgb(0, 122, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Binary particles */
.binary-particles {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 50px;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    color: #007aff;
    font-size: 6px;
    opacity: 0;
    animation: particle-rise 1.2s linear infinite;
}

/* Hover state */
.checkbox-label:hover {
    box-shadow: 0 0 20px #007aff;
    transform: scale(1.05);
}

.checkbox-label:hover .glitch-overlay-h {
    opacity: 1;
    animation: glitch-h 1s infinite;
}

.checkbox-label:hover .glitch-overlay-v {
    opacity: 1;
    animation: glitch-v 0.8s infinite;
}

/* Checked state */
.checkbox-input:checked+.checkbox-label {
    background: rgb(0, 122, 255, 0.2);
    border-color: #007aff;
    box-shadow: 0 0 25px #007aff;
}

.checkbox-input:checked+.checkbox-label .grid-bg {
    opacity: 0.6;
    animation-play-state: running;
}

.checkbox-input:checked+.checkbox-label .checkmark {
    opacity: 1;
    transform: rotate(360deg);
    animation: check-rotate 0.5s ease-in-out;
}

.checkbox-input:checked+.checkbox-label .checkmark:before {
    opacity: 1;
    animation: check-bounce 0.4s ease-in-out 0.1s;
}

.checkbox-input:checked+.checkbox-label .glitch-overlay-h {
    opacity: 0.8;
    animation: glitch-h 0.6s infinite;
}

.checkbox-input:checked+.checkbox-label .glitch-overlay-v {
    opacity: 0.8;
    animation: glitch-v 0.5s infinite;
}

/* Animations */
@keyframes grid-shift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 6px 6px;
    }
}

@keyframes glitch-h {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(100%) skewX(5deg);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes glitch-v {
    0% {
        transform: translateY(-100%);
    }

    30% {
        transform: translateY(100%) skewY(3deg);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes check-rotate {
    0% {
        transform: scale(0) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes check-bounce {
    0% {
        opacity: 0;
        transform: translate(-50%, -70%) rotate(-45deg) scale(0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -70%) rotate(-45deg) scale(1.2);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -70%) rotate(-45deg) scale(1);
    }
}

@keyframes particle-rise {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    20% {
        opacity: 0.7;
    }
}

/* 推荐勋章样式 */
.card-wrapper {
    position: relative;
}

.recommendation-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgb(255, 107, 107, 0.3);
    z-index: 10;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgb(255, 107, 107, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgb(255, 107, 107, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgb(255, 107, 107, 0.3);
    }
}

/* ====== anniu.css ====== */

/**
 * 文件名称：anniu.css
 * 文件功能：按钮和交互组件样式库，包含主题切换按钮、导航菜单、进度指示器等组件的样式
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. 主题切换按钮（白天/黑夜模式）
 * 2. 下拉按钮边框背景
 * 3. 导航菜单项样式
 * 4. 进度指示器
 * 5. 主题切换加载动画
 * 6. 应用Logo动画
 * 7. 暗黑模式适配
 * 8. 响应式设计
 * 
 * 关联文件：
 * - static/js/theme.js：主题切换逻辑
 * - static/js/script.js：与主脚本文件交互
 * - static/css/style.css：主样式文件
 * - static/css/theme.css：主题切换相关样式
 * 
 * 注意事项：
 * - 支持深色模式和浅色模式
 * - 响应式设计适配不同屏幕尺寸
 * - 使用 CSS 变量实现主题切换
 * - 包含丰富的动画效果
 */

/* 黑白模式切换按钮 */

/* From Uiverse.io by 00Kubi */
.theme-switch {
    --toggle-size: 14px;

    /* the size is adjusted using font-size,
     this is not transform scale,
     so you can choose any size */
    --container-width: 5.625em;
    --container-height: 2.5em;
    --container-radius: 6.25em;

    /* radius 0 - minecraft mode :) */
    --container-light-bg: #3d7eae;
    --container-night-bg: #1d1f2c;
    --circle-container-diameter: 3.375em;
    --sun-moon-diameter: 2.125em;
    --sun-bg: #ecca2f;
    --moon-bg: #c4c9d1;
    --spot-color: #959db1;
    --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
    --stars-color: #fff;
    --clouds-color: #f3fdff;
    --back-clouds-color: #aacadf;
    --transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
    --circle-transition: 0.3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch,
.theme-switch *,
.theme-switch *:before,
.theme-switch *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: var(--toggle-size);
}

.theme-switch__container {
    width: var(--container-width);
    height: var(--container-height);
    background-color: var(--container-light-bg);
    border-radius: var(--container-radius);
    overflow: hidden;
    cursor: pointer;
    -webkit-box-shadow:
        0 -0.062em 0.062em rgb(0, 0, 0, 0.25),
        0 0.062em 0.125em rgb(255, 255, 255, 0.94);
    box-shadow:
        0 -0.062em 0.062em rgb(0, 0, 0, 0.25),
        0 0.062em 0.125em rgb(255, 255, 255, 0.94);
    transition: var(--transition);
    position: relative;
    background-image: linear-gradient(to bottom, var(--container-light-bg) 0%, #5490c0 100%);
    transform: translateZ(0);
}

.theme-switch__container:before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    -webkit-box-shadow:
        0 0.05em 0.187em rgb(0, 0, 0, 0.25) inset,
        0 0.05em 0.187em rgb(0, 0, 0, 0.25) inset;
    box-shadow:
        0 0.05em 0.187em rgb(0, 0, 0, 0.25) inset,
        0 0.05em 0.187em rgb(0, 0, 0, 0.25) inset;
    border-radius: var(--container-radius);
}


/* .theme-switch__checkbox display:none 已移除，新开关系列使用 .switch 类自带样式 */

.theme-switch__circle-container {
    width: var(--circle-container-diameter);
    height: var(--circle-container-diameter);
    background-color: rgb(255, 255, 255, 0.1);
    position: absolute;
    left: var(--circle-container-offset);
    top: var(--circle-container-offset);
    border-radius: var(--container-radius);
    -webkit-box-shadow:
        inset 0 0 0 3.375em rgb(255, 255, 255, 0.1),
        inset 0 0 0 3.375em rgb(255, 255, 255, 0.1),
        0 0 0 0.625em rgb(255, 255, 255, 0.1),
        0 0 0 1.25em rgb(255, 255, 255, 0.1);
    box-shadow:
        inset 0 0 0 3.375em rgb(255, 255, 255, 0.1),
        inset 0 0 0 3.375em rgb(255, 255, 255, 0.1),
        0 0 0 0.625em rgb(255, 255, 255, 0.1),
        0 0 0 1.25em rgb(255, 255, 255, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    transition: var(--circle-transition);
    pointer-events: none;
    transform: translateZ(0);
}

.theme-switch__sun-moon-container {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    width: var(--sun-moon-diameter);
    height: var(--sun-moon-diameter);
    margin: auto;
    border-radius: var(--container-radius);
    background-color: var(--sun-bg);
    -webkit-box-shadow:
        0.062em 0.062em 0.062em 0 rgb(254, 255, 239, 0.61) inset,
        0 -0.062em 0.062em 0 #a1872a inset;
    box-shadow:
        0.062em 0.062em 0.062em 0 rgb(254, 255, 239, 0.61) inset,
        0 -0.062em 0.062em 0 #a1872a inset;
    -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgb(0, 0, 0, 0.25)) drop-shadow(0 0.062em 0.125em rgb(0, 0, 0, 0.25));
    filter: drop-shadow(0.062em 0.125em 0.125em rgb(0, 0, 0, 0.25)) drop-shadow(0 0.062em 0.125em rgb(0, 0, 0, 0.25));
    overflow: hidden;
    transition:
        var(--transition),
        transform 0.3s ease;
    transform: scale(1) translateZ(0);
}

.theme-switch__sun-moon-container:hover {
    transform: scale(1.1) rotate(5deg);
}

.theme-switch__moon {
    width: 100%;
    height: 100%;
    background-color: var(--moon-bg);
    border-radius: inherit;
    -webkit-box-shadow:
        0.062em 0.062em 0.062em 0 rgb(254, 255, 239, 0.61) inset,
        0 -0.062em 0.062em 0 #969696 inset;
    box-shadow:
        0.062em 0.062em 0.062em 0 rgb(254, 255, 239, 0.61) inset,
        0 -0.062em 0.062em 0 #969696 inset;
    transition:
        var(--transition),
        transform 0.3s ease;
    position: relative;
    transform: translateX(100%) translateZ(0);
}

.theme-switch__moon:hover {
    transform: rotate(15deg);
}

.theme-switch__spot {
    position: absolute;
    top: 0.75em;
    left: 0.312em;
    width: 0.75em;
    height: 0.75em;
    border-radius: var(--container-radius);
    background-color: var(--spot-color);
    -webkit-box-shadow: 0 0.0312em 0.062em rgb(0, 0, 0, 0.25) inset;
    box-shadow: 0 0.0312em 0.062em rgb(0, 0, 0, 0.25) inset;
    transition: background-color 0.3s ease;
}

.theme-switch__spot:nth-of-type(2) {
    width: 0.375em;
    height: 0.375em;
    top: 0.937em;
    left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
    width: 0.25em;
    height: 0.25em;
    top: 0.312em;
    left: 0.812em;
}

.theme-switch__moon:hover .theme-switch__spot {
    background-color: #7a7f8c;
}

.theme-switch__clouds {
    width: 1.25em;
    height: 1.25em;
    background-color: var(--clouds-color);
    border-radius: var(--container-radius);
    position: absolute;
    bottom: -0.625em;
    left: 0.312em;
    -webkit-box-shadow:
        0.937em 0.312em var(--clouds-color),
        -0.312em -0.312em var(--back-clouds-color),
        1.437em 0.375em var(--clouds-color),
        0.5em -0.125em var(--back-clouds-color),
        2.187em 0 var(--clouds-color),
        1.25em -0.062em var(--back-clouds-color),
        2.937em 0.312em var(--clouds-color),
        2em -0.312em var(--back-clouds-color),
        3.625em -0.062em var(--clouds-color),
        2.625em 0 var(--back-clouds-color),
        4.5em -0.312em var(--clouds-color),
        3.375em -0.437em var(--back-clouds-color),
        4.625em -1.75em 0 0.437em var(--clouds-color),
        4em -0.625em var(--back-clouds-color),
        4.125em -2.125em 0 0.437em var(--back-clouds-color);
    box-shadow:
        0.937em 0.312em var(--clouds-color),
        -0.312em -0.312em var(--back-clouds-color),
        1.437em 0.375em var(--clouds-color),
        0.5em -0.125em var(--back-clouds-color),
        2.187em 0 var(--clouds-color),
        1.25em -0.062em var(--back-clouds-color),
        2.937em 0.312em var(--clouds-color),
        2em -0.312em var(--back-clouds-color),
        3.625em -0.062em var(--clouds-color),
        2.625em 0 var(--back-clouds-color),
        4.5em -0.312em var(--clouds-color),
        3.375em -0.437em var(--back-clouds-color),
        4.625em -1.75em 0 0.437em var(--clouds-color),
        4em -0.625em var(--back-clouds-color),
        4.125em -2.125em 0 0.437em var(--back-clouds-color);
    transition:
        0.5s cubic-bezier(0, -0.02, 0.4, 1.25),
        transform 0.3s ease;
    transform: translateZ(0);
}

.theme-switch__stars-container {
    position: absolute;
    color: var(--stars-color);
    top: -100%;
    left: 0.312em;
    width: 2.75em;
    height: auto;
    transition: var(--transition);
    transform: translateZ(0);
}

/* actions */

.theme-switch__checkbox:checked+.theme-switch__container {
    background-color: var(--container-night-bg);
    background-image: linear-gradient(to bottom, var(--container-night-bg) 0%, #2d3142 100%);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container {
    left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container:hover {
    left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em);
}

.theme-switch__circle-container:hover {
    left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__moon {
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__clouds {
    bottom: -4.062em;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__stars-container {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.theme-switch__container:hover .theme-switch__clouds {
    transform: translateX(15px) scale(1.02);
}

.theme-switch__sun-moon-container:after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgb(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__sun-moon-container:hover:after {
    opacity: 1;
}

.theme-switch__shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    top: 20%;
    left: -10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__shooting-star-2 {
    position: absolute;
    width: 1px;
    height: 1px;
    background: white;
    top: 35%;
    left: -10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__meteor {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    top: -10%;
    left: 50%;
    opacity: 0;
    filter: blur(1px);
    transition: opacity 0.3s ease;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__shooting-star {
    animation: shootingStar 2s linear infinite;
    opacity: 1;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__shooting-star-2 {
    animation: shootingStar 3s linear infinite 1s;
    opacity: 1;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__meteor {
    animation: meteor 4s linear infinite 2s;
    opacity: 1;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: translateX(150px) translateY(150px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes meteor {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(150px) scale(0.3);
        opacity: 0;
    }
}

.theme-switch__stars-cluster {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__stars-cluster .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px white;
}

.theme-switch__stars-cluster .star:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: twinkle 1s infinite ease-in-out;
}

.theme-switch__stars-cluster .star:nth-child(2) {
    top: 30%;
    left: 55%;
    animation: twinkle 1s infinite ease-in-out 0.3s;
}

.theme-switch__stars-cluster .star:nth-child(3) {
    top: 40%;
    left: 80%;
    animation: twinkle 1s infinite ease-in-out 0.6s;
}

.theme-switch__stars-cluster .star:nth-child(4) {
    top: 60%;
    left: 30%;
    animation: twinkle 1s infinite ease-in-out 0.9s;
}

.theme-switch__stars-cluster .star:nth-child(5) {
    top: 70%;
    left: 65%;
    animation: twinkle 1s infinite ease-in-out 1.2s;
}

.theme-switch__aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg,
            rgb(0, 255, 255, 0) 0%,
            rgb(0, 255, 255, 0.2) 25%,
            rgb(128, 0, 255, 0.2) 50%,
            rgb(0, 255, 255, 0.2) 75%,
            rgb(0, 255, 255, 0) 100%);
    opacity: 0;
    filter: blur(4px);
    transform: translateY(-100%);
    transition: opacity 0.3s ease;
}

.theme-switch__comets {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-switch__comets .comet {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(90deg, white 0%, transparent 90%);
    border-radius: 50%;
    filter: blur(1px);
}

.theme-switch__comets .comet:nth-child(1) {
    top: 30%;
    left: -10%;
    animation: cometMove 4s linear infinite;
}

.theme-switch__comets .comet:nth-child(2) {
    top: 50%;
    left: -10%;
    animation: cometMove 6s linear infinite 2s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes cometMove {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(200px) translateY(200px) rotate(-45deg) scale(0.2);
        opacity: 0;
    }
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__stars-cluster {
    opacity: 1;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__aurora {
    opacity: 1;
    animation: auroraWave 8s linear infinite;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__comets {
    opacity: 1;
}

@keyframes auroraWave {
    0% {
        transform: translateY(-100%) translateX(-50%);
    }

    100% {
        transform: translateY(-100%) translateX(50%);
    }
}

/* 下拉按钮边框背景 */

/* From Uiverse.io by ali-sazzad */
.sazzad-card {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgb(255, 255, 255, 0.4);
    box-shadow:
        25px 25px 60px rgb(0, 0, 0, 0.12),
        -20px -20px 50px rgb(255, 255, 255, 0.55);
    transition: 0.4s ease;
}

.sazzad-card:hover {
    transform: translateY(-6px);
    box-shadow:
        25px 35px 65px rgb(0, 0, 0, 0.22),
        -20px -20px 50px rgb(255, 255, 255, 0.65);
}

/* Animated Aurora Blob */
.sazzad-aurora {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(28px);
    z-index: 1;
    background: radial-gradient(circle, rgb(255, 0, 72, 0.85), rgb(255, 0, 0, 0.4), transparent);
    animation: sazzad-aurora-move 6.5s infinite ease-in-out;
    opacity: 0.9;
}

/* Aurora Animation */
@keyframes sazzad-aurora-move {
    0% {
        transform: translate(-60%, -60%) scale(1);
    }

    30% {
        transform: translate(10%, -40%) scale(1.15);
    }

    60% {
        transform: translate(20%, 20%) scale(1.05);
    }

    80% {
        transform: translate(-40%, 10%) scale(1.2);
    }

    100% {
        transform: translate(-60%, -60%) scale(1);
    }
}

/* \3c !-- 进度指示器 --> */

/* From Uiverse.io by devsebastian44 */
.radio-group {
    display: flex;
    gap: 0;
    background: rgb(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 4px;
    border-radius: 25px;
    box-shadow:
        0 8px 32px rgb(0, 0, 0, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.3);
    border: 1px solid rgb(255, 255, 255, 0.3);
    position: relative;
    animation: slide-in 0.6s ease-out;
    width: 100%;
    max-width: 600px;
    height: 40px;
    margin: 0 auto;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Indicador deslizante de fondo */
.slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(25% - 3px);
    background: #fff;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow:
        0 3px 12px rgb(0, 0, 0, 0.15),
        0 1px 4px rgb(0, 0, 0, 0.1);
    z-index: 0;
}

.radio-option {
    position: relative;
    z-index: 1;
    flex: 1;
}

.radio-option input[type='radio'] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 16px;
    color: #3c3c43;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border-radius: 25px;
    position: relative;
    white-space: nowrap;
}

.radio-option input[type='radio']:checked+.radio-label {
    color: #667eea;
    text-shadow: none;
}

.radio-label:hover {
    color: #1c1c1e;
}

/* 暗黑模式下的文字颜色 */
.dark-mode .radio-label {
    color: rgb(255, 255, 255, 0.8);
}

.dark-mode .radio-label:hover {
    color: rgb(255, 255, 255, 0.9);
}

.dark-mode .radio-option input[type='radio']:checked+.radio-label {
    color: #8a8aff;
}

/* Efecto de brillo al pasar el mouse */
.radio-label:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgb(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-label:hover:before {
    opacity: 1;
}

/* Animación de entrada escalonada */
.radio-option {
    animation: fade-in 0.5s ease-out backwards;
}

.radio-option:nth-child(1) {
    animation-delay: 0.1s;
}

.radio-option:nth-child(2) {
    animation-delay: 0.2s;
}

.radio-option:nth-child(3) {
    animation-delay: 0.3s;
}

.radio-option:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste automático del slider */
.radio-group:has(#option1:checked) .slider {
    left: 4px;
    width: calc(25% - 3px);
}

.radio-group:has(#option2:checked) .slider {
    left: calc(25% + 1px);
    width: calc(25% - 3px);
}

.radio-group:has(#option3:checked) .slider {
    left: calc(50% + 1px);
    width: calc(25% - 3px);
}

.radio-group:has(#option4:checked) .slider {
    left: calc(75% + 1px);
    width: calc(25% - 3px);
}

/* Efecto de pulso en el slider */
@keyframes pulseGlow {
    0% {
        box-shadow:
            0 3px 12px rgb(0, 0, 0, 0.15),
            0 1px 4px rgb(0, 0, 0, 0.1);
    }

    50% {
        box-shadow:
            0 5px 20px rgb(102, 126, 234, 0.3),
            0 2px 8px rgb(0, 0, 0, 0.15);
    }

    100% {
        box-shadow:
            0 3px 12px rgb(0, 0, 0, 0.15),
            0 1px 4px rgb(0, 0, 0, 0.1);
    }
}

/* 为滑块添加脉冲动画 */
.radio-group:has(input[type='radio']:checked) .slider {
    animation: pulseGlow 0.6s ease-out;
}

/* Brillo decorativo en el contenedor */
.radio-group:before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgb(255, 255, 255, 0.1), transparent);
    border-radius: 50px;
    z-index: -1;
    animation: shineRotate 3s linear infinite;
    opacity: 0;
}

/* 暗黑模式适配 */
.dark-mode .radio-group {
    background: rgb(30, 30, 40, 0.5);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgb(0, 0, 0, 0.3),
        inset 0 1px 0 rgb(255, 255, 255, 0.1);
}

.dark-mode .radio-label {
    color: rgb(255, 255, 255, 0.7);
}

.dark-mode .radio-label:hover {
    color: rgb(255, 255, 255, 0.9);
}

.dark-mode .radio-option input[type='radio']:checked+.radio-label {
    color: #8a8aff;
}

.dark-mode .slider {
    background: #2c2c2e;
    box-shadow:
        0 3px 12px rgb(0, 0, 0, 0.3),
        0 1px 4px rgb(0, 0, 0, 0.2);
}

.dark-mode .radio-label:before {
    background: rgb(255, 255, 255, 0.05);
}

.dark-mode .radio-group:before {
    background: linear-gradient(45deg, transparent, rgb(255, 255, 255, 0.05), transparent);
}

/* 响应式设计 */
@media (width <=768px) {
    .radio-group {
        max-width: 320px;
    }

    .radio-label {
        font-size: 12px;
        padding: 0 12px;
    }
}

@media (width <=480px) {
    .radio-group {
        max-width: 280px;
    }

    .radio-label {
        font-size: 11px;
        padding: 0 8px;
    }
}

@media (width <=320px) {
    .radio-group {
        max-width: 240px;
    }

    .radio-label {
        font-size: 10px;
        padding: 0 6px;
    }
}

@keyframes shineRotate {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* \3c !-- 应用Logo --> */
#box div {
    display: inline-block;
    margin: 1px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main, #333);
    animation: 2s obrot linear forwards;
}

.dark-mode #box div {
    color: var(--text-main, #fff);
}

#box {
    width: auto;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes obrot {
    0% {
        transform: rotateX(0);
    }

    12.5% {
        transform: rotateX(90deg);
    }

    25% {
        transform: rotateX(180deg);
    }

    37.5% {
        transform: rotateX(270deg);
    }

    50% {
        transform: rotateX(360deg);
    }

    100% {
        transform: rotateX(360deg);
    }
}

#box div:nth-child(1) {
    animation-delay: 0s;
}

#box div:nth-child(2) {
    animation-delay: 0.1s;
}

#box div:nth-child(3) {
    animation-delay: 0.2s;
}

#box div:nth-child(4) {
    animation-delay: 0.3s;
}

#box div:nth-child(5) {
    animation-delay: 0.4s;
}

#box div:nth-child(6) {
    animation-delay: 0.5s;
}

#box div:nth-child(7) {
    animation-delay: 0.6s;
}

/* \3c !-- 应用Logo - 货源推荐页面 --> */
#box2 div {
    display: inline-block;
    margin: 1px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main, #333);
    animation: 2s obrot linear forwards;
}

.dark-mode #box2 div {
    color: var(--text-main, #fff);
}

#box2 {
    width: auto;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#box2 div:nth-child(1) {
    animation-delay: 0s;
}

#box2 div:nth-child(2) {
    animation-delay: 0.1s;
}

#box2 div:nth-child(3) {
    animation-delay: 0.2s;
}

#box2 div:nth-child(4) {
    animation-delay: 0.3s;
}

#box2 div:nth-child(5) {
    animation-delay: 0.4s;
}

#box2 div:nth-child(6) {
    animation-delay: 0.5s;
}

#box2 div:nth-child(7) {
    animation-delay: 0.6s;
}

/* QQ群客服页面 */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .glass {
    position: relative;
    width: 180px;
    height: 200px;
    background: linear-gradient(135deg, rgb(255, 255, 255, 0.1) 0%, rgb(255, 255, 255, 0.05) 100%);
    border: 1px solid rgb(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgb(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
}

.container:hover .glass {
    transform: rotate(0deg);
    margin: 0 10px;
}

.container .glass:before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgb(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-weight: 600;
}

.container .glass svg {
    font-size: 2.5em;
    fill: #fff;
}

/* VIP勋章样式 - 高级玻璃态 */
.vip-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, rgb(255, 215, 0, 0.9) 0%, rgb(255, 140, 0, 0.85) 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow:
        0 4px 15px rgb(255, 140, 0, 0.4),
        0 0 0 1px rgb(255, 255, 255, 0.3) inset,
        0 2px 4px rgb(0, 0, 0, 0.1);
    z-index: 10;
    text-shadow: 0 1px 3px rgb(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255, 0.2);
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.vip-badge:before {
    content: '★';
    margin-right: 3px;
    font-size: 8px;
}

.glass:hover .vip-badge {
    transform: translateZ(0) scale(1.05);
    box-shadow:
        0 6px 20px rgb(255, 140, 0, 0.5),
        0 0 0 1px rgb(255, 255, 255, 0.4) inset;
}

/* 服务版勋章样式 - 蓝色主题 */
.service-badge {
    left: auto;
    right: 8px;
    background: linear-gradient(135deg, rgb(0, 122, 255, 0.9) 0%, rgb(88, 86, 214, 0.85) 100%);
    box-shadow:
        0 4px 15px rgb(0, 122, 255, 0.4),
        0 0 0 1px rgb(255, 255, 255, 0.3) inset,
        0 2px 4px rgb(0, 0, 0, 0.1);
}

.service-badge:before {
    content: '◆';
    font-size: 7px;
}

.glass:hover .service-badge {
    box-shadow:
        0 6px 20px rgb(0, 122, 255, 0.5),
        0 0 0 1px rgb(255, 255, 255, 0.4) inset;
}

/* 导航群勋章样式 - 绿色主题，居中 */
.nav-badge {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgb(52, 199, 89, 0.9) 0%, rgb(48, 209, 88, 0.85) 100%);
    box-shadow:
        0 4px 15px rgb(52, 199, 89, 0.4),
        0 0 0 1px rgb(255, 255, 255, 0.3) inset,
        0 2px 4px rgb(0, 0, 0, 0.1);
}

.nav-badge:before {
    content: '◎';
    font-size: 8px;
}

.glass:hover .nav-badge {
    transform: translateX(-50%) scale(1.05);
    box-shadow:
        0 6px 20px rgb(52, 199, 89, 0.5),
        0 0 0 1px rgb(255, 255, 255, 0.4) inset;
}

/* 文档卡片 */
.book {
    position: relative;
    border-radius: 10px;
    width: 180px;
    height: 250px;
    background-color: whitesmoke;
    -webkit-box-shadow: 1px 1px 5px #000;
    box-shadow: 1px 1px 5px #000;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 600px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    transition-duration: 0.5s;
}

.cover,
.inner {
    top: 0;
    position: absolute;
    background-color: lightgray;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    -webkit-box-shadow: 1px 1px 5px #000;
    box-shadow: 1px 1px 5px #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.book:hover .cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotateY(70deg);
    -ms-transform: rotateY(70deg);
    transform: rotateY(-70deg);
}

.book:hover .inner {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    transform: rotateZ(10deg) rotateX(-3deg) rotateY(-10deg) translateX(140px);
    -webkit-box-shadow: 1px 1px 20px #000a;
    box-shadow: 1px 1px 20px #000a;
}

.book:hover {
    transform: rotateZ(-10deg);
}

.text {
    font-size: 20px;
    font-weight: 400;
}

/* 授权服务保障 ISO 分格布局 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-card {
    background: var(--content-bg);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    contain: content;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgb(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.reminder-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.service-button {
    padding: 12px 24px;
    border: 1px solid #4a84e8;
    background: var(--content-bg);
    color: #4a84e8;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-button:hover {
    background: #4a84e8;
    color: #fff;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (width <=768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 20px;
    }

    .reminder-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-button {
        width: 100%;
        max-width: 200px;
    }
}

/* 货源推荐按钮 */
.light-button button.bt {
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
}

.light-button button.bt .button-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100px;
    background-color: #0a0a0a;
    border-radius: 5px;
    color: #0f0f0f;
    font-weight: 700;
    transition: 300ms;
    outline: #0f0f0f 2px solid;
    outline-offset: 20;
}

.light-button button.bt .button-holder svg {
    height: 50px;
    fill: #0f0f0f;
    transition: 300ms;
}

.light-button button.bt .light-holder {
    position: absolute;
    height: 200px;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.light-button button.bt .light-holder .dot {
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #0a0a0a;
    border-radius: 10px;
    z-index: 2;
}

.light-button button.bt .light-holder .light {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    z-index: 1;
    clip-path: polygon(50% 0%, 25% 100%, 75% 100%);
    background: transparent;
}

.light-button button.bt:hover .button-holder svg {
    fill: rgb(255, 255, 255, 0.9);

    /* Soft white glow effect */

    transition: fill 0.3s ease-in-out;
}

.light-button button.bt:hover .button-holder {
    color: rgb(255, 255, 255, 1);
    border: 2px solid transparent;
    background-clip: padding-box;
    outline: none;
    outline-offset: 4px;
    box-shadow: 0 0 15px rgb(255, 255, 255, 0.7);

    /* Soft glow effect */

    position: relative;
}

.light-button button.bt:hover .button-holder:before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, hsl(27deg 93% 60%), transparent),
        radial-gradient(circle at 100% 0, #00a6ff, transparent),
        radial-gradient(circle at 0 100%, #ff0056, transparent),
        radial-gradient(circle at 100% 100%, #6500ff, transparent);
    z-index: -1;
    filter: blur(6px);

    /* Soft glow effect */
}

.light-button button.bt:hover .light-holder .light {
    background: radial-gradient(ellipse at center,

            rgb(255, 255, 255, 0.9) 0%,

            /* Bright white center */
            rgb(245, 245, 245, 0.7) 40%,

            /* Soft glowing white */
            rgb(230, 230, 230, 0.4) 70%,

            /* Smooth fading */
            rgb(210, 210, 210, 0.1) 90%,

            rgb(255, 255, 255, 0) 100%
            /* Natural fade-out */
        );
    filter: blur(12px);

    /* Enhances the soft glow effect */

    opacity: 0.85;
    transition:
        background 0.4s ease-in-out,
        opacity 0.3s ease-in-out;
}

solo coder

/* 密码框 */
/* 验证码输入框样式 */
.verification-input {
    width: 44px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.verification-input:hover {
    border-color: #c0c0c0;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.verification-input:focus {
    border-color: var(--text-main);
    background: var(--content-bg);
    outline: none;
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* 验证按钮样式 */
.verify-button {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(to right, #1a1a1a, #333);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.verify-button:hover {
    background: linear-gradient(to right, #2a2a2a, #444);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgb(0, 0, 0, 0.2);
}

.verify-button:active {
    transform: scale(0.98);
}

/* 重发按钮样式 */
.resend-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.resend-button:hover {
    background: #e5e5e5;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.resend-button:active {
    transform: scale(0.95);
}

.resend-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 动画效果 */
.animate-pulse {
    animation: pulseOpacity 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseOpacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 货源卡片ui */
.card {
    width: 360px;
    height: 150px;
    background: rgb(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow:
        0 1px 4px rgb(0, 0, 0, 0.1),
        0 2px 3px rgb(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 0 10px;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.card-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}

.card-icon {
    width: 20%;
}

.card-icon .icon-cart-box {
    background-color: #1a1a1a2f;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    text-align: center;
    padding: 15px 0;
    margin: 0 auto;
}

.card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 0;
}

.card-title-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    width: 100%;
}

.card-title {
    width: 95%;
    font-size: 1em;
    font-weight: 600;
    color: #1b1b1b;
    padding: 20px 0 0 10px;
}

.card-action {
    width: 5%;
    text-align: right;
    padding: 0 30px;
}

.card-action svg {
    cursor: pointer;
    fill: rgb(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
}

.card-action svg:hover {
    fill: rgb(0, 0, 0, 0.6);
}

.product-name {
    font-size: 0.8em;
    color: #2c2c2c;
    padding: 10px 0 0 10px;
}

.product-name:hover {
    cursor: pointer;
    text-decoration: underline;
}

.product-price {
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    padding: 0 0 10px 10px;
}

.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgb(0, 0, 0, 0.15);
    padding-block: 0.375rem;
    padding-inline: 1rem;
    background-color: rgb(5, 5, 5);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 8px;
    font-weight: bold;
    border: 2px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 13px;
    cursor: pointer;
    height: 30px;
}

.icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover:before {
    animation: shineLeft 1.5s ease-out infinite;
}

.button:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgb(255, 255, 255, 0) 30%,
            rgb(255, 255, 255, 0.8),
            rgb(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shineLeft {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* 货源卡片ui */

/* From Uiverse.io by ricson_3366 */
.card-wrapper {
    height: 150px;
    background: rgb(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow:
        0 1px 4px rgb(0, 0, 0, 0.1),
        0 2px 3px rgb(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 0 20px;
    backdrop-filter: blur(10px);
    z-index: 999;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgb(0, 0, 0, 0.15),
        0 6px 8px rgb(0, 0, 0, 0.1);
}

.card-icon {
    width: 20%;
}

.card-icon .icon-cart-box {
    background-color: #1a1a1a2f;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    text-align: center;
    padding: 15px 0;
    margin: 0 auto;
}

.card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 0;
}

.card-title-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    width: 100%;
}

.card-title {
    width: 95%;
    font-size: 1em;
    font-weight: 600;
    color: #1b1b1b;
    padding: 20px 0 0 10px;
}

.card-action {
    width: 5%;
    text-align: right;
    padding: 0 30px;
}

.card-action svg {
    cursor: pointer;
    fill: rgb(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
}

.card-action svg:hover {
    fill: rgb(0, 0, 0, 0.6);
}

.product-name {
    font-size: 0.8em;
    color: #2c2c2c;
    padding: 10px 0 0 10px;
}

.product-name:hover {
    cursor: pointer;
    text-decoration: underline;
}

.product-price {
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    padding: 0 0 10px 10px;
}

.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgb(0, 0, 0, 0.15);
    padding-block: 0.375rem;
    padding-inline: 1rem;
    background-color: rgb(5, 5, 5);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 8px;
    font-weight: bold;
    border: 2px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 13px;
    cursor: pointer;
    height: 30px;
}

.icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover:before {
    animation: shineLeft 1.5s ease-out infinite;
}

.button:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgb(255, 255, 255, 0) 30%,
            rgb(255, 255, 255, 0.8),
            rgb(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

/* 提醒符号ui */

/* From Uiverse.io by pharmacist-sabot */
.plate-tooltip-container {
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.tooltip-trigger {
    --primary: #ffb200;

    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom, #3a3d44 0%, #212329 100%);
    border: 1px solid #444;
    box-shadow:
        inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
        inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
        0 10px 20px -3px rgb(0, 0, 0, 0.5);
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: help;
    transition: transform 0.1s ease-out;
}

.warning-symbol {
    width: 0;
    height: 0;
    border-left: 0.7rem solid transparent;
    border-right: 0.7rem solid transparent;
    border-bottom: 1.2rem solid var(--primary);
    position: relative;
}

.warning-symbol:after {
    content: '!';
    position: absolute;
    color: #111;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: sans-serif;
    left: 50%;
    top: 0.8rem;
    transform: translate(-50%, -50%);
}

.tooltip-trigger:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
    opacity: 0;
    pointer-events: none;
    background: var(--primary);
    color: #111;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 0.5rem 1rem rgb(0, 0, 0, 0.3);
    transition:
        transform 0.3s cubic-bezier(0.2, 1.5, 0.5, 1),
        opacity 0.3s ease;
}

.tooltip-trigger:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid var(--primary);
    transform: translateX(-50%) translateY(0.5rem);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.3s cubic-bezier(0.2, 1.5, 0.5, 1),
        opacity 0.3s ease;
}

.tooltip-trigger:hover {
    animation: electric-shock 0.25s linear infinite;
}

.tooltip-trigger:hover .warning-symbol {
    animation: warning-pulse 1s ease-in-out infinite;
}

.tooltip-trigger:hover:before,
.tooltip-trigger:hover:after {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes electric-shock {
    0% {
        transform: translate(0, 0);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5);
    }

    20% {
        transform: translate(-1px, 1px);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5),
            0 0 8px 1px var(--primary);
    }

    40% {
        transform: translate(-1px, -1px);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5);
    }

    60% {
        transform: translate(1px, 1px);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5),
            0 0 8px 1px var(--primary);
    }

    80% {
        transform: translate(1px, -1px);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5);
    }

    100% {
        transform: translate(0, 0);
        box-shadow:
            inset 0 2px 2px -1px rgb(255, 255, 255, 0.2),
            inset 0 -5px 5px -2px rgb(0, 0, 0, 0.8),
            0 10px 20px -3px rgb(0, 0, 0, 0.5);
    }
}

@keyframes warning-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px var(--primary));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px var(--primary));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px var(--primary));
    }
}

/* \3c !-- 分类菜单按钮 --> */

/* From Uiverse.io by Galahhad */

/* The design is inspired from the mockapi.io */

.popup {
    --burger-line-width: 1.8em;
    --burger-line-height: 0.2em;
    --burger-offset: 1em;
    --burger-bg: rgb(0, 0, 0, 0.15);
    --burger-color: #333;
    --burger-line-border-radius: 0.25em;
    --burger-diameter: 3em;
    --burger-btn-border-radius: calc(var(--burger-diameter) / 2);
    --burger-line-transition: 0.3s;
    --burger-transition: all 0.1s ease-in-out;
    --burger-hover-scale: 1.1;
    --burger-active-scale: 0.95;
    --burger-enable-outline-color: var(--burger-bg);
    --burger-enable-outline-width: 0.125em;
    --burger-enable-outline-offset: var(--burger-enable-outline-width);

    /* nav */
    --nav-padding-x: 0.75em;
    --nav-padding-y: 1.125em;
    --nav-border-radius: 0.75em;
    --nav-border-color: #ccc;
    --nav-border-width: 0.0625em;
    --nav-shadow-color: rgb(0, 0, 0, 0.2);
    --nav-shadow-width: 0 4px 12px;
    --nav-bg: linear-gradient(135deg, rgb(255, 255, 255, 0.8) 0%, rgb(255, 255, 255, 0.6) 100%);
    --nav-font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, sans-serif;
    --nav-default-scale: 0.8;
    --nav-active-scale: 1;
    --nav-position-left: -160px;
    --nav-position-right: unset;

    /* if you want to change sides just switch one property */

    /* from properties to "unset" and the other to 0 */

    /* title */
    --nav-title-size: 1em;
    --nav-title-color: #777;
    --nav-title-padding-x: 1.5rem;
    --nav-title-padding-y: 0.5em;

    /* nav button */
    --nav-button-padding-x: 1.5rem;
    --nav-button-padding-y: 0.625em;
    --nav-button-border-radius: 0.75em;
    --nav-button-font-size: 16px;
    --nav-button-hover-bg: #6495ed;
    --nav-button-hover-text-color: #fff;
    --nav-button-distance: 1.25em;

    /* underline */
    --underline-border-width: 0.0625em;
    --underline-border-color: rgb(0, 0, 0, 0.1);
    --underline-margin-y: 0.3125em;
}

/* popup settings 👆 */

.popup {
    display: inline-block;
    text-rendering: optimizelegibility;
    position: relative;
}

.popup input {
    display: none;
}

.burger {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: var(--burger-bg);
    width: var(--burger-diameter);
    height: var(--burger-diameter);
    border-radius: var(--burger-btn-border-radius);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: var(--burger-transition);
    outline: var(--burger-enable-outline-width) solid transparent;
    outline-offset: 0;
}

.burger span {
    height: var(--burger-line-height);
    width: var(--burger-line-width);
    background: var(--burger-color);
    border-radius: var(--burger-line-border-radius);
    position: absolute;
    transition: var(--burger-line-transition);
}

.burger span:nth-child(1) {
    top: var(--burger-offset);
}

.burger span:nth-child(2) {
    bottom: var(--burger-offset);
}

.burger span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%);
}

.popup-window {
    transform: scale(var(--nav-default-scale));
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: var(--nav-padding-y) var(--nav-padding-x);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: var(--nav-font-family);
    color: var(--nav-text-color);
    border-radius: var(--nav-border-radius);
    box-shadow: var(--nav-shadow-width) var(--nav-shadow-color);
    border: var(--nav-border-width) solid var(--nav-border-color);
    bottom: calc(var(--burger-diameter) + var(--burger-enable-outline-width) + var(--burger-enable-outline-offset));
    left: var(--nav-position-left);
    right: var(--nav-position-right);
    transition: var(--burger-transition);
    z-index: 1000;
}

.popup-window legend {
    padding: var(--nav-title-padding-y) var(--nav-title-padding-x);
    margin: 0;
    color: var(--nav-title-color);
    font-size: var(--nav-title-size);
    text-transform: uppercase;
}

.popup-window ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.popup-window ul button {
    outline: none;
    width: 100%;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    color: var(--burger-color);
    font-size: var(--nav-button-font-size);
    padding: var(--nav-button-padding-y) var(--nav-button-padding-x);
    white-space: nowrap;
    border-radius: var(--nav-button-border-radius);
    cursor: pointer;
    column-gap: var(--nav-button-distance);
}

.popup-window ul li:nth-child(1) svg,
.popup-window ul li:nth-child(2) svg {
    color: cornflowerblue;
}

.popup-window ul li:nth-child(4) svg,
.popup-window ul li:nth-child(5) svg {
    color: rgb(153, 153, 153);
}

.popup-window ul li:nth-child(7) svg {
    color: red;
}

.popup-window hr {
    margin: var(--underline-margin-y) 0;
    border: none;
    border-bottom: var(--underline-border-width) solid var(--underline-border-color);
}

/* actions */

.popup-window ul button:hover,
.popup-window ul button:focus-visible,
.popup-window ul button:hover svg,
.popup-window ul button:focus-visible svg {
    color: var(--nav-button-hover-text-color);
    background: var(--nav-button-hover-bg);
}

.burger:hover {
    transform: scale(var(--burger-hover-scale));
}

.burger:active {
    transform: scale(var(--burger-active-scale));
}

.burger:focus:not(:hover) {
    outline-color: var(--burger-enable-outline-color);
    outline-offset: var(--burger-enable-outline-offset);
}

.popup input:checked+.burger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.popup input:checked+.burger span:nth-child(2) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.popup input:checked+.burger span:nth-child(3) {
    transform: translateX(calc(var(--burger-diameter) * -1 - var(--burger-line-width)));
}

.popup input:checked~nav {
    transform: scale(var(--nav-active-scale));
    visibility: visible;
    opacity: 1;
}

/* 主页3d显示方框 */

/* From Uiverse.io by RodolpheANDRIEUX */
.cube-container {
    width: 200px;
    height: 200px;
    perspective: 800px;
    margin: 50px auto;
    transition: 0.8s ease-out;
}

.cube-container:hover {
    transform: scale(2);
}

.cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate3d 8s infinite linear;
}

.face {
    --french: linear-gradient(to right, #00f, #fff, #fff, #fff, #f00) 1;

    position: absolute;
    width: 200px;
    height: 200px;
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 200px;
    background: #000c;
    border: 2px solid;
    border-image: var(--french);
}

.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate3d {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* 九星服务版背景 */

/* From Uiverse.io by Praashoo7 */

/* HOLD THE ASTRONAUT */

.card {
    position: relative;
    width: 19em;
    height: 25em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #171717;
    color: white;
    font-family: Montserrat;
    font-weight: bold;
    padding: 1em 2em 1em 1em;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    row-gap: 1em;
}

.card img {
    width: 12em;
    margin-right: 1em;
    animation: move 10s ease-in-out infinite;
    z-index: 5;
}

.image:hover {
    cursor: -webkit-grab;
    cursor: grab;
}

.icons svg {
    width: 20px;
    height: 20px;
}

.card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: -3px;
    border-radius: 10px;
    background: radial-gradient(#858585, transparent, transparent);
    transform: translate(-5px, 250px);
    transition: 0.4s ease-in-out;
    z-index: -1;
}

.card:hover:before {
    width: 150%;
    height: 100%;
    margin-left: -4.25em;
}

.card:after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 20px;
    background: rgb(23, 23, 23, 0.7);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.heading {
    z-index: 2;
    transition: 0.4s ease-in-out;
}

.card:hover .heading {
    letter-spacing: 0.025em;
}

.heading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        220px 118px #fff,
        280px 176px #fff,
        40px 50px #fff,
        60px 180px #fff,
        120px 130px #fff,
        180px 176px #fff,
        220px 290px #fff,
        520px 250px #fff,
        400px 220px #fff,
        50px 350px #fff,
        10px 230px #fff;
    z-index: -1;
    transition: 1s ease;
    animation: 1s glowing-stars linear alternate infinite;
    animation-delay: 0s;
}

.icons:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        140px 20px #fff,
        425px 20px #fff,
        70px 120px #fff,
        20px 130px #fff,
        110px 80px #fff,
        280px 80px #fff,
        250px 350px #fff,
        280px 230px #fff,
        220px 190px #fff,
        450px 100px #fff,
        380px 80px #fff,
        520px 50px #fff;
    z-index: -1;
    transition: 1.5s ease;
    animation: 1s glowing-stars linear alternate infinite;
    animation-delay: 0.4s;
}

.icons:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        490px 330px #fff,
        420px 300px #fff,
        320px 280px #fff,
        380px 350px #fff,
        546px 170px #fff,
        420px 180px #fff,
        370px 150px #fff,
        200px 250px #fff,
        80px 20px #fff,
        190px 50px #fff,
        270px 20px #fff,
        120px 230px #fff,
        350px -1px #fff,
        150px 369px #fff;
    z-index: -1;
    transition: 2s ease;
    animation: 1s glowing-stars linear alternate infinite;
    animation-delay: 0.8s;
}

.card:hover .heading:before,
.card:hover .icons:before,
.card:hover .icons:after {
    filter: blur(3px);
}

.image:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.image:active+.heading:before {
    box-shadow:
        240px 20px #9b40fc,
        240px 25px #9b40fc,
        240px 30px #9b40fc,
        240px 35px #9b40fc,
        240px 40px #9b40fc,
        242px 45px #9b40fc,
        246px 48px #9b40fc,
        251px 49px #9b40fc,
        256px 48px #9b40fc,
        260px 45px #9b40fc,
        262px 40px #9b40fc;
    animation: none;
    filter: blur(0);
    border-radius: 2px;
    width: 0.45em;
    height: 0.45em;
    scale: 0.65;
    transform: translateX(9em) translateY(1em);
}

.image:active~.icons:before {
    box-shadow:
        262px 35px #9b40fc,
        262px 30px #9b40fc,
        262px 25px #9b40fc,
        262px 20px #9b40fc,
        275px 20px #9b40fc,
        275px 24px #9b40fc,
        275px 28px #9b40fc,
        275px 32px #9b40fc,
        275px 36px #9b40fc,
        275px 40px #9b40fc,
        275px 44px #9b40fc,
        275px 48px #9b40fc;
    animation: none;
    filter: blur(0);
    border-radius: 2px;
    width: 0.45em;
    height: 0.45em;
    scale: 0.65;
    transform: translateX(9em) translateY(1em);
}

.image:active~.icons:after {
    box-shadow:
        238px 60px #9b40fc,
        242px 60px #9b40fc,
        246px 60px #9b40fc,
        250px 60px #9b40fc,
        254px 60px #9b40fc,
        258px 60px #9b40fc,
        262px 60px #9b40fc,
        266px 60px #9b40fc,
        270px 60px #9b40fc,
        274px 60px #9b40fc,
        278px 60px #9b40fc,
        282px 60px #9b40fc,
        234px 60px #9b40fc,
        234px 60px #9b40fc;
    animation: none;
    filter: blur(0);
    border-radius: 2px;
    width: 0.45em;
    height: 0.45em;
    scale: 0.65;
    transform: translateX(9em) translateY(1.25em);
}

.heading:after {
    content: '';
    top: -8.5%;
    left: -8.5%;
    position: absolute;
    width: 7.5em;
    height: 7.5em;
    border: none;
    outline: none;
    border-radius: 50%;
    background: #f9f9fb;
    box-shadow:
        0 0 100px rgb(193, 119, 241, 0.8),
        0 0 100px rgb(135, 42, 211, 0.8),
        inset #9b40fc 0 0 40px -12px;
    transition: 0.4s ease-in-out;
    z-index: -1;
}

.card:hover .heading:after {
    box-shadow:
        0 0 200px rgb(193, 119, 241, 1),
        0 0 200px rgb(135, 42, 211, 1),
        inset #9b40fc 0 0 40px -12px;
}

.icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    column-gap: 1em;
    z-index: 1;
}

.instagram,
.x,
.discord {
    position: relative;
    transition: 0.4s ease-in-out;
}

.instagram:after,
.x:after,
.discord:after {
    content: '';
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    left: 0;
    background-color: white;
    box-shadow:
        0 0 10px rgb(233, 233, 233, 0.5),
        0 0 10px rgb(192, 192, 192, 0.5);
    border-radius: 50%;
    z-index: -1;
    transition: 0.3s ease-in-out;
}

.instagram svg path,
.x svg path,
.discord svg path {
    stroke: #808080;
    transition: 0.4s ease-in-out;
}

.instagram:hover svg path {
    stroke: #cc39a4;
}

.x:hover svg path {
    stroke: black;
}

.discord:hover svg path {
    stroke: #8c9eff;
}

.instagram svg,
.x svg,
.discord svg {
    transition: 0.3s ease-in-out;
}

.instagram:hover svg {
    scale: 1.4;
}

.x:hover svg,
.discord:hover svg {
    scale: 1.25;
}

.instagram:hover:after,
.x:hover:after,
.discord:hover:after {
    scale: 4;
    transform: translateX(0.09em) translateY(0.09em);
}

.instagram:before {
    content: '';
    position: absolute;
    top: -700%;
    left: 1050%;
    rotate: -45deg;
    width: 5em;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
    animation: 4s shootingStar ease-in-out infinite;
    transition: 1s ease;
    animation-delay: 1s;
}

.x:before {
    content: '';
    position: absolute;
    top: -1300%;
    left: 850%;
    rotate: -45deg;
    width: 5em;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
    animation: 4s shootingStar ease-in-out infinite;
    animation-delay: 3s;
}

.discord:before {
    content: '';
    position: absolute;
    top: -2100%;
    left: 850%;
    rotate: -45deg;
    width: 5em;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
    animation: 4s shootingStar ease-in-out infinite;
    animation-delay: 5s;
}

.card:hover .instagram:before,
.card:hover .x:before,
.card:hover .discord:before {
    filter: blur(3px);
}

.image:active~.icons .instagram:before,
.image:active~.icons .x:before,
.image:active~.icons .discord:before {
    animation: none;
    opacity: 0;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-55em) translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateX(-70em) translateY(0);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
}

@keyframes move {
    0% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateY(-1em) translateX(-1em);
        rotate: -10deg;
    }

    50% {
        transform: translateY(1em) translateX(-1em);
    }

    75% {
        transform: translateY(-1.25em) translateX(1em);
        rotate: 10deg;
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

@keyframes glowing-stars {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* 九星服务版页面背景 */

/* From Uiverse.io by Praashoo7 - 改编为页面背景 */

/* HOLD THE ASTRONAUT - PAGE BACKGROUND */

.nine-star-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #171717;
    overflow: hidden;
    z-index: 0;
}

.nine-star-page-background:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #171717 70%);
    z-index: 2;
    pointer-events: none;
}

.nine-star-stars-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.nine-star-stars-layer-1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        220px 118px #fff,
        280px 176px #fff,
        40px 50px #fff,
        60px 180px #fff,
        120px 130px #fff,
        180px 176px #fff,
        220px 290px #fff,
        520px 250px #fff,
        400px 220px #fff,
        50px 350px #fff,
        10px 230px #fff,
        320px 380px #fff,
        180px 420px #fff,
        440px 180px #fff,
        60px 40px #fff,
        560px 320px #fff,
        640px 140px #fff,
        720px 280px #fff,
        480px 400px #fff,
        840px 200px #fff,
        920px 360px #fff,
        1000px 80px #fff,
        1080px 240px #fff;
    z-index: 1;
    animation: nine-star-glowing-stars 1s linear alternate infinite;
}

.nine-star-stars-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.nine-star-stars-layer-2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        140px 20px #fff,
        425px 20px #fff,
        70px 120px #fff,
        20px 130px #fff,
        110px 80px #fff,
        280px 80px #fff,
        250px 350px #fff,
        280px 230px #fff,
        220px 190px #fff,
        450px 100px #fff,
        380px 80px #fff,
        520px 50px #fff,
        600px 300px #fff,
        760px 160px #fff,
        880px 420px #fff,
        980px 60px #fff,
        1040px 340px #fff,
        1120px 180px #fff,
        1200px 280px #fff,
        1280px 120px #fff;
    z-index: 1;
    animation: nine-star-glowing-stars 1s linear alternate infinite;
    animation-delay: 0.4s;
}

.nine-star-stars-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.nine-star-stars-layer-3:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 1;
    box-shadow:
        490px 330px #fff,
        420px 300px #fff,
        320px 280px #fff,
        380px 350px #fff,
        546px 170px #fff,
        420px 180px #fff,
        370px 150px #fff,
        200px 250px #fff,
        80px 20px #fff,
        190px 50px #fff,
        270px 20px #fff,
        120px 230px #fff,
        350px -1px #fff,
        150px 369px #fff,
        680px 380px #fff,
        800px 100px #fff,
        940px 200px #fff,
        1060px 400px #fff,
        1180px 60px #fff,
        1300px 300px #fff,
        140px 460px #fff,
        260px 520px #fff;
    z-index: 1;
    animation: nine-star-glowing-stars 1s linear alternate infinite;
    animation-delay: 0.8s;
}

.nine-star-shooting-star-1 {
    position: absolute;
    top: 10%;
    left: 110%;
    width: 6em;
    height: 2px;
    background: linear-gradient(-45deg, #fff, transparent);
    transform: rotate(135deg);
    animation: nine-star-shootingStar 4s ease-in-out infinite;
    z-index: 3;
}

.nine-star-shooting-star-2 {
    position: absolute;
    top: 25%;
    left: 110%;
    width: 5em;
    height: 2px;
    background: linear-gradient(-45deg, #fff, transparent);
    transform: rotate(135deg);
    animation: nine-star-shootingStar 4s ease-in-out infinite;
    animation-delay: 3s;
    z-index: 3;
}

.nine-star-shooting-star-3 {
    position: absolute;
    top: 40%;
    left: 110%;
    width: 5.5em;
    height: 2px;
    background: linear-gradient(-45deg, #fff, transparent);
    transform: rotate(135deg);
    animation: nine-star-shootingStar 4s ease-in-out infinite;
    animation-delay: 5s;
    z-index: 3;
}

.nine-star-shooting-star-4 {
    position: absolute;
    top: 18%;
    left: 110%;
    width: 4.5em;
    height: 2px;
    background: linear-gradient(-45deg, #c39bd3, transparent);
    transform: rotate(135deg);
    animation: nine-star-shootingStar 3s ease-in-out infinite;
    animation-delay: 7s;
    z-index: 3;
}

.nine-star-shooting-star-5 {
    position: absolute;
    top: 35%;
    left: 110%;
    width: 6em;
    height: 2px;
    background: linear-gradient(-45deg, #85c1e9, transparent);
    transform: rotate(135deg);
    animation: nine-star-shootingStar 5s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 3;
}

.nine-star-glow-orb {
    position: absolute;
    top: -8.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 30em;
    height: 30em;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(193, 119, 241, 0.3) 0%, transparent 70%);
    box-shadow:
        0 0 200px rgb(193, 119, 241, 0.4),
        0 0 400px rgb(135, 42, 211, 0.3),
        inset 0 0 100px rgb(155, 64, 252, 0.2);
    animation: nine-star-pulse-glow 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.nine-star-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2em;
}

.nine-star-astronaut {
    width: 20em;
    margin-bottom: 2em;
    animation: nine-star-float 10s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgb(155, 64, 252, 0.5));
}

.nine-star-title {
    font-family: Montserrat, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 0.5em;
    text-shadow: 0 0 20px rgb(155, 64, 252, 0.8);
    letter-spacing: 0.05em;
}

.nine-star-subtitle {
    font-family: Montserrat, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5em;
    color: rgb(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2em;
}

.nine-star-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    max-width: 1200px;
    width: 100%;
    padding: 2em;
}

.nine-star-feature-card {
    background: rgb(23, 23, 23, 0.8);
    border-radius: 20px;
    padding: 2em;
    border: 1px solid rgb(155, 64, 252, 0.3);
    transition: all 0.4s ease-in-out;
    backdrop-filter: blur(10px);
}

.nine-star-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgb(155, 64, 252, 0.8);
    box-shadow: 0 20px 60px rgb(155, 64, 252, 0.3);
}

.nine-star-feature-card h3 {
    font-family: Montserrat, sans-serif;
    font-size: 1.3em;
    color: white;
    margin-bottom: 1em;
}

.nine-star-feature-card p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
    color: rgb(255, 255, 255, 0.7);
    line-height: 1.6;
}

@keyframes nine-star-glowing-stars {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes nine-star-shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(135deg);
        opacity: 1;
    }

    50% {
        transform: translateX(-60em) translateY(30em) rotate(135deg);
        opacity: 1;
    }

    70% {
        transform: translateX(-100em) translateY(50em) rotate(135deg);
        opacity: 0;
    }

    100% {
        transform: translateX(-120em) translateY(60em) rotate(135deg);
        opacity: 0;
    }
}

@keyframes nine-star-pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes nine-star-float {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-1em);
    }

    50% {
        transform: translateY(1em);
    }

    75% {
        transform: translateY(-1.25em);
    }

    100% {
        transform: translateY(0);
    }
}

@media (width <=768px) {
    .nine-star-title {
        font-size: 2em;
    }

    .nine-star-subtitle {
        font-size: 1.2em;
    }

    .nine-star-astronaut {
        width: 15em;
    }

    .nine-star-glow-orb {
        width: 20em;
        height: 20em;
    }
}

.dark-mode img[src*="ninestar-edition-1"] {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@keyframes border-glow-translate {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes border-glow-scale {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes star-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes star-shine {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ====== scroll-optimization.css ====== */

/**
 * 文件名称：scroll-optimization.css
 * 文件功能：滚动性能优化样式，包含GPU加速、减少重绘和重排、动画性能优化等
 * 创建日期：2026-03-16
 * 维护人员：前端开发团队
 * 
 * 关键功能模块：
 * 1. 全局滚动优化
 * 2. GPU加速
 * 3. 减少重绘和重排
 * 4. 主要内容区域滚动优化
 * 5. 轮播图性能优化
 * 6. 滚动字幕性能优化
 * 7. HUD圆圈动画性能优化
 * 8. 视差滚动元素优化
 * 9. 卡片网格布局优化
 * 10. 统计卡片动画优化
 * 11. 防止布局抖动
 * 12. 图片加载优化
 * 13. 按钮交互优化
 * 14. 减少动画对滚动性能的影响
 * 15. 移动端滚动优化
 * 18. 滚动条样式优化
 * 19. 页脚波浪动画优化
 * 
 * 关联文件：
 * - static/css/style.css：主样式文件
 * - static/js/script.js：与主脚本文件交互
 * 
 * 注意事项：
 * - 使用 GPU 加速提升动画性能
 * - 减少重绘和重排，提升页面滚动流畅度
 * - 优化图片加载和懒加载
 * - 适配不同设备和浏览器
 * - 尊重用户的减少动画偏好设置
 */

/* ================= 滚动性能优化样式 ================= */

/* 全局滚动优化 */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 启用GPU加速 - 不对滚动容器.ios-main-content设置transform/backface-visibility，避免干扰滚动 */
.hero-wrapper,
.tech-card,
.module-card,
.stat-card,
.domain-card,
.why-card,
.carousel-container,
.carousel-track,
.carousel-slide,
.character-image,
.marquee-content,
.feature-grid,
.marketing-modules,
.domains-grid,
.why-grid,
.stats-container,
.cta-character,
.macbook-container {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* HUD圆环不使用 transform 硬件加速，改用独立变换属性避免动画冲突 */
.hud-circle {
    translate: 0 0 0;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 减少重绘和重排 - 使用contain属性 */
.tech-card,
.module-card,
.domain-card,
.stat-card,
.why-card,
.nav-menu-item,
.top-nav-item,
.cyber-btn,
.cta-btn {
    contain: layout style paint;
}

/* 主要内容区域滚动优化 - 不使用 transform 避免创建裁剪上下文 */
.ios-main-content {
    will-change: scroll-position;
}

/* 轮播图性能优化 */
.carousel-container {
    overflow: hidden;
}

.carousel-track {
    transform: translateZ(0);
}

.carousel-slide {
    transform: translateZ(0);
}

/* 滚动字幕性能优化 */
.hero-marquee {
    overflow: hidden;
    will-change: transform;
}

.marquee-content {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* HUD圆圈动画性能优化 - 使用独立变换属性，不设置 transform */
.hud-circle {
    will-change: rotate, scale, translate;
    translate: 0 0 0;
    pointer-events: none;
}

/* 视差滚动元素优化 */
.character-image {
    transform: translateZ(0);
}

/* 卡片网格布局优化 */
.feature-grid,
.marketing-modules,
.domains-grid,
.why-grid {
    contain: layout;
}

/* 统计卡片动画优化 */
.stat-card {
    transform: translateZ(0);
}

.percent svg {
    transform: translateZ(0);
}

/* 防止布局抖动 */
.hero-container,
.cta-inner,
.footer-inner,
.content-inner {
    contain: layout;
}

/* 图片加载优化 - 仅对非首屏图片使用contain: paint，避免content-visibility: auto导致的滚动布局抖动 */
img {
    contain: paint;
}

/* 首屏图片不需要content-visibility，避免布局偏移 */
.pricing-hero img,
.brand-showcase-section .main-title-image img {
    content-visibility: visible;
}

/* 按钮交互优化 */
.cyber-btn,
.cta-btn,
.domain-btn {
    transform: translateZ(0);
}

/* 减少动画对滚动性能的影响 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hud-circle,
    .character-image,
    .marquee-content {
        will-change: auto;
        animation: none !important;
    }
}

/* 移动端滚动优化 */
@media (width <=768px) {
    html {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    /* 移动端减少视差效果 */
    .hud-circle,
    .character-image {
        will-change: auto;
    }

    /* 优化触摸滚动 - 允许垂直滚动 */
    .ios-main-content {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overflow: hidden auto;
    }

    /* 确保Hero区域可以自由滚动 */
    .pricing-hero {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
}

/* 滚动条样式优化 - 仅在非隐藏状态下显示 */
@media (hover: hover) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--surface-bg);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--text-light);
    }
}

/* 防止滚动时的布局偏移 */
.ios-header {
    contain: layout;
}

/* 页脚波浪动画优化 */
.footer-waves {
    transform: translateZ(0);
}

.waves {
    will-change: transform;
    animation: wave-animation 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

@keyframes wave-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* 使用content-visibility优化长列表 */
.tech-card:nth-child(n + 5),
.module-card:nth-child(n + 4) {
    content-visibility: auto;
    contain-intrinsic-size: 0 300px;
}

/* 防止字体闪烁 */
body {
    font-display: swap;
}

.ios-longpress-trigger {
    position: relative;
    overflow: visible;
    --lp-progress: 0;
}

.ios-longpress-trigger.ios-pressing {
    transform: scale(0.965);
    transition: transform 0.12s ease;
}

.ios-longpress-trigger::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s ease;
    background: conic-gradient(#7bb6ff calc(var(--lp-progress) * 1turn), rgba(255, 255, 255, 0.18) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}

.ios-longpress-trigger.ios-pressing::after {
    opacity: 1;
}

.ios-longpress-trigger:focus-visible {
    outline: 2px solid rgba(130, 180, 255, 0.75);
    outline-offset: 2px;
}

.site-footer.site-footer .footer-nav-section {
    flex: 1;
    min-width: 0;
}

.site-footer.site-footer .footer-nav-group {
    justify-content: space-evenly;
}

@media (max-width: 768px) {
    .site-footer.site-footer .footer-main {
        align-items: center;
    }

    .site-footer.site-footer .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer.site-footer .footer-logo {
        justify-content: center;
    }

    .site-footer.site-footer .footer-social {
        justify-content: center;
    }

    .site-footer.site-footer .footer-nav-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: space-evenly;
        gap: clamp(8px, 3vw, 24px);
    }

    .site-footer.site-footer .footer-nav-section {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    .site-footer.site-footer .footer-nav-title {
        text-align: center;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .site-footer.site-footer .footer-nav-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer.site-footer .footer-nav-list {
        text-align: center;
        padding-left: 0;
    }

    .site-footer.site-footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(10px, 2vw, 20px);
    }

    .site-footer.site-footer .footer-copyright {
        text-align: center;
    }

    .site-footer.site-footer .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer.site-footer .footer-nav-group {
        flex-wrap: nowrap;
        width: 100%;
        gap: clamp(6px, 2.5vw, 16px);
        justify-content: space-evenly;
    }

    .site-footer.site-footer .footer-nav-section {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    .site-footer.site-footer .footer-nav-title {
        font-size: 11px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .site-footer.site-footer .footer-nav-title::after {
        width: 16px;
    }

    .site-footer.site-footer .footer-nav-list li {
        margin-bottom: 4px;
    }

    .site-footer.site-footer .footer-nav-list a {
        font-size: 10px;
    }

    .site-footer.site-footer .footer-nav-list a::before {
        display: none;
    }
}

/* ============================================================
   布局稳定性防护（CLS 优化）
   防止动态注入内容导致的页面抖动
   ============================================================ */

/* 1. 头部占位：JS 注入前预留 56px 高度，防止内容下移 */
#site-header {
    min-height: 56px;
    contain: layout style;
}

/* 2. 底部占位：JS 注入前预留最小高度，防止内容上移 */
#site-footer {
    min-height: 300px;
    contain: layout style;
}

/* 3. 已知尺寸图片保持宽高比，防止加载时布局偏移 */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
    height: auto;
}

/* 4. 滚动稳定性：预留导航高度 + 防止滚动锚定偏移 */
html {
    scroll-padding-top: 56px;
}

/* 5. 字体渲染一致性：消除字体加载导致的文字闪烁 */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   桌面端导航栏（≥1025px 显示 PC 横向导航，≤1024px 显示汉堡菜单）
   ============================================================ */

.desktop-nav {
    display: none;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
    margin: 0;
}

.desktop-nav-group {
    position: relative;
}

.desktop-nav-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 6px 14px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.desktop-nav-btn:hover {
    background: rgb(120, 120, 128, 0.08);
}

.desktop-nav-btn:active {
    transform: scale(0.97);
}

.desktop-nav-btn[aria-expanded='true'] {
    color: var(--primary);
    background: rgb(0, 122, 255, 0.08);
}

.desktop-nav-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    flex-shrink: 0;
    color: rgb(60, 60, 67, 0.35);
}

.desktop-nav-btn[aria-expanded='true'] .desktop-nav-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.desktop-nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(0.96);
    min-width: 210px;
    padding: 6px;
    border-radius: 18px;

    /* 液态玻璃多层背景 */
    background:
        /* 顶部光晕 - 模拟光线折射 */
        radial-gradient(160% 90% at 20% -10%, rgb(255, 255, 255, 0.6) 0%, transparent 70%),
        radial-gradient(80% 60% at 80% 100%, rgb(255, 255, 255, 0.2) 0%, transparent 60%),
        /* 主玻璃层 */
        linear-gradient(165deg, rgb(255, 255, 255, 0.82) 0%, rgb(255, 255, 255, 0.55) 40%, rgb(255, 255, 255, 0.72) 100%);

    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid rgb(255, 255, 255, 0.7);

    /* 液态玻璃深度阴影 */
    box-shadow:
        0 20px 60px rgb(0, 0, 0, 0.10),
        0 8px 20px rgb(0, 0, 0, 0.06),
        0 2px 8px rgb(0, 0, 0, 0.04),
        /* 内发光模拟玻璃厚度 */
        inset 0 1px 0 rgb(255, 255, 255, 0.9),
        inset 0 -1px 0 rgb(255, 255, 255, 0.2);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
        visibility 0s linear 0.25s;
    z-index: 1001;
}

.desktop-nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition:
        opacity 0.2s cubic-bezier(0.32, 0, 0, 1),
        transform 0.25s cubic-bezier(0.32, 0, 0, 1);
}

.desktop-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
    position: relative;
}

.desktop-nav-link:hover {
    background: rgb(0, 122, 255, 0.07);
    color: var(--primary);
    transform: translateX(2px);
}

.desktop-nav-link:active {
    transform: scale(0.97) translateX(2px);
}

.desktop-nav-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.desktop-nav-link:hover svg {
    opacity: 0.85;
    transform: scale(1.08);
}

.desktop-nav-link.active {
    background: linear-gradient(135deg, rgb(0, 122, 255, 0.10), rgb(0, 122, 255, 0.05));
    color: var(--primary);
    font-weight: 600;
}

.desktop-nav-link.active svg {
    opacity: 1;
    color: var(--primary);
}

/* 桌面端 ≥1025px 显示PC导航，隐藏汉堡菜单 */
@media (width >=1025px) {
    .desktop-nav {
        display: flex;
    }

    .nav-menu-btn {
        display: none;
    }
}

/* ============================================================
   桌面导航 - 深色模式
   ============================================================ */

.dark-mode .desktop-nav-btn:hover {
    background: rgb(120, 120, 128, 0.14);
}

.dark-mode .desktop-nav-btn[aria-expanded='true'] {
    background: rgb(0, 122, 255, 0.15);
}

.dark-mode .desktop-nav-arrow {
    color: rgb(235, 235, 245, 0.3);
}

.dark-mode .desktop-nav-dropdown {
    background:
        radial-gradient(160% 90% at 20% -10%, rgb(100, 150, 255, 0.15) 0%, transparent 70%),
        radial-gradient(80% 60% at 80% 100%, rgb(80, 60, 180, 0.10) 0%, transparent 60%),
        linear-gradient(165deg, rgb(35, 38, 48, 0.85) 0%, rgb(28, 30, 38, 0.70) 50%, rgb(32, 35, 45, 0.78) 100%);
    border-color: rgb(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgb(0, 0, 0, 0.35),
        0 8px 20px rgb(0, 0, 0, 0.20),
        0 2px 8px rgb(0, 0, 0, 0.10),
        inset 0 1px 0 rgb(255, 255, 255, 0.06),
        inset 0 -1px 0 rgb(255, 255, 255, 0.03);
}

.dark-mode .desktop-nav-link:hover {
    background: rgb(0, 122, 255, 0.12);
    color: #5ac8fa;
}

.dark-mode .desktop-nav-link.active {
    background: linear-gradient(135deg, rgb(0, 122, 255, 0.18), rgb(0, 100, 200, 0.08));
    color: #5ac8fa;
}