
/* 基础样式重置与全局设定 */
body, html { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; background-color: #1A237E; color: #FFFFFF; }
body { overflow-x: hidden; } /* 避免水平滚动条 */
*, *::before, *::after { box-sizing: border-box; } /* 统一盒模型 */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'SF Pro Display', sans-serif; font-weight: bold; margin-top: 1em; margin-bottom: 0.5em; }
p { line-height: 1.7; margin-bottom: 1em; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* 容器和布局 */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section { padding: 60px 0; }
.grid-row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.grid-col { padding-left: 15px; padding-right: 15px; flex: 1; }
.grid-col-2 { flex: 0 0 50%; max-width: 50%; }
.grid-col-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.grid-col-4 { flex: 0 0 25%; max-width: 25%; }

/* 颜色和渐变 */
.bg-gradient-primary { background: linear-gradient(135deg, #1A237E, #283593); }
.bg-gradient-secondary { background: linear-gradient(135deg, #00C853, #4CAF50); }
.text-gradient-green { background: linear-gradient(to right, #00C853, #4CAF50); -webkit-background-clip: text; color: transparent; }

/* 按钮 */
.button { display: inline-block; padding: 12px 30px; border-radius: 5px; background: linear-gradient(to right, #00C853, #4CAF50); color: white; font-size: 1rem; cursor: pointer; border: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.button-secondary { background: #BDBDBD; color: #333; }

/* 标题和文本样式 */
h2.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 40px; color: #fff; }
h3.module-title { font-size: 1.8rem; margin-bottom: 20px; color: #fff; }
.lead-text { font-size: 1.2rem; color: #eee; }
.text-silver { color: #BDBDBD; }

/* 卡片和模块 */
.card { background-color: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 30px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
.feature-item { text-align: center; padding: 20px; }
.feature-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; }
.feature-icon img { width: 40px; height: 40px; filter: brightness(0) invert(1); } /* 假设icon是黑色，反色成白色 */
.feature-title { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.feature-desc { color: #ddd; }

/* 代码块样式 */
pre { background-color: #283593; color: #f8f8f2; padding: 20px; border-radius: 8px; overflow-x: auto; font-size: 0.9rem; line-height: 1.5; tab-size: 4; }
code { font-family: monospace, monospace; }

/* 示例数据列表样式 */
.data-list { margin-bottom: 30px; }
.data-list dt { font-weight: bold; margin-bottom: 5px; color: #BDBDBD; }
.data-list dd { margin-left: 0; margin-bottom: 15px; color: #fff; }

/* 页脚样式 */
footer { background-color: #283593; padding: 30px 0; text-align: center; color: #BDBDBD; font-size: 0.9rem; }

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-col-3, .grid-col-4, .grid-col-2 { flex: 0 0 50%; max-width: 50%; } /* 平板电脑上两列 */
    .section { padding: 50px 0; }
    h2.section-title { font-size: 2.2rem; margin-bottom: 30px; }
    .lead-text { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .grid-col-2, .grid-col-3, .grid-col-4 { flex: 0 0 100%; max-width: 100%; } /* 手机上全宽 */
    .section { padding: 40px 0; }
    h2.section-title { font-size: 2rem; margin-bottom: 25px; }
    .lead-text { font-size: 1rem; }
    .card { padding: 20px; }
    .feature-item { padding: 15px; }
}

@media (max-width: 480px) {
    .container { width: 95%; padding: 0 10px; }
    .section { padding: 30px 0; }
    h2.section-title { font-size: 1.8rem; margin-bottom: 20px; }
    .lead-text { font-size: 0.95rem; }
    .button { padding: 10px 25px; font-size: 0.9rem; }
    pre { padding: 15px; font-size: 0.85rem; }
}

/* 首页头部区域样式 */
.hero-section { position: relative; overflow: hidden; padding-top: 100px; padding-bottom: 150px; background: linear-gradient(135deg, #1A237E, #283593); }
.hero-content { text-align: center; }
.hero-title { font-size: 3.5rem; margin-bottom: 20px; color: #FFFFFF; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.5rem; color: #BDBDBD; margin-bottom: 30px; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.1; pointer-events: none; } /* 作为背景纹理 */

/* 关于我们 */
.about-us-section { background-color: #283593; }

/* 服务介绍 */
.services-section { background-color: #1A237E; }

/* 案例展示 */
.cases-section { background-color: #283593; }

/* 示例文章展示区域 */
.example-article-section { background-color: #1A237E; }
.example-article-section article { background-color: rgba(255, 255, 255, 0.05); padding: 30px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.example-article-section article h2 { font-size: 2rem; color: #fff; border-bottom: 2px solid #BDBDBD; padding-bottom: 10px; margin-bottom: 20px; }
.example-article-section article h3 { font-size: 1.6rem; color: #eee; margin-top: 30px; margin-bottom: 15px; }
.example-article-section article p { color: #ddd; }
.example-article-section article pre { background-color: #1A237E; border: 1px solid #37474F; }
.example-article-section article table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 20px; }
.example-article-section article th, .example-article-section article td { border: 1px solid #BDBDBD; padding: 8px; text-align: left; color: #eee; }
.example-article-section article th { background-color: #37474F; font-weight: bold; color: #BDBDBD; }

/* 示例数据展示区域 */
.example-data-section { background-color: #283593; }
.example-data-section .data-card { background-color: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 30px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); margin-bottom: 20px; }
.example-data-section .data-card h4 { font-size: 1.4rem; color: #fff; margin-bottom: 15px; }
.example-data-section .data-card dl { margin-bottom: 20px; }
.example-data-section .data-card dt { font-weight: bold; color: #BDBDBD; margin-bottom: 5px; }
.example-data-section .data-card dd { margin-left: 0; color: #fff; }

/* 提示信息 */
.reference-tip { text-align: center; padding: 20px 0; color: #BDBDBD; font-size: 0.9rem; }

