:root {
  --bg-body: #dfe7f1;
  --bg-body-deep: #cfd9e7;
  --bg-page: #f7fbff;
  --bg-panel: linear-gradient(180deg, rgba(243, 249, 255, 0.9) 0%, rgba(236, 244, 252, 0.86) 100%);
  --text-main: #14293f;
  --text-sub: #445a70;
  --line: #d6e0eb;
  --line-strong: #b7c8da;
  --brand: #0f3a63;
  --brand-strong: #0a2a47;
  --brand-deep: #081f34;
  --accent: #d68438;
  --shadow-soft: 0 6px 14px rgba(12, 31, 51, 0.06);
  --shadow-card: 0 10px 20px rgba(11, 31, 53, 0.08), 0 1px 3px rgba(11, 31, 53, 0.05);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
  color: var(--text-main);
  background:
    radial-gradient(120% 56% at 6% -16%, rgba(28, 77, 122, 0.28), transparent 62%),
    radial-gradient(88% 70% at 102% 0%, rgba(214, 132, 56, 0.15), transparent 56%),
    linear-gradient(180deg, #e9f0f8 0%, var(--bg-body) 44%, var(--bg-body-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(8, 28, 48, 0.08) 0.5px, transparent 0.5px),
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04));
  background-size: 3px 3px, 100% 100%;
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px;
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(165, 189, 212, 0.84);
  background:
    linear-gradient(90deg, rgba(16, 58, 98, 0.08) 0%, rgba(16, 58, 98, 0) 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 250, 255, 0.92) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(9, 29, 50, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.brand-wrap {
  margin-bottom: 8px;
}

.brand-tag {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.2px;
  color: #2f4f6f;
}

.brand-name {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--brand-strong);
}

.top-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.top-nav a {
  white-space: nowrap;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #b9cee3;
  color: #244766;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f7fe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

main {
  margin-top: 14px;
}

.section {
  margin-top: 14px;
  position: relative;
  overflow: hidden;
  padding: 12px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(171, 192, 214, 0.82);
  background: var(--bg-panel);
  box-shadow: 0 6px 14px rgba(8, 31, 54, 0.06);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(138deg, rgba(16, 58, 99, 0.08) 0%, rgba(16, 58, 99, 0) 42%),
    repeating-linear-gradient(0deg, rgba(20, 62, 102, 0.03) 0, rgba(20, 62, 102, 0.03) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(20, 62, 102, 0.02) 0, rgba(20, 62, 102, 0.02) 1px, transparent 1px, transparent 18px);
  opacity: 0.16;
}

#trust.section {
  padding: 12px 10px;
  border-color: rgba(142, 170, 198, 0.88);
  background: linear-gradient(180deg, rgba(236, 245, 253, 0.9) 0%, rgba(228, 238, 249, 0.85) 100%);
}

#trust.section::before {
  opacity: 0.1;
}

#trust h2 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 252, 255, 0.97) 100%);
  border: 1px solid rgba(184, 204, 224, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 5px 12px rgba(10, 33, 55, 0.07);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, rgba(16, 58, 99, 0.02) 0%, rgba(16, 58, 99, 0) 45%);
}

.hero {
  isolation: isolate;
  padding: 24px 18px;
  border: 1px solid rgba(22, 70, 112, 0.48);
  background: linear-gradient(158deg, #16476f 0%, #0f395e 48%, #0a2b4a 100%);
  box-shadow: 0 18px 34px rgba(7, 25, 42, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 18px);
  opacity: 0.52;
}

.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -68px;
  top: -98px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(214, 132, 56, 0.4) 0%, rgba(214, 132, 56, 0) 70%);
}

.hero p {
  color: rgba(233, 243, 252, 0.9);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #ebf3fb;
}

h1 {
  margin: 12px 0 12px;
  font-size: 29px;
  line-height: 1.34;
  letter-spacing: 0.2px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(4, 18, 31, 0.22);
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(227, 240, 252, 0.9);
}

