/* ============================================
   Dimnuo Agent OS 官网样式表 - 水墨中国风
   ============================================ */

/* 颜色变量 - 水墨配色方案 */
:root {
    /* 主色调 */
    --ink-black: #1a1a1a;        /* 墨黑 */
    --ink-dark: #2d2d2d;         /* 浓墨 */
    --ink-medium: #4a4a4a;       /* 中墨 */
    --ink-light: #6b6b6b;        /* 淡墨 */
    --ink-wash: #8c8c8c;         /* 水墨 */
    
    /* 背景色 */
    --rice-paper: #f5f3ed;       /* 宣纸白 */
    --rice-paper-dark: #e8e6df;  /* 深宣纸 */
    --rice-paper-warm: #f9f7f1;  /* 暖宣纸 */
    
    /* 强调色 */
    --celadon: #7d9d9c;          /* 青花瓷 */
    --celadon-dark: #5d7d7c;     /* 深青花 */
    --seal-red: #c43c3c;         /* 印泥红 */
    --seal-red-dark: #a32c2c;    /* 深印红 */
    --ochre: #b8935a;            /* 赭石 */
    
    /* 功能色 */
    --success: #5a9d5a;
    --warning: #d4a93a;
    --error: #c43c3c;
    
    /* 渐变 */
    --gradient-ink: linear-gradient(180deg, var(--ink-black) 0%, var(--ink-medium) 100%);
    --gradient-paper: linear-gradient(180deg, var(--rice-paper) 0%, var(--rice-paper-dark) 100%);
    
    /* 阴影 */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-ink: 0 4px 20px rgba(26, 26, 26, 0.15);
    
    /* 圆角 */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* 字体 */
    --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
    --font-sans: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--rice-paper);
    color: var(--ink-black);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

/* 云雾背景动画 */
.cloud-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: cloudFloat 20s infinite ease-in-out;
}

.cloud-1 {
    width: 600px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.cloud-2 {
    width: 800px;
    height: 400px;
    top: 40%;
    right: -20%;
    animation-delay: -7s;
}

.cloud-3 {
    width: 500px;
    height: 250px;
    bottom: 20%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(50px) translateY(-20px);
    }
    50% {
        transform: translateX(0) translateY(-40px);
    }
    75% {
        transform: translateX(-50px) translateY(-20px);
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--rice-paper-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--ink-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ink-medium);
}

/* 通用容器 */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ink-black);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--ink-medium);
    font-weight: 300;
}

.divider-ink {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ink-black), transparent);
    margin: var(--spacing-md) auto;
    position: relative;
}

.divider-ink::before,
.divider-ink::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--seal-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.divider-ink::before {
    left: 0;
}

.divider-ink::after {
    right: 0;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(245, 243, 237, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-brand-logo {
    height: 85px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--ink-black);
    letter-spacing: 0.03em;
}

.logo-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 68px;
    height: 68px;
    padding: 0 14px;
    background: var(--seal-red);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    border-radius: 3px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.08em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 24px;
    background: transparent;
    z-index: 1101;
    pointer-events: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--ink-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--celadon);
    transition: width var(--transition-medium);
}

.nav-menu a:hover {
    color: var(--celadon);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-dropdown .dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    min-width: 180px;
    padding: 16px 0 8px;
    background: rgba(245, 243, 237, 0.98);
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 1100;
}

.nav-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(245, 243, 237, 0.98);
    border-left: 1px solid rgba(26, 26, 26, 0.1);
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

/* JS 控制稳定展开：避免 hover 间隙造成闪退 */
.nav-dropdown.open .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--ink-dark);
    white-space: nowrap;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(125, 157, 156, 0.12);
    color: var(--celadon-dark);
}

.nav-cta {
    background: var(--seal-red);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--seal-red-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--ink-black);
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ink-wash {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(26, 26, 26, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(26, 26, 26, 0.05) 0%, transparent 50%);
    animation: inkFlow 15s infinite ease-in-out;
}

@keyframes inkFlow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.mountain-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.03) 100%);
    clip-path: polygon(0% 100%, 0% 20%, 15% 40%, 30% 15%, 45% 35%, 60% 10%, 75% 30%, 90% 15%, 100% 25%, 100% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 900;
    color: var(--ink-black);
    margin-top: 20px;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ink-medium);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

/* 画轴样式 - 左右展开式水墨风格 */
.hero-scroll {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    gap: 0;
}

.scroll-roller {
    width: 26px;
    height: 140px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg opacity='0.2' stroke='%23ffffff' stroke-width='0.7'%3E%3Cpath d='M0 6 H24'/%3E%3Cpath d='M0 12 H24'/%3E%3Cpath d='M0 18 H24'/%3E%3Cpath d='M6 0 V24'/%3E%3Cpath d='M12 0 V24'/%3E%3Cpath d='M18 0 V24'/%3E%3C/g%3E%3C/svg%3E") center/12px 12px repeat,
        linear-gradient(90deg, rgba(120, 88, 33, 0.34) 0%, rgba(120, 88, 33, 0) 22%, rgba(120, 88, 33, 0) 78%, rgba(120, 88, 33, 0.34) 100%),
        linear-gradient(90deg, #c79f45 0%, #d8b55a 24%, #e5c86e 50%, #d5b157 76%, #be9640 100%);
    border-radius: 5px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 245, 214, 0.22);
    position: relative;
    overflow: hidden;
}

