/* 
 * 未来感电缆行业商城 - 主样式表
 * 设计风格：科技感、未来感、极简主义，体现现代化和专业感
 */

/* ====== 全局变量 ====== */
:root {
    /* 主色调 - 未来科技感 */
    --primary-blue: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --primary-gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    
    /* 辅助色 */
    --success-green: #00cc66;
    --success-dark: #00994d;
    --warning-orange: #ff9900;
    --warning-dark: #cc7a00;
    --danger-red: #ff3333;
    --danger-dark: #cc0000;
    
    /* 中性色 */
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #8899a6;
    --dark-gray: #292f33;
    --black: #0a0a0a;
    
    /* 未来科技色 */
    --tech-blue: #00ccff;
    --tech-purple: #9966ff;
    --tech-green: #00ff99;
    --tech-orange: #ff6600;
    
    /* 渐变 */
    --gradient-tech: linear-gradient(135deg, var(--tech-blue), var(--tech-purple));
    --gradient-cable: linear-gradient(135deg, var(--primary-blue), var(--tech-green));
    --gradient-power: linear-gradient(135deg, var(--primary-blue), var(--tech-blue));
    --gradient-fire: linear-gradient(135deg, var(--warning-orange), var(--danger-red));
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    --shadow-tech: 0 0 20px rgba(0, 204, 255, 0.3);
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 50%;
    
    /* 间距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====== 全局重置 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* 导航链接样式 - 移除导航相关下划线 */
.nav-item,
.nav-item a,
.futuristic-nav a {
    text-decoration: none !important;
}

/* ====== 通用类 ====== */
.text-blue { color: var(--primary-blue); }
.text-green { color: var(--success-green); }
.text-orange { color: var(--warning-orange); }
.text-red { color: var(--danger-red); }
.text-gray { color: var(--medium-gray); }
.text-dark { color: var(--dark-gray); }
.text-black { color: var(--black); }
.text-tech-blue { color: var(--tech-blue); }
.text-tech-purple { color: var(--tech-purple); }
.text-tech-green { color: var(--tech-green); }

.bg-blue { background: var(--primary-blue); }
.bg-green { background: var(--success-green); }
.bg-orange { background: var(--warning-orange); }
.bg-red { background: var(--danger-red); }
.bg-gray { background: var(--medium-gray); }
.bg-dark { background: var(--dark-gray); }
.bg-light { background: var(--light-gray); }
.bg-tech { background: var(--gradient-tech); }
.bg-cable { background: var(--gradient-cable); }

/* ====== 全屏加载动画 ====== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-tech);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    animation: pulse 2s infinite;
}

.loader-icon i {
    font-size: 2rem;
    color: var(--white);
}

.loader-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 204, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(0, 204, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 204, 255, 0); }
}

/* ====== 顶部信息栏 ====== */
.futuristic-top-bar {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ====== 主头部 ====== */
.futuristic-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

/* Logo样式 */
.header-logo {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
}

.logo-link:hover {
    transform: translateY(-3px);
}

.logo-link::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--tech-blue);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-link:hover::before {
    opacity: 1;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-tech);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-tech);
    position: relative;
    overflow: hidden;
}

.logo-icon::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;
}

.logo-link:hover .logo-icon::before {
    left: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--space-xs);
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 400;
}

/* 搜索框 */
.header-search {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.search-container {
    position: relative;
}

.search-box {
    display: flex;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-tech);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.search-box:focus-within {
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.1);
}

.search-box:focus-within::before {
    opacity: 0.1;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: var(--tech-blue);
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: var(--white);
    transition: background 0.3s ease;
}

.search-input:focus {
    background: var(--light-gray);
}

.search-btn {
    background: var(--gradient-tech);
    color: var(--white);
    border: none;
    padding: 0 2.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn::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;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-tech);
}

/* 用户区域 */
.header-user {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.user-cart {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--dark-gray);
    position: relative;
    transition: transform 0.3s ease;
}

.user-cart:hover {
    transform: translateY(-2px);
}

