/*

TemplateMo 597 Neural Glass

https://templatemo.com/tm-597-neural-glass

*/


@charset "utf-8"; /* 字符编码声明，确保CSS文件使用UTF-8编码。无需修改。 */
/* CSS Document */ /* CSS文档注释。无需修改。 */
 * { /* 通用选择器，重置所有元素的默认样式。修改指南：如需修改全局重置样式，可调整margin、padding、box-sizing值。网页中：影响所有元素的默认样式。 */
     margin: 0; /* 移除所有元素的默认外边距。修改指南：如需保留某些元素的默认margin，可删除此规则或使用更具体的选择器。网页中：所有元素无外边距。 */
     padding: 0; /* 移除所有元素的默认内边距。修改指南：同上。网页中：所有元素无内边距。 */
     box-sizing: border-box; /* 设置盒模型为border-box，使width包含padding和border。修改指南：如需使用content-box，改为box-sizing: content-box。网页中：所有元素使用border-box盒模型。 */
}
 body { /* body元素样式，定义页面基础样式。修改指南：修改字体、背景色、文字颜色等基础样式。网页中：定义整个页面的基础样式。 */
     font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; /* 字体族设置，优先使用Inter字体。修改指南：如需更换字体，修改字体名称，如'Microsoft YaHei', sans-serif。网页中：定义页面默认字体。 */
     background: transparent; /* 背景透明: 画布渐变兜底已由 html 承担(见 body 下方规则), body 自身透明避免遮挡 */
     color: #e0a3ff; /* 默认文字颜色为淡紫色。修改指南：如需修改默认文字颜色，改为其他颜色值，如#ffffff。网页中：显示默认文字颜色。 */
     overflow-x: hidden; /* 隐藏水平滚动条。修改指南：如需允许水平滚动，删除此属性。网页中：防止水平滚动。 */
     min-height: 100vh; /* 最小高度为视口高度。修改指南：如需修改最小高度，调整100vh值。网页中：确保页面至少占满视口高度。 */
     font-weight: 400; /* 默认字体粗细为400（正常）。修改指南：如需修改默认字体粗细，改为300、500、600等。网页中：定义默认字体粗细。 */
     line-height: 1.6; /* 行高为字体大小的1.6倍。修改指南：如需修改行高，调整数值，如1.5或1.8。网页中：定义文字行间距。 */
     -webkit-font-smoothing: antialiased; /* WebKit浏览器字体平滑。修改指南：无需修改。网页中：改善字体显示效果。 */
     -moz-osx-font-smoothing: grayscale; /* Firefox macOS字体平滑。修改指南：无需修改。网页中：改善字体显示效果。 */
}
/* 画布兜底背景 (置顶规则)
   背景传播规则: html 不设背景时 body 背景会被当作整张画布的颜色(含移动端
   overscroll 橡皮筋露出的上下地带), 而真实渐变在 .neural-background(fixed)
   只盖视口不随滚动 —— 故把画布直接定为同款深紫渐变 + 禁用回弹越界,
   消除移动端页面首/尾的纯黑地带 */
html {
    /* Safari(桌面+iOS)橡皮筋露出的地带只绘制 background-color,
       不绘制渐变 background-image; 只给渐变会露白, 故必须叠加纯色兜底 */
    background-color: #2d1b3d;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000000 100%);
    overscroll-behavior: none; /* Chrome/Android & Safari16+: 阻止首尾继续拖出 */
    /* 让露出地带跟随 .neural-background 的 backgroundPulse(14s) 同周期呼吸,
       避免 overscroll 时露出静止的死色贴边。正常滚动时 html 被 fixed 渐变层
       完全遮住, 此动画不干扰任何现有背景显示效果 */
    animation: htmlCanvasPulse 14s ease-in-out infinite;
}
/* 与 backgroundPulse(亮度/饱和/色相) 同相位(0/33/66%)的底色明暗脉动,
   近似模拟 #2d1b3d 经 filter 变换后的取样色 */
