﻿:root {
  --bg: #0b1220;
  --bg-alt: #111827;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #14b8a6;
  --accent-2: #f97316;
  --line: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7f8fc;
  color: var(--text);
}
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, 92%); margin: 0 auto; }

.masthead {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #14b8a6);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.brand-text strong { display: block; font-size: 1rem; }
.brand-text em { font-style: normal; font-size: 0.8rem; color: var(--muted); }
.main-nav { display: flex; gap: 18px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.cta { background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.mobile-nav { display: none; flex-direction: column; gap: 10px; padding: 10px 0 16px; }
.mobile-nav a { text-decoration: none; color: var(--text); font-weight: 600; }

.hero {
  background: linear-gradient(135deg, #0b1220 0%, #111827 60%, #0f172a 100%);
  color: #fff; padding: 56px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.badge {
  display: inline-flex; padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.1); margin-bottom: 12px;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.hero p { color: #dbeafe; }
.hero-actions { display: flex; gap: 12px; margin-top: 16px; }
.btn { text-decoration: none; padding: 10px 16px; border-radius: 12px; font-weight: 700; display: inline-flex; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.hero-right img { border-radius: 16px; }
.hero-card {
  margin-top: 14px; background: #0f172a; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px;
}
.hero-card ul { list-style: none; display: grid; gap: 6px; color: #cbd5f5; }

.ticker { background: #0f172a; color: #e2e8f0; padding: 10px 0; overflow: hidden; }
.ticker-track { display: inline-flex; gap: 32px; white-space: nowrap; animation: ticker 18s linear infinite; }

.section { padding: 46px 0; }
.section.alt { background: #f1f5f9; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.5rem; }
.section-head .line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

.latest-grid { display: grid; gap: 16px; grid-template-columns: 2fr 1fr 1fr; }
.story { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,0.08); }
.story img { width: 100%; height: 180px; object-fit: cover; }
.story h4 { padding: 12px; }
.story.large img { height: 260px; }
.story-body { padding: 12px; }

.topic-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.topic { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; background: #fff; padding: 12px; border-radius: 14px; }
.topic img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }

.news-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.news-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,0.08); }
.news-card img { width: 100%; height: 140px; object-fit: cover; }
.news-card h4 { padding: 12px; font-size: 1rem; }

.download { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; padding: 18px; border-radius: 16px; }

.safety-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.safety-grid div { background: #fff; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }

.faq .faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.faq-q { background: transparent; border: none; width: 100%; text-align: left; font-weight: 700; }
.faq-a { margin-top: 8px; color: var(--muted); }

.float-chat { position: fixed; right: 16px; bottom: 18px; z-index: 1000; }
.float-main {
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff; font-weight: 800; box-shadow: 0 12px 30px rgba(14,165,233,0.35);
}

.footer { background: #0b1220; color: #e2e8f0; padding: 26px 0; }
.footer-grid { display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr; }
.footer a { color: #e2e8f0; text-decoration: none; display: block; margin: 6px 0; }
.footer-bottom { margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-45%); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }
}
@media (max-width: 600px) {
  .latest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #eef2ff; color: #0f172a; border: 1px solid var(--line); font-weight: 600; }
.flash-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flash-item { background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.guide-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.guide-card { background: #fff; border-radius: 12px; padding: 14px; border: 1px solid var(--line); font-weight: 700; }


.section-head h2 { letter-spacing: 0.5px; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-grid .pill { text-decoration: none !important; color: #0f172a !important; display: inline-flex; align-items: center; }
.pill {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  color: #0f172a;
  border: 1px solid var(--line);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15,23,42,0.08);
}
.flash-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flash-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 18px rgba(15,23,42,0.06);
  font-weight: 600;
}
.guide-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.guide-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-align: center;
}

