/* 自定义字体设置 - 阿里普惠字体 */
body {
    font-family: 'AlibabaPuHuiTi-3-45-Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 平滑的主题切换过渡动画 */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* 排除不需要过渡的元素 */
.tech-button::before,
.tech-button::after,
.hero-particles,
.floating-emoji,
.decoration-symbol {
    transition: none;
}

/* 阿里普惠字体字重类 */
.font-puhuiti-45 {
    font-family: 'AlibabaPuHuiTi-3-45-Regular', system-ui, sans-serif;
    font-weight: 400;
}

.font-puhuiti-55 {
    font-family: 'AlibabaPuHuiTi-3-55-Regular', system-ui, sans-serif;
    font-weight: 500;
}

.font-puhuiti-65 {
    font-family: 'AlibabaPuHuiTi-3-65-Medium', system-ui, sans-serif;
    font-weight: 600;
}

.font-puhuiti-75 {
    font-family: 'AlibabaPuHuiTi-3-75-Bold', system-ui, sans-serif;
    font-weight: 700;
}

/* 为标题应用阿里普惠字体 */
.hero-text-gradient,
.hero-text {
    font-family: 'AlibabaPuHuiTi-3-75-Bold', system-ui, sans-serif;
}

/* 渐变文字效果 - 科技感双色渐变 */
.text-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #7c3aed 50%, #1e293b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

/* 暗黑模式下的普通渐变文字 */
.dark .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero 区域科技感背景 - 完全复刻登录页 AnimatedBackground */
.hero-bg {
    background:
        /* 主渐变层 - 浅色版本 */
        linear-gradient(to bottom right, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%),
        /* 浅蓝紫色叠加 */
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
        /* 中心光晕 */
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

/* 暗黑模式 Hero 背景 - 增强深度和对比度 */
.dark .hero-bg {
    background:
        /* 主渐变层 - 暗黑版本，更深邃的颜色 */
        linear-gradient(135deg, #09090b 0%, #0f0f11 25%, #1a1a1d 50%, #262630 75%, #1a1a1d 100%),
        /* 暗黑蓝紫色叠加 - 增强饱和度 */
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(168, 85, 247, 0.18) 0%, transparent 50%),
        /* 中心光晕 - 更强的中心光源 */
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
}

/* 几何装饰图形 - 浅色版本 */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* 渐变网格背景 */
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.02) 0%, transparent 60%),
        /* 多层网格线 */
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.01) 2px, transparent 2px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.01) 2px, transparent 2px);
    background-size:
        100% 100%, 100% 100%, 100% 100%,
        40px 40px, 40px 40px,
        120px 120px, 120px 120px;
    opacity: 0.4;
    animation: gridShift 20s ease-in-out infinite;
}

/* 暗黑模式网格图案 */
.dark .hero-bg::before {
    background-image:
        /* 渐变网格背景 - 暗黑版 */
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
        /* 多层网格线 */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(167, 139, 250, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(167, 139, 250, 0.03) 2px, transparent 2px);
    opacity: 0.6;
}

/* 网格动画 */
@keyframes gridShift {
    0%, 100% {
        background-position:
            0% 0%, 100% 100%, 50% 50%,
            0 0, 0 0, 0 0, 0 0;
    }
    33% {
        background-position:
            10% 10%, 90% 90%, 60% 40%,
            20px 20px, 20px 20px, 60px 60px, 60px 60px;
    }
    66% {
        background-position:
            -10% -10%, 110% 110%, 40% 60%,
            -20px -20px, -20px -20px, -60px -60px, -60px -60px;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 16%;
    right: 16%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

/* Logo 容器 - 简洁无背景 */
.glass-logo {
    position: relative;
    width: 12rem;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

/* Logo 图片 */
.glass-logo img {
    width: 12rem;
    height: 12rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.15));
    transition: filter 0.3s ease;
}

.glass-logo:hover img {
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.3));
}

/* 更新文字颜色以适应浅色背景 */
.hero-text {
    color: #1e293b;
}

/* 暗黑模式文字颜色 */
.dark .hero-text {
    color: #e2e8f0;
}

.hero-text-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #3730a3 50%, #1e293b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

