/* ========================================
   科鲁德官网 - 科技感全局样式
   版本: v1.0
   日期: 2026-03-07
   作者: 云小七
   ======================================== */

/* 全局背景 - 深空蓝渐变 */
body {
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 50%, #0f172a 100%) !important;
    background-attachment: fixed !important;
    color: #ffffff !important;
}

/* 页面容器透明化 */
.ast-container {
    background: transparent !important;
}

/* 玻璃拟态卡片 - 通用 */
.glass-card,
.elementor-widget-container,
.wp-block-group {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 8px 32px 0 rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* 卡片悬停效果 */
.glass-card:hover,
.elementor-widget-container:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 12px 40px 0 rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
}

/* 科技青边框发光 */
.glow-border {
    position: relative !important;
}

.glow-border::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(45deg, #00d4ff, #a855f7, #00d4ff) !important;
    border-radius: 18px !important;
    z-index: -1 !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
}

.glow-border:hover::before {
    opacity: 0.5 !important;
}

/* 标题样式 */
h1, h2, h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

h1 {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* 正文文字 */
p, span, li {
    color: #94a3b8 !important;
}

/* 链接样式 */
a {
    color: #00d4ff !important;
    transition: all 0.3s ease !important;
}

a:hover {
    color: #a855f7 !important;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5) !important;
}

/* 按钮样式 - 科技风 */
.btn-tech,
button[type="submit"],
.elementor-button {
    background: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-tech:hover,
button[type="submit"]:hover,
.elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5) !important;
}

/* 导航栏 - 玻璃拟态 */
header.site-header,
.ast-primary-header-bar {
    background: rgba(10, 10, 21, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 页脚 */
footer.site-footer {
    background: rgba(10, 10, 21, 0.95) !important;
    border-top: 1px solid rgba(0, 212, 255, 0.2) !important;
}

/* 输入框 */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
}

input:focus,
textarea:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
    outline: none !important;
}

/* 分割线 */
hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent) !important;
}

/* 滚动条 - 科技风 */
::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background: #0a0a15 !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #a855f7) !important;
    border-radius: 4px !important;
}

/* Elementor 特定样式覆盖 */
.elementor-section {
    background: transparent !important;
}

.elementor-widget-wrap {
    background: transparent !important;
}

/* 粒子背景容器 */
#particles-js {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* 动画效果 */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px #00d4ff, 0 0 10px #00d4ff, 0 0 15px #00d4ff;
    }
    50% {
        box-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px #00d4ff;
    }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* 数据数字高亮 */
.data-number {
    font-size: 3rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #00d4ff, #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* 服务图标容器 */
.service-icon {
    width: 80px !important;
    height: 80px !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    color: #00d4ff !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.service-icon:hover {
    background: rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4) !important;
}
