﻿/* /skin/css/css.css */
/* 基础样式与重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #111;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-list a:hover {
    color: #4ecdc4;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* 横幅轮播 */
.banner-section {
    margin-top: 70px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.banner-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.banner-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.banner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
}

.banner-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #4ecdc4;
}

/* 板块通用样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.section-title p {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* 下载注册板块 */
.download-section {
    background-color: #151515;
}

.download-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-item {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid #4ecdc4;
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.download-icon {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.download-item p {
    color: #aaa;
    margin-bottom: 25px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 系统介绍板块 */
.intro-section {
    background-color: #0f0f0f;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.intro-text p {
    margin-bottom: 20px;
    color: #ccc;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    background-color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #4ecdc4;
}

.feature-item span {
    color: #e0e0e0;
    font-weight: 500;
}

.intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* 公司风采板块 */
.showcase-section {
    background-color: #151515;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.showcase-item {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.showcase-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.showcase-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.showcase-item:hover .showcase-img-container img {
    transform: scale(1.1);
}

.showcase-text {
    padding: 20px;
}

.showcase-text h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.showcase-text p {
    color: #aaa;
    font-size: 0.95rem;
}

/* 产品展示板块 */
.product-section {
    background-color: #0f0f0f;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-item:hover .product-img-container img {
    transform: scale(1.1);
}

.product-item h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.product-item p {
    color: #aaa;
    font-size: 0.95rem;
}

/* 联系公司板块 */
.contact-section {
    background-color: #151515;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4ecdc4;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.contact-item p {
    color: #aaa;
}

.contact-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部样式 */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4ecdc4;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #4ecdc4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* 返回顶部按钮 */
#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

#toTop:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .intro-content,
    .contact-content {
        flex-direction: column;
    }
    
    .intro-image,
    .contact-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid #333;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner-section {
        height: 500px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .banner-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .banner-section {
        height: 400px;
        margin-top: 60px;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .download-item {
        min-width: 100%;
    }
}