/* 深青蓝 主题 - 基于 www.antonsstory.com 风格 */
:root {
    --ans-primary: #155E75;
    --ans-primary-dark: #0C4A6E;
    --ans-accent: #FBBF24;
    --ans-accent2: #F59E0B;
    --ans-gradient1: #155E75;
    --ans-gradient2: #0891B2;
    --ans-bg: #ffffff;
    --ans-sub-bg: #ecfeff;
    --ans-text: #212529;
    --ans-text2: #6c757d;
    --ans-dark-bg: linear-gradient(135deg, #1e1f34, #141522);
}

* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif; color: var(--ans-text); background: var(--ans-bg); margin: 0; padding: 0; line-height: 1.6; }
a { color: var(--ans-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ans-primary-dark); }

/* ============ Header (暖色渐变) ============ */
.ans-header { background: linear-gradient(to right, var(--ans-gradient1), var(--ans-gradient2)); padding: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.ans-header .container { display: flex; align-items: center; justify-content: space-between; }
.ans-header .ans-logo img { height: 40px; }
.ans-header .ans-logo .ans-logo-text { color: #fff; font-size: 24px; font-weight: 700; }
.ans-nav { display: flex; align-items: center; gap: 24px; }
.ans-nav a { color: rgba(0,0,0,.85); font-weight: 500; font-size: 15px; }
.ans-nav a:hover { color: #000; }
.ans-nav a.ans-cta { border: 1px solid rgba(0,0,0,.15); border-radius: 6px; padding: 4px 12px; color: rgba(0,0,0,.65); background: transparent; }
.ans-nav a.ans-cta:hover { background: rgba(0,0,0,.05); color: #000; }

/* ============ Hero (居中单列) ============ */
.ans-hero { padding: 80px 0 100px; text-align: center; background: var(--ans-bg); }
.ans-hero h1 { font-size: 42px; font-weight: 800; color: var(--ans-text); margin: 0 0 16px; line-height: 1.2; }
.ans-hero h1 .ans-accent { color: var(--ans-primary); }
.ans-hero p.ans-lead { font-size: 18px; color: var(--ans-text2); max-width: 720px; margin: 0 auto 32px; }
.ans-hero .ans-cta-group { display: flex; gap: 12px; justify-content: center; }
.ans-btn { display: inline-block; padding: 12px 32px; border-radius: 6px; font-size: 16px; font-weight: 500; transition: all .2s; cursor: pointer; }
.ans-btn-primary { background: var(--ans-primary); color: #fff; border: 1px solid var(--ans-primary); }
.ans-btn-primary:hover { background: var(--ans-primary-dark); color: #fff; border-color: var(--ans-primary-dark); }
.ans-btn-outline { background: transparent; color: var(--ans-text); border: 1px solid rgba(0,0,0,.15); }
.ans-btn-outline:hover { background: rgba(0,0,0,.05); color: var(--ans-text); }

/* ============ Section base ============ */
.ans-section { padding: 60px 0; }
.ans-section.ans-bg-light { background: var(--ans-sub-bg); }
.ans-section .ans-section-title { font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 12px; color: var(--ans-text); }
.ans-section .ans-section-sub { text-align: center; color: var(--ans-text2); margin: 0 0 40px; font-size: 16px; }

/* ============ About (左右分栏) ============ */
.ans-about { padding: 60px 0; }
.ans-about .row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.ans-about .ans-about-text { flex: 1 1 50%; }
.ans-about .ans-about-text h2 { font-size: 32px; font-weight: 700; margin: 0 0 16px; }
.ans-about .ans-about-text p { color: var(--ans-text2); margin: 0 0 16px; }
.ans-about .ans-about-img { flex: 1 1 45%; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.ans-about .ans-about-img .ans-img-ph { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--ans-primary), var(--ans-gradient2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px; }

/* ============ App Features (5列功能卡片) ============ */
.ans-app-features { padding: 60px 0; background: var(--ans-sub-bg); }
.ans-feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ans-feature-card { background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center; transition: all .25s; border: 1px solid transparent; }
.ans-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: var(--ans-primary); }
.ans-feature-card .ans-feature-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ans-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.ans-feature-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--ans-text); }
.ans-feature-card p { font-size: 13px; color: var(--ans-text2); margin: 0; line-height: 1.5; }

/* ============ Heatmap 数据可视化 ============ */
.ans-heatmap { padding: 60px 0; text-align: center; }
.ans-heatmap .ans-map { max-width: 720px; margin: 0 auto; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ans-primary), var(--ans-gradient2)); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.ans-heatmap .ans-city-tags { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.ans-heatmap .ans-city-tags span { padding: 6px 14px; background: var(--ans-sub-bg); border-radius: 20px; font-size: 13px; color: var(--ans-text); }

/* ============ Security (信息密集说明) ============ */
.ans-security { padding: 60px 0; background: var(--ans-sub-bg); }
.ans-security .ans-security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ans-security-item { background: #fff; border-radius: 12px; padding: 24px; border-left: 4px solid var(--ans-primary); }
.ans-security-item h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--ans-text); display: flex; align-items: center; gap: 8px; }
.ans-security-item h4 i { color: var(--ans-primary); }
.ans-security-item p { color: var(--ans-text2); font-size: 14px; margin: 0; line-height: 1.7; }

/* ============ FAQ (编号列表) ============ */
.ans-faq { padding: 60px 0; }
.ans-faq-list { max-width: 800px; margin: 0 auto; }
.ans-faq-item { border-bottom: 1px solid #e5e7eb; padding: 20px 0; }
.ans-faq-item .ans-faq-q { font-size: 18px; font-weight: 600; color: var(--ans-text); margin: 0 0 8px; display: flex; gap: 10px; }
.ans-faq-item .ans-faq-q .ans-num { color: var(--ans-primary); font-weight: 700; }
.ans-faq-item .ans-faq-a { color: var(--ans-text2); font-size: 15px; line-height: 1.7; margin: 0; padding-left: 28px; }

/* ============ App Highlight (深色逆向色) ============ */
.ans-app-highlight { background: var(--ans-dark-bg); padding: 60px 0; color: #fff; }
.ans-app-highlight .row { display: flex; align-items: center; gap: 40px; }
.ans-app-highlight .ans-app-text { flex: 1 1 50%; }
.ans-app-highlight .ans-app-text h2 { font-size: 32px; font-weight: 700; margin: 0 0 16px; }
.ans-app-highlight .ans-app-text p { color: rgba(255,255,255,.8); margin: 0 0 24px; }
.ans-app-highlight .ans-app-rating { display: flex; gap: 32px; margin: 0 0 24px; }
.ans-app-highlight .ans-app-rating .ans-rate-item .ans-rate-num { font-size: 36px; font-weight: 800; color: var(--ans-accent); }
.ans-app-highlight .ans-app-rating .ans-rate-item .ans-rate-label { font-size: 14px; color: rgba(255,255,255,.7); }
.ans-app-highlight .ans-app-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ans-app-highlight .ans-btn-primary { background: var(--ans-primary); border-color: var(--ans-primary); }
.ans-app-highlight .ans-btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }
.ans-app-highlight .ans-btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.ans-app-highlight .ans-app-img { flex: 1 1 45%; border-radius: 16px; overflow: hidden; }
.ans-app-highlight .ans-app-img .ans-img-ph { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--ans-primary), var(--ans-gradient2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 80px; }

/* ============ News (卡片列表) ============ */
.ans-news { padding: 60px 0; background: var(--ans-sub-bg); }
.ans-news-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ans-news-item { display: flex; background: #fff; border-radius: 16px; box-shadow: 0 2px 4px rgba(0,0,0,.075); border: 1px solid #dee2e6; overflow: hidden; transition: all .25s; }
.ans-news-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.ans-news-item .ans-news-img { flex: 0 0 240px; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--ans-primary), var(--ans-gradient2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 36px; }
.ans-news-item .ans-news-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.ans-news-item .ans-news-body h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--ans-text); }
.ans-news-item .ans-news-body p { color: var(--ans-text2); font-size: 14px; margin: 0 0 12px; }
.ans-news-item .ans-news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--ans-text2); }
.ans-news-item .ans-news-meta .ans-tag { background: var(--ans-sub-bg); padding: 2px 8px; border-radius: 4px; color: var(--ans-primary); }

/* ============ Footer ============ */
.ans-footer { background: #1c1917; color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.ans-footer .ans-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.ans-footer h5 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.ans-footer .ans-brand .ans-brand-text { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ans-footer ul { list-style: none; padding: 0; margin: 0; }
.ans-footer ul li { margin-bottom: 8px; }
.ans-footer ul li a { color: rgba(255,255,255,.65); font-size: 14px; }
.ans-footer ul li a:hover { color: var(--ans-primary); }
.ans-footer .ans-copy { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }

/* ============ Responsive ============ */
@media (max-width: 768px) {
    .ans-header .container { flex-direction: column; gap: 12px; }
    .ans-nav { flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 13px; }
    .ans-hero { padding: 48px 0 60px; }
    .ans-hero h1 { font-size: 28px; }
    .ans-hero p.ans-lead { font-size: 15px; }
    .ans-about .row, .ans-app-highlight .row { flex-direction: column; }
    .ans-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ans-security .ans-security-grid { grid-template-columns: 1fr; }
    .ans-news-item { flex-direction: column; }
    .ans-news-item .ans-news-img { flex: 0 0 auto; aspect-ratio: 16/9; }
    .ans-footer .ans-footer-grid { grid-template-columns: 1fr; }
    .ans-section { padding: 40px 0; }
    .ans-section .ans-section-title { font-size: 24px; }
}