.cart-link {
    position: relative;
    text-decoration: none;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: var(--tech-blue);
}

.cart-icon {
    font-size: 1.6rem;
    color: var(--tech-blue);
    transition: transform 0.3s ease;
}

.cart-link:hover .cart-icon {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-red);
    color: var(--white);
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.cart-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.cart-total {
    font-size: 0.9rem;
    color: var(--danger-red);
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.profile-icon {
    font-size: 2.2rem;
    color: var(--tech-blue);
    transition: transform 0.3s ease;
}

.user-profile:hover .profile-icon {
    transform: scale(1.1);
}

.profile-greeting {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    color: var(--dark-gray);
}

.profile-actions {
    font-size: 0.8rem;
    display: flex;
    gap: var(--space-xs);
}

.profile-actions a {
    text-decoration: none;
    color: var(--tech-blue);
    transition: color 0.3s ease;
    padding: 0.1rem 0.3rem;
    border-radius: var(--radius-sm);
}

.profile-actions a:hover {
    color: var(--primary-dark);
    background: rgba(0, 204, 255, 0.1);
}

/* ====== 主导航 ====== */
.futuristic-nav {
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-blue), var(--tech-purple)); /* 优雅的渐变背景 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 56px;
    z-index: 998;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
}

.futuristic-nav::-webkit-scrollbar {
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 var(--space-md);
    min-width: max-content;
}

.nav-item {
    position: relative; /* 为下拉菜单提供定位上下文 */
    padding: 1.2rem var(--space-lg);
    text-decoration: none !important; /* 移除下划线 */
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: var(--radius-lg);
    letter-spacing: 0.2px; /* 增加字母间距提升优雅感 */
    font-size: 1.05rem; /* 稍微增大字体 */
    z-index: 1001; /* 确保导航项在下拉菜单之上 */
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 70%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15); /* 悬停时的半透明背景 */
    transform: translateY(-2px); /* 悬停时轻微上移效果 */
}

.nav-item.active {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2); /* 活跃项更明显的背景 */
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.97); /* 更清晰的背景 */
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    min-width: 450px;
    padding: var(--space-lg);
    display: none;
    z-index: 10000; /* 提高z-index确保显示在最顶层 */
    border: 1px solid rgba(0, 0, 0, 0.05); /* 更细腻的边框 */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px); /* 更强的毛玻璃效果 */
    animation: slideDownFade 0.3s ease forwards; /* 添加动画 */
    /* 确保下拉菜单不会被其他元素遮挡 */
    overflow: visible;
}

@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    display: block;
    animation: slideDownFade 0.3s ease forwards;
}

.dropdown-column {
    flex: 1;
    padding: 0 var(--space-sm);
}

.dropdown-column h4 {
    color: var(--tech-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.dropdown-column h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--tech-blue);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none !important; /* 移除下划线 */
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1), rgba(153, 102, 255, 0.1)); /* 渐变悬停效果 */
    color: var(--tech-blue);
    padding-left: var(--space-md);
    transform: translateX(5px); /* 悬停时轻微移动 */
}

.dropdown-menu a:hover::before {
    left: 100%;
}

/* ====== 主要内容区域 ====== */
.futuristic-content {
    background: var(--white);
}