.hero-desc {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(229, 241, 252, 0.88);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  color: #fff;
  border: 1px solid rgba(224, 141, 61, 0.95);
  background: linear-gradient(180deg, #df8f42 0%, #cb7428 100%);
  box-shadow: 0 10px 16px rgba(6, 22, 37, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  color: #0f3a63;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 249, 255, 0.94) 100%);
  box-shadow: 0 8px 14px rgba(6, 22, 38, 0.2);
}

.btn-ghost {
  color: var(--brand);
  border: 1px solid #b4cbe1;
  background: linear-gradient(180deg, #f2f8ff 0%, #e6f0fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  margin-top: 10px;
}

h2 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 12px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--brand-strong);
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #2a5884 0%, #153b61 100%);
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: #123457;
}

p {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

.section-intro {
  margin-bottom: 10px;
}

.grid {
  display: grid;
  gap: 10px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.trust-card,
.audience-card,
.work-card,
.contact-card,
.faq-item,
.rule-card {
  padding: 12px;
}

.trust-grid {
  gap: 8px;
}

.trust-card {
  padding: 11px 11px 12px;
  border: 1px solid rgba(170, 192, 214, 0.95);
  background: linear-gradient(180deg, rgba(252, 255, 255, 0.98) 0%, rgba(242, 249, 255, 0.97) 100%);
  box-shadow: 0 4px 10px rgba(10, 34, 56, 0.06);
}

.trust-card h3 {
  margin: 7px 0 5px;
  font-size: 16px;
  line-height: 1.4;
  color: #0f3356;
}

.trust-card > p:not(.trust-badge) {
  font-size: 13px;
  line-height: 1.58;
  color: #50677f;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 20px;
  margin: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #eaf4ff;
  background: linear-gradient(180deg, #1f4f7a 0%, #133a5f 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.audience-card p + p,
.work-card p + p {
  margin-top: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f3f9ff 0%, #e7f1fc 100%);
  border: 1px solid #bed4e9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
  color: #1e3c59;
}

.placeholder {
  width: 100%;
  height: 136px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px dashed #b7c7d8;
  background:
    linear-gradient(180deg, #eef3f9 0%, #e5edf6 100%),
    repeating-linear-gradient(135deg, rgba(18, 47, 75, 0.06) 0, rgba(18, 47, 75, 0.06) 1px, transparent 1px, transparent 14px);
  color: #53697f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.process-list {
  margin: 0;
  padding: 6px 0 6px 30px;
  list-style: none;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, #7ea3c7 0%, #d3e1ef 100%);
}

.process-list li {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  color: #2b4358;
}

.process-list li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px #eaf2fb;
}

.rule-card {
  border-left: 3px solid rgba(214, 132, 56, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 240, 0.92) 100%);
  box-shadow: 0 3px 8px rgba(10, 34, 56, 0.05);
}

.rule-list {
  margin: 0;
  padding-left: 18px;
}

.rule-list li {
  font-size: 14px;
  color: #3c5266;
}

.rule-list li + li {
  margin-top: 6px;
}

.contact-card {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card p {
  color: #2f4d66;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #516b82;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 8px;
}

.site-footer {
  margin-top: 16px;
  padding: 20px 14px 30px;
  border-top: 1px solid #bfd4e8;
  text-align: center;
}

.footer-title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-strong);
}

.site-footer p + p {
  margin-top: 3px;
}

.visitor-badge {
  position: fixed;
  right: 12px;
  bottom: 14px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(13, 47, 78, 0.95) 0%, rgba(8, 33, 56, 0.95) 100%);
  box-shadow: 0 10px 20px rgba(8, 33, 56, 0.3);
  backdrop-filter: blur(4px);
}

#visitor-count {
  font-weight: 700;
  margin-left: 2px;
}

@media (min-width: 520px) {
  .page-shell {
    max-width: 620px;
    padding: 16px;
  }

  h1 {
    font-size: 31px;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 740px) {
  body {
    padding: 18px 0;
  }

  .page-shell {
    border-radius: 18px;
    border: 1px solid rgba(163, 188, 214, 0.55);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(240, 248, 255, 0.48) 100%);
    box-shadow: 0 26px 46px rgba(7, 28, 49, 0.18);
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .btn-primary:hover {
    transform: translateY(-1px);
  }

  .btn-secondary:hover {
    transform: translateY(-1px);
  }

  .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .contact-card {
    transition: none;
    transform: none;
  }
}
