/* 签证帮 VisaAtlas · 站点通用样式 — 与应用深蓝灰体系对齐 */
:root {
  --navy: #0a1f33;
  --navy-deep: #071526;
  --page: #f2f4f7;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-soft: #dce8ff;
  --card: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(10, 31, 51, 0.08), 0 2px 8px rgba(10, 31, 51, 0.04);
  --font: "DM Sans", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(10, 31, 51, 0.25);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav a.is-active {
  color: var(--accent);
}

.hero {
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 45%, #0d3a5c 100%);
  color: #fff;
  padding: clamp(48px, 10vw, 96px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 80% 20%, rgba(37, 99, 235, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero__sub {
  margin: 0;
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 520px;
  font-weight: 500;
}

.hero__en {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.55;
  font-weight: 500;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section--tight {
  padding-top: 32px;
}

.section__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 8px;
}

.section__lead {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 640px;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(10, 31, 51, 0.1), 0 4px 12px rgba(10, 31, 51, 0.06);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 24px;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
}

.legal p,
.legal li {
  color: #334155;
  font-size: 0.95rem;
}

.legal ul,
.legal ol {
  padding-left: 1.35em;
  margin: 0 0 14px;
}

.legal li {
  margin-bottom: 6px;
}

.legal .note {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin: 16px 0;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 24px;
  font-size: 0.88rem;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}
