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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

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

.language-switcher {
    display: flex;
    gap: 8px;
    background: var(--bg-light);
    padding: 6px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 82.5vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.95;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100px) translateY(100px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* 产品区域 */
.products {
    padding: 151px 0 196px 0;
    background: linear-gradient(to bottom, #f1f5f9, var(--bg-white));
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* 主产品 - 纵向布局 */
.product-main {
    margin-bottom: 60px;
    text-align: center;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 59px;
}

.product-icon.main-icon {
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    border-radius: 22.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
    animation: float 3s ease-in-out infinite;
    margin: 0 auto;
}

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

.product-icon.main-icon svg {
    width: 75px;
    height: 75px;
    color: white;
}

.product-content {
    max-width: 1000px;
    margin: 0 auto;
}

.product-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
}

.feature-icon {
    font-size: 35px;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 副产品 - 2x2网格布局 */
.products-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-areas: 
        "top-left top-right";
}

.product-card-top-left {
    grid-area: top-left;
}

.product-card-top-right {
    grid-area: top-right;
}

.product-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.product-card-icon {
    width: 119px;
    height: 119px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.product-card:nth-child(2) .product-card-icon {
    background: var(--gradient-3);
}

.product-card-icon svg {
    width: 59px;
    height: 59px;
    color: white;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-card > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 团队管理系统卡片居中对齐 */
.product-card-top-left h3,
.product-card-top-left > p {
    text-align: center;
}

/* 散客比价系统卡片居中对齐 */
.product-card-top-right h3,
.product-card-top-right > p {
    text-align: center;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    font-size: 14px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

/* 关于我们 */
.about {
    padding: 135px 0 155px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* 联系我们 */
.contact {
    padding: 155px 0 175px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.contact-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-detail-item {
    text-align: left;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.detail-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 12px;
    display: block;
}

.detail-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}


/* 页脚 */
.footer {
    padding: 60px 0 30px;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-secondary {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "top-left"
            "top-right";
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

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

    .product-content h3 {
        font-size: 28px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 时间线样式 */
.timeline {
    margin: 30px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline .year {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
    display: inline-block;
    margin-right: 10px;
    background: white;
    padding: 2px 8px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.timeline .event {
    color: var(--text-dark);
    line-height: 1.6;
}

/* 服务列表样式 */
.services-list {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.service-item {
    margin: 12px 0;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* 关于我们页面标题样式 */
.about .section-title {
    margin-bottom: 40px;
    text-align: left !important;
}

.about-text {
    text-align: left;
}

.about-text p,
.about-text h3 {
    text-align: left;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin: 30px 0 15px 0;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.about-text h3:first-of-type {
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-item::before {
        left: 6px;
        width: 16px;
        height: 16px;
    }
    
    .timeline .year {
        font-size: 14px;
        display: block;
        margin-bottom: 5px;
    }
    
    .services-list {
        padding: 15px;
    }
    
    .service-item {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
}
