/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a3e0;
    --accent-color: #ff6b35;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* 头部导航 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav > ul > li {
    position: relative;
}

nav a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 12px 20px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--light-color);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* 英雄区域 */
.hero {
    position: relative;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85), rgba(0, 163, 224, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 3;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #fff;
    width: 30px;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    margin-left: 15px;
}

/* 内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 带图片的产品卡片 */
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.product-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.product-card-content {
    padding: 30px;
}

.product-card h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-card ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-color);
}

.product-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 带图片的解决方案卡片 */
.solution-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.solution-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.solution-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-card h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
    flex: 1;
}

.solution-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.solution-card a:hover {
    color: var(--secondary-color);
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* 特性列表 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-content p {
    color: #666;
    font-size: 14px;
}

/* 页面内导航 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 内容块 */
.content-block {
    margin: 40px 0;
}

.content-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.content-block h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.content-block p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
}

.content-block ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #666;
}

.content-block ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 两栏布局 */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

/* 高亮框 */
.highlight-box {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
}

table tr:hover {
    background-color: #fafafa;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 50px 20px 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
/* 平板设备 */
@media (max-width: 1024px) and (min-width: 769px) {
    .card-grid {
        gap: 20px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .hero {
        min-height: 500px;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-indicators {
        bottom: 20px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .product-card-image {
        height: 200px;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .solution-card-image {
        height: 180px;
    }

    .solution-card-content {
        padding: 20px;
    }

    .solution-card h3 {
        font-size: 20px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