.scroll-roller-left {
    border-radius: 8px 2px 2px 8px;
}

.scroll-roller-right {
    border-radius: 2px 8px 8px 2px;
}

.scroll-roller::before,
.scroll-roller::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-roller::before {
    top: 14px;
    width: 18px;
    height: 110px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='128' viewBox='0 0 64 128'%3E%3Cg fill='none' stroke='%2387631f' stroke-width='2.1' stroke-linecap='round' opacity='0.38'%3E%3Cpath d='M6 24 C16 12, 28 12, 38 24 C46 34, 56 34, 60 24'/%3E%3Cpath d='M4 50 C14 38, 26 38, 36 50 C44 60, 54 60, 60 50'/%3E%3Cpath d='M6 76 C16 64, 28 64, 38 76 C46 86, 56 86, 60 76'/%3E%3Cpath d='M4 102 C14 90, 26 90, 36 102 C44 112, 54 112, 60 102'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
    opacity: 0.58;
}

.scroll-roller::after {
    top: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(146, 106, 32, 0.35) 0%, rgba(146, 106, 32, 0) 16%, rgba(146, 106, 32, 0) 84%, rgba(146, 106, 32, 0.35) 100%),
        radial-gradient(ellipse at 30% 18%, rgba(255, 244, 212, 0.2) 0%, rgba(255, 244, 212, 0) 56%),
        radial-gradient(ellipse at 70% 78%, rgba(132, 95, 30, 0.16) 0%, rgba(132, 95, 30, 0) 58%);
}

.scroll-roller-left::before {
    transform: translateX(-50%) scaleX(1);
}

.scroll-roller-right::before {
    transform: translateX(-50%) scaleX(-1);
}

.scroll-paper {
    background: #F5F5DC;
    width: 450px;
    height: 130px;
    padding: var(--spacing-md) var(--spacing-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.scroll-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.scroll-paper::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 69, 19, 0.2) 10%, rgba(139, 69, 19, 0.2) 90%, transparent 100%);
}

.scroll-text {
    font-family: "STXingkai", "Xingkai SC", "KaiTi", "STKaiti", var(--font-serif);
    font-size: calc(1.5rem + 3px);
    font-weight: 700;
    color: var(--ink-black);
    margin-bottom: var(--spacing-xs);
    text-align: center;
    letter-spacing: 0.15em;
    position: relative;
    left: 10px;
    z-index: 1;
}

.scroll-source {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--ink-wash);
    text-align: center;
    display: block;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--ink-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* 印章风格按钮 */
.btn-seal-primary,
.btn-seal-secondary {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-seal-primary {
    background: var(--seal-red);
    color: white;
    box-shadow: 3px 3px 6px rgba(196, 60, 60, 0.3);
}

.btn-seal-primary:hover {
    background: var(--seal-red-dark);
    transform: translateY(-3px);
    box-shadow: 4px 4px 8px rgba(196, 60, 60, 0.4);
}

.btn-seal-secondary {
    background: transparent;
    color: var(--celadon);
    border: 2px solid var(--celadon);
}

.btn-seal-secondary:hover {
    background: var(--celadon);
    color: white;
    transform: translateY(-3px);
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bamboo-left {
    position: absolute;
    left: 5%;
    bottom: 10%;
    width: 150px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M30,200 Q35,150 30,100 Q25,50 30,0' stroke='%235a7d5a' stroke-width='3' fill='none' opacity='0.6'/%3E%3Cpath d='M30,180 Q50,170 60,160' stroke='%235a7d5a' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M30,130 Q50,120 65,115' stroke='%235a7d5a' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M30,80 Q50,70 60,65' stroke='%235a7d5a' stroke-width='2' fill='none' opacity='0.5'/%3E%3C/svg%3E") no-repeat;
    opacity: 0.4;
}

.seal-corner {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: var(--seal-red);
    color: white;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(15deg);
    opacity: 0.8;
}

/* 月亮（替代右上角方形印章） */
.moon-corner {
    position: absolute;
    top: 4.5%;
    right: 6%;
    width: 96px;
    height: 96px;
    pointer-events: none;
    opacity: 0.98;
    overflow: visible;
    border-radius: 50%;
    filter: none;
}

.hero-company-logo {
    position: absolute;
    top: 4.5%;
    /* 放到整个页面左侧 */
    left: 5%;
    right: auto;
    width: 352px;
    height: 352px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 0 18px rgba(241, 210, 122, 0.12));
    /* logo 比月亮更大，top 相同会导致中心点偏低；上移对齐视觉中心 */
    transform: translateY(-128px);
}

.moon-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    /* 月盘：主体 + 少量纹理 */
    /* 统一明暗过渡：尽量让月盘内没有明显“明暗交界” */
    background:
        radial-gradient(circle at 35% 28%,
            rgba(255, 250, 220, 0.98) 0%,
            rgba(246, 229, 182, 0.88) 34%,
            rgba(219, 175, 98, 0.55) 68%,
            rgba(190, 135, 60, 0.22) 100%),
        radial-gradient(circle at 70% 72%,
            rgba(200, 140, 70, 0.18) 0%,
            rgba(200, 140, 70, 0) 58%);
    box-shadow:
        0 0 0 1px rgba(255, 246, 214, 0.28) inset;
}

