/* 全局样式 */
:root {
    --primary-color: #2A5BDA; /* 科技蓝 */
    --secondary-color: #F5F6FA; /* 太空灰 */
    --accent-green: #00C4B3; /* 数据绿 */
    --accent-orange: #FF6B48; /* 预警橙 */
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "阿里巴巴普惠体", "Montserrat", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.logo-img {
    width: 45px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 10px 0;
}

.page-title-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.page-title-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.page-title-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title-section p {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* SVG路径动画 */
.animate-path {
    fill: none;
    stroke-width: 2px;
    stroke: var(--primary-color);
}

/* 技术优势动画 */
.tech-container .patent-item,
.tech-container .cert-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tech-container .patent-item.animate,
.tech-container .cert-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 数据可视化容器 */
.data-visualization {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 语音导航按钮 */
.voice-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.voice-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.voice-button:hover {
    transform: scale(1.1);
}

.voice-button.listening {
    animation: pulse 1.5s infinite;
    background-color: #ff4b4b;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 75, 75, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 75, 0);
    }
}

/* 语音反馈提示 */
.voice-feedback {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.voice-feedback.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 价值主张 */
.value-proposition {
    padding-top: 30px;  /* 添加顶部内边距 */
    background-color: var(--secondary-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* 解决方案矩阵 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.solution-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(42, 91, 218, 0.2);
}

.solution-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-item p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 精选案例 */
.featured-cases {
    background-color: var(--white);
}

.cases-container {
    display: flex;
    flex-direction: column;
}

/* 帮助中心样式 */
.help-center {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.faq-category:nth-child(2) { animation-delay: 0.2s; }
.faq-category:nth-child(3) { animation-delay: 0.4s; }

.faq-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.faq-category h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(42, 91, 218, 0.15);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(42, 91, 218, 0.05);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-item.active .faq-question h4 {
    color: var(--primary-color);
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

/* 联系支持样式 */
.contact-support {
    background-color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 91, 218, 0.05) 0%, rgba(0, 196, 179, 0.05) 100%);
    z-index: 0;
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.support-channel {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-channel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.support-channel:hover::before {
    transform: translateX(0);
}

.support-channel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(42, 91, 218, 0.2);
}

.channel-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(42, 91, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.support-channel:hover .channel-icon {
    background: var(--primary-color);
}

.channel-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--primary-color);
    transition: var(--transition);
}

.support-channel:hover .channel-icon svg {
    fill: var(--white);
}

.support-channel h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.support-channel:hover h3 {
    transform: translateY(-3px);
}

.support-channel p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .support-channels {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .support-channel {
        padding: 30px 20px;
    }

    .channel-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .channel-icon svg {
        width: 30px;
        height: 30px;
    }

    .support-channel h3 {
        font-size: 1.3rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.case-item {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.case-item:nth-child(even) {
    flex-direction: row-reverse;
}

.case-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.case-image {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.case-content {
    flex: 1;
}

.case-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.case-content p {
    margin-bottom: 30px;
    color: var(--text-light);
}

/* 技术优势 */
.tech-advantages {
    background-color: var(--secondary-color);
}

.tech-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.patents-wall,
.certifications {
    flex: 1;
}

.patents-wall h3,
.certifications h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.patents-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.patent-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.patent-item:hover {
    transform: translateX(10px);
}

.patent-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.patent-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--white);
}

.patent-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.patent-info p {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cert-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-item img {
    height: 80px;
    margin-bottom: 15px;
}

.cert-item p {
    color: var(--text-light);
}

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.partner-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(42, 91, 218, 0.2);
}

.partner-item img {
    max-width: 80%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* 实时动态 */
.real-time-updates {
    background-color: var(--primary-color);
    padding: 20px 0;
}

.updates-ticker {
    overflow: hidden;
    height: 60px;
}

.ticker-wrapper {
    display: flex;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 30px;
    color: var(--white);
}

.ticker-label {
    background-color: var(--accent-orange);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 15px;
    font-weight: 500;
    font-size: 0.9rem;
}

.ticker-content {
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    min-width: 150px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.wangan-img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-container {
        flex-direction: column;
    }
    
    .case-item,
    .case-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .case-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}