/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.btn-primary.large, .btn-outline.large, .btn-secondary.large {
    padding: 16px 32px;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}


/* 英雄区域 */
.hero {
    background: 
        linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.08) 0%, transparent 60%);
    z-index: 1;
    animation: aiGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.03) 100%),
        linear-gradient(0deg, transparent 98%, rgba(138, 43, 226, 0.03) 100%);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes aiGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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


/* AI科技感元素 */
.ai-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.ai-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff;
    animation: nodePulse 3s ease-in-out infinite;
}

.node-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.node-2 {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 1s;
}

.node-4 {
    bottom: 35%;
    right: 15%;
    animation-delay: 1.5s;
}

.node-5 {
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

.ai-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: connectionFlow 4s ease-in-out infinite;
}

.connection-1 {
    top: 25%;
    left: 15%;
    width: 200px;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.connection-2 {
    top: 40%;
    right: 20%;
    width: 150px;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.connection-3 {
    bottom: 30%;
    left: 30%;
    width: 180px;
    transform: rotate(45deg);
    animation-delay: 2s;
}

@keyframes nodePulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes connectionFlow {
    0%, 100% { 
        opacity: 0.3;
    }
    50% { 
        opacity: 0.8;
    }
}

.hero-text-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.3;
    color: white;
    animation: fadeInUp 1s ease-out;
    max-width: 1000px;
}

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


/* 产品区域 */
.products {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-icon {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid #5a67d8;
}

.product-icon i {
    font-size: 32px;
    color: #667eea;
}

.product-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-card h4 {
    font-size: 1.1rem;
    color: #667eea;
    margin-bottom: 16px;
}

.product-card p {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-features span {
    background: #f0f2ff;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 业务应用 */
.business-apps {
    padding: 100px 0;
    background: white;
}

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

.app-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.app-icon i {
    font-size: 24px;
    color: white;
}

.app-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.app-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 社交平台 */
.social-platform {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.platform-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.platform-text h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 40px;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

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

.platform-visual {
    position: relative;
}

.chat-interface {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: #667eea;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
}

.ai-message {
    background: #f0f2ff;
    color: #333;
    margin-right: auto;
}

.user-message {
    background: #667eea;
    color: white;
    margin-left: auto;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.solutions-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 联系方式 */
.contact-section {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    padding: 40px 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
    position: relative;
}

.contact-section h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 10px auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.contact-office {
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-office h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #2980b9;
    display: flex;
    align-items: center;
}

.contact-office h3:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #3498db;
    border-radius: 50%;
    margin-right: 10px;
}

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

.contact-info i {
    margin-right: 10px;
    font-style: normal;
    color: #3498db;
    min-width: 20px;
    text-align: center;
}

.contact-info a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

address.contact-info  {
    font-style: normal;
}

.contact-info a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 20px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
        letter-spacing: 0.3px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
}