.moon-disc::after {
    content: '';
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(241, 210, 122, 0.35) 0%,
            rgba(241, 210, 122, 0.18) 22%,
            rgba(241, 210, 122, 0.08) 42%,
            transparent 66%);
    opacity: 0.62;
    filter: blur(14px);
    pointer-events: none;
    z-index: 2;
}

.moon-corner::before {
    /* 地面观星的“月晕”（渐变中心与月盘同心，避免上亮下暗） */
    content: '';
    position: absolute;
    inset: -55%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(241, 210, 122, 0.50) 0%,
            rgba(241, 210, 122, 0.32) 28%,
            rgba(241, 210, 122, 0.16) 55%,
            transparent 64%);
    pointer-events: none;
}

.moon-disc::before {
    content: '';
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.45) 0%, transparent 44%),
        radial-gradient(circle at 55% 42%, rgba(255, 255, 255, 0.18) 0%, transparent 48%),
        radial-gradient(circle at 70% 65%, rgba(120, 70, 10, 0.15) 0%, transparent 52%);
    opacity: 0.45;
    filter: blur(0.2px);
}

.moon-mountains {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    /* 月面纹理：坑洞与暗带（模拟“天上月亮不完全一致的纹路”） */
    /* 内部纹理降到很轻：只做“远处不均匀感”，避免出现交界 */
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.15) 0%, transparent 42%),
        radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 78%, rgba(0, 0, 0, 0.10) 0%, transparent 62%);
    opacity: 0.22;
    filter: none;
    mix-blend-mode: normal;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--ink-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--ink-light);
    border-radius: 13px;
    margin: 0 auto var(--spacing-xs);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--ink-light);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   核心能力 Section
   ============================================ */
.features {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--rice-paper) 0%, var(--rice-paper-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 26, 26, 0.05);
    transition: all var(--transition-medium);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--celadon), var(--ink-light));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-ink);
}

.feature-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--celadon), var(--celadon-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-seal {
    position: static;
    width: 60px;
    height: 60px;
    background: var(--seal-red);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    opacity: 0.9;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(189, 51, 33, 0.3);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-black);
    margin-bottom: var(--spacing-xs);
}

.feature-poem {
    font-style: italic;
    color: var(--ink-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px dashed rgba(26, 26, 26, 0.1);
}

.feature-desc {
    color: var(--ink-medium);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--ink-dark);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: var(--celadon);
    font-size: 0.8rem;
}

.features-footer {
    text-align: center;
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.features-summary {
    font-family: var(--font-serif);
    font-size: calc(1.2rem + 10px);
    color: #c9a24e;
    margin-bottom: var(--spacing-xs);
}

.features-values {
    font-size: calc(1rem + 10px);
    color: #c9a24e;
    font-weight: 500;
    letter-spacing: 0.15em;
    white-space: nowrap;
    text-align: center;
}

/* ============================================
   应用场景 Section
   ============================================ */
.scenarios {
    padding: var(--spacing-xxl) 0;
    background: var(--rice-paper-warm);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.scenario-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 26, 26, 0.05);
    transition: all var(--transition-medium);
    position: relative;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.scenario-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ochre), #9a7a4a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.scenario-icon i {
    font-size: 1.5rem;
    color: white;
}

.scenario-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink-black);
    margin-bottom: var(--spacing-xs);
}

.scenario-poem {
    font-style: italic;
    color: var(--ink-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.scenario-lines {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: var(--spacing-md);
}

.scenario-lines .scenario-desc {
    margin-bottom: 0;
}

.scenario-desc {
    color: var(--ink-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.scenario-lines .scenario-desc strong {
    color: var(--ink-dark);
    font-weight: 600;
}

.scenario-case {
    background: rgba(125, 157, 156, 0.08);
    padding: var(--spacing-sm);
    border-radius: var(--radius-small);
    border-left: 3px solid var(--celadon);
}

.scenario-case h4 {
    font-size: 0.9rem;
    color: var(--ink-dark);
    margin-bottom: 4px;
}

.scenario-case p {
    font-size: 0.85rem;
    color: var(--ink-medium);
}

.scenarios-footer {
    text-align: center;
    padding: var(--spacing-lg);
}

.scenarios-summary {
    font-family: var(--font-serif);
    font-size: calc(1.2rem + 10px);
    color: #c9a24e;
    margin-bottom: var(--spacing-xs);
}

.scenarios-tagline {
    color: #c9a24e;
    font-size: calc(0.95rem + 10px);
}

/* ============================================
   公司简介 Section
   ============================================ */
.about {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--rice-paper-dark) 0%, var(--rice-paper) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-mission {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.about-mission-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--ink-black);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.15em;
}

.about-vision {
    font-size: 1.2rem;
    color: var(--ink-medium);
    font-style: italic;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.value-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

.value-seal {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--seal-red);
    color: white;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--ink-black);
    margin-bottom: var(--spacing-xs);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--ink-medium);
    line-height: 1.6;
}

.about-team {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.about-team h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink-black);
    margin-bottom: var(--spacing-sm);
}

.about-team p {
    color: var(--ink-medium);
    font-size: 1rem;
}

