:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #ff6b35;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b, #e07c1a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-menu .register-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: #ff6b35;
}

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

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 70px);
}

/* 页面基础样式 */
section {
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

/* 英雄区域 */
.hero-section {
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 30px;
}

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

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-video {
    width: 100%;
    max-width: 520px;
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    background: #000;
}

.hero-audio-toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-audio-toggle:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.7);
}

/* 产品展示区域 */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

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

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.product-icon {
    margin-bottom: 20px;
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.bg-software { background-image: url('images/img1.jpg'); }
.bg-fund { background-image: url('images/img2.jpg'); }
.bg-private { background-image: url('images/img3.jpg'); }

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-placeholder::before {
    content: '📱';
    font-size: 32px;
    color: #fff;
}

/* 特色图标样式 */
.icon-placeholder.software { background: linear-gradient(135deg, #667eea, #764ba2); }
.icon-placeholder.software::before { content: '💻'; }

.icon-placeholder.fund { background: linear-gradient(135deg, #4CAF50, #8BC34A); }
.icon-placeholder.fund::before { content: '💰'; }

.icon-placeholder.private { background: linear-gradient(135deg, #9C27B0, #E91E63); }
.icon-placeholder.private::before { content: '🏦'; }

.icon-placeholder.database { background: linear-gradient(135deg, #00BCD4, #03A9F4); }
.icon-placeholder.database::before { content: '🗄️'; }

.icon-placeholder.institution { background: linear-gradient(135deg, #607D8B, #9E9E9E); }
.icon-placeholder.institution::before { content: '🏢'; }

.icon-placeholder.news { background: linear-gradient(135deg, #FF5722, #FF9800); }
.icon-placeholder.news::before { content: '📰'; }

.product-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 企业服务区域 */
.enterprise-section {
    padding: 80px 0;
    background: #fff;
}

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

.enterprise-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.enterprise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.enterprise-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.enterprise-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* 子公司网站 */
.subsidiary-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.subsidiary-grid {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

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

.subsidiary-link {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
}

.subsidiary-link:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

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

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

.footer-section {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

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

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6b35;
}

.contact-info p,
.report-info p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

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

.certificates p {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 5px;
}

.social-links {
    margin: 20px 0;
    color: #bdc3c7;
    font-size: 14px;
}

.copyright {
    color: #95a5a6;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端导航 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 英雄区域移动端 */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 200px;
    }
    .hero-video {
        height: 220px;
        max-width: 100%;
    }
    .hero-audio-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* 产品网格移动端 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-card { height: 220px; }
    
    .enterprise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    .modal-content {
        width: 92%;
        margin: 8% auto;
    }
    .form-row {
        flex-direction: column;
    }
    .form-row .btn {
        width: 100%;
    }
    .form-group.terms {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-card,
    .enterprise-card {
        padding: 30px 20px;
    }
    .product-card { height: 200px; }
    
    .hero-placeholder {
        width: 250px;
        height: 150px;
    }
    .hero-video {
        height: 180px;
        max-width: 100%;
    }
    .hero-audio-toggle {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .modal-header {
        padding: 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 12px 16px;
    }
    .modal-title {
        font-size: 16px;
    }
    .form-group.terms input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动效果 */
.hero-section,
.products-section,
.enterprise-section,
.subsidiary-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.hero-section.visible,
.products-section.visible,
.enterprise-section.visible,
.subsidiary-section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 注册模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title { font-size: 18px; font-weight: 600; }
.modal-close { color: #fff; font-size: 24px; font-weight: bold; cursor: pointer; }

.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; display: flex; justify-content: flex-end; gap: 12px; background: #f8f9fa; }

.register-form .form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 8px; color: #333; font-weight: 600; }
.form-input { width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; }
.form-input:focus { outline: none; border-color: #ff6b35; box-shadow: 0 0 0 3px rgba(255,107,53,0.15); }
.form-error { margin-top: 6px; font-size: 12px; color: #e53935; }
.form-row { display: flex; gap: 12px; }
.form-group.terms { display: flex; align-items: center; gap: 8px; }
.product-icon,
.product-title,
.product-description {
    position: relative;
    z-index: 1;
}

.products-section .product-title { color: #fff; }
.products-section .product-description { color: rgba(255, 255, 255, 0.9); }
.enterprise-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.bg-database { background-image: url('images/img5.jpg'); }
.bg-institution { background-image: url('images/img6.jpg'); }
.bg-news { background-image: url('images/img7.jpg'); }

.enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.enterprise-icon,
.enterprise-title,
.enterprise-description {
    position: relative;
    z-index: 1;
}

.enterprise-section .enterprise-title { color: #fff; }
.enterprise-section .enterprise-description { color: rgba(255, 255, 255, 0.9); }
