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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

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

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

.section {
    padding: 80px 0;
}

.section.bg-gray {
    background-color: var(--bg-light);
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.navbar .logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar .logo .logo-en {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 8px;
    letter-spacing: 2px;
}

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

.navbar .nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-content .hero-en {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 12px;
    letter-spacing: 3px;
    font-style: italic;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--accent-color);
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.company-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

/* 产品服务 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.product-icon i {
    font-size: 32px;
    color: white;
}

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

.product-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ERP */
.erp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.erp-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.erp-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.erp-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: background 0.3s;
}

.module-item:hover {
    background: #e2e8f0;
}

.module-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.module-item span {
    font-size: 15px;
    font-weight: 500;
}

.erp-feature {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 30px;
}

.erp-features-image .feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 36px;
    color: #10b981;
    margin-bottom: 10px;
}

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

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

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.contact-content .contact-map {
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-content .contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info > p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

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

.contact-item i {
    font-size: 24px;
    margin-top: 3px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

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

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

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-info .footer-en {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 2px;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* 响应式 */
@media (max-width: 992px) {
    .about-content,
    .erp-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .navbar .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .erp-modules {
        grid-template-columns: 1fr;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
    }
}

/* 表单消息提示 */
#form-message {
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
}

#form-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

#form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