@keyframes htmlCanvasPulse {
    0%, 100% { background-color: #281b3a; }
    33%      { background-color: #3a2452; }
    66%      { background-color: #2e2044; }
}
/* Enhanced background colors - Purple/Pink/Green palette */
 .neural-background {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -2;
     background: radial-gradient(circle at 15% 85%, rgba(75, 0, 130, 0.7) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(139, 37, 99, 0.8) 0%, transparent 50%), radial-gradient(circle at 45% 60%, rgba(128, 0, 128, 0.6) 0%, transparent 50%), radial-gradient(circle at 70% 40%, rgba(34, 139, 34, 0.4) 0%, transparent 50%), linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000000 100%);
     animation: backgroundPulse 14s ease-in-out infinite;
}
 @keyframes backgroundPulse {
     0%, 100% {
         filter: brightness(0.9) saturate(1.4) hue-rotate(0deg);
    }
     33% {
         filter: brightness(1.1) saturate(1.7) hue-rotate(15deg);
    }
     66% {
         filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg);
    }
}
/* Floating geometric shapes */
 .geometric-shapes {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     overflow: hidden;
}
 .shape {
     position: absolute;
     border: 1px solid rgba(0, 255, 255, 0.3);
     animation: floatShape 20s linear infinite;
}
 .shape:nth-child(1) {
     width: 100px;
     height: 100px;
     left: 10%;
     animation-delay: 0s;
     border-color: rgba(255, 105, 180, 0.4);
}
 .shape:nth-child(2) {
     width: 60px;
     height: 60px;
     left: 70%;
     animation-delay: -5s;
     border-radius: 50%;
     border-color: rgba(147, 112, 219, 0.4);
}
 .shape:nth-child(3) {
     width: 80px;
     height: 80px;
     left: 30%;
     animation-delay: -10s;
     transform: rotate(45deg);
     border-color: rgba(224, 163, 255, 0.4);
}
 .shape:nth-child(4) {
     width: 120px;
     height: 120px;
     left: 50%;
     animation-delay: -15s;
     clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
     background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), transparent);
}
 @keyframes floatShape {
     from {
         transform: translateY(100vh) rotate(0deg);
         opacity: 0;
    }
     10%, 90% {
         opacity: 1;
    }
     to {
         transform: translateY(-100px) rotate(360deg);
         opacity: 0;
    }
}
/* Neural network lines */
 .neural-lines {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
}
 .neural-line {
     position: absolute;
     background: linear-gradient(90deg, transparent, #00ffff, transparent);
     height: 1px;
     animation: neuralPulse 3s ease-in-out infinite;
}
 .neural-line:nth-child(1) {
     top: 20%;
     left: 0;
     width: 100%;
     background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
     animation-delay: 0s;
}
 .neural-line:nth-child(2) {
     top: 60%;
     left: 0;
     width: 100%;
     background: linear-gradient(90deg, transparent, #ff69b4, transparent);
     animation-delay: -1s;
}
 .neural-line:nth-child(3) {
     top: 40%;
     left: 0;
     width: 100%;
     background: linear-gradient(90deg, transparent, #9370db, transparent);
     animation-delay: -2s;
}
 @keyframes neuralPulse {
     0%, 100% {
         opacity: 0.2;
         transform: scaleX(0.5);
    }
     50% {
         opacity: 1;
         transform: scaleX(1);
    }
}
/* Glassmorphism styles */
 .glass {
     background: rgba(255, 255, 255, 0.05);
     -webkit-backdrop-filter: blur(20px);
     backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 20px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
 .glass-strong {
     background: rgba(255, 255, 255, 0.1);
     -webkit-backdrop-filter: blur(25px);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 25px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
/* Enhanced Header */
 header {
     position: fixed;
     top: 20px;
     left: 50%;
     transform: translateX(-50%);
     z-index: 100;
     width: 96%;
     max-width: 1121px;
     /* 宽度上限 1121px 取自博客导航栏实测宽度 */
     height: 4.5rem;
     /* 高度 72px，与博客导航栏 h-[4.5rem] 一致；垂直居中交给 nav */
     padding: 0 35px;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     background: rgba(224, 163, 255, 0.08);
     -webkit-backdrop-filter: blur(25px);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(224, 163, 255, 0.15);
     border-radius: 25px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
 header.scrolled {
     background: rgba(224, 163, 255, 0.12);
     -webkit-backdrop-filter: blur(30px);
     backdrop-filter: blur(30px);
     border-color: rgba(224, 163, 255, 0.2);
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(224, 163, 255, 0.1);
}
 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
}
/* .glass 的 20px 圆角特异性(0,1,0)高于 header(0,0,1)，用 header.glass 提权到 25px，与博客导航栏同形状 */
 header.glass {
     border-radius: 25px;
}
/* 高度固定 72px 后由 nav 撑满，内容垂直居中（原来靠 padding: 18px 撑高） */
 header nav {
     height: 100%;
}
/* 导航栏高度固定 72px 后，品牌文字一旦折行就会撑出玻璃条，这里禁止折行 */
 .logo {
     white-space: nowrap;
     display: flex;
     align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
     background: linear-gradient(45deg, #e0a3ff, #ff69b4);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     text-decoration: none;
     animation: logoGlow 3s ease-in-out infinite;
     transition: all 0.3s ease;
}
 .logo:hover {
     transform: scale(1.05);
}
/* 品牌区改双行：上行「热热的博客」沿用原 20px 渐变字，下行原口号 12px 淡色副标题 */
 .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
/* 主标题：不设颜色，直接继承 .logo 的渐变剪裁（-webkit-text-fill-color: transparent 会继承下来） */
 .logo-main {
    font-size: 20px;
    font-weight: bold;
}
/* 副标题：必须显式写回实色，否则会继承父级的 transparent 而整行「隐形」 */
 .logo-sub {
    font-size: 12px;
    font-weight: 500;
    margin-top: 1px;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.62);
    color: rgba(255, 255, 255, 0.62);
}
 .logo-icon { /* LOGO图标样式。修改指南：如需修改LOGO大小和位置，调整以下属性值。网页中：定义LOGO图片的样式。 */
    width: 40px; /* 宽度40px：适配72px高的导航栏（原来是60px 配 98px 高栏） */
    height: 40px; /* 高度40px，与宽度 1:1 保持 LOGO 比例 */
    margin-left: -19px; /* 左移19px（原-28px按 40/60 等比缩放），保持与栏左边缘的视觉间距 */
     filter: drop-shadow(0 0 10px #e0a3ff); /* 添加淡紫色阴影效果。修改指南：如需修改阴影效果，调整数值，如drop-shadow(0 0 15px #ff69b4)。网页中：LOGO带发光阴影效果。 */
}
 @keyframes logoGlow {
     0%, 100% {
         filter: drop-shadow(0 0 10px #e0a3ff);
    }
     50% {
         filter: drop-shadow(0 0 20px #ff69b4);
    }
}
 .nav-links {
     display: flex;
     list-style: none;
     gap: 12px;
     /* 桌面端 nav 只剩两个可见子项时 space-between 会把 .nav-links 顶到最右；
        加入搜索按钮后变成三个子项，若不锁住它会掉到中间、明显位移。
        auto 外边距吃光剩余空间，使「链接 + 右侧按钮组」整体右对齐，与改动前一致。 */
     margin-left: auto;
}
 .nav-links a {
     color: #ffffff;
     text-decoration: none;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     padding: 12px 20px;
     border-radius: 15px;
     font-size: 0.95rem;
     font-weight: 500;
     letter-spacing: 0.02em;
}
 .nav-links a.active {
     color: #e0a3ff;
     background: linear-gradient(135deg, rgba(224, 163, 255, 0.15), rgba(255, 105, 180, 0.1));
     box-shadow: 0 0 20px rgba(224, 163, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 15px rgba(224, 163, 255, 0.2);
     border: 1px solid rgba(224, 163, 255, 0.3);
     text-shadow: 0 0 10px rgba(224, 163, 255, 0.8);
     transform: translateY(-1px);
}
 .nav-links a.active::after {
     content: '';
     position: absolute;
     top: -2px;
     left: -2px;
     right: -2px;
     bottom: -2px;
     background: linear-gradient(45deg, #e0a3ff, #ff69b4, #9370db, #e0a3ff);
     background-size: 400% 400%;
     border-radius: 17px;
     z-index: -2;
     animation: borderGlow 3s ease infinite;
}
.nav-links a.external-link::after {
    content: " ↗";
    font-size: 0.8em;
    vertical-align: super;
}
 @keyframes borderGlow {
     0% {
         background-position: 0% 50%;
    }
     50% {
         background-position: 100% 50%;
    }
     100% {
         background-position: 0% 50%;
    }
}
/* Mobile Menu */
 .mobile-menu-toggle {
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     /* 固定 44×44：与博客 #nav-menu-switch 的 w-11 h-11（2.75rem = 44px）等大。
        改用 flex 居中 + padding 归零，避免原来的 8px padding 让 3 条线在 44px 高里溢出 1px。 */
     width: 44px;
     height: 44px;
     padding: 0;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     transition: all 0.3s ease;
}
 .mobile-menu-toggle:hover {
     background: rgba(224, 163, 255, 0.1);
     box-shadow: 0 0 15px rgba(224, 163, 255, 0.3);
}
/* Mobile menu active state */
.mobile-nav a.active {
    background: linear-gradient(135deg, rgba(224, 163, 255, 0.2), rgba(255, 105, 180, 0.15));
    color: #e0a3ff;
    border: 1px solid rgba(224, 163, 255, 0.4);
    box-shadow: 
        0 0 25px rgba(224, 163, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(224, 163, 255, 0.6);
}
 .hamburger-line {
     width: 25px;
     height: 3px;
     background: linear-gradient(45deg, #e0a3ff, #ff69b4);
     margin: 3px 0;
     border-radius: 2px;
     transition: all 0.3s ease;
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
     transform: rotate(45deg) translate(9px, 9px);
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
     opacity: 0;
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -6px);
}
 .mobile-nav {
     position: fixed;
     top: 90px;
     left: 50%;
     transform: translateX(-50%);
     width: 90%;
     max-width: 400px;
     background: rgba(0, 0, 0, 0.95);
     -webkit-backdrop-filter: blur(25px);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 20px;
     padding: 30px;
     display: none;
     flex-direction: column;
     gap: 20px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
 .mobile-nav.active {
     display: flex;
     animation: slideDown 0.3s ease-out;
}
 @keyframes slideDown {
     from {
         opacity: 0;
         transform: translateX(-50%) translateY(-20px);
    }
     to {
         opacity: 1;
         transform: translateX(-50%) translateY(0);
    }
}
 .mobile-nav a {
     color: #ffffff;
     text-decoration: none;
     padding: 15px 20px;
     border-radius: 12px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     text-align: center;
     font-size: 1.1rem;
     transition: all 0.3s ease;
}
 .mobile-nav a:hover {
     background: rgba(224, 163, 255, 0.1);
     color: #e0a3ff;
     box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
     transform: translateY(-2px);
}
/* Section 0: 全站搜索（按钮 + 结果面板）*/
/* 右侧按钮组：搜索按钮在左、汉堡在右，整体排在 .nav-links 之后贴右边 */
 .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* 与相邻汉堡 .mobile-menu-toggle 同款玻璃小方框（44×44 / 圆角 8px / 白 5% 底 + 白 10% 边框），
   让右侧两个按钮视觉成对；博客那边的搜索按钮是纯图标无边框，这里刻意跟主站汉堡保持一致。 */
 .nav-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.05rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
 .nav-search-toggle:hover,
 .nav-search-toggle[aria-expanded="true"] {
    background: rgba(224, 163, 255, 0.1);
    color: #e0a3ff;
    box-shadow: 0 0 15px rgba(224, 163, 255, 0.3);
}
/* 面板：沿用 .mobile-nav 的居中深色玻璃卡（本元素由脚本注入 <header> 内，
   header 是 fixed，会成为它的包含块，故 top:90px 的落点与 .mobile-nav 一致 = 111px） */
 .site-search-panel {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
 .site-search-panel.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}
 .site-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
 .site-search-field > i {
    color: rgba(255, 255, 255, 0.5);
}
 .site-search-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
}
 .site-search-field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
 .site-search-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
}
 .site-search-results a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}
 .site-search-results a:hover {
    background: rgba(224, 163, 255, 0.1);
    border-color: rgba(224, 163, 255, 0.4);
    box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
    transform: translateY(-2px);
}
 .site-search-results .ssr-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
}
 .site-search-results .ssr-excerpt {
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}
 .site-search-results mark {
    padding: 0 2px;
    border-radius: 3px;
    background: rgba(224, 163, 255, 0.25);
    color: #e0a3ff;
}
 .site-search-status {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
/* Section 1: Modern Redesigned Hero */
 .hero {
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     position: relative;
     overflow: hidden;
}
 .hero::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 60%;
     height: 60%;
     background: radial-gradient(circle, rgba(224, 163, 255, 0.04) 0%, transparent 70%);
     transform: translate(-50%, -50%);
     animation: heroGlow 10s ease-in-out infinite;
     z-index: -1;
}
 @keyframes heroGlow {
     0%, 100% {
         transform: translate(-50%, -50%) scale(1) rotate(0deg);
         opacity: 0.6;
    }
     50% {
         transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
         opacity: 1;
    }
}
 .hero-content {
     max-width: 1000px;
     padding: 80px 40px;
	 margin-top: 120px;
     animation: heroAppear 2.5s ease-out;
     position: relative;
     background: none;
     backdrop-filter: none;
     border: none;
     box-shadow: none;
     border-radius: 0;
}
 @keyframes heroAppear {
     from {
         opacity: 0;
         transform: translateY(60px) scale(0.96);
    }
     to {
         opacity: 1;
         transform: translateY(0) scale(1);
    }
}
 .hero-subtitle {
     font-size: 0.9rem;
     color: #e0a3ff;
     margin-bottom: 25px;
     opacity: 0;
     animation: slideInFromLeft 1.2s ease 0.3s forwards;
     text-transform: uppercase;
     letter-spacing: 0.4em;
     position: relative;
     display: inline-block;
     font-weight: 300;
}
 .hero-subtitle::before, .hero-subtitle::after {
     content: '';
     position: absolute;
     top: 50%;
     width: 40px;
     height: 1px;
     background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
     animation: linePulse 3s ease infinite;
}
 .hero-subtitle::before {
     left: -60px;
}
 .hero-subtitle::after {
     right: -60px;
}
 @keyframes linePulse {
     0%, 100% {
         opacity: 0.4;
         transform: scaleX(0.8);
    }
     50% {
         opacity: 1;
         transform: scaleX(1.2);
    }
}
 @keyframes slideInFromLeft {
     from {
         opacity: 0;
         transform: translateX(-40px);
    }
     to {
         opacity: 1;
         transform: translateX(0);
    }
}
 .hero h1 {
     font-size: clamp(2.2rem, 6vw, 4rem);
     margin-bottom: 30px;
     background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 30%, #9370db 60%, #e0a3ff 100%);
     background-size: 300% 300%;
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     animation: modernGradient 8s ease infinite;
     line-height: 1.1;
     letter-spacing: -0.02em;
     font-weight: 800;
     text-shadow: none;
     opacity: 0;
     animation: slideInFromRight 1.2s ease 0.6s forwards, modernGradient 8s ease 0.6s infinite;
}
 @keyframes modernGradient {
     0% {
         background-position: 0% 50%;
    }
     50% {
         background-position: 100% 50%;
    }
     100% {
         background-position: 0% 50%;
    }
}
 @keyframes slideInFromRight {
     from {
         opacity: 0;
         transform: translateX(40px);
    }
     to {
         opacity: 1;
         transform: translateX(0);
    }
}
 .hero-description {
     max-width: 700px;
     margin: 40px auto 50px;
     opacity: 0;
     animation: fadeInScale 1.2s ease 0.9s forwards;
     text-align: center;
}
 .hero-description p {
     font-size: 1.2rem;
     color: #d1d1d1;
     line-height: 1.7;
     margin-bottom: 0;
     font-weight: 300;
}
 @keyframes fadeInScale {
     from {
         opacity: 0;
         transform: scale(0.95);
    }
     to {
         opacity: 1;
         transform: scale(1);
    }
}
 .hero-stats {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
     gap: 40px;
     margin: 60px auto 50px;
     max-width: 640px;
     opacity: 0;
     animation: slideUpStagger 1.2s ease 1.2s forwards;
}
.hero-stat-link {
    text-decoration: none;
    color: inherit;
    display: flex;           /* 让内部卡片可撑满 grid 格, 实现同排等高 */
}
.hero-stat-link:hover {
    text-decoration: none;
}
 .hero-stat {
     text-align: center;
     position: relative;
     flex: 1 1 auto;         /* 撑满 link: 同排卡等高 */
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 20px;
     min-height: 128px;      /* 保底高度, 防过扁 */
     background: linear-gradient(135deg, rgba(224, 163, 255, 0.06), rgba(255, 105, 180, 0.04));
    border: 1px solid rgba(224, 163, 255, 0.15);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}
 .hero-stat:hover {
     transform: translateY(-8px) scale(1.05);
     border-color: rgba(255, 105, 180, 0.3);
     box-shadow: 0 20px 40px rgba(224, 163, 255, 0.1);
}
 .hero-stat-number {
     font-size: 1.8rem;
     font-weight: 700;
     color: #e0a3ff;
     display: block;
     text-shadow: 0 0 15px rgba(224, 163, 255, 0.4);
     margin-bottom: 8px;
}
 .hero-stat-label {
     font-size: 0.8rem;
     color: #999;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     font-weight: 400;
}
 @keyframes slideUpStagger {
     from {
         opacity: 0;
         transform: translateY(30px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 .cta-buttons {
     display: flex;
     gap: 20px;
     justify-content: center;
     flex-wrap: wrap;
     opacity: 0;
     animation: buttonSlideUp 1.2s ease 1.5s forwards;
}
 @keyframes buttonSlideUp {
     from {
         opacity: 0;
         transform: translateY(20px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 .cta-button {
     display: inline-block;
     padding: 16px 40px;
     background: linear-gradient(135deg, #e0a3ff, #ff69b4);
     color: #000;
     text-decoration: none;
     border-radius: 50px;
     font-weight: 600;
     font-size: 0.95rem;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
     text-transform: uppercase;
     letter-spacing: 0.03em;
     box-shadow: 0 4px 15px rgba(224, 163, 255, 0.2);
}
 .cta-button.secondary {
     background: transparent;
     border: 2px solid #e0a3ff;
     color: #e0a3ff;
     box-shadow: 0 4px 15px rgba(224, 163, 255, 0.1);
}
 .cta-button:hover {
     transform: translateY(-4px) scale(1.02);
     box-shadow: 0 12px 30px rgba(224, 163, 255, 0.3);
}
 .cta-button.secondary:hover {
     background: rgba(224, 163, 255, 0.08);
     box-shadow: 0 12px 30px rgba(224, 163, 255, 0.2);
}
/* Section 2: Diagonal Features */
 .features {
     padding: 150px 0;
     position: relative;
     overflow: hidden;
}
 .features::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.1), transparent);
     animation: rotate 20s linear infinite;
     z-index: -1;
}
 @keyframes rotate {
     from {
         transform: rotate(0deg);
    }
     to {
         transform: rotate(360deg);
    }
}
 .section-title {
     text-align: center;
     font-size: clamp(2.5rem, 6vw, 4rem);
     margin-bottom: 80px;
     color: #00ffff;
     position: relative;
}
 .section-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 3px;
     background: linear-gradient(90deg, #00ffff, #ff0080);
     border-radius: 2px;
}
 .features-container {
     max-width: 1240px;
     margin: 0 auto;
     padding: 0 20px;
}
 .diagonal-grid {
     display: flex;
     flex-direction: column;
     gap: 60px;
}
 .feature-row {
     display: flex;
     align-items: center;
     gap: 80px;
     position: relative;
}
 .feature-row:nth-child(even) {
     flex-direction: row-reverse;
}
 .feature-content {
     flex: 1;
     padding: 50px;
     transform: skew(-5deg);
     transition: all 0.4s ease;
}
 .feature-content:hover {
     transform: skew(-5deg) translateY(-10px);
     box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}
 .feature-visual {
     flex: 1;
     height: 300px;
     position: relative;
     border-radius: 20px;
     overflow: hidden;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     transition: all 0.4s ease;
}
 .feature-visual:hover {
     transform: scale(1.05);
     box-shadow: 0 20px 40px rgba(224, 163, 255, 0.3);
}
 .feature-visual::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
    /* 去掉模糊，只保留很轻的高光叠加，避免图片发糊 */
    background: linear-gradient(45deg, rgba(224, 163, 255, 0.05), rgba(255, 105, 180, 0.05));
     z-index: 1;
    /* 删除 backdrop-filter: blur(1px); 让图片保持清晰 */
     transition: all 0.4s ease;
}
 .feature-visual:hover::before {
     background: linear-gradient(45deg, rgba(224, 163, 255, 0.2), rgba(255, 105, 180, 0.2));
}
 .feature-row:nth-child(1) .feature-visual { /* 第一个特性行的背景图片。修改指南：如需更换图片，修改url路径为你的图片路径，确保图片文件存在。网页中：显示第一个特性卡片的背景图片。 */
     background-image: url('images/templatemo-neural-01.jpg'); /* 设置背景图片路径。修改指南：将'images/templatemo-neural-01.jpg'改为你的图片路径，如'images/my-image-1.jpg'。网页中：显示第一个特性配图。 */
}
 .feature-row:nth-child(2) .feature-visual { /* 第二个特性行的背景图片。修改指南：如需更换图片，修改url路径为你的图片路径。网页中：显示第二个特性卡片的背景图片。 */
     background-image: url('images/templatemo-neural-02.jpg'); /* 设置背景图片路径。修改指南：将'images/templatemo-neural-02.jpg'改为你的图片路径。网页中：显示第二个特性配图。 */
}
 .feature-row:nth-child(3) .feature-visual { /* 第三个特性行的背景图片（仅用于首页等未在 HTML 内联指定图片的页面）。robot.html 的配图已写在页面内联 style 中，与此处互不冲突。 */
     background-image: url('images/templatemo-neural-03.jpg');
}
 .feature-icon {
     font-size: 4rem;
     margin-bottom: 25px;
     background: linear-gradient(45deg, #ff0080, #8000ff);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
}
 .feature-content h3 {
     font-size: 2.2rem;
     margin-bottom: 20px;
     color: #ffffff;
}
 .feature-content p {
     font-size: 1.1rem;
     color: #cccccc;
     line-height: 1.8;
}
/* Section 3: Enhanced Hexagonal Showcase */
 .showcase {
     padding: 150px 0;
     position: relative;
}
 .hexagon-container {
     display: flex;
     justify-content: center;
    align-items: center;
     flex-wrap: wrap;
     gap: 40px;
     max-width: 1200px;
     margin: 0 auto;
     /* 上下留 18px: 容纳 rotate(30°) 六边形上下尖角越出量,
        避免被 overflow:clip 裁平首行上尖角/末行下尖角 */
     padding: 18px 20px;
}
/* 算法页模块链接：去掉默认下划线和蓝色，保持与卡片一致外观 */
 .hexagon-link {
     text-decoration: none;
     color: inherit;
}
 .hexagon-link:hover {
     text-decoration: none;
     color: inherit;
}
 .hexagon {
     width: 220px;
     height: 290px;
     position: relative;
     margin: 20px;
     transition: all 0.4s ease;
}
 .hexagon:hover {
     transform: scale(1.1);
}
 .hexagon-inner {
     width: 100%;
     height: 100%;
     position: relative;
     transform: rotate(30deg);
     border-radius: 25px;
     padding: 50px 25px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     overflow: hidden;
     transition: all 0.4s ease;
}
 .hexagon:hover .hexagon-inner {
     transform: rotate(0deg);
     border-radius: 15px;
}
 .hexagon:nth-child(odd) .hexagon-inner {
     background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(255, 0, 128, 0.12));
     border: 1px solid rgba(0, 255, 255, 0.3);
}
 .hexagon:nth-child(even) .hexagon-inner {
     background: linear-gradient(135deg, rgba(255, 0, 128, 0.12), rgba(128, 0, 255, 0.12));
     border: 1px solid rgba(255, 0, 128, 0.3);
}
 .hexagon-icon {
     font-size: 2.8rem;
     margin-bottom: 20px;
     transform: rotate(-30deg);
     filter: drop-shadow(0 0 10px currentColor);
     transition: all 0.4s ease;
}
 .hexagon:hover .hexagon-icon {
     transform: rotate(0deg);
}
 .hexagon h4 {
     font-size: 1.3rem;
     color: #ffffff;
     transform: rotate(-30deg);
     margin-bottom: 15px;
     font-weight: bold;
     text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
     transition: all 0.4s ease;
}
 .hexagon:hover h4 {
     transform: rotate(0deg);
}
 .hexagon p {
     font-size: 0.95rem;
     color: #e0e0e0;
     transform: rotate(-30deg);
     line-height: 1.5;
     max-width: 140px;
     word-wrap: break-word;
     hyphens: auto;
     transition: all 0.4s ease;
}
 .hexagon:hover p {
     transform: rotate(0deg);
}
/* Section 4: Enhanced Timeline */
 .timeline {
     padding: 100px 0;
     position: relative;
}
 .timeline-container {
     max-width: 1100px;
     margin: 0 auto;
     position: relative;
     padding: 0 20px;
}
 .timeline-line {
     position: absolute;
     left: 50%;
     top: 0;
     bottom: 0;
     width: 4px;
     background: linear-gradient(180deg, #e0a3ff, #ff69b4, #9370db);
     transform: translateX(-50%);
     border-radius: 2px;
     box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
}
 .timeline-item {
     display: flex;
     justify-content: flex-end;
     padding-right: 60px;
     position: relative;
     margin-bottom: 60px;
}
 .timeline-item:nth-child(even) {
     justify-content: flex-start;
     padding-left: 60px;
     padding-right: 0;
}
 .timeline-content {
     max-width: 450px;
     padding: 50px 40px;
     position: relative;
     transform: perspective(1000px) rotateY(-5deg);
     transition: all 0.4s ease;
     background: rgba(224, 163, 255, 0.08);
     -webkit-backdrop-filter: blur(25px);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(224, 163, 255, 0.15);
     border-radius: 25px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
 .timeline-item:nth-child(even) .timeline-content {
     transform: perspective(1000px) rotateY(5deg);
}
 .timeline-content:hover {
     transform: perspective(1000px) rotateY(0deg) translateZ(20px);
     box-shadow: 0 25px 60px rgba(224, 163, 255, 0.2), 0 0 0 1px rgba(224, 163, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
     border-color: rgba(224, 163, 255, 0.3);
}
 .timeline-dot {
     position: absolute;
     left: 50%;
     top: 60px;
     transform: translateX(-50%);
     width: 24px;
     height: 24px;
     background: linear-gradient(135deg, #ff69b4, #e0a3ff);
     border-radius: 50%;
     box-shadow: 0 0 25px rgba(255, 105, 180, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
     z-index: 1;
     border: 3px solid rgba(255, 255, 255, 0.2);
}
 .timeline-year {
     font-size: 1.8rem;
     color: #e0a3ff;
     margin-bottom: 20px;
     font-weight: bold;
     text-shadow: 0 0 15px rgba(224, 163, 255, 0.4);
}
 .timeline-content h4 {
     font-size: 1.5rem;
     color: #ffffff;
     margin-bottom: 20px;
     font-weight: 600;
}
 .timeline-content p {
     color: #d1d1d1;
     line-height: 1.7;
     font-size: 1rem;
}
/* Section 5: Contact */
 .contact {
     padding: 150px 0;
     position: relative;
}
 .contact-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 80px;
     align-items: center;
}
 .contact-info {
     padding: 60px 40px;
     position: relative;
}
 .contact-info::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 70%);
     animation: pulse 4s ease-in-out infinite;
     z-index: -1;
}
 @keyframes pulse {
     0%, 100% {
         transform: scale(1);
         opacity: 0.5;
    }
     50% {
         transform: scale(1.1);
         opacity: 1;
    }
}
 .contact-form {
     padding: 50px 40px;
}
 .form-group {
     margin-bottom: 30px;
     position: relative;
}
 .form-group input, .form-group textarea {
     width: 100%;
     padding: 15px 20px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 10px;
     color: #ffffff;
     font-family: inherit;
     font-size: 1rem;
     -webkit-backdrop-filter: blur(10px);
     backdrop-filter: blur(10px);
     transition: all 0.3s ease;
}
 .form-group input:focus, .form-group textarea:focus {
     outline: none;
     border-color: #00ffff;
     box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
     background: rgba(255, 255, 255, 0.1);
}
 .form-group input::placeholder, .form-group textarea::placeholder {
     color: #888;
}
 .submit-btn {
     width: 100%;
     padding: 18px;
     background: linear-gradient(45deg, #00ffff, #ff0080);
     border: none;
     border-radius: 10px;
     color: #000;
     font-weight: bold;
     font-size: 1.1rem;
     cursor: pointer;
     transition: all 0.3s ease;
}
 .submit-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}
 .contact-info h3 {
     font-size: 2.5rem;
     color: #00ffff;
     margin-bottom: 30px;
}
 .contact-info p {
     font-size: 1.2rem;
     color: #cccccc;
     line-height: 1.7;
     margin-bottom: 30px;
}
 .social-links {
     display: flex;
     gap: 20px;
     margin-top: 40px;
}
 .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 60px;
     height: 60px;
     border-radius: 15px;
     color: #00ffff;
     text-decoration: none;
     font-size: 1.5rem;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
}
 .social-links a::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
     transition: left 0.5s ease;
}
 .social-links a:hover::before {
     left: 100%;
}
 .social-links a:hover {
     transform: translateY(-5px) scale(1.1);
     box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}
 .social-links .social-icon-img {
     width: 40px;
     height: 40px;
     max-width: 60px;
     max-height: 60px;
     object-fit: contain;
     display: block;
     /* 缩小后保持清晰，减少模糊 */
     image-rendering: -webkit-optimize-contrast;
     image-rendering: crisp-edges;
     -ms-interpolation-mode: nearest-neighbor;
}
/* Footer */
 footer {
     text-align: center;
     padding: 60px 20px 40px;
     border-top: 1px solid rgba(224, 163, 255, 0.2);
     background: rgba(0, 0, 0, 0.5);
     -webkit-backdrop-filter: blur(20px);
     backdrop-filter: blur(20px);
}
 .footer-content {
     max-width: 1200px;
     margin: 0 auto;
}
 .footer-links {
     display: flex;
     justify-content: center;
     gap: 30px;
     margin-bottom: 30px;
     flex-wrap: wrap;
}
 .footer-links a {
     color: #cccccc;
     text-decoration: none;
     font-size: 0.9rem;
     transition: all 0.3s ease;
     position: relative;
     padding: 8px 0;
}
 .footer-links a:hover {
     color: #e0a3ff;
     text-shadow: 0 0 10px rgba(224, 163, 255, 0.5);
}
 .footer-links a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 1px;
     background: linear-gradient(90deg, #e0a3ff, #ff69b4);
     transition: width 0.3s ease;
}
 .footer-links a:hover::after {
     width: 100%;
}
 .footer-copyright {
     color: #888;
     font-size: 0.9rem;
     margin-bottom: 15px;
}
 .footer-design {
     color: #666;
     font-size: 0.85rem;
     margin-top: 20px;
}
 .footer-design a {
     color: #e0a3ff;
     text-decoration: none;
     transition: all 0.3s ease;
}
 .footer-design a:hover {
     color: #ff69b4;
     text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}
/* Mobile Responsiveness */
 @media (max-width: 1024px) {
	 .feature-row {
        flex-direction: column;
        gap: 40px;
		min-height: 720px;
    }

    .feature-row:nth-child(even) {
        flex-direction: column;
    }
	.feature-content {
    	flex: 0;
	}
    .feature-visual {
        height: 250px; /* Adjust the height for mobile view */
        width: 100%;
    }
     .contact-container {
         grid-template-columns: 1fr;
         gap: 40px;
    }

     .timeline-line {
         left: 30px;
    }
     .timeline-item, .timeline-item:nth-child(even) {
         justify-content: flex-start;
         padding-left: 80px;
         padding-right: 0;
    }
     .timeline-dot {
         left: 30px;
    }
     .timeline-content {
         max-width: 100%;
    }
}

/* 导航栏 72px 高 + 品牌文字 22px 后，右侧链接组在 1121px（横排最窄档）下仍余 ~55px，
   所以这里不对链接尺寸做任何收紧，保持原始 padding/字号。 */

/* 再窄就收成汉堡菜单：断点取 1120px，与博客导航栏的 min-[1121px] 无缝衔接
   —— 两侧都在 1121px 切换（1121px 恰好也是导航栏的宽度上限）。 */
@media (max-width: 1120px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}
 @media (max-width: 768px) {
     .hero-content {
         padding: 40px 20px;
    }
     .hero h1 {
         font-size: clamp(1.8rem, 8vw, 3rem);
    }
     .hero-description p {
         font-size: 1.1rem;
    }
     .hero-stats {
         grid-template-columns: repeat(2, 1fr);
         gap: 20px;
         margin: 40px auto 35px;
    }
     .hero-stat {
         padding: 15px;
    }
     .hero-stat-number {
         font-size: 1.5rem;
    }
     .hero-subtitle::before, .hero-subtitle::after {
         width: 25px;
    }
     .hero-subtitle::before {
         left: -35px;
    }
     .hero-subtitle::after {
         right: -35px;
    }
     .cta-buttons {
         flex-direction: column;
         align-items: center;
         gap: 15px;
    }
     .cta-button {
         width: 100%;
         max-width: 280px;
         text-align: center;
    }
    /* Update the existing hexagon styles for mobile */
    .hexagon {
        width: 280px;  /* Increased from 180px */
        height: 320px; /* Increased from 200px */
        margin: 30px auto; /* Center and add more spacing */
    }
    
    .hexagon-inner {
        padding: 60px 35px; /* More padding for larger content area */
    }
    
    .hexagon-icon {
        font-size: 3.5rem; /* Larger icon */
        margin-bottom: 25px;
    }
    
    .hexagon h4 {
        font-size: 1.6rem; /* Larger heading */
        margin-bottom: 20px;
    }
    
    .hexagon p {
        font-size: 1.1rem; /* Larger text */
        max-width: 200px; /* More width for text */
        line-height: 1.6;
    }
    
    .hexagon-container {
        gap: 20px; /* Reduce gap since boxes are larger */
    }
     .section-title {
         margin-bottom: 60px;
    }
     .features, .showcase, .timeline, .contact {
         padding: 80px 0;
    }
     .timeline {
         padding: 60px 0;
    }
     .footer-links {
         gap: 20px;
         margin-bottom: 25px;
    }
     .footer-links a {
         font-size: 0.85rem;
    }
}
/* Enhanced scrollbar */
 ::-webkit-scrollbar {
     width: 12px;
}
 ::-webkit-scrollbar-track {
     background: rgba(0, 0, 0, 0.8);
     border-radius: 6px;
}
 ::-webkit-scrollbar-thumb {
     background: linear-gradient(45deg, #00ffff, #ff0080);
     border-radius: 6px;
     box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
 ::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(45deg, #ff0080, #8000ff);
     box-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

/* 微信复制提示动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================================
   Font Awesome 6 图标适配 (本地化, 替换 emoji)
   仅作用于 <i class="fa-solid"> 图标; emoji 页不受影响
   ============================================================ */
.feature-icon i {
    display: inline-block;
    font-style: normal;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(255, 0, 128, 0.35));
}
/* 六边形图标默认浅紫, 发光随容器 currentColor; 悬停切换主题色 */
.hexagon-icon i {
    display: inline-block;
    font-style: normal;
    color: inherit;
    transition: transform 0.4s ease;
}
.hexagon-icon { color: #e0a3ff; }
.hexagon:nth-child(odd):hover .hexagon-icon { color: #00ffff; }
.hexagon:nth-child(even):hover .hexagon-icon { color: #ff69b4; }
.hexagon:hover .hexagon-icon i { transform: scale(1.1); }
.feature-icon i, .hexagon-icon i { pointer-events: none; }

/* feature 图标用 PNG 图片时: 尺寸随容器字号自适应, hover 微放大 */
.feature-icon img.feature-icon-img {
    display: inline-block;
    width: auto;
    height: 1em;                 /* 跟随 .feature-icon 的 font-size(4rem) */
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(224,163,255,.45))
            drop-shadow(0 0 22px rgba(0,255,255,.18));
    transition: transform 0.35s ease, filter 0.35s ease;
    vertical-align: middle;
}
.feature-row:hover .feature-icon img.feature-icon-img {
    transform: scale(1.12);
    filter: drop-shadow(0 0 16px rgba(224,163,255,.65))
            drop-shadow(0 0 30px rgba(0,255,255,.28));
}
@media (max-width: 768px) {
    .feature-icon img.feature-icon-img { max-height: 64px; }
}

/* ============================================================
   【尺寸管理·基础加固层】2026-09-04
   说明: 全局兜底, 防止未来新增内容横向溢出/撑破容器。
   全部用 :where() 零特异性, 不覆盖任何已定义的类样式;
   仅对"未显式管理的裸元素"生效。如需回滚删除本段即可。
   ============================================================ */
/* 1) 媒体资源防溢出: 图片/视频/内联框等比缩放, 不超出父容器 */
:where(img, video, iframe, canvas, embed, object) {
    max-width: 100%;
}
:where(img):not([class]) {
    height: auto;          /* 仅对无类裸图等比; 有固定尺寸类的(logo/图标)不受影响 */
}
/* 2) 长代码块/表格: 窄屏允许横向滚动, 而非把整页撑出宽 */
:where(pre, code, table) {
    max-width: 100%;
    overflow-x: auto;
}
/* 3) 长单词/长URL断行兜底: 防止溢出容器(仅文本元素) */
:where(h1, h2, h3, h4, h5, h6, p, a, li, span, th, td) {
    overflow-wrap: break-word;
}
/* 4) flex 子项收缩保护: 防止长内容把 flex 容器撑爆 */
:where(.hero-stats, .nav-links, .footer-links, .diagonal-grid, .hexagon-container) > * {
    min-width: 0;
}
/* 5) 大屏超宽内容行宽收敛(>1440px 才生效, 避免整行过长难读) */
@media (min-width: 1441px) {
    :where(.hero-content, .features-container, .hexagon-container, .timeline-container, .contact-container) {
        width: 92vw;
        max-width: 1240px;
        margin-inline: auto;
    }
}

/* ============================================================
   【尺寸加固·实测修复】2026-09-04 (基于 360/768/1024 实测)
   修复: 窄屏横向溢出源
   - 六边形 .hexagon-inner rotate(30deg) 旋转包围盒在窄屏超视口
   - contact-info::before 宽200%装饰层撑破 grid 子项
   ============================================================ */
/* 六边形: 窄屏(≤480)缩小尺寸, 使旋转包围盒 < 视口 */
@media (max-width: 1240px) {
    /* 旋转30°的六边形包围盒在 1024~1200px 会轻微戳出右缘, 整体裁剪装饰性越出 */
    .hexagon-container { overflow: clip; }
}
@media (max-width: 480px) {
    .hexagon {
        width: 176px;
        height: 240px;
        margin: 8px auto;
    }
    .hexagon-container {
        gap: 10px;
        padding: 14px 8px;
        /* rotate(30°) 旋转包围盒在 390px(双列)时右缘会伸出容器, 裁剪装饰性越出部分 */
        overflow: clip;
    }
    .hexagon-inner {
        padding: 30px 14px;
    }
    .hexagon-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    .hexagon h4 { font-size: 1.15rem; margin-bottom: 8px; }
    .hexagon p  { font-size: 0.9rem; max-width: 150px; }
}
/* 六边形: 平板(481-1024)适度缩放 */
@media (min-width: 481px) and (max-width: 1024px) {
    .hexagon {
        width: 200px;
        height: 270px;
        margin: 12px;
    }
    .hexagon-container { gap: 20px; }
    /* rotate(30°) 的首尾菱形尖角会越出容器撑宽页面; clip 裁剪装饰性越出部分 */
    .hexagon-container { overflow: clip; }
}
/* ---- contact 区防溢出 ----
   溢出机制: 
   1) .social-links 4×60px 图标横排的 min-content≈380px 会把 grid 子项撑出视口
   2) .contact-info::before 宽200%绝对定位装饰把 scrollWidth 推到容器外
   修复: grid 子项允许收缩(min-width:0) + 社交图标可换行 + 裁剪装饰溢出 */
.contact-container > * { min-width: 0; }
.contact-info,
.contact-form { overflow: clip; }   /* clip 裁剪装饰层但不产生滚动容器 */
.social-links { flex-wrap: wrap; gap: 14px; }
.social-links a { width: 52px; height: 52px; }
@media (max-width: 480px) {
    .social-links a { width: 44px; height: 44px; }
    .social-links { gap: 10px; }
}

/* ============================================================
   【MAYA3.0 宣传区 · 全息 HUD 版】2026-09-04 (覆盖上方同名旧段)
   复刻 ai_studio_code(4).html 的深海 HUD 可视化主题
   ============================================================ */
/* ---------- promo 容器: 深海蓝黑全息底 ---------- */
.maya-promo {
    position: relative;
    --hud-cardS: 1; /* 卡片尺寸系数, 由轨道调试台滑块实时覆盖 */
    min-height: 100vh;
    min-height: 100svh; /* iOS Safari: 小视口单位, 避开地址栏让首屏恰好一屏 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 130px 20px 20px;
    overflow: hidden;
    /* 背景: 透明 —— 与 #home 一样共享 .neural-background 全页背景 */
    background: transparent;
}
/* 品牌光晕: 覆盖为青色全息 */
.maya-promo::before {
    background:
        radial-gradient(circle, rgba(0, 240, 255, 0.10) 0%, transparent 46%),
        radial-gradient(circle at 60% 40%, rgba(165, 243, 252, 0.08) 0%, transparent 58%);
    animation: mayaGlow 9s ease-in-out infinite;
}
@keyframes mayaGlow {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50%      { opacity: 1;    transform: translateX(-50%) scale(1.12); }
}


/* ---------- 标题与宣传语 (青色全息发光) ---------- */
.maya-promo-content {
    position: relative;
    z-index: 20;
    max-width: 980px;
    width: 100%;
    margin-top: 6px;
    animation: heroAppear 1.4s ease-out;
}
.maya-promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: #a5f3fc;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(165, 243, 252, 0.4);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}
.maya-promo-badge .cb-en {
    letter-spacing: 0.22em;
    font-weight: 600;
    color: #e0fbff;
}
.maya-promo-title {
    font-size: clamp(3rem, 8.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 0 46px rgba(0, 240, 255, 0.4), 0 0 120px rgba(0, 240, 255, 0.2);
}
.maya-promo-title span {
    background: linear-gradient(90deg, #7ef5ff, #00f0ff 35%, #a5f3fc 70%, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: modernGradient 5s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.55));
}
.maya-promo-slogan { margin: 0; }
.maya-promo-slogan.slogan1 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #eaffff;
    line-height: 1.5;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
    white-space: nowrap;
}
.maya-promo-slogan.slogan1::before,
.maya-promo-slogan.slogan1::after {
    content: '';
    display: inline-block;
    width: clamp(26px, 3.6vw, 54px); height: 1px;
    vertical-align: middle;
    margin: 0 12px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.8), transparent);
}
.maya-promo-slogan.slogan2 {
    /* 已从视觉删除: 文字不可见但保留原行占位(下方舞台不上移), 如需恢复删除 visibility */
    visibility: hidden;
    pointer-events: none;
    margin-top: 6px;
    font-size: clamp(0.7rem, 1.15vw, 0.86rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #7fb8c9;
    opacity: 0.95;
    max-width: 760px;
    max-width: min(760px, 92%);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ---------- 3D 全息舞台 (复刻 ai_studio_code4) ---------- */
/* 中部弹性层: 占据 标题块与底部控制条 之间的全部剩余高度,
   舞台在其中垂直/水平居中 → 舞台中心不随窗口宽度(舞台高度)上蹿 */
.maya-mid {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    padding: 0 0 4px;
    position: relative;
}
.hud-stage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    /* 高度: 随宽度等比连续缩放(1000:515, 桌面满宽=515), 保底 250px — 全程无断点跳变。
       自适应高度由 JS autoStageH() 显式计算并写入(兼容 iOS Safari 对 aspect-ratio 支持差异);
       aspect-ratio 保留, 供 JS 未接管时兜底 */
    height: auto;
    aspect-ratio: 1000 / 515;
    min-height: 250px;
    perspective: 1250px;
    z-index: 20;
}
/* 舞台容器不偏移; 3D卡片层左移由 --hud-shift 控制(调试台"舞台左移"滑块, 默认-20px)
   hud-ctrl按钮行 / hud-floor地面 / hud-dots指示点 保持原居中, 不受影响 */
.hud-cards-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0; height: 0;
    transform-style: preserve-3d;
}
#maya-cards { left: calc(50% + var(--hud-shift, -30px)); }
/* 底部轨道线(视觉层): 舞台地面轨道, 位于舞台底部随整组中带居中
   【2026-09-05 已按需求隐藏: 用户指示去掉 dots 下方这条带节点亮斑的荧光横条。
     如需恢复: 把 display:none 删掉即可 */ 
.hud-floor {
    display: none;
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 88%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 245, 255, 0.18) 18%, rgba(220, 245, 255, 0.85) 46%, rgba(0, 240, 255, 0.9) 60%, rgba(220, 245, 255, 0.2) 88%, transparent 100%);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
    pointer-events: none;
}
.hud-floor::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -5px; bottom: -5px;
    background: repeating-linear-gradient(90deg, rgba(220, 245, 255, 0.4) 0px, rgba(220, 245, 255, 0.4) 1.5px, transparent 1.5px, transparent 26px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    opacity: 0.4;
    pointer-events: none;
}
/* 卡片 */
.hud-card {
    position: absolute;
    width: calc(470px * var(--hud-cardS, 1));
    height: calc(264px * var(--hud-cardS, 1));
    left: calc(-235px * var(--hud-cardS, 1));
    top: calc(-132px * var(--hud-cardS, 1));
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.65s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform, opacity, filter;
}
.hud-card .card-inner {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 6px;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 1px solid rgba(220, 250, 255, 0.25);
    transition: all 0.4s ease;
}
.hud-card .card-media-surface {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
    z-index: 0;
}
/* 单色模式: 照片去色 + 微提亮 */
.hud-card.mono .card-media-surface {
    filter: grayscale(1) brightness(1.02) contrast(1.08);
    opacity: 0.9;
}
/* 同色光晕氛围层 (叠加在照片上, 保留 HUD 色彩感) */
.hud-card .card-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.5;
    pointer-events: none;
}
.hud-card.mono .card-tint {
    mix-blend-mode: normal;
    opacity: 0.06;
}
.hud-card .card-scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(255,255,255,0.05) 3px, rgba(255,255,255,0.05) 4px);
    opacity: var(--hud-decoA, 0.8);
}
.hud-card .corner-bracket {
    position: absolute;
    width: 26px; height: 26px;
    border: 2px solid rgba(220, 250, 255, 0.55);
    opacity: var(--hud-decoA, 0.6);
    transition: all 0.35s ease;
    z-index: 5;
}
.hud-card .corner-bracket.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.hud-card .corner-bracket.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.hud-card .corner-bracket.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.hud-card .corner-bracket.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.hud-card .card-header-badge {
    position: absolute;
    bottom: calc(100% + var(--hud-badgeH, 10px)); left: 50%;
    transform: translateX(-50%);
    /* 半透明荧光蓝背景 (无描边, 外辉光呈现荧光感) */
    background: rgba(0, 170, 255, 0.20);
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.35);
    /* augmented-ui 形状 tl-2-clip-x br-clip both (实测解析值, 半径5px: 左上两段45°坡道每段5/左切10, 右下标准5px斜切) */
    clip-path: polygon(-1px 10px, 0px 10px, 5px 5px, 15px 5px, 20px 0px, 20px -1px, calc(100% + 1px) -1px, calc(100% + 1px) calc(100% - 5px), calc(100% - 5px) calc(100% + 1px), -1px calc(100% + 1px));
    padding: 4px 18px 5px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.2s ease;
    white-space: nowrap;
    z-index: 6;
    font-family: inherit;
    pointer-events: none;
    max-width: 460px;
    line-height: 1.2;
}
.hud-card .card-header-badge .cb-desc {
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}
.hud-card.active .card-header-badge { opacity: 0.6; }
.hud-card .center-reticle {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
}
.hud-card .reticle-circle-outer {
    width: 76px; height: 76px;
    border-radius: 50%;
    border: 1.5px solid rgba(220, 250, 255, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: var(--hud-decoA, 0.55);
    transition: opacity 0.3s ease;
}
.hud-card .reticle-circle-inner {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(220, 250, 255, 0.22);
    display: flex; align-items: center; justify-content: center;
    opacity: var(--hud-decoA, 0.55);
    transition: opacity 0.3s ease;
}
.hud-card .reticle-symbol {
    font-size: 17px; font-weight: 700; letter-spacing: 1px;
    color: rgba(240, 250, 255, 0.9);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
    opacity: var(--hud-decoA, 0.55);
    transition: opacity 0.3s ease;
}
.hud-card .card-footer {
    position: absolute;
    bottom: 10px; left: 18px; right: 18px;
    display: flex; justify-content: space-between;
    font-size: 9px; letter-spacing: 1.4px;
    color: rgba(180, 230, 255, 0.45);
    border-top: 1px solid rgba(220, 250, 255, 0.12);
    padding-top: 5px;
    opacity: var(--hud-decoA, 0.8);
    z-index: 6;
}
.hud-card.active { cursor: default; z-index: 40 !important; }
.hud-card.active .card-inner {
    border-color: rgba(220, 250, 255, 0.95);
    box-shadow: 0 0 34px rgba(0, 240, 255, 0.4), inset 0 0 22px rgba(0, 240, 255, 0.18);
    background: rgba(8, 18, 30, 0.5);
}
.hud-card.active .corner-bracket { border-color: #fff; width: 34px; height: 34px; box-shadow: 0 0 12px rgba(0, 240, 255, 0.8); }
.hud-card:not(.active):hover .card-inner { border-color: rgba(220, 250, 255, 0.6); box-shadow: 0 0 18px rgba(0, 240, 255, 0.3); }

/* 舞台下方控制条 */
.hud-ctrl {
    position: relative;
    /* 吸底: 作为 promo 弹性子项, 将舞台下所有弹性空间推到控制条上方,
       窗口缩窄时按钮行贴 promo(≈视口)底部, 不随舞台高度上移 */
    margin-top: auto;
    display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
    justify-content: center;
    z-index: 30;
}
.scan-btn {
    position: relative;
    background: rgba(10, 22, 35, 0.8);
    border: 1.5px solid rgba(165, 243, 252, 0.55);
    color: rgba(240, 250, 255, 0.95);
    font-family: inherit;
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    padding: 10px 34px;
    cursor: pointer;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-decoration: none;
    color: rgba(240, 250, 255, 0.95);
}
.scan-btn span { display: inline-block; }
.scan-btn:hover { background: rgba(0, 240, 255, 0.25); border-color: #fff; box-shadow: 0 0 25px rgba(0, 240, 255, 0.6); }
.scan-btn.active-auto { border-color: #00f0ff; color: #fff; box-shadow: 0 0 24px rgba(0, 240, 255, 0.5), inset 0 0 14px rgba(0, 240, 255, 0.25); }
.scan-btn.scan-link { font-weight: 500; letter-spacing: 1.6px; }

/* 底部指示点 (随舞台中带居中, 位于轨道线上方) */
.hud-dots {
    position: absolute;
    left: 50%; bottom: 16px;
    transform: translateX(-50%);
    display: flex; gap: 12px; align-items: center;
    z-index: 30;
}
.hud-dot-item {
    width: 22px; height: 4px;
    background: rgba(220, 250, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hud-dot-item:hover { background: rgba(220, 250, 255, 0.6); }
.hud-dot-item.active { width: 44px; background: #00f0ff; box-shadow: 0 0 12px #00f0ff; }

/* 背景粒子与 CRT 扫描线 */
.maya-particles {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.hud-scanlines {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.12) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.008), rgba(0, 255, 0, 0.004), rgba(0, 0, 255, 0.008));
    background-size: 100% 3px, 6px 100%;
    opacity: 0.35;
}

/* 滚动提示(青色) */
.maya-promo-note {
    position: relative;
    z-index: 30;
    margin-top: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    color: rgba(165, 243, 252, 0.5);
    text-transform: uppercase;
    animation: mayaBob 2.2s ease-in-out infinite;
}
@keyframes mayaBob {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(8px); opacity: 1; }
}

/* ---------- 移动端适配 ----------
   (卡片基准尺寸由 JS --hud-cardS 连续控制; 舞台高度由 aspect-ratio 连续控制,
    此区只保留排版舒适度微调, 不引入硬尺寸断点) */
@media (max-width: 768px) {
    .maya-promo { padding: 110px 14px 40px; }
    .maya-promo-title { font-size: clamp(2.6rem, 13vw, 4rem); }
}
@media (max-width: 560px) {
    .scan-btn { font-size: 10px; padding: 9px 24px; letter-spacing: 1.5px; }
    .hud-ctrl { gap: 20px; }
    .maya-promo-content { margin-top: 18px; }
    .maya-promo-slogan.slogan1::before,
    .maya-promo-slogan.slogan1::after { width: 14px; margin: 0 6px; }
}