/* 暗黑模式渐变文字 - 增强对比度和视觉冲击力 */
.dark .hero-text-gradient {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #e0e7ff 25%,
        #c7d2fe 50%,
        #a5b4fc 75%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero 区域内标签样式 - 浅色版 */
.hero-tag {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 暗黑模式标签样式 */
.dark .hero-tag {
    background: rgba(39, 39, 42, 0.8);
    border: 1px solid rgba(82, 82, 82, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(63, 63, 70, 0.8);
}

/* 功能特性卡片在浅色背景上的样式 */
.hero-feature-tag {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 暗黑模式功能标签 - 增强对比度和可读性 */
.dark .hero-feature-tag {
    background: rgba(39, 39, 42, 0.95);
    border: 1px solid rgba(82, 82, 82, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
/* 暗黑模式下标签文字颜色 */
.dark .hero-feature-tag span {
    color: #e5e7eb !important;
    font-weight: 500;
}
/* 暗黑模式下图标颜色调整 */
.dark .hero-feature-tag .text-blue-600 {
    color: #60a5fa !important;
}
.dark .hero-feature-tag .text-green-600 {
    color: #34d399 !important;
}
.dark .hero-feature-tag .text-purple-600 {
    color: #a78bfa !important;
}

/* 按钮在浅色背景上的样式 */
.hero-button-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 暗黑模式按钮 - 增强玻璃质感和对比度 */
.dark .hero-button-light {
    background: rgba(39, 39, 42, 0.95);
    border: 1px solid rgba(82, 82, 82, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(63, 63, 70, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.dark .hero-button-light:hover {
    background: rgba(63, 63, 70, 0.98);
    border-color: rgba(107, 114, 128, 0.8);
    box-shadow:
        0 8px 12px -1px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(82, 82, 82, 0.6);
}

/* 装饰元素 - 浅色版浮动符号 */
.decoration-symbol {
    position: absolute;
    font-size: 2rem;
    color: rgba(99, 102, 241, 0.3);
    animation: float 8s ease-in-out infinite;
    user-select: none;
}

.decoration-symbol.emoji-1 {
    top: 16%;
    right: 16%;
    animation-delay: 0s;
    font-size: 3rem;
    opacity: 0.1;
}

.decoration-symbol.emoji-2 {
    top: 25%;
    left: 8%;
    animation-delay: 2s;
    font-size: 2rem;
    opacity: 0.12;
}

.decoration-symbol.emoji-3 {
    bottom: 35%;
    right: 12%;
    animation-delay: 4s;
    font-size: 2.5rem;
    opacity: 0.11;
}

/* 新增浮动emoji样式 */
.floating-emoji {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(99, 102, 241, 0.25);
    user-select: none;
    pointer-events: none;
}

.floating-emoji.emoji-4 {
    top: 10%;
    left: 15%;
    animation: float-diagonal 12s ease-in-out infinite;
    font-size: 1.8rem;
    opacity: 0.15;
    animation-delay: 0s;
}

.floating-emoji.emoji-5 {
    top: 20%;
    left: 85%;
    animation: float-vertical 10s ease-in-out infinite;
    font-size: 1.6rem;
    opacity: 0.18;
    animation-delay: 1s;
}

.floating-emoji.emoji-6 {
    top: 15%;
    left: 5%;
    animation: float-diagonal-reverse 14s ease-in-out infinite;
    font-size: 1.4rem;
    opacity: 0.14;
    animation-delay: 2s;
}

.floating-emoji.emoji-7 {
    top: 30%;
    right: 8%;
    animation: float-vertical 8s ease-in-out infinite;
    font-size: 1.3rem;
    opacity: 0.16;
    animation-delay: 3s;
}

.floating-emoji.emoji-8 {
    top: 40%;
    left: 12%;
    animation: float-slow 16s ease-in-out infinite;
    font-size: 1.5rem;
    opacity: 0.13;
    animation-delay: 4s;
}

.floating-emoji.emoji-9 {
    top: 25%;
    right: 25%;
    animation: float-diagonal 11s ease-in-out infinite;
    font-size: 1.7rem;
    opacity: 0.15;
    animation-delay: 5s;
}

.floating-emoji.emoji-10 {
    top: 35%;
    right: 5%;
    animation: float-vertical 9s ease-in-out infinite;
    font-size: 1.4rem;
    opacity: 0.17;
    animation-delay: 6s;
}

.floating-emoji.emoji-11 {
    top: 50%;
    left: 20%;
    animation: float-diagonal-reverse 13s ease-in-out infinite;
    font-size: 1.6rem;
    opacity: 0.14;
    animation-delay: 7s;
}

.floating-emoji.emoji-12 {
    top: 45%;
    right: 15%;
    animation: float-vertical 7s ease-in-out infinite;
    font-size: 1.3rem;
    opacity: 0.16;
    animation-delay: 8s;
}

.floating-emoji.emoji-13 {
    top: 60%;
    left: 10%;
    animation: float-diagonal 15s ease-in-out infinite;
    font-size: 1.5rem;
    opacity: 0.15;
    animation-delay: 9s;
}

.floating-emoji.emoji-14 {
    top: 55%;
    right: 8%;
    animation: float-vertical 12s ease-in-out infinite;
    font-size: 1.4rem;
    opacity: 0.18;
    animation-delay: 10s;
}

.floating-emoji.emoji-15 {
    top: 70%;
    left: 25%;
    animation: float-slow 18s ease-in-out infinite;
    font-size: 1.6rem;
    opacity: 0.13;
    animation-delay: 11s;
}

.floating-emoji.emoji-16 {
    top: 65%;
    right: 20%;
    animation: float-diagonal-reverse 10s ease-in-out infinite;
    font-size: 1.7rem;
    opacity: 0.15;
    animation-delay: 12s;
}

.floating-emoji.emoji-17 {
    top: 75%;
    left: 15%;
    animation: float-vertical 11s ease-in-out infinite;
    font-size: 1.4rem;
    opacity: 0.17;
    animation-delay: 13s;
}

.floating-emoji.emoji-18 {
    top: 80%;
    right: 12%;
    animation: float-diagonal 14s ease-in-out infinite;
    font-size: 1.5rem;
    opacity: 0.14;
    animation-delay: 14s;
}

.floating-emoji.emoji-19 {
    top: 85%;
    left: 8%;
    animation: float-vertical 9s ease-in-out infinite;
    font-size: 1.3rem;
    opacity: 0.16;
    animation-delay: 15s;
}

.floating-emoji.emoji-20 {
    top: 72%;
    right: 18%;
    animation: float-slow 17s ease-in-out infinite;
    font-size: 1.6rem;
    opacity: 0.15;
    animation-delay: 16s;
}

/* 新的浮动动画 */
@keyframes float-vertical {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-8px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes float-diagonal {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(10px, -15px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-5px, -8px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(15px, -20px) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes float-diagonal-reverse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(-10px, -15px) rotate(-90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(5px, -8px) rotate(-180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-15px, -20px) rotate(-270deg);
        opacity: 0.5;
    }
}

/* 暗黑模式装饰符号 */
.dark .decoration-symbol {
    color: rgba(167, 139, 250, 0.5);
}

.dark .decoration-symbol.emoji-1 {
    opacity: 0.2;
}

.dark .decoration-symbol.emoji-2 {
    opacity: 0.22;
}

.dark .decoration-symbol.emoji-3 {
    opacity: 0.21;
}

/* 暗黑模式浮动emoji */
.dark .floating-emoji {
    color: rgba(167, 139, 250, 0.4);
    opacity: 0.6;
}

/* 法条文字装饰 - 浅色版 */
.law-text-decoration {
    position: absolute;
    top: 25%;
    left: 2rem;
    font-size: 0.75rem;
    color: rgba(55, 65, 81, 0.15);
    font-family: monospace;
    line-height: 1.8;
    transform: rotate(-6deg);
    user-select: none;
}

/* 暗黑模式法条文字装饰 */
.dark .law-text-decoration {
    color: rgba(226, 232, 240, 0.15);
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-5px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.5;
    }
}

/* 缓慢脉冲 */
@keyframes pulse {
    0%, 100% {
        opacity: 0.06;
        transform: scale(1);
    }
    50% {
        opacity: 0.12;
        transform: scale(1.1);
    }
}

/* 中心光晕效果 - 浅色版 */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite, glowRotate 20s linear infinite;
    pointer-events: none;
}

/* 暗黑模式中心光晕 - 增强视觉层次 */
.dark .hero-glow {
    background:
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.22) 0%, transparent 40%),
        radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
    filter: blur(1px);
}

/* 光晕旋转动画 */
@keyframes glowRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 粒子效果 - 浅色版 */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 0.375rem; height: 0.375rem;
    top: 20%; left: 30%; animation-delay: 0s;
    background: rgba(99, 102, 241, 0.25);
}
.particle:nth-child(2) {
    width: 0.25rem; height: 0.25rem;
    top: 60%; left: 70%; animation-delay: 3s;
    background: rgba(139, 92, 246, 0.2);
}
.particle:nth-child(3) {
    width: 0.5rem; height: 0.5rem;
    top: 40%; left: 80%; animation-delay: 6s;
    background: rgba(59, 130, 246, 0.18);
}
.particle:nth-child(4) {
    width: 0.3125rem; height: 0.3125rem;
    top: 80%; left: 20%; animation-delay: 9s;
    background: rgba(99, 102, 241, 0.22);
}
.particle:nth-child(5) {
    width: 0.4375rem; height: 0.4375rem;
    top: 30%; left: 60%; animation-delay: 12s;
    background: rgba(139, 92, 246, 0.24);
}
.particle:nth-child(6) {
    width: 0.28125rem; height: 0.28125rem;
    top: 70%; left: 40%; animation-delay: 15s;
    background: rgba(59, 130, 246, 0.2);
}

/* 暗黑模式粒子 */
.dark .particle {
    box-shadow: 0 0 10px currentColor;
}

.dark .particle:nth-child(1) { background: rgba(167, 139, 250, 0.5); }
.dark .particle:nth-child(2) { background: rgba(196, 181, 253, 0.45); }
.dark .particle:nth-child(3) { background: rgba(139, 92, 246, 0.48); }
.dark .particle:nth-child(4) { background: rgba(167, 139, 250, 0.52); }
.dark .particle:nth-child(5) { background: rgba(196, 181, 253, 0.46); }
.dark .particle:nth-child(6) { background: rgba(139, 92, 246, 0.5); }

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(10px) translateX(-10px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-10px) translateX(20px);
        opacity: 0.5;
    }
}

/* AI 特效光晕 */
.ai-glow {
    position: relative;
    overflow: hidden;
}

.ai-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #8b5cf6);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ai-glow:hover::before {
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 功能卡片悬停效果 */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}
.feature-card:hover::before {
    left: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.1), 0 8px 10px -6px rgba(139, 92, 246, 0.1);
}

/* 下载按钮科技感效果 */
.tech-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
}
.tech-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}
.tech-button:hover::before {
    left: 100%;
}
.tech-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}
.tech-button:hover::after {
    width: 300px;
    height: 300px;
}
.tech-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.2);
}