.about-timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--celadon), var(--ink-light));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: var(--spacing-md) 40px var(--spacing-md) 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
    padding: var(--spacing-md) 0 var(--spacing-md) 40px;
}

/* 确保年份和事件之间间距一致 */
.timeline-year {
    margin-right: var(--spacing-md);
    white-space: nowrap;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-right: var(--spacing-md);
    margin-left: 0;
    white-space: nowrap;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--celadon);
    border-radius: 50%;
    transform: translateY(-50%);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--celadon);
    z-index: 1;
}

.timeline-item:nth-child(even)::before {
    left: -7px;
    right: auto;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--celadon-dark);
    margin-right: var(--spacing-md);
    white-space: nowrap;
    line-height: 1.4;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-right: var(--spacing-md);
    margin-left: 0;
    white-space: nowrap;
}

.timeline-event {
    color: var(--ink-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================
   联系 Section
   ============================================ */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--rice-paper-warm);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--ink-dark);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--celadon);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.contact-cta h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink-black);
    margin-bottom: var(--spacing-sm);
}

.contact-cta p {
    color: var(--ink-medium);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   合作方式 Section
   ============================================ */
.cooperation {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--rice-paper-warm) 0%, var(--rice-paper) 100%);
}

.coop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.coop-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(26, 26, 26, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.coop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-ink);
}

.coop-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--ochre), #9a7a4a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.coop-icon i {
    font-size: 1.55rem;
    color: white;
}

.coop-icon-local {
    background: linear-gradient(135deg, var(--celadon), #5b7f7d);
}

.coop-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink-black);
    margin-bottom: var(--spacing-xs);
}

.coop-desc {
    color: var(--ink-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.coop-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.coop-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-dark);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.coop-list li i {
    color: var(--celadon);
    font-size: 0.85rem;
    margin-top: 3px;
}

.coop-reco {
    color: var(--ink-black);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.cooperation-note {
    text-align: center;
    padding: 0 var(--spacing-lg);
}

.cooperation-summary {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--ink-medium);
    letter-spacing: 0.05em;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--ink-black);
    color: var(--rice-paper);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer-cloud-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

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

.company-logo {
    height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--rice-paper);
}

.footer-logo .logo-seal {
    background: var(--seal-red);
    color: white;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--ink-wash);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--rice-paper);
}

@media (max-width: 768px) {
    .header-brand-logo {
        height: 62px;
    }

    .company-logo {
        height: 42px;
        max-width: 160px;
    }

    .hero-company-logo {
        width: 220px;
        height: 220px;
        left: 4%;
        transform: translateY(-62px);
    }
    
    .footer-logo .logo-text {
        font-size: 1.6rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--ink-wash);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.footer-bottom .company-fullname {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--rice-paper);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.footer-quote {
    color: var(--ink-light);
    font-style: italic;
    letter-spacing: 0.1em;
}

/* ============================================
   滚动渐显动画
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

.scroll-reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 50px;
        justify-content: flex-start;
    }
    
    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        left: -26px;
    }
    
    .timeline-year {
        margin-right: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-quote p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .bamboo-left,
    .seal-corner {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: var(--spacing-sm);
    }
    
    .section-container {
        padding: 0 var(--spacing-sm);
    }
}

/* ============================================
   步骤 3.5：墨迹渐显动画
   ============================================ */
@keyframes ink-spread {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ink-drip {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

.ink-reveal {
    position: relative;
    overflow: hidden;
}

.ink-reveal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.ink-reveal.active::before {
    width: 300px;
    height: 300px;
}

.ink-reveal > * {
    position: relative;
    z-index: 1;
}

/* 墨滴效果 */
.ink-drop {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--ink-black);
    border-radius: 50%;
    opacity: 0;
    animation: ink-drip 2s ease-in-out infinite;
}

.ink-drop:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.ink-drop:nth-child(2) {
    top: 15%;
    left: 80%;
    animation-delay: 0.5s;
}

.ink-drop:nth-child(3) {
    top: 20%;
    left: 50%;
    animation-delay: 1s;
}

/* ============================================
   滚动进度条（墨条研磨效果）
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(26, 26, 26, 0.1);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--ink-light), var(--ink-black), var(--celadon));
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--ink-black);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(26, 26, 26, 0.5);
}

/* 墨条研磨动画 */
@keyframes grinding {
    0%, 100% {
        box-shadow: 0 0 10px rgba(26, 26, 26, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(26, 26, 26, 0.8), 0 0 30px var(--celadon);
    }
}

.scroll-progress.grinding::after {
    animation: grinding 0.3s ease-in-out infinite;
}

/* ============================================
   卡片悬停云纹发光增强
   ============================================ */
.feature-card:hover::after,
.scenario-card:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--celadon), var(--ink-light), var(--celadon));
    border-radius: calc(var(--radius-medium) + 2px);
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    animation: cloud-glow 2s ease-in-out infinite;
}

@keyframes cloud-glow {
    0%, 100% {
        opacity: 0.3;
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        filter: blur(15px);
    }
}

/* ============================================
   云雾流动动画增强
   ============================================ */
@keyframes cloud-flow {
    0% {
        transform: translateX(-100%) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(100vw) translateY(20px);
        opacity: 0;
    }
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: cloud-flow linear infinite;
}

