/* site.css - 统一样式 */
body { font-family: 'Microsoft YaHei', sans-serif; }

/* Navbar */
.navbar { background: white !important; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.nav-link { font-weight: 500; color: #333 !important; margin: 0 8px; }
.nav-link:hover, .nav-link.active { color: #1E40AF !important; }
.dropdown-item:hover { background-color: #e8effc; color: #1E40AF; }

/* Hero */
.hero-gradient { background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%); color: white; padding: 120px 0 80px; }

/* Sections */
.section-title { font-size: 2.2rem; color: #1E40AF; font-weight: bold; margin-bottom: 1rem; }
.section-subtitle { color: #6c757d; font-size: 1.1rem; max-width: 700px; margin: 0 auto 3rem; }
.section-padding { padding: 80px 0; }

/* Cards */
.card-hover { transition: all 0.3s ease; border: none; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.product-card { border-radius: 16px; overflow: hidden; transition: all 0.3s; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }

/* Feature icon */
.feature-icon { width: 64px; height: 64px; background: #e8effc; color: #1E40AF; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }

/* Buttons */
.btn-primary { background-color: #1E40AF; border-color: #1E40AF; padding: 10px 28px; border-radius: 6px; }
.btn-primary:hover { background-color: #1a3690; border-color: #1a3690; }
.btn-outline-primary { color: #1E40AF; border-color: #1E40AF; border-radius: 6px; }
.btn-outline-primary:hover { background-color: #1E40AF; border-color: #1E40AF; }

/* Solution card */
.solution-card { background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 100%); border: 1px solid #d0dff7; border-radius: 16px; padding: 2rem; transition: all 0.3s; height: 100%; }
.solution-card:hover { box-shadow: 0 8px 25px rgba(30,64,175,0.12); }

/* Timeline */
.timeline-item { position: relative; padding-left: 30px; padding-bottom: 20px; border-left: 2px solid #d0dff7; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; background: #1E40AF; border-radius: 50%; }
.timeline-item:last-child { border-left: 2px solid transparent; }

/* Footer */
.footer { background-color: #1E40AF; color: white; padding: 60px 0 20px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: white; }

/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; border-radius: 50%; background: #1E40AF; color: white; border: none; cursor: pointer; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.2); display: none; }
.back-to-top:hover { background: #1a3690; }

/* Page detail styles */
.page-section { padding: 60px 0; }
.page-grid { display: grid; gap: 2rem; }
.page-grid.two-col { grid-template-columns: 1fr 1fr; }
.page-grid.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.page-grid.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.page-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.page-card.accent { background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 100%); border: 1px solid #d0dff7; }
.page-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #1E40AF; font-weight: 600; margin-bottom: 0.5rem; }
.mock-panel { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; }
.mock-panel.mock-dark { background: #1e293b; color: white; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.metric-item { background: white; border-radius: 8px; padding: 1rem; text-align: center; }
.metric-item strong { display: block; font-size: 1.1rem; color: #1E40AF; }
.metric-item span { font-size: 0.85rem; color: #6c757d; }

@media (max-width: 768px) {
    .page-grid.two-col, .page-grid.feature-grid-3, .page-grid.feature-grid-2 { grid-template-columns: 1fr; }
    .hero-gradient { padding: 80px 0 50px; }
    .section-title { font-size: 1.6rem; }
}
