/* 出境易 VisaEasyly · 官网与法律文档 */
:root {
  --navy: #0a1f33;
  --navy-deep: #071526;
  --accent: #2563eb;
  --accent-soft: #dce8ff;
  --green: #059669;
  --green-soft: #d1fae5;
  --work: #d97706;
  --study: #7c3aed;
  --page: #f9f8f6;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px 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.7;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 246, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.site-header__inner {
  max-width: 1140px;
  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.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 55%, #0d3a5c);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 300;
  font-family: Georgia, "Noto Serif SC", serif;
  box-shadow: 0 6px 20px rgba(10, 31, 51, 0.28);
}

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

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover { color: var(--navy); text-decoration: none; }
.nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(56px, 11vw, 108px) 24px 88px;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 42%, #0c3554 72%, #123d5e 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 45% at 8% 75%, rgba(5, 150, 105, 0.22), transparent 50%),
    radial-gradient(ellipse 40% 35% at 55% 100%, rgba(124, 58, 237, 0.18), transparent 45%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}

.hero__orb--1 {
  width: 280px; height: 280px;
  background: rgba(37, 99, 235, 0.35);
  top: -80px; right: -40px;
}

.hero__orb--2 {
  width: 200px; height: 200px;
  background: rgba(5, 150, 105, 0.3);
  bottom: -60px; left: 10%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, 16px) scale(1.05); }
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 18px;
}

.hero__kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(5, 150, 105, 0.8);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-family: Georgia, "Noto Serif SC", serif;
}

.hero__sub {
  margin: 0;
  font-size: 1.12rem;
  opacity: 0.9;
  max-width: 560px;
  font-weight: 500;
  line-height: 1.65;
}

.hero__tag {
  margin-top: 12px;
  font-size: 0.92rem;
  opacity: 0.55;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}

.btn:hover { text-decoration: none; }

.btn--primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

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

/* ── Sections ── */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px;
}

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

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

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

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent));
  opacity: 0.85;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 31, 51, 0.11);
}

.card--tourism { --card-accent: var(--accent); }
.card--visa { --card-accent: var(--green); }
.card--ready { --card-accent: var(--work); }
.card--search { --card-accent: var(--study); }
.card--profile { --card-accent: var(--navy); }

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

.card--visa .card__icon { background: var(--green-soft); color: var(--green); }
.card--ready .card__icon { background: #fef3c7; color: var(--work); }
.card--search .card__icon { background: #ede9fe; color: var(--study); }
.card--profile .card__icon { background: #e2e8f0; color: var(--navy); }

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

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

.banner {
  max-width: 1140px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.banner__inner {
  background: linear-gradient(135deg, rgba(10, 31, 51, 0.04), rgba(37, 99, 235, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(8px);
}

.banner__inner strong { color: var(--navy); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stat {
  text-align: center;
  padding: 20px 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(10, 31, 51, 0.04);
}

.stat__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

/* ── Legal ── */
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 88px;
}

.legal-hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 48px 24px 56px;
  text-align: center;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero p {
  margin: 12px auto 0;
  max-width: 520px;
  opacity: 0.75;
  font-size: 0.95rem;
}

.legal__meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  line-height: 1.6;
}

.legal h1 { display: none; }

.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

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

.legal .note {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 18px 22px;
  color: #9a3412;
  font-weight: 500;
  line-height: 1.75;
}

.legal .highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 8px; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 24px;
  font-size: 0.88rem;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

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

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

.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .nav { gap: 4px 12px; }
  .nav a { font-size: 0.82rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