/* ====== 英雄区域 ====== */
.hero-fullscreen {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: relative;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
    33% { background: linear-gradient(135deg, #059669, #047857); }
    66% { background: linear-gradient(135deg, #f59e0b, #d97706); }
    100% { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, var(--white), var(--tech-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: var(--space-xl);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--tech-green);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ====== 快速导航区域 ====== */
.quick-nav-section {
    background: var(--light-gray);
    padding: var(--space-2xl) 0;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.nav-item-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.nav-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--tech-blue);
}

.nav-item-card:hover::before {
    transform: scaleX(1);
}

.nav-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.nav-icon.high-voltage {
    background: var(--gradient-power);
}

.nav-icon.low-voltage {
    background: linear-gradient(135deg, var(--success-green), var(--success-dark));
}

.nav-icon.fire-resistant {
    background: var(--gradient-fire);
}

.nav-icon.special-cable {
    background: linear-gradient(135deg, var(--tech-purple), #6633cc);
}

.nav-icon.procurement {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.nav-icon.wiki {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.nav-item-card:hover .nav-icon {
    transform: scale(1.1);
}

.nav-item-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

.nav-item-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.nav-item-card a {
    color: var(--tech-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-item-card a:hover {
    color: var(--primary-dark);
    padding-left: var(--space-xs);
}

/* ====== 产品展示区域 ====== */
.products-showcase-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-tech);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    text-align: center;
}

.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.product-showcase-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
}

.product-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--tech-blue);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-showcase-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--tech-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: var(--success-green);
}

.product-badge.popular {
    background: var(--warning-orange);
}

.product-badge.special {
    background: var(--danger-red);
}

.product-badge.custom {
    background: var(--tech-purple);
}

.product-info {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.product-features {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.product-price {
    margin-bottom: var(--space-md);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--danger-red);
    margin-right: var(--space-sm);
}

.original-price {
    font-size: 1rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
}

/* ====== 工程案例展示 ====== */
.case-studies-showcase-section {
    background: var(--light-gray);
    padding: var(--space-3xl) 0;
}

.case-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.case-showcase-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.case-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-showcase-card:hover .case-image img {
    transform: scale(1.1);
}

.case-category-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.case-category-badge.power-grid {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
}

.case-category-badge.building {
    background: linear-gradient(135deg, var(--success-green), var(--success-dark));
}

.case-category-badge.industrial {
    background: linear-gradient(135deg, var(--tech-purple), #6633cc);
}

.case-info {
    padding: var(--space-lg);
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

.case-desc {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.case-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ====== 专业服务展示 ====== */
.services-showcase-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.service-showcase-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--tech-blue);
}

.service-showcase-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2.5rem;
    color: var(--tech-blue);
    transition: all 0.3s ease;
    margin-bottom: var(--space-lg);
}

.service-showcase-card:hover .service-icon {
    background: var(--gradient-tech);
    color: var(--white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--dark-gray);
}

.service-desc {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: left;
}

/* ====== 数据统计区域 ====== */
.stats-section {
    background: var(--gradient-tech);
    padding: var(--space-2xl) 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ====== 页脚 ====== */
.futuristic-footer {
    background: var(--dark-gray);
    color: var(--white);
    margin-top: var(--space-3xl);
}

.footer-top {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--white);
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-desc {
    color: var(--medium-gray);
    font-size: 1rem;
}

.footer-contact {
    color: var(--medium-gray);
}

.contact-item {
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-item i {
    color: var(--tech-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--tech-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: var(--space-xs);
}

.footer-links a:hover::before {
    width: 100%;
}

.qr-code {
    text-align: center;
}

.qr-text {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: var(--space-xs);
}

.social-links {
    justify-content: center;
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.social-link::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;
    z-index: -1;
}

.social-link:hover {
    background: var(--tech-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-tech);
}

.social-link:hover::before {
    left: 100%;
}

.footer-bottom {
    padding: var(--space-lg) 0;
}

.copyright {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-links-bottom {
    display: flex;
    gap: var(--space-lg);
}

.footer-links-bottom a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links-bottom a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--tech-blue);
    transition: width 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--white);
}

.footer-links-bottom a:hover::before {
    width: 100%;
}

/* ====== 返回顶部按钮 ====== */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-tech);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-tech);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.back-to-top::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;
    z-index: -1;
}

.back-to-top:hover::before {
    left: 100%;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
}

/* ====== 按钮样式 ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::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;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-tech);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--tech-blue);
    color: var(--tech-blue);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-tech);
}

/* ====== 卡片悬停效果 ====== */
.card-hovered {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* ====== 动画效果 ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* ====== 悬停效果 ====== */
.hovered {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ====== 现代化滚动条 ====== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}

/* ====== 光效动画 ====== */
.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--tech-blue);
    }
    to {
        box-shadow: 0 0 20px var(--tech-blue);
    }
}