/* 暗黑模式下的下载按钮 - 增强科技感 */
.dark .tech-button {
    box-shadow:
        0 4px 14px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.dark .tech-button:hover {
    box-shadow:
        0 8px 25px 0 rgba(0, 0, 0, 0.6),
        0 0 20px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.dark .tech-button::before {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* 确保渐变背景正确显示 */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* 确保渐变文字正确显示 */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* 背景遮罩渐变 */
.mask-image-gradient {
    mask-image: radial-gradient(ellipse 80% 50% at 50% 20%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 20%, black 50%, transparent 100%);
}

/* 额外的背景层叠效果 */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 16%;
    right: 16%;
    width: 120px;
    height: 120px;
    background:
        radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite, float 8s ease-in-out infinite;
}

/* 暗黑模式额外光晕 */
.dark .hero-bg::after {
    background:
        radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(196, 181, 253, 0.08) 0%, transparent 50%);
}

/* 增强浮动动画的流畅性 */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    20% {
        transform: translateY(-18px) translateX(12px) rotate(72deg);
        opacity: 0.5;
    }
    40% {
        transform: translateY(12px) translateX(-8px) rotate(144deg);
        opacity: 0.4;
    }
    60% {
        transform: translateY(-10px) translateX(16px) rotate(216deg);
        opacity: 0.5;
    }
    80% {
        transform: translateY(8px) translateX(-12px) rotate(288deg);
        opacity: 0.45;
    }
}