/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Han Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0D1117;
    overflow-x: hidden;
}

/* Color variables */
:root {
    --primary-color: #0A1A35;
    --accent-color: #00F0FF;
    --background-color: #0D1117;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-background: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(0, 240, 255, 0.2);
}

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

/* 增加关于我们和核心能力之间的间距 */
.capabilities .container:nth-child(2) {
    margin-top: 100px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 36px;
    color: var(--accent-color);
    font-weight: 700;
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Source Han Sans', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

/* 汉堡菜单图标 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.primary-button, .secondary-button, .cta-button {
    padding: 12px 24px 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    margin-left: 15px;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-size: 14px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 240, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background-image: linear-gradient(rgba(10, 26, 53, 0.55), rgba(10, 26, 53, 0.33)), url('../images/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 星空图案 - 移除浮动动画 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="30" cy="20" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="50" cy="15" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="70" cy="25" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="90" cy="30" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="20" cy="40" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="40" cy="50" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="60" cy="45" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="80" cy="55" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="10" cy="60" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="30" cy="70" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="50" cy="65" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="70" cy="75" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="90" cy="80" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="20" cy="90" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="40" cy="85" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="60" cy="95" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="80" cy="10" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="50" cy="30" r="1" fill="%2300F0FF" opacity="0.03"/><circle cx="30" cy="80" r="1" fill="%2300F0FF" opacity="0.03"/></svg>'); 
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.4; /* 增加透明度 */
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items:start;
    gap: 180px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 45px;
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-subtitle {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 63px;
    color: var(--accent-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}

.ai-animation {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
}

.ai-animation::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Section Titles */
.section-title {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Core Capabilities */
.capabilities {
    padding: 200px 0;
    background-color: #ffffff;
    color: #000000;
}

.capabilities .section-title {
    color: #000000;
}

.capabilities .about-paragraph {
    color: #333333;
    font-size: 19px;
    margin-bottom: 30px;
}

.capabilities .about-subtitle {
    color: #000000;
    font-size: 24px;
    margin-bottom: 20px;
}

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

.capability-card {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    text-align: center;
    color: #000000;
}

.capability-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.1);
}

.capability-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 32px;
}

.capability-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000000;
}

.capability-description {
    color: #666666;
    font-size: 18px;
}

/* Investment Focus */
.investment-focus {
    padding: 100px 0;
    background-color: #ffffff;
}

.investment-focus .section-title {
    color: #000000;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.investment-card {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.investment-card:hover::before {
    transform: scaleX(1);
}

.investment-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.1);
}

.investment-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 40px;
}

.investment-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000000;
}

.investment-description {
    color: #333333;
    font-size: 18px;
    margin-bottom: 30px;
}

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more:hover {
    text-decoration: underline;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: var(--background-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 50px;
    margin-top: 50px;
    align-items: center;
}

.partner-logo {
    height: 80px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Company Timeline Section */
.company-timeline {
    padding: 80px 0;
    background-image: linear-gradient(rgba(10, 26, 53, 0.55), rgba(10, 26, 53, 0.33)), url('../images/qi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-timeline .timeline {
    margin-top: 50px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-date {
    position: absolute;
    left: -120px;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

/* 响应式时间线日期位置调整 */
@media (max-width: 1024px) {
    .timeline-date {
        left: -110px;
    }
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 80px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-date {
        position: absolute;
        left: -40px;
        top: 0;
        font-size: 16px;
    }
}

.company-timeline .timeline-content {
    background-color: rgba(10, 26, 53, 0.1);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.company-timeline .timeline-content h4 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 22px;
}

.company-timeline .timeline-content p {
    color: var(--text-secondary);
    font-size: 20px;
}

.partner-logo:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}



/* Core Technology */
.core-technology {
    padding: 100px 0;
    background-color: var(--background-color);
    text-align: center;
}



/* Insights Section */
.insights {
    padding: 100px 0;
    background-color: #ffffff;
}

.insights .section-title {
    color: #000000;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.insight-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

/* 为2025-12-01的卡片设置单独的背景图片 */
.featured-insight {
    background-image: url('../images/AI.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 在图片上添加渐变叠加层，确保文字可读性 */
.featured-insight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

/* 确保卡片内容在叠加层上方 */
.featured-insight > * {
    position: relative;
    z-index: 1;
}

/* 为featured-insight下的所有文本元素设置白色 */
.featured-insight .insight-title {
    color: #ffffff;
}

.featured-insight .insight-excerpt {
    color: #ffffff;
}

.featured-insight .insight-date {
    color: #ffffff;
}

/* 为链接设置蓝色，保持与其他元素的对比度 */
.featured-insight .read-more {
    color: var(--accent-color);
}

/* 为2025-11-15的卡片设置单独的背景图片 */
.wan-insight {
    background-image: url('../images/Wan.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 在图片上添加渐变叠加层，确保文字可读性 */
.wan-insight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

/* 确保卡片内容在叠加层上方 */
.wan-insight > * {
    position: relative;
    z-index: 1;
}

/* 为wan-insight下的所有文本元素设置白色 */
.wan-insight .insight-title {
    color: #ffffff;
}

.wan-insight .insight-excerpt {
    color: #ffffff;
}

.wan-insight .insight-date {
    color: #ffffff;
}

/* 为链接设置蓝色，保持与其他元素的对比度 */
.wan-insight .read-more {
    color: var(--accent-color);
}

/* 为2025-10-30的卡片设置单独的背景图片 */
.dsj-insight {
    background-image: url('../images/dsj.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 在图片上添加渐变叠加层，确保文字可读性 */
.dsj-insight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

/* 确保卡片内容在叠加层上方 */
.dsj-insight > * {
    position: relative;
    z-index: 1;
}

/* 为dsj-insight下的所有文本元素设置白色 */
.dsj-insight .insight-title {
    color: #ffffff;
}

.dsj-insight .insight-excerpt {
    color: #ffffff;
}

.dsj-insight .insight-date {
    color: #ffffff;
}

/* 为链接设置蓝色，保持与其他元素的对比度 */
.dsj-insight .read-more {
    color: var(--accent-color);
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.1);
}

.insight-date {
    color: var(--accent-color);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
}

.insight-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000000;
}

.insight-excerpt {
    color: #333333;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Contact Us */
.contact-us {
    padding: 100px 0;
    background-image: linear-gradient(rgba(10, 26, 53, 0.55), rgba(10, 26, 53, 0.33)), url('../images/TG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

.contact-info {
    color: var(--text-color);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.social-media {
    margin-top: 40px;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background-color: rgba(10, 26, 53, 0.85);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-logo h2 {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

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

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Source Han Sans', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        gap: 200px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        gap: 100px;
    }

    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 42px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .secondary-button {
        margin-left: 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .capabilities-grid,
    .investment-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 40px;
    }
    
    .primary-button, .secondary-button, .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .investment-card,
    .capability-card {
        padding: 30px 20px;
    }
}