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

/* 主色调蓝色 */
:root {
    --primary-color: #1976d2;
    --primary-color-dark: #115293;
    --primary-color-light: #63a4ff;
    --primary-gradient: linear-gradient(135deg, #1976d2 0%, #63a4ff 100%);
    --primary-gradient-dark: linear-gradient(135deg, #1976d2 0%, #115293 100%);
    --bg-gradient: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

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

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

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(25, 118, 210, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color-light);
    color: #fff;
    border-color: var(--primary-color-dark);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-gradient-dark);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.15);
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* 主要内容区域 */
.main {
    margin-top: 70px;
    padding: 80px 0;
    background: var(--bg-gradient);
    min-height: calc(100vh - 70px);
}

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

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.separator {
    color: #ddd;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 技术插图样式 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.monitor {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.screen {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line {
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
}

.line-1 { width: 60px; }
.line-2 { width: 80px; }
.line-3 { width: 40px; }

.keyboard {
    position: absolute;
    bottom: 80px;
    left: 80px;
    width: 150px;
    height: 8px;
    background: #333;
    border-radius: 4px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.server-stack {
    position: absolute;
    top: 150px;
    right: 80px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stack-layer {
    width: 80px;
    height: 20px;
    border-radius: 4px;
    transform: perspective(1000px) rotateY(15deg) rotateX(-10deg);
}

.layer-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100px;
}

.layer-2 {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    width: 90px;
}

.layer-3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 20px;
    height: 20px;
    background: #ffd700;
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.element-2 {
    width: 15px;
    height: 15px;
    background: #87ceeb;
    top: 200px;
    left: 30px;
    animation-delay: 2s;
}

.element-3 {
    width: 25px;
    height: 25px;
    background: #667eea;
    bottom: 100px;
    right: 30px;
    animation-delay: 4s;
}

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

/* 通用区域样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.product-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

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

.product-features {
    list-style: none;
}

.product-features li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 功能特色区域 */
.features {
    padding: 100px 0;
    background: var(--bg-gradient);
}

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

.features-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

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

/* 仪表板预览 */
.features-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.dashboard-header {
    background: var(--primary-gradient);
    padding: 20px;
}

.dashboard-tabs {
    display: flex;
    gap: 20px;
}

.tab {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab.active {
    color: white;
    font-weight: 500;
}

.dashboard-content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 12px;
    color: #666;
}

/* 关于我们区域 */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.company-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.company-values h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.company-values ul {
    list-style: none;
}

.company-values li {
    color: #666;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.company-values li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 团队插图 */
.about-visual {
    display: flex;
    justify-content: center;
}

.team-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.team-member {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-1 {
    top: 0;
    left: 0;
}

.member-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.member-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.member-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.member-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.member-role {
    color: #666;
    font-size: 12px;
}

/* 合作平台区域 */
.partners {
    padding: 100px 0;
    background: var(--bg-gradient);
}

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

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.partner-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.partner-item span {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.partner-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* 联系我们区域 */
.contact {
    padding: 100px 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

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

/* 联系表单 */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

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

/* 页脚 */
.footer {
    background: var(--primary-color-dark);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav {
        margin: 15px 0;
        gap: 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .tech-illustration {
        width: 300px;
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .tech-illustration {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
} 

.scroll-to-top {
    background: linear-gradient(135deg, #1976d2 0%, #63a4ff 100%) !important;
    color: #fff !important;
} 