.cloud-1 {
    width: 300px;
    height: 100px;
    top: 20%;
    left: -300px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.cloud-2 {
    width: 400px;
    height: 120px;
    top: 40%;
    left: -400px;
    animation-duration: 30s;
    animation-delay: -10s;
}

.cloud-3 {
    width: 250px;
    height: 80px;
    top: 60%;
    left: -250px;
    animation-duration: 20s;
    animation-delay: -5s;
}

/* ============================================
   画卷展开入场动画增强
   ============================================ */
@keyframes scroll-unfold {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.hero-content {
    animation: scroll-unfold 1.2s ease-out;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.fade-in-delay-4 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   黑金主题覆盖层（原 styles-blackgold.css，已内联合并）
   ============================================================ */

/* ============================================================
   Dimnuo Agent OS - 黑金主题（站点默认在 index.html 中引用）
   在 styles.css 之上做变量与关键组件覆盖；保留水墨版可单独链 styles.css
   ============================================================ */


:root {
    /* 让“文字/高亮”走金色 */
    --ink-black: #f1d27a; /* 金箔金 */
    --ink-dark: #dfb85f;
    --ink-medium: #f0d999;
    --ink-light: rgba(241, 210, 122, 0.78);
    --ink-wash: rgba(241, 210, 122, 0.45);

    /* 背景走黑/深灰 */
    --rice-paper: #07070a;
    --rice-paper-dark: #050506;
    --rice-paper-warm: #0a0a10;

    /* 强调色统一偏金 */
    --celadon: #e2bd63;
    --celadon-dark: #b88b3a;
    --seal-red: #b58a2d; /* 金铜色印章 */
    --seal-red-dark: #8f6a20;
    --ochre: #e0c16e;

    /* 阴影更“高级” */
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.55);
    --shadow-medium: 0 12px 32px rgba(0, 0, 0, 0.65);
    --shadow-ink: 0 0 0 rgba(0, 0, 0, 0);

    --gradient-paper: linear-gradient(180deg, #0b0b10 0%, #070708 100%);
    --gradient-ink: linear-gradient(180deg, var(--ink-black) 0%, rgba(240, 217, 153, 1) 100%);
}

body.theme-blackgold {
    background-color: var(--rice-paper);
    color: var(--ink-black);
    background-image:
        url("data:image/svg+xml,%3Csvg width='220' height='220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

/* 顶部导航：避免宣纸白背景 */
.navbar {
    background: rgba(9, 9, 12, 0.82) !important;
    border-bottom: 1px solid rgba(241, 210, 122, 0.14) !important;
}

/* 下拉菜单：保持 hover 体验，同时不遮挡背景高级感 */
.nav-dropdown .dropdown-menu {
    background: rgba(9, 9, 12, 0.94) !important;
    border-color: rgba(241, 210, 122, 0.14) !important;
}

.nav-dropdown .dropdown-menu::before {
    background: rgba(9, 9, 12, 0.94) !important;
}

.dropdown-menu a:hover {
    background: rgba(226, 189, 99, 0.12) !important;
}

/* ============================================================
   子页面：科研智能体介绍
   ============================================================ */
body.theme-blackgold .agent-intro-page {
    position: relative;
    z-index: 1;
}

body.theme-blackgold .agent-intro-hero {
    padding: calc(var(--spacing-xxl) + 64px) 0 var(--spacing-xl);
    background: rgba(10, 10, 15, 0.75);
    border-bottom: 1px solid rgba(241, 210, 122, 0.12);
}

body.theme-blackgold .agent-intro-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

body.theme-blackgold .agent-intro-kicker {
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(241, 210, 122, 0.7);
    margin-bottom: var(--spacing-sm);
}

body.theme-blackgold .agent-intro-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem);
    letter-spacing: 0.12em;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 42px rgba(226, 189, 99, 0.18), 2px 2px 6px rgba(0, 0, 0, 0.55);
}

body.theme-blackgold .agent-intro-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(240, 217, 153, 0.88);
    margin-bottom: var(--spacing-md);
}

body.theme-blackgold .agent-intro-hero__cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

body.theme-blackgold .agent-intro-hero__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

body.theme-blackgold .agent-intro-hero__badges-secondary {
    margin-top: 10px;
}

body.theme-blackgold .agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(12, 12, 16, 0.6);
    border: 1px solid rgba(241, 210, 122, 0.14);
    color: rgba(241, 210, 122, 0.88);
    font-size: 0.92rem;
}

body.theme-blackgold .agent-badge--big {
    font-size: 1.05rem;
    padding: 10px 14px;
}

body.theme-blackgold .agent-intro-hero__panel {
    background: rgba(12, 12, 16, 0.75);
    border: 1px solid rgba(241, 210, 122, 0.14);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

body.theme-blackgold .agent-metric {
    padding: 14px 12px;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(241, 210, 122, 0.12);
    background: rgba(9, 9, 12, 0.45);
}

body.theme-blackgold .agent-metric--wide {
    grid-column: 1 / -1;
}

body.theme-blackgold .agent-metric__num {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.8rem;
    color: rgba(241, 210, 122, 0.95);
    letter-spacing: 0.06em;
}

body.theme-blackgold .agent-metric__label {
    margin-top: 6px;
    font-size: 0.92rem;
    color: rgba(240, 217, 153, 0.78);
}

body.theme-blackgold .agent-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(10, 10, 15, 0.75);
}

body.theme-blackgold .agent-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
}

