/* ============================================
   伏尔加服务 · 首页/通用页面样式
   简洁现代风格
   ============================================ */

/* ===== Hero 区域（首页） ===== */
.landing-page {
    padding-top: 60px;
}

.landing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.hero-section {
    text-align: center;
    padding: 48px 0 36px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text);
    letter-spacing: -0.03em;
}

.hero-section .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-line {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.status-line span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.quick-links a {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.quick-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* ===== 分割线 ===== */
.divider-landing {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 8px 0 32px;
}

/* ===== 区块标题 ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
    white-space: nowrap;
}

.section-header h3 span {
    color: var(--accent);
}

.sec-line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ===== 信息卡片 ===== */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.info-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.info-card .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== 文档卡片网格 ===== */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.doc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s ease;
    animation: fadeInUp 0.4s ease-out both;
}
.doc-card:nth-child(1) { animation-delay: 0.02s; }
.doc-card:nth-child(2) { animation-delay: 0.06s; }
.doc-card:nth-child(3) { animation-delay: 0.1s; }
.doc-card:nth-child(4) { animation-delay: 0.14s; }
.doc-card:nth-child(5) { animation-delay: 0.18s; }
.doc-card:nth-child(6) { animation-delay: 0.22s; }

.doc-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.doc-card-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.doc-card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}

.doc-card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== 页脚 ===== */
.footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

/* ===== 主内容区（archive-main） ===== */
.archive-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 24px 60px;
}

.archive-main .container {
    max-width: 1200px;
    width: 100%;
}

/* ===== 页面标题 ===== */
.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===== 搜索栏 ===== */
.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-bar input {
    flex: 1;
    padding: 10px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.875rem;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ===== 列表容器 ===== */
.list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== 档案/文档详情页 ===== */
.doc-hero {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
}

.doc-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.doc-hero p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ============================================
   向后兼容：旧类名映射（保持模板兼容性）
   ============================================ */

.hero-panorama { display: none; }
#particle-canvas { display: none; }
.bg-orb { display: none; }

.terminal-tag {
    text-align: center;
    margin-bottom: 16px;
}
.terminal-tag span {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--accent-soft);
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.status-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.status-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}
.card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.card-icon { font-size: 1.5rem; }
.card-title { font-weight: 600; font-size: 0.9375rem; }
.card-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }
.card-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .landing-page { padding-top: 40px; }
    .hero-section h1 { font-size: 1.8rem; }
    .status-line { gap: 12px; font-size: 0.8125rem; }
    .doc-grid { grid-template-columns: 1fr; }
    .archive-main { padding: 80px 16px 40px; }
    .page-header h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 1.5rem; }
    .quick-links a { padding: 6px 14px; font-size: 0.8125rem; }
    .doc-hero { padding: 20px; }
}
