/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
header {
    background: linear-gradient(135deg, #171a21 0%, #1b2838 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0"/><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="50" y="50"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 导航样式 */
nav {
    background-color: #1b2838;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    margin: 0;
    position: relative;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #66c0f4;
    transition: width 0.3s ease;
}

nav a:hover {
    background-color: #2a475e;
}

nav a:hover::after {
    width: 70%;
}

nav li.active a {
    background-color: #2a475e;
}

nav li.active a::after {
    width: 70%;
}

/* 主要内容样式 */
main {
    padding: 50px 0;
}

section {
    margin-bottom: 50px;
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

h2 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #171a21;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9e9e9;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #66c0f4;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2a475e;
}

/* 按钮样式 */
.cta-buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary {
    background: linear-gradient(135deg, #66c0f4 0%, #1b2838 100%);
    color: white;
}

.primary:hover {
    background: linear-gradient(135deg, #5ab0e4 0%, #16212e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.secondary {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    color: white;
}

.secondary:hover {
    background: linear-gradient(135deg, #355a76 0%, #16212e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 特性区块 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid #66c0f4;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    color: #171a21;
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #171a21 0%, #1b2838 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66c0f4, #2a475e, #66c0f4);
}

footer p {
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #66c0f4;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0 10px;
    position: relative;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -3px;
    color: rgba(255, 255, 255, 0.3);
}

/* 法律文档页面样式 */
.legal-document {
    line-height: 1.8;
}

.legal-document h1 {
    text-align: center;
    margin-bottom: 35px;
    color: #171a21;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.legal-document h1 i {
    margin-right: 10px;
    color: #66c0f4;
}

.legal-document h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #66c0f4, #2a475e);
}

.legal-document h2 {
    margin-top: 40px;
    font-size: 1.6rem;
    color: #2a475e;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 10px;
}

.legal-document h2::after {
    width: 60px;
}

.legal-document p, .legal-document ul, .legal-document ol {
    margin-bottom: 20px;
    color: #444;
}

.legal-document ul, .legal-document ol {
    padding-left: 30px;
}

.legal-document li {
    margin-bottom: 8px;
}

.legal-document .date {
    text-align: right;
    margin-top: 50px;
    font-style: italic;
    color: #777;
    border-top: 1px solid #e9e9e9;
    padding-top: 20px;
}

/* 强调内容 */
.legal-document strong, .legal-document b {
    color: #1b2838;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-document {
    animation: fadeIn 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        padding: 15px;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 25px;
    }
    
    .legal-document h1 {
        font-size: 1.8rem;
    }
    
    .legal-document h2 {
        font-size: 1.4rem;
    }
} 