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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 布局容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 颜色主题 */
:root {
    --primary-color: #0a2740;
    --secondary-color: #1e3a5f;
    --accent-color: #00bcd4;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-primary:hover {
    background-color: #0097a7;
}

/* 头部样式 */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav a:hover::after,
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    height: 200px;
}

.mobile-menu ul {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.mobile-menu li {
    margin: 15px 0;
    width: 80%;
    text-align: center;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

/* 主体样式 */
main {
    padding: 80px 0 60px;
}

.section {
    padding: 80px 0;
}

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

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* 英雄区 */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-grid h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.content-grid ul {
    list-style: none;
}

.content-grid li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.content-grid li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* IP策略 */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.strategy-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.strategy-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.strategy-item h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    margin-right: 10px;
    border-radius: 50%;
}

/* 选项卡 */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background-color: var(--light-bg);
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background-color: var(--border-color);
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-pane {
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-pane h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.tab-pane ul {
    list-style: none;
}

.tab-pane li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.tab-pane li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 平台布局 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.platform-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-3px);
}

.platform-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.platform-item h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    margin-right: 8px;
    border-radius: 50%;
}

.platform-item p {
    line-height: 1.8;
}

/* 执行方案 */
.execution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.execution-grid h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.execution-grid p {
    line-height: 1.7;
}

.execution-grid ul {
    list-style: none;
}

.execution-grid li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.execution-grid li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 团队建设 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.team-grid h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-grid ol {
    counter-reset: item;
    list-style: none;
}

.team-grid li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.team-grid li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.team-grid ul {
    list-style: none;
}

.team-grid li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.team-grid li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 联系表单 */
#contactForm {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0,188,212,0.2);
}

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

#contactForm .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.contact-info {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    margin-right: 8px;
    border-radius: 50%;
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 底部 */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 30px;
}

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

.footer-content h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.footer-content h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    margin-right: 8px;
    border-radius: 50%;
}

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

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

.footer-content a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    .site-header .container {
        height: 60px;
    }
    
    .mobile-menu {
        top: 60px;
    }
}

/* 动画元素 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}
