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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* 轮播图区域 */
.hero-slider {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    /* 默认渐变背景，图片未加载时显示 */
    background-color: #1e3a8a;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-overlay {
    display: none;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 900px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}

.slide-content p {
    font-size: 1.4rem;
    opacity: 0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: all 0.6s ease 0.5s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.7s, background 0.3s ease, transform 0.3s ease;
}

.slide.active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 轮播指示器 */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 左右箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

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

/* 通用部分样式 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

/* 关于我们 */
.about {
    background: #fff;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.about-lead {
    font-size: 1.05rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-intro p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-feature {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-feature-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.about-feature h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.about-feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-goal {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.about-goal h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-goal p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
}

.about-goal strong {
    color: #93c5fd;
}

.about-slogan {
    font-size: 1.4rem !important;
    font-weight: 600;
    margin-top: 25px !important;
    color: #06b6d4;
    letter-spacing: 2px;
}

/* 产品介绍 */
.product {
    background: #f8fafc;
}

.architecture {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.arch-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.arch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.arch-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.arch-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.arch-item h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.arch-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 产品优势 */
.advantages {
    background: #fff;
}

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

.advantage-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.advantage-icon.blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.advantage-icon.green {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.advantage-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.advantage-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.advantage-card ul {
    list-style: none;
}

.advantage-card li {
    color: #666;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
}

.advantage-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
}

/* 产品特点 */
.features {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
}

.features .section-title {
    color: #fff;
}

.features .section-title::after {
    background: linear-gradient(90deg, #fff, #06b6d4);
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* 资源覆盖 */
.coverage {
    background: #f8fafc;
}

.coverage-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 40px;
    background: #fff;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #2563eb;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.coverage-info {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.coverage-info h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    text-align: center;
}

.coverage-desc {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.city-tag {
    padding: 10px 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e3a8a;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.city-tag:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    transform: scale(1.05);
}

.cities-grid.overseas .city-tag {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
}

.cities-grid.overseas .city-tag:hover {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}

/* 解决方案 */
.solutions {
    background: #fff;
}

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

.solution-card {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pain-point {
    padding: 30px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-bottom: 3px solid #ef4444;
}

.pain-point h4 {
    color: #ef4444;
    font-size: 1rem;
    margin-bottom: 10px;
}

.pain-point p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.solution {
    padding: 30px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.solution h4 {
    color: #10b981;
    font-size: 1rem;
    margin-bottom: 10px;
}

.solution p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 优势行业 */
.industries {
    background: #f8fafc;
}

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

.industry-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.industry-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.industry-card h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.industry-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 案例分享 */
.cases {
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
    grid-auto-rows: min-content;
}

.case-card {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.case-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-header {
    padding: 25px 30px 20px;
    background: #fff;
}

.case-tag {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 12px;
}

.case-header h3 {
    font-size: 1.25rem;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.4;
}

/* 摘要样式 - 默认显示3行 */
.case-summary {
    padding: 20px 30px;
    background: #f8fafc;
}

.case-summary p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 详情样式 - 默认隐藏 */
.case-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #f8fafc;
}

.case-card.expanded .case-detail {
    max-height: 2000px;
    padding: 0 30px 25px;
}

.case-card.expanded .case-summary p {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.case-section {
    margin-bottom: 20px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section h4 {
    font-size: 1rem;
    color: #2563eb;
    margin-bottom: 8px;
}

.case-section p,
.case-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

.case-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.case-section li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.case-section li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #06b6d4;
}

/* 展开/收起按钮 */
.case-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 30px;
    background: #fff;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-toggle:hover {
    background: #f0f7ff;
    color: #1d4ed8;
}

.toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.case-card.expanded .toggle-icon {
    transform: rotate(180deg);
}

.case-card.expanded .case-toggle {
    border-top: none;
}

/* 页脚 */
.footer {
    background: #1e3a8a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-info p {
    opacity: 0.8;
}

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

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

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

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

.footer-links a:hover {
    color: #06b6d4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.icp-info {
    margin-top: 8px;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #06b6d4;
}

.footer-slogan {
    font-style: italic;
    color: #06b6d4;
    margin-top: 10px;
    font-size: 1rem;
}

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

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact svg {
    color: #06b6d4;
    flex-shrink: 0;
}

.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #06b6d4;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .architecture {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    /* 轮播图响应式 */
    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .slider-dots {
        bottom: 25px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .section {
        padding: 60px 0;
    }

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

    .architecture {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

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

    .about-lead {
        font-size: 1.1rem;
    }

    .about-goal {
        padding: 30px 20px;
    }

    .about-slogan {
        font-size: 1.2rem !important;
    }

    .coverage-info {
        padding: 30px 20px;
    }

    .coverage-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

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

    .footer-contact li {
        justify-content: center;
    }
}
