/* =========================================================
   OPC 联盟 (siopcclub.com) — 站点样式
   设计语言：纸感米白底 / 深墨绿品牌色 / 超大标题 / 卡片栅格
   ========================================================= */

:root {
  --ink: #101114;
  --muted: #626a73;
  --line: rgba(16, 17, 20, 0.12);
  --paper: #f7f4ef;
  --panel: #ffffff;
  --brand: #0f5c4f;
  --brand-deep: #12332e;
  --gold: #b7791f;
  --radius: 10px;
  --shadow: 0 24px 70px rgba(26, 24, 20, 0.12);
  --shadow-card: 0 12px 40px rgba(16, 17, 20, 0.06);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

*:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) { outline: none; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 92, 79, 0.04), transparent 34%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 52%, #f4f7f5 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero, .section, .topbar, .footer, .form-shell, .page-hero {
  overflow-wrap: anywhere;
}

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  padding: 14px clamp(20px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  min-height: 36px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(16, 17, 20, 0.74);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.06);
}

.nav a.active {
  color: var(--brand);
  background: rgba(15, 92, 79, 0.1);
}

.nav-cta,
.nav-cta:hover,
.nav-cta.active {
  color: #fff !important;
  background: var(--ink) !important;
}

/* ---------- 容器与排版 ---------- */

.hero,
.section,
.page-hero,
.form-shell,
.footer {
  width: min(var(--maxw), calc(100vw - 40px));
  margin-inline: auto;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.02em;
  max-width: 880px;
  word-break: break-word;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.72;
  font-weight: 650;
  word-break: break-word;
}

a { color: var(--brand); }

/* ---------- 首页 Hero ---------- */

.hero-home {
  min-height: calc(100vh - 110px);
  padding: clamp(54px, 8vw, 104px) 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  position: relative;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 8%;
  right: 28%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(15, 92, 79, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-copy { max-width: 760px; position: relative; }

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.stats-bar .divider { color: var(--line); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 48px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.btn.primary:hover {
  background: #26282a;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 17, 20, 0.26);
}

.btn.primary:active { transform: scale(0.98); }

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(16, 17, 20, 0.12);
}

.btn.ghost:hover {
  background: #fff;
  border-color: rgba(16, 17, 20, 0.22);
}

/* Hero 右侧信号面板 */

.hero-panel {
  min-height: 560px;
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(90deg, rgba(16, 17, 20, 0.05) 0 1px, transparent 1px 62px);
  box-shadow: var(--shadow);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  min-height: 146px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.signal-card.dark {
  min-height: 300px;
  color: #f7f4ef;
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 121, 31, 0.5), transparent 30%),
    linear-gradient(135deg, #101114, #1b1b21);
  border-color: rgba(255, 255, 255, 0.16);
}

.signal-card span,
.signal-kicker {
  color: rgba(16, 17, 20, 0.48);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.signal-card.dark .signal-kicker { color: rgba(255, 255, 255, 0.62); }

.signal-card strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.06;
  font-weight: 950;
}

.signal-grid .signal-card strong { font-size: 21px; }

.signal-card p {
  margin: 18px 0 0;
  color: rgba(16, 17, 20, 0.64);
  line-height: 1.55;
  font-weight: 650;
  font-size: 14px;
}

.signal-card.dark p { color: rgba(255, 255, 255, 0.72); }

/* ---------- 通用区块 ---------- */

.section {
  padding: clamp(48px, 8vw, 92px) 0;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-head .lead { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.rich-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
  font-weight: 650;
}

.rich-copy p + p { margin-top: 18px; }

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

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(16, 17, 20, 0.09);
}

.feature-index {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  border: 1px solid rgba(15, 92, 79, 0.24);
  border-radius: 999px;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
  font-weight: 650;
  font-size: 15px;
}

/* ---------- 申请入口 ---------- */

.application-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.application-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-card {
  min-height: 290px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(16, 17, 20, 0.09);
}

.application-card .card-kicker {
  display: inline-flex;
  align-self: flex-start;
  min-height: 32px;
  padding: 7px 14px;
  margin-bottom: 36px;
  align-items: center;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  border: 1px solid rgba(15, 92, 79, 0.24);
  border-radius: 999px;
}

.application-card strong {
  margin-bottom: 14px;
  display: block;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}

.application-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
  font-weight: 650;
  font-size: 15px;
}

.application-card.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.application-card.accent .card-kicker {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.application-card.accent p { color: rgba(255, 255, 255, 0.74); }

/* ---------- 目录页 ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 82px) 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 68px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

.chip {
  min-height: 34px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: rgba(16, 17, 20, 0.72);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip:hover { border-color: rgba(16, 17, 20, 0.28); color: var(--ink); }

.chip.on {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.filter-spacer { flex: 1 1 auto; }

.filters input[type="search"] {
  width: min(260px, 100%);
  min-height: 34px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(16, 17, 20, 0.09);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.card-head h3 { margin-bottom: 3px; font-size: 19px; }

.card-head .role {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 650;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 92, 79, 0.08);
  border: 1px solid rgba(15, 92, 79, 0.16);
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(16, 17, 20, 0.5);
}

.stage {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: rgba(183, 121, 31, 0.1);
  border: 1px solid rgba(183, 121, 31, 0.24);
  color: var(--gold);
}

.stage[data-stage="已上线"],
.stage[data-stage="持续运营"] {
  background: rgba(15, 92, 79, 0.09);
  border-color: rgba(15, 92, 79, 0.2);
  color: var(--brand);
}

.link-out {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand);
  text-decoration: none;
}

.link-out:hover { text-decoration: underline; }

.empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  border: 1px dashed rgba(16, 17, 20, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
}

/* ---------- 表单 ---------- */

.form-shell {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.form-card,
.aside-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 56px rgba(16, 17, 20, 0.08);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }

label {
  display: block;
  margin-bottom: 8px;
  color: rgba(16, 17, 20, 0.86);
  font-size: 14px;
  font-weight: 900;
}

.hint {
  display: block;
  margin-top: -2px;
  margin-bottom: 8px;
  color: rgba(16, 17, 20, 0.48);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.16);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 92, 79, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 92, 79, 0.1);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

input:valid:not(:placeholder-shown):not([type="url"]) {
  border-color: rgba(15, 92, 79, 0.5);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
  cursor: pointer;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--brand);
}

.submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

button {
  min-height: 48px;
  padding: 14px 24px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(16, 17, 20, 0.2);
}

button:active:not(:disabled) { transform: scale(0.97); }

button:disabled { opacity: 0.6; cursor: progress; }

button.ghost {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.08);
}

button.ghost:hover:not(:disabled) { background: rgba(16, 17, 20, 0.14); }

.status {
  padding: 9px 14px;
  border-radius: var(--radius);
  color: rgba(16, 17, 20, 0.4);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
  transition: all 0.2s ease;
}

.status.success {
  color: #0f5c4f;
  background: rgba(15, 92, 79, 0.08);
  border: 1px solid rgba(15, 92, 79, 0.24);
}

.status.error {
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.24);
}

.aside-card { position: sticky; top: 88px; }

.aside-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 16px 0;
  border-top: 1px solid rgba(16, 17, 20, 0.09);
}

.steps li:first-child { border-top: 0; padding-top: 0; }

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 900;
}

.steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.req { color: #b42318; }

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(183, 121, 31, 0.08);
  border: 1px solid rgba(183, 121, 31, 0.22);
  color: #8a5a12;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

/* ---------- 页脚 ---------- */

.footer {
  padding: 26px 0 44px;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(16, 17, 20, 0.54);
  font-size: 13px;
  font-weight: 750;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
}

.footer a { color: rgba(16, 17, 20, 0.62); text-decoration: none; }
.footer a:hover { color: var(--brand); }

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .feature, .application-card, button { transition: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1240px) {
  .hero-home { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; }
  .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .split,
  .application-band,
  .page-hero,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .aside-card { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
    font-size: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav a {
    min-height: 30px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .hero-panel { min-height: auto; }
  .grid-3,
  .application-cards,
  .dir-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .field-grid { grid-template-columns: 1fr; gap: 10px; }
  .field.full { grid-column: 1; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card.dark { min-height: 200px; }

  h1 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.18;
    max-width: 14em;
  }

  .lead { font-size: 16px; }
}
