:root {
  --bg-cream: #f9f1e6;
  --bg-warm: #f3e4ce;
  --ink: #311616;
  --muted: #6b4a4a;
  --accent: #c52a2a;
  --accent-dark: #8d1d1d;
  --gold: #f0c479;
  --card: #fff7ed;
  --stroke: rgba(49, 22, 22, 0.12);
  --shadow: 0 18px 40px rgba(55, 21, 21, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "STHeiti", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(circle at 80% 18%, rgba(240, 196, 121, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg-cream), var(--bg-warm));
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(197, 42, 42, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  right: -140px;
  top: 120px;
  background: radial-gradient(circle, rgba(197, 42, 42, 0.18), transparent 70%);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  padding: 28px 0 18px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 18px rgba(49, 22, 22, 0.2);
}

.brand span {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 20px;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

nav a:hover,
nav a:focus {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 36px;
  padding: 40px 0 80px;
}

.hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 25px rgba(197, 42, 42, 0.3);
}

.button.ghost {
  color: var(--accent-dark);
  border: 1px solid rgba(141, 29, 29, 0.3);
  background: rgba(255, 255, 255, 0.7);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(55, 21, 21, 0.22);
}

.hero-card {
  background: var(--card);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(197, 42, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -40px;
  background: radial-gradient(circle, rgba(240, 196, 121, 0.5), transparent 70%);
  opacity: 0.9;
}

.hero-card .seal {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  border: 10px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 28px rgba(49, 22, 22, 0.2);
  margin: 0 auto 20px;
  display: block;
  animation: drift 4.8s ease-in-out infinite;
}

.hero-card h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 24px;
  margin: 0 0 10px;
  text-align: center;
}

.hero-card p {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-title span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
}

.section-title h3 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 25px rgba(49, 22, 22, 0.08);
}

.feature-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.highlight {
  background: rgba(197, 42, 42, 0.08);
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px dashed rgba(197, 42, 42, 0.3);
}

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

.callout {
  background: var(--accent-dark);
  color: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(49, 22, 22, 0.25);
}

.callout h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

footer {
  padding: 40px 0 50px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.article {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 0 80px;
  line-height: 1.8;
}

.article h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 10px;
}

.article h2 {
  font-size: 18px;
  margin-top: 30px;
}

.article p,
.article li {
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  background: rgba(197, 42, 42, 0.12);
  color: var(--accent-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.65s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.1s;
}

.reveal.delay-2 {
  animation-delay: 0.2s;
}

.reveal.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 840px) {
  header {
    padding-bottom: 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-card {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-card .seal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
