

/* ============================================
   配色方案 - Color Scheme (自动生成)
   ============================================ */

/* 方案名称: 默认配色 */

/* 全局颜色覆盖 */
body {
    background-color: #0f0f23 !important;
    color: #ffffff !important;
}

/* 模板01: 极简现代风覆盖 */
.template-01 {
    background-color: #0f0f23 !important;
    color: #ffffff !important;
}

.template-01 .logo-01,
.template-01 .nav-link-01:hover,
.template-01 .hero-title-01,
.template-01 .section-title-01,
.template-01 .product-name-01,
.template-01 .contact-title-01,
.template-01 .contact-value-01 {
    color: #00FF9F !important;
}

.template-01 .nav-link-01,
.template-01 .hero-tagline-01,
.template-01 .hero-subtitle-01,
.template-01 .section-label-01,
.template-01 .about-text-01,
.template-01 .product-desc-01,
.template-01 .case-client-01,
.template-01 .contact-label-01,
.template-01 .footer-text-01 {
    color: #FF1493 !important;
}

/* 模板02: 新野兽派覆盖 */
.template-02 {
    background-color: #0f0f23 !important;
    color: #ffffff !important;
}

.template-02 .logo-02,
.template-02 .hero-title-02,
.template-02 .section-title-02,
.template-02 .product-name-02,
.template-02 .case-title-02,
.template-02 .contact-title-02 {
    color: #ffffff !important;
}

.template-02 .header-top-02,
.template-02 .hero-tag-02,
.template-02 .product-card-02 {
    background-color: #00FF9F !important;
    color: #0f0f23 !important;
}

.template-02 .nav-link-cta-02 {
    background-color: #FFD700 !important;
}

/* 模板03-10: 基础颜色覆盖 */
.template-03, .template-04, .template-05, 
.template-06, .template-07, .template-08,
.template-09, .template-10 {
    background-color: #0f0f23 !important;
    color: #ffffff !important;
}

/* 通用链接和标题覆盖 */
a {
    color: #00FF9F !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #00FF9F !important;
}

.template-04 {
    font-family: 'Share Tech Mono', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.y2k-grid-04 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.header-04 {
    position: relative;
    z-index: 1000;
}

.marquee-04 {
    background: #000;
    color: #0ff;
    padding: 0.75rem;
    overflow: hidden;
    border-bottom: 3px solid #f0f;
}

.marquee-04 span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

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

.logo-04 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0ff;
    text-decoration: none;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
    letter-spacing: 0.1em;
}

.nav-links-04 {
    display: flex;
    gap: 2rem;
}

.nav-link-04 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #f0f;
}

.nav-link-04:hover {
    background: #f0f;
    border-color: #f0f;
    box-shadow: 0 0 20px #f0f;
}

.nav-link-cta-04 {
    background: linear-gradient(135deg, #f0f, #0ff);
    border: none;
    color: #000;
}

.nav-link-cta-04:hover {
    box-shadow: 0 0 30px #f0f, 0 0 60px #0ff;
}

.hero-04 {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title-04 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f0f, #0ff, #ff0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch-04 {
    position: relative;
    display: inline-block;
}

.glitch-04::before,
.glitch-04::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-04::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: #f0f;
    z-index: -1;
}

.glitch-04::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: #0ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 3px); }
    100% { clip-path: inset(50% 0 30% 0); transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -3px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 3px); }
}

.hero-subtitle-04 {
    font-size: 1.25rem;
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
    margin-bottom: 2rem;
}

.hero-badges-04 {
    display: flex;
    gap: 1rem;
}

.badge-04 {
    background: #ff0;
    color: #000;
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    border: 2px solid #000;
    animation: pulse 1s ease-in-out infinite;
}

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

.cube-04 {
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate3d 10s linear infinite;
    margin: 0 auto;
}

@keyframes rotate3d {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.about-04 {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-panel-04 {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #f0f;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(240, 0, 255, 0.5);
}

.about-title-04 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #0ff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px #0ff;
}

.about-text-04 {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 2rem;
}

.about-stats-04 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-04 {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid #0ff;
}

.stat-num-04 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #f0f;
    display: block;
    text-shadow: 0 0 10px #f0f;
}

.stat-label-04 {
    font-size: 0.875rem;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.products-04 {
    padding: 4rem 2rem;
}

.section-title-04 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: #ff0;
    text-shadow: 0 0 20px #ff0;
    margin-bottom: 3rem;
}

.products-grid-04 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card-04 {
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #0ff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card-04:hover {
    transform: translateY(-10px) rotate(-2deg);
    border-color: #f0f;
    box-shadow: 0 10px 40px rgba(240, 0, 255, 0.5);
}

.product-image-04 {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #0ff;
}

.product-info-04 {
    padding: 1.5rem;
}

.product-name-04 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0;
    margin-bottom: 0.75rem;
}

.product-desc-04 {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-tag-04 {
    display: inline-block;
    background: #f0f;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.cases-04 {
    padding: 4rem 2rem;
}

.cases-grid-04 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card-04 {
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #0ff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card-04:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #f0f;
    box-shadow: 0 10px 40px rgba(240, 0, 255, 0.5);
}

.case-frame-04 {
    border-bottom: 3px solid #0ff;
}

.case-image-04 {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info-04 {
    padding: 1.5rem;
}

.case-tag-04 {
    display: inline-block;
    background: #f0f;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.case-title-04 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0;
    margin-bottom: 0.75rem;
}

.case-desc-04 {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-results-04 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.result-item-04 {
    display: inline-block;
    background: #0ff;
    color: #000;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.contact-04 {
    padding: 4rem 2rem;
}

.contact-panel-04 {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #ff0;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.5);
}

.contact-title-04 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    color: #0ff;
    text-shadow: 0 0 20px #0ff;
    margin-bottom: 2rem;
}

.contact-grid-04 {
    display: grid;
    gap: 2rem;
}

.contact-item-04 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #f0f;
    background: rgba(240, 0, 255, 0.1);
}

.contact-icon-04 {
    font-size: 2rem;
    color: #f0f;
}

.contact-value-04 {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0ff;
    text-decoration: none;
}

.footer-04 {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 3px solid #f0f;
}

.footer-content-04 p {
    font-family: 'Orbitron', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
}


/* ============================================
   响应式适配 - Responsive Design
   ============================================ */

/* 平板设备适配 */
@media (max-width: 1024px) {
    body {
        padding: 0 1.5rem;
    }
}

/* 手机设备适配 */
@media (max-width: 768px) {
    body {
        padding: 0 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
}


/* ============================================
   性能优化 - Performance Optimization
   ============================================ */

/* 硬件加速优化 */
* {
    will-change: auto;
}

/* 优化滚动性能 */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 字体显示优化 */
body {
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 减少动画对性能的影响 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
