/* 基础样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #f9fafb;
    --background-color: #ffffff;
    --light-background: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --hover-transform: translateY(-5px);
    --card-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

/* 头部样式 */
header {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.mobile-menu-toggle {
    display: none;
    /* Hide on desktop */
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo h1 span {
    font-weight: 800;
    color: var(--accent-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.hero .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
}

/* 产品区域样式 */
.products,
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.products h2,
.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem !important;
}

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

.product-card {
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

/* 非活跃产品样式 */
.product-card.inactive-product h3,
.product-card.inactive-product p {
    color: #6b7280;
}

.product-card.inactive-product .product-icon {
    color: #6b7280;
}

.product-card.inactive-product .btn-small {
    background-color: #6b7280;
}

.product-card.inactive-product .btn-small:hover {
    background-color: #4b5563;
}

/* CTA区域样式 */
.cta {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
}

/* 页脚样式 */
footer {
    background-color: #1f2937;
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light-text);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-logo h2 span {
    font-weight: 800;
    color: var(--accent-color);
}

.footer-logo p {
    color: #9ca3af;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

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

.footer-links ul li a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--light-text);
}

.footer-contact p {
    margin-bottom: 10px;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p,
    .cta p {
        font-size: 1rem;
    }

    .products h2,
    .cta h2,
    .domain-title {
        font-size: 2rem;
    }

    /* Header & Mobile Menu */
    header .container {
        flex-wrap: wrap;
        /* Allow wrapping */
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        /* Show hamburger */
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    nav {
        width: 100%;
        display: none;
        /* Hide by default */
        margin-top: 15px;
        order: 3;
        /* Move to bottom */
    }

    nav.active {
        display: block;
        /* Show when active */
        animation: slideDown 0.3s ease forwards;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid #f3f4f6;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
    }

    .domain-title {
        margin-bottom: 2rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .products,
    .cta {
        padding: 60px 0;
    }

    .products h2,
    .cta h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .product-card {
        padding: 20px;
    }

    .cta p {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
    }

    .footer-logo h2 {
        font-size: 1.5rem;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
    }

    .domain-title {
        margin-bottom: 2rem;
    }
}

/* 添加更小屏幕的适配 */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .product-icon {
        font-size: 2rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    header .container {
        padding: 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 增强按钮悬停效果 */
.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

/* 增强产品卡片悬停效果 */
.product-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
}

/* 添加图片悬停效果 */
.hero-image img,
.footer-logo img {
    transition: var(--transition);
}

.hero-image img:hover,
.footer-logo img:hover {
    transform: scale(1.05);
}

/* 添加导航链接悬停动画 */
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 添加淡入动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero p,
.hero .btn {
    animation: fadeIn 1s ease forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero p {
    animation-delay: 0.4s;
}

.hero .btn {
    animation-delay: 0.6s;
    opacity: 0;
}

.product-card {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.2s;
}

.product-card:nth-child(2) {
    animation-delay: 0.4s;
}

.product-card:nth-child(3) {
    animation-delay: 0.6s;
}

.product-card:nth-child(4) {
    animation-delay: 0.8s;
}

.product-card:nth-child(5) {
    animation-delay: 1s;
}

/* 添加背景元素动画 */
.hero-bg-elements .bg-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s infinite ease-in-out;
}

.hero-bg-elements .bg-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-bg-elements .bg-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.hero-bg-elements .bg-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* CTA背景元素动画 */
.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.cta-bg-elements .bg-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s infinite ease-in-out;
}

.cta-bg-elements .bg-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -50px;
    right: 10%;
    animation-delay: 0.5s;
}

.cta-bg-elements .bg-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: 5%;
    animation-delay: 1.5s;
}

/* 添加滚动显示动画 */
.hero,
.products,
.cta,
footer {
    position: relative;
}

/* 响应式设计中禁用某些动画 */
@media (prefers-reduced-motion: reduce) {

    .hero h1,
    .hero p,
    .hero .btn,
    .product-card {
        animation: none;
        opacity: 1;
    }

    .hero-bg-elements .bg-element,
    .cta-bg-elements .bg-element {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* 添加hero-text样式 */
.hero-text {
    text-align: center;
    margin-top: 30px;
}

.hero-text h2 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

/* 添加简化的联系信息样式 */
.contact-info-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-info-simple p {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-size: 1.1rem;
}

.contact-info-simple p i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info-simple {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.3rem;
    }

    .contact-info-simple p {
        font-size: 1rem;
    }
}

.product-domain {
    margin-bottom: 50px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
}

.product-domain::before,
.product-domain::after {
    display: none !important;
    content: none !important;
}

/* 重新定义域标题样式，确保与产品标题一致 */
.products h2.domain-title {
    text-align: left !important;
    font-size: 2rem !important;
    color: #2c3e50 !important;
    margin-bottom: 50px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.products h2.domain-title::before,
.products h2.domain-title::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

/* 智能物流域标题装饰 */
.product-domain:nth-child(1) .domain-title::before {
    display: none !important;
    content: none !important;
}

/* 市场洞察域标题装饰 */
.product-domain:nth-child(2) .domain-title::before {
    display: none !important;
    content: none !important;
}

/* 知识管理域标题装饰 */
.product-domain:nth-child(3) .domain-title::before {
    display: none !important;
    content: none !important;
}

.domain-title::after {
    display: none !important;
    content: none !important;
}

/* 删除域图标相关样式 */
/* 域背景装饰 */
.product-domain::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-domain {
        padding: 2rem;
        margin-bottom: 4rem;
    }

    .domain-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .product-domain:nth-child(2) .domain-title {
        margin-top: 3rem;
    }

    .product-domain:not(:last-child)::after {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .product-domain {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .domain-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .product-domain:nth-child(2) .domain-title {
        margin-top: 2rem;
    }

    .product-domain:not(:last-child)::after {
        width: 95%;
    }
}

/* 产品详情页样式 */
.product-detail {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.product-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-header .product-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.product-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.product-section {
    margin-bottom: 4rem;
}

.product-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

/* 核心功能样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景样式 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.scenario-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.scenario-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.scenario-card p {
    color: #666;
    line-height: 1.6;
}

/* 产品优势样式 */
.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.advantage-list i {
    color: #2ecc71;
    margin-right: 1rem;
}

/* 使用流程样式 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA部分样式 */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.cta-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-header h1 {
        font-size: 2rem;
    }

    .product-subtitle {
        font-size: 1.1rem;
    }

    .product-section h2 {
        font-size: 1.8rem;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* 社交媒体图标样式 */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-media-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-text);
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-media-icons a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-logo-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-logo-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-logo-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* 模态窗口样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
}