body.theme-blackgold .agent-grid--two {
    margin-top: var(--spacing-lg);
}

body.theme-blackgold .agent-grid--two > * {
    grid-column: span 6;
}

body.theme-blackgold .agent-grid > * {
    grid-column: span 6;
}

body.theme-blackgold .agent-card {
    background: rgba(12, 12, 16, 0.78);
    border: 1px solid rgba(241, 210, 122, 0.12);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
}

body.theme-blackgold .agent-card--soft {
    background: rgba(9, 9, 12, 0.6);
}

body.theme-blackgold .agent-card__title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: rgba(241, 210, 122, 0.95);
    margin-bottom: var(--spacing-sm);
}

/* OpenPisci 前两张价值卡：内容块居中，文本保持左对齐 */
body.theme-blackgold .openpisci-card-centered .agent-card__title,
body.theme-blackgold .openpisci-card-centered .agent-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

body.theme-blackgold .agent-list {
    margin-left: 1.1em;
    color: rgba(240, 217, 153, 0.86);
    line-height: 1.85;
}

body.theme-blackgold .agent-list li {
    margin: 6px 0;
}

body.theme-blackgold .agent-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

body.theme-blackgold .agent-table-wrap {
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-large);
    overflow: auto;
    border: 1px solid rgba(241, 210, 122, 0.14);
    background: rgba(9, 9, 12, 0.55);
}

body.theme-blackgold .agent-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

body.theme-blackgold .agent-table th,
body.theme-blackgold .agent-table td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(241, 210, 122, 0.1);
    vertical-align: top;
    color: rgba(240, 217, 153, 0.86);
}

body.theme-blackgold .agent-table th {
    text-align: left;
    font-weight: 900;
    color: rgba(241, 210, 122, 0.92);
    background: rgba(12, 12, 16, 0.65);
    position: sticky;
    top: 0;
}

body.theme-blackgold .agent-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--radius-large);
    background: rgba(12, 12, 16, 0.6);
    border: 1px solid rgba(241, 210, 122, 0.12);
    color: rgba(240, 217, 153, 0.9);
    line-height: 1.9;
}

body.theme-blackgold .agent-showcase {
    padding: 0 0 var(--spacing-xxl);
    background: rgba(10, 10, 15, 0.75);
}

body.theme-blackgold .agent-showcase__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: rgba(241, 210, 122, 0.95);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

body.theme-blackgold .agent-showcase__frame {
    background: rgba(12, 12, 16, 0.78);
    border: 1px solid rgba(241, 210, 122, 0.14);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

body.theme-blackgold .agent-showcase__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-large) - 6px);
    border: 1px solid rgba(241, 210, 122, 0.1);
}

body.theme-blackgold .openpisci-showcase {
    margin-top: var(--spacing-xl);
}

/* OpenPisci 页面三张截图：统一尺寸与居中，避免视觉不一致 */
body.theme-blackgold .openpisci-showcase .agent-showcase__frame {
    max-width: 1200px;
    margin: 0 auto;
}

/* OpenPisci 工具区：仅放大该区块宽度，不影响全站 */
body.theme-blackgold .openpisci-tools-section .section-container {
    max-width: 2400px;
}

/* OpenPisci：工具集表格更适合全宽阅读 */
body.theme-blackgold .openpisci-tools-card .agent-table-wrap {
    margin-top: var(--spacing-md);
}

/* 让工具集卡片占满整行，否则会被通用 .agent-grid 子项规则限制为半宽 */
body.theme-blackgold .agent-grid > .openpisci-tools-card {
    grid-column: 1 / -1;
}

body.theme-blackgold .openpisci-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

/* 双栏时：两张表不要强制大上边距 */
body.theme-blackgold .openpisci-tools-grid .agent-table-wrap {
    margin-top: 0;
}

body.theme-blackgold .openpisci-tools-card .agent-table {
    min-width: 0;
    table-layout: fixed;
}

body.theme-blackgold .openpisci-tools-card .agent-table th:first-child,
body.theme-blackgold .openpisci-tools-card .agent-table td:first-child {
    width: 36%;
    min-width: 0;
}

body.theme-blackgold .openpisci-tools-card .agent-table th:last-child,
body.theme-blackgold .openpisci-tools-card .agent-table td:last-child {
    width: 64%;
    min-width: 0;
}

body.theme-blackgold .openpisci-tools-card .agent-table td {
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 1400px) {
    body.theme-blackgold .openpisci-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.theme-blackgold .openpisci-tools-grid {
        grid-template-columns: 1fr;
    }
}

body.theme-blackgold .agent-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

body.theme-blackgold .agent-step {
    background: rgba(12, 12, 16, 0.78);
    border: 1px solid rgba(241, 210, 122, 0.12);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
}

body.theme-blackgold .agent-step__num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(226, 189, 99, 0.18);
    border: 1px solid rgba(241, 210, 122, 0.2);
    color: rgba(241, 210, 122, 0.95);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
}

body.theme-blackgold .agent-step__title {
    font-family: var(--font-serif);
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: var(--spacing-sm);
    color: rgba(241, 210, 122, 0.95);
}

