/* 全局样式 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00a0e9;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1f36;
    --gray-bg: #f5f6f8;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 顶部信息栏 */
.top-bar {
    background-color: var(--dark-bg);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

.top-bar-left i {
    margin-right: 5px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    color: #fff;
    text-decoration: none;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 30px 20px;
    display: block;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a i {
    font-size: 12px;
    margin-left: 4px;
}

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

/* 下拉菜单 */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dropdown-category h4 {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.dropdown-category a {
    display: block;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.dropdown-category a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.primary-btn:hover {
    background-color: #0052cc;
}

.menu-toggle {
    display: none;
}

/* 主页横幅样式 */
.hero {
    position: relative;
    height: 100vh;
    background-color: var(--dark-bg);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    animation: gridMove 20s linear infinite;
}

.scanning-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 102, 204, 0.1),
        rgba(0, 102, 204, 0.2),
        rgba(0, 102, 204, 0.1),
        transparent
    );
    z-index: 3;
    animation: scanningEffect 8s linear infinite;
    transform: skewX(-45deg);
}

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

@keyframes scanningEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero-slider {
    position: relative;
    height: 100%;
    z-index: 4;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 31, 54, 0.7), rgba(26, 31, 54, 0.7));
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    z-index: 5;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
    from {
        text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 102, 204, 0.8),
                     0 0 30px rgba(0, 102, 204, 0.6);
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.primary-btn, .secondary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn::before, .secondary-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(0, 102, 204, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonGlow 3s linear infinite;
}

@keyframes buttonGlow {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.hero-partners {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.partners-grid img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partners-grid img:hover {
    opacity: 1;
}

/* 核心优势 */
.advantages {
    padding: 100px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: #fff;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advantage-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more i {
    transition: transform 0.3s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.view-all-btn i {
    transition: transform 0.3s;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background-color: #fff;
}

.solutions-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: none;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel.active {
    display: block;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.solution-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.solution-info p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-features li {
    display: flex;
    align-items: center;
    color: #666;
}

.solution-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    background: var(--gray-bg);
    padding: 20px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.solution-image {
    position: relative;
}

.solution-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-partners {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
}

.solution-partners img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.solution-partners img:hover {
    opacity: 1;
}

/* 客户案例 */
.cases {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 200px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.case-content p {
    color: #666;
    margin-bottom: 20px;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.case-link i {
    transition: transform 0.3s;
}

.case-link:hover i {
    transform: translateX(5px);
}

/* 新闻动态 */
.news {
    padding: 100px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.news-content {
    padding: 30px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-content p {
    color: #666;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link i {
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 联系方式样式 */
.contact {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info .section-header {
    text-align: left;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0052cc;
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-column ul a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .dropdown-content {
        min-width: 600px;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .solution-features {
        grid-template-columns: 1fr;
    }

    .solution-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: all 0.3s;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .solution-stats {
        grid-template-columns: 1fr;
    }

    .solution-partners {
        position: relative;
        bottom: 0;
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
} 