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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #ff6b35;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    /* 标准化的渐变 */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-glow: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #00b8d4 25%, 
        var(--accent-color) 50%, 
        #ff8a65 75%, 
        var(--primary-color) 100%);
    
    /* 标准化的圆角 */
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --border-radius-xl: 50px;
    
    /* 标准化的阴影 */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(255, 107, 53, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* 标准化的过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 标准化的间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.loader-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo:hover {
    text-decoration: none;
}

/* 确保品牌链接没有下划线和其他链接效果 */
.nav-logo::after {
    display: none !important;
}

.nav-logo:focus {
    outline: none;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.brand-gradient {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #00b8d4 25%, 
        var(--accent-color) 50%, 
        #ff8a65 75%, 
        var(--primary-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 0.5px;
    
    /* 备用样式，用于不支持background-clip的浏览器 */
    color: var(--primary-color);
}

/* 支持background-clip的浏览器会应用透明文字 */
.brand-gradient::-webkit-input-placeholder {
    -webkit-text-fill-color: transparent;
}

/* 悬停效果 */
.nav-logo:hover .brand-gradient,
.footer-logo:hover .brand-gradient {
    animation-duration: 3s;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--accent-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--accent-color), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -200px); }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.1) 50%,
        transparent 70%
    );
    border-radius: 30px;
    filter: blur(20px);
    z-index: -1;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(0, 212, 255, 0.15),
        transparent,
        rgba(255, 107, 53, 0.15),
        transparent
    );
    border-radius: 50%;
    animation: titleRotate 10s linear infinite;
    z-index: -1;
    filter: blur(30px);
}

@keyframes titleRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.gradient-text-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite reverse;
}

/* 增强的标语特效 */
.title-line {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
}

.gradient-text-enhanced {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(45deg, 
        #00d4ff 0%, 
        #0099cc 25%, 
        #00d4ff 50%, 
        #0099cc 75%, 
        #00d4ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFlow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    position: relative;
}

.gradient-text-secondary-enhanced {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(45deg, 
        #ff6b35 0%, 
        #ff8c42 25%, 
        #ff6b35 50%, 
        #ff8c42 75%, 
        #ff6b35 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFlow 4s ease-in-out infinite reverse;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    position: relative;
}

.gradient-text-enhanced::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sparkle 3s linear infinite;
    z-index: 1;
}

.gradient-text-secondary-enhanced::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.9) 50%, 
        transparent 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sparkle 3s linear infinite reverse;
    z-index: 1;
}

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

@keyframes sparkle {
    0% { 
        background-position: -200% 0%;
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        background-position: 200% 0%;
        opacity: 0;
    }
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.subtitle-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary::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 var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 服务区域 */
.services {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: techGridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes techGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

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

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}

.floating-element:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.7;
    animation: streamFlow 6s ease-in-out infinite;
}

.stream-1 {
    top: 25%;
    width: 40%;
    left: -40%;
    animation-delay: 0s;
}

.stream-2 {
    top: 50%;
    width: 60%;
    right: -60%;
    animation-delay: 2s;
    animation-direction: reverse;
}

.stream-3 {
    top: 75%;
    width: 50%;
    left: -50%;
    animation-delay: 4s;
}

@keyframes streamFlow {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { transform: translateX(150vw); opacity: 0; }
}

.services .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 统一卡片基础样式 */
.card-base {
    background: var(--card-bg);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.card-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left var(--transition-slow);
}

.card-base:hover::before {
    left: 100%;
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large), var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-card {
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(0, 212, 255, 0.3), 
        transparent, 
        rgba(255, 107, 53, 0.3), 
        transparent);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        var(--shadow-card),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

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

.service-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-color),
        transparent,
        var(--accent-color),
        transparent
    );
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: iconRotate 3s linear infinite;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 
        0 15px 35px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* 产品展示区域 */
.products {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.products-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.product-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 107, 53, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 107, 53, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: particlesMove 25s linear infinite;
    opacity: 0.7;
}

@keyframes particlesMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-250px, -250px); }
}

.hologram-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: hologramShift 15s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes hologramShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.1); }
}

.energy-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: waveExpand 8s ease-out infinite;
}

.wave-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.wave-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    border-color: rgba(255, 107, 53, 0.3);
}

.wave-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes waveExpand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.6;
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--primary-color);
    top: 25%;
    left: 80%;
    animation-delay: 0s;
}

.shape-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    top: 70%;
    left: 15%;
    animation-delay: 3s;
}

.shape-square {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    transform: rotate(45deg);
    top: 40%;
    right: 10%;
    animation-delay: 6s;
}

.shape-hexagon {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 80%;
    right: 40%;
    animation-delay: 9s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 1;
    }
}

.products .container {
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.25),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.product-card.featured {
    border-color: var(--accent-color);
    box-shadow: 
        0 15px 40px rgba(255, 107, 53, 0.3),
        0 0 0 1px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    background: linear-gradient(135deg, 
        var(--card-bg) 0%, 
        rgba(255, 107, 53, 0.05) 100%);
}

.product-card.featured:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 
        0 25px 60px rgba(255, 107, 53, 0.4),
        0 0 0 2px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-badge span {
    display: inline-block;
    transform: translateY(5px);
}

.product-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.product-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: iconSpin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-card:hover .product-icon::before {
    opacity: 1;
}

.product-card.featured .product-icon {
    background: var(--gradient-secondary);
    box-shadow: 
        0 10px 30px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-card.featured:hover .product-icon {
    box-shadow: 
        0 15px 40px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.product-features {
    padding: 0 2.5rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1rem;
}

.product-pricing {
    padding: 1.5rem 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.price-range {
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-product {
    width: calc(100% - 5rem);
    margin: 1.5rem 2.5rem 2.5rem;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-product::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.6s ease;
}

.btn-product:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-product:hover::before {
    left: 100%;
}

.btn-product:active {
    transform: translateY(-1px) scale(1.01);
}

.product-card.featured .btn-product {
    background: var(--gradient-secondary);
    box-shadow: 
        0 4px 20px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-card.featured .btn-product:hover {
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 关于我们 */
.about {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    margin: 0;
}

.about-visual {
    position: relative;
    height: 400px;
}

.tech-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.server-rack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.server {
    width: 200px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    animation: serverPulse 2s ease-in-out infinite;
}

.server:nth-child(2) {
    animation-delay: 0.5s;
}

.server:nth-child(3) {
    animation-delay: 1s;
}

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

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    height: 2px;
    background: var(--gradient-primary);
    animation: lineMove 3s ease-in-out infinite;
}

.line:nth-child(1) {
    top: 20%;
    left: 0;
    width: 60%;
    animation-delay: 0s;
}

.line:nth-child(2) {
    top: 50%;
    right: 0;
    width: 70%;
    animation-delay: 1s;
}

.line:nth-child(3) {
    bottom: 20%;
    left: 10%;
    width: 80%;
    animation-delay: 2s;
}

@keyframes lineMove {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* 联系我们 */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info-center {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    min-width: 280px;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.contact-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* 页脚 */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-logo .logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 2px;
    background: repeating-linear-gradient(90deg,
        transparent 0px,
        transparent 80px,
        transparent 80px,
        rgba(0, 212, 255, 0.1) 85px,
        rgba(0, 212, 255, 0.3) 90px,
        rgba(0, 212, 255, 0.6) 95px,
        rgba(0, 212, 255, 0.9) 98px,
        rgba(255, 255, 255, 1) 100px,
        rgba(0, 212, 255, 0.9) 102px,
        rgba(0, 212, 255, 0.3) 105px,
        transparent 110px,
        transparent 160px
    );
    animation: meteorStream1 6s linear infinite;
    opacity: 1;
}

.footer-bottom::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 400%;
    height: 1px;
    background: repeating-linear-gradient(90deg,
        transparent 0px,
        transparent 120px,
        transparent 120px,
        rgba(255, 107, 53, 0.1) 125px,
        rgba(255, 107, 53, 0.4) 130px,
        rgba(255, 107, 53, 0.7) 135px,
        rgba(255, 107, 53, 0.9) 138px,
        rgba(255, 255, 255, 1) 140px,
        rgba(255, 107, 53, 0.9) 142px,
        rgba(255, 107, 53, 0.2) 145px,
        transparent 150px,
        transparent 200px
    );
    animation: meteorStream2 4s linear infinite;
    opacity: 1;
}

.footer-bottom p {
    margin: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.footer-bottom:hover p {
    color: var(--text-secondary);
}

.icp-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

@keyframes meteorStream1 {
    0% { 
        transform: translateX(0);
    }
    100% { 
        transform: translateX(-160px);
    }
}

@keyframes meteorStream2 {
    0% { 
        transform: translateX(0);
    }
    100% { 
        transform: translateX(-200px);
    }
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title::after {
        width: 150px;
        height: 150px;
        filter: blur(20px);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card.featured {
        transform: none;
    }

    .floating-shapes,
    .energy-waves {
        display: none;
    }

    .product-particles {
        background-size: 200px 200px;
        opacity: 0.5;
    }

    .hologram-grid {
        background-size: 60px 60px;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-large);
        padding: var(--spacing-xl) 0;
        border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    }

    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1.1rem;
        min-height: 44px; /* 确保触摸目标至少44px */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        padding: var(--spacing-sm); /* 增加触摸区域 */
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* 移动端调整logo大小 */
    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    /* 移动端简化渐变动画，提升性能 */
    .brand-gradient {
        animation-duration: 8s;
        letter-spacing: 0.3px;
    }
    
    .hero {
        padding-top: 68px; /* 调整为移动端导航栏高度 */
        min-height: calc(100vh); /* 调整最小高度 */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem; /* 稍微减小标题大小 */
        margin-bottom: var(--spacing-md); /* 减少底部间距 */
    }

    .hero-title::before,
    .hero-title::after {
        display: none; /* 移动端隐藏复杂背景效果 */
    }

    .gradient-text-enhanced,
    .gradient-text-secondary-enhanced {
        text-shadow: 
            0 2px 8px rgba(0, 212, 255, 0.4),
            0 0 20px rgba(0, 212, 255, 0.2); /* 简化阴影 */
    }

    .gradient-text-secondary-enhanced {
        text-shadow: 
            0 2px 8px rgba(255, 107, 53, 0.4),
            0 0 20px rgba(255, 107, 53, 0.2);
    }

    .gradient-text-enhanced::before,
    .gradient-text-secondary-enhanced::before {
        display: none; /* 移动端移除闪烁效果 */
    }

    .hero-subtitle {
        font-size: 1rem; /* 稍微减小副标题大小 */
        margin-bottom: var(--spacing-lg); /* 减少底部间距 */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md); /* 增加按钮间距以提升触摸体验 */
        margin-bottom: var(--spacing-lg); /* 减少底部间距 */
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        min-height: 48px; /* 确保触摸目标足够大 */
        justify-content: center;
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: var(--spacing-lg); /* 减少统计项间距 */
        flex-direction: row; /* 改为水平排列以节省空间 */
        flex-wrap: wrap; /* 允许换行 */
        justify-content: center;
    }
    
    .stat {
        min-width: 80px; /* 确保统计项有最小宽度 */
    }
    
    .stat-number {
        font-size: 2rem; /* 稍微减小数字大小 */
    }
    
    .stat-label {
        font-size: 0.9rem; /* 稍微减小标签大小 */
    }

    /* 返回顶部按钮移动端优化 */
    .back-to-top {
        bottom: var(--spacing-lg);
        right: var(--spacing-md);
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-elements,
    .data-streams {
        display: none;
    }

    .tech-grid {
        background-size: 40px 40px;
        opacity: 0.2;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .product-card.featured {
        transform: scale(1.02);
    }

    .product-card.featured:hover {
        transform: translateY(-8px) scale(1.03);
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        height: 300px;
    }

    .contact-info-center {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .contact-item {
        min-width: 100%;
        max-width: 400px;
        padding: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .icp-info {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0.5rem 0.8rem;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }
    
    /* 超小屏幕进一步优化 */
    .brand-gradient {
        animation-duration: 10s;
        letter-spacing: 0.2px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .service-card,
    .product-card {
        padding: 1.5rem;
    }

    .product-header {
        padding: 2rem 1.5rem 1rem;
    }

    .product-features {
        padding: 0 1.5rem;
    }

    .product-pricing {
        padding: 1rem 1.5rem;
    }

    .btn-product {
        width: calc(100% - 3rem);
        margin: 1rem 1.5rem 1.5rem;
        padding: 0.8rem;
        font-size: 1rem;
    }



    .about-visual {
        height: 250px;
    }

    .server {
        width: 150px;
        height: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .title-line {
        margin-bottom: 0.3rem;
    }

    .gradient-text-enhanced,
    .gradient-text-secondary-enhanced {
        text-shadow: 
            0 1px 4px rgba(0, 212, 255, 0.5),
            0 0 10px rgba(0, 212, 255, 0.3);
    }

    .gradient-text-secondary-enhanced {
        text-shadow: 
            0 1px 4px rgba(255, 107, 53, 0.5),
            0 0 10px rgba(255, 107, 53, 0.3);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-glow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .product-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-product:hover {
        transform: none;
    }
    
    .service-card:active,
    .product-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary:active,
    .btn-secondary:active,
    .btn-product:active {
        transform: scale(0.95);
    }
}