body.theme-blackgold .agent-cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(
        180deg,
        rgba(12, 12, 16, 0.78) 0%,
        rgba(7, 7, 10, 0.78) 100%
    );
    border-top: 1px solid rgba(241, 210, 122, 0.12);
}

body.theme-blackgold .agent-cta {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    background: rgba(9, 9, 12, 0.55);
    border: 1px solid rgba(241, 210, 122, 0.14);
    border-radius: var(--radius-large);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
}

body.theme-blackgold .agent-cta__title {
    font-family: var(--font-serif);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
    color: rgba(241, 210, 122, 0.95);
}

body.theme-blackgold .agent-cta__desc {
    color: rgba(240, 217, 153, 0.88);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

body.theme-blackgold .agent-cta__bullets {
    display: grid;
    gap: 12px;
    align-content: start;
}

body.theme-blackgold .agent-cta__bullet {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(240, 217, 153, 0.88);
    line-height: 1.75;
}

body.theme-blackgold .agent-cta__bullet i {
    color: rgba(241, 210, 122, 0.92);
    margin-top: 3px;
}

@media (max-width: 980px) {
    body.theme-blackgold .agent-intro-hero__inner {
        grid-template-columns: 1fr;
    }

    body.theme-blackgold .agent-steps {
        grid-template-columns: 1fr;
    }

    body.theme-blackgold .agent-split {
        grid-template-columns: 1fr;
    }

    body.theme-blackgold .agent-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.theme-blackgold .agent-grid > * {
        grid-column: span 12;
    }

    body.theme-blackgold .agent-grid--two > * {
        grid-column: span 12;
    }

    body.theme-blackgold .agent-intro-hero {
        padding: calc(var(--spacing-xxl) + 52px) 0 var(--spacing-xl);
    }

    body.theme-blackgold .agent-intro-hero__panel {
        padding: var(--spacing-md);
    }
}

/* 统一卡片底色：原项目大量使用白底，这里换成深色 */
.feature-card,
.scenario-card,
.coop-card,
.contact-cta,
.value-item,
.scenario-case {
    background: rgba(12, 12, 16, 0.92) !important;
    border-color: rgba(241, 210, 122, 0.12) !important;
}

/* “纸卷”改为深色卷面并加金边 */
.scroll-paper {
    background: rgba(10, 10, 14, 0.86) !important;
    border: 1px solid rgba(241, 210, 122, 0.22);
}

.scroll-paper::after {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(226, 189, 99, 0.28) 10%,
        rgba(226, 189, 99, 0.28) 90%,
        transparent 100%
    );
}

.scroll-paper::before {
    opacity: 0.35 !important;
}

/* footer：原 footer 背景用 --ink-black，这里需要改回黑底 */
.footer {
    background: rgba(7, 7, 10, 0.75) !important;
    color: #f1d27a !important;
}

.footer-logo .logo-text {
    color: #f1d27a !important;
}

.footer-links a {
    color: rgba(241, 210, 122, 0.7) !important;
}

.footer-links a:hover {
    color: #f1d27a !important;
}

.footer-bottom .company-fullname {
    color: #f1d27a !important;
}

/* 让时间轴/正文等也更“金墨” */
.timeline-year {
    color: #dfb85f !important;
}

.timeline-event {
    color: rgba(240, 217, 153, 0.92) !important;
}

/* 分区背景：与深色底协调（与 .scenarios 同色，避免核心能力区底部渐变偏亮造成接缝） */
.features {
    background: rgba(10, 10, 15, 0.75) !important;
}

/* 首页 hero：与核心能力 / 应用场景同一套底色 */
body.theme-blackgold .hero {
    background: rgba(10, 10, 15, 0.75) !important;
    /* 月晕向上超出 hero 盒模型；避免 overflow:hidden 裁掉上半圈导致“光晕偏下、上亮下暗”的错觉 */
    overflow: visible;
}

body.theme-blackgold .hero .ink-wash,
body.theme-blackgold .hero .mountain-silhouette {
    opacity: 0;
    visibility: hidden;
}

.scenarios {
    background: rgba(10, 10, 15, 0.75) !important;
}

.about {
    background: linear-gradient(
        180deg,
        rgba(12, 12, 18, 0.75) 0%,
        rgba(8, 8, 12, 0.75) 100%
    ) !important;
}

.cooperation {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.75) 0%,
        rgba(7, 7, 10, 0.75) 100%
    ) !important;
}

.contact {
    background: rgba(8, 8, 12, 0.75) !important;
}

/* 主标题略加金晕，提升高级感 */
.hero-title {
    text-shadow: 0 0 42px rgba(226, 189, 99, 0.22), 2px 2px 6px rgba(0, 0, 0, 0.6) !important;
}

/* 滚动提示与鼠标轮廓 */
.scroll-indicator span,
.mouse {
    color: rgba(241, 210, 122, 0.75) !important;
    border-color: rgba(241, 210, 122, 0.45) !important;
}

.mouse::before {
    background: rgba(241, 210, 122, 0.65) !important;
}

/* 黑金主题：月亮缩小 10%、整体上移；月晕与柔光略柔化显朦胧 */
body.theme-blackgold .moon-corner {
    width: 86px;
    height: 86px;
    top: clamp(calc(12.5rem - 60px), calc(1.25rem + 16vh - 60px), calc(17.5rem - 60px));
    opacity: 0.94;
    filter: blur(0.45px);
    box-shadow: none;
}

body.theme-blackgold .moon-corner::before {
    display: block !important;
    opacity: 0.55;
    filter: blur(1.25px);
}

body.theme-blackgold .moon-disc {
    box-shadow:
        inset 0 0 0 1px rgba(255, 245, 214, 0.14);
    opacity: 0.93;
}

body.theme-blackgold .moon-disc::before {
    opacity: 0 !important;
    filter: none !important;
}

body.theme-blackgold .moon-disc::after {
    opacity: 0.58 !important;
    filter: blur(17px) !important;
}

body.theme-blackgold .moon-mountains {
    opacity: 0.12;
    filter: none !important;
}

/* Logo 在上一版基础上再缩 10%（317→285）；与月亮同锚上移 ≥20px；translate 按 285×86 对齐 */
body.theme-blackgold .hero-company-logo {
    width: 285px;
    height: 285px;
    top: clamp(calc(12.5rem - 60px), calc(1.25rem + 16vh - 60px), calc(17.5rem - 60px));
    transform: translateY(-100px);
    mix-blend-mode: normal;
    opacity: 0.95;
    filter: drop-shadow(0 0 18px rgba(241, 210, 122, 0.12));
}

body.theme-blackgold .hero-content {
    margin-top: 40px;
}

@media (max-width: 768px) {
    /* 小屏：角标与月亮再上移 20px，避免与主标题重叠；主文案区与底部滚动提示下移 20px */
    body.theme-blackgold .moon-corner {
        width: 86px;
        height: 86px;
        top: clamp(calc(10rem - 80px), calc(1rem + 14vh - 80px), calc(12.5rem - 80px));
    }

    body.theme-blackgold .hero-company-logo {
        width: 178px;
        height: 178px;
        top: clamp(calc(10rem - 80px), calc(1rem + 14vh - 80px), calc(12.5rem - 80px));
        transform: translateY(-46px);
    }

    body.theme-blackgold .scroll-indicator {
        bottom: calc(var(--spacing-lg) - 20px);
    }
}

/* 黑金主题：随机星点闪烁层 */
body.theme-blackgold .starry-sky {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

body.theme-blackgold .star {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 8px rgba(255, 255, 255, var(--star-glow, 0.55));
    animation-name: star-twinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

body.theme-blackgold .star--gold {
    background: rgba(241, 210, 122, 0.95);
    box-shadow: 0 0 10px rgba(241, 210, 122, 0.72);
}

body.theme-blackgold .star--large {
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.75), 0 0 24px rgba(241, 210, 122, 0.45);
}

@keyframes star-twinkle {
    0%, 100% {
        transform: scale(0.72);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.16);
        opacity: 1;
    }
}

/* 确保星空层在内容后方（勿把 .navbar 写进来，否则会覆盖 fixed+1000，且与 section 同 z-index 时首屏会盖住下拉菜单） */
body.theme-blackgold .cloud-bg,
body.theme-blackgold section,
body.theme-blackgold footer,
body.theme-blackgold .scroll-progress-bar {
    position: relative;
    z-index: 1;
}

/* 黑金主题：流星效果 */
body.theme-blackgold .meteor {
    position: fixed;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    background: transparent;
    transform-origin: center;
    animation: meteor-fly var(--meteor-duration, 1.1s) ease-in-out forwards;
}

body.theme-blackgold .meteor::before {
    content: '';
    position: absolute;
    left: 65%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 1) 0%, rgba(241, 210, 122, 0.95) 35%, rgba(241, 210, 122, 0.1) 70%, rgba(241, 210, 122, 0) 100%);
    box-shadow: 0 0 24px rgba(241, 210, 122, 0.65);
    opacity: 0.95;
}

body.theme-blackgold .meteor::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--meteor-tail, 170px);
    height: 2px;
    border-radius: 999px;
    /* tail 向“后方”延伸：右端贴近光点中心 */
    transform: translate(-100%, -50%);
    background: linear-gradient(
        90deg,
        rgba(241, 210, 122, 0) 0%,
        rgba(241, 210, 122, 0.25) 45%,
        rgba(241, 210, 122, 0.55) 65%,
        rgba(255, 255, 255, 0.95) 100%
    );
    filter: blur(0.15px);
}

@keyframes meteor-fly {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(var(--meteor-rotate, -25deg));
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--meteor-tx, 600px), var(--meteor-ty, 420px)) rotate(var(--meteor-rotate, -25deg));
    }
}


/* ============================================================
   ICP 备案信息样式
   ============================================================ */
.footer-beian {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.footer-beian a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(241, 210, 122, 0.5);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-beian a:hover {
    color: rgba(241, 210, 122, 0.9);
}

.footer-beian .beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.footer-beian .beian-divider {
    color: rgba(241, 210, 122, 0.3);
    font-size: 0.78rem;
}

/* ============================================================
   Safari / 触摸设备：禁用纯 CSS hover 展开下拉菜单
   改由 JS .open 类控制，避免 Safari 点击后菜单残留
   ============================================================ */
@media (hover: none) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown .dropdown-menu:hover {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}
