/* ===== 联系页 ===== */
.contact-sec { padding-top: clamp(24px, 3vw, 40px); }
.contact-grid { gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.contact-card .kicker { margin-bottom: 0; }
.contact-primary { border-color: rgba(184, 255, 79, 0.4); background: linear-gradient(160deg, rgba(184, 255, 79, 0.06), var(--panel) 55%); }
.contact-id { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: 0.02em; color: var(--ink); word-break: break-all; }
.contact-id a { color: inherit; text-decoration: none; }
.contact-id a:hover { color: var(--accent); }
.contact-note { color: var(--dim); }
.contact-note b { color: var(--ink); }
.contact-actions { margin-top: auto; padding-top: 8px; }
.contact-foot { margin-top: 28px; color: var(--dim); font-size: 0.95rem; }

/* ===== 免费资源 ===== */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.res-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color 0.25s;
}
.res-card:hover { border-color: rgba(232, 230, 225, 0.25); }
.res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.12em; }
.tag-plat { color: var(--accent); border: 1px solid rgba(184, 255, 79, 0.35); border-radius: 3px; padding: 5px 8px; }
.res-status { color: var(--faint); text-align: right; }
.res-card h3 { font-size: 1.15rem; font-weight: 800; }
.res-card p { color: var(--dim); font-size: 0.95rem; }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.res-foot { margin-top: 32px; font-size: 12px; letter-spacing: 0.08em; color: var(--dim); }

/* ===== 首页 · Hero ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--head-h)); display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(48px, 7vh, 96px) clamp(56px, 8vh, 96px);
  background: radial-gradient(60% 50% at 78% 45%, rgba(184, 255, 79, 0.10), transparent 70%), var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(232, 230, 225, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 230, 225, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 100%);
}
.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; right: 0; pointer-events: none; }
.hero-bg canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0.9; display: none; }
body.hero-static .hero-fallback { display: block; }
body.hero-static #hero-canvas { display: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: end; }
.hero-copy { grid-column: 1; }
.hero-top { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.24em; color: var(--dim); margin-bottom: 28px; }
.hero-title { display: flex; flex-direction: column; font-size: clamp(3.4rem, 9.2vw, 8.6rem); line-height: 0.9; letter-spacing: -0.035em; font-weight: 900; }
.hero-title .ht-fill { color: var(--ink); }
.hero-title .ht-line { color: transparent; -webkit-text-stroke: 1.5px rgba(232, 230, 225, 0.85); }
.hero-cn { margin-top: 22px; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: 0.02em; display: flex; align-items: center; gap: 14px; }
.hero-lead { margin-top: 22px; max-width: 34em; color: var(--dim); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: clamp(40px, 6vh, 72px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 6px; }
.hero-stats b { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; text-shadow: 0 0 28px rgba(184, 255, 79, 0.35); }
.hero-stats span { font-size: 12px; letter-spacing: 0.08em; color: var(--dim); }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--faint); text-decoration: none;
}
.hero-scroll i { width: 1px; height: 36px; background: linear-gradient(180deg, var(--accent), transparent); }
@media (max-width: 1023px) {
  .hero { min-height: 0; padding-block: 40px 56px; }
  .hero .wrap.hero-grid { display: contents; }
  .hero-copy { order: 1; padding: 0 var(--gutter); }
  .hero-bg { position: relative; left: auto; right: auto; height: 300px; margin: 28px 0 0; order: 2; }
  .hero-stats { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px var(--gutter) 0; }
  .hero-scroll { display: none; }
  .hero-top { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 20px; }
}

/* ===== 首页 · 能力矩阵 ===== */
.field-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.field {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden;
  aspect-ratio: 4 / 3; padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; isolation: isolate;
  background-color: var(--panel);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.field-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; filter: saturate(0.85);
  transition: transform 0.7s var(--ease), opacity 0.4s;
}
.field::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 13, 16, 0.15), rgba(11, 13, 16, 0.94) 78%); }
.field:hover { border-color: rgba(184, 255, 79, 0.5); transform: translateY(-3px); }
.field:hover .field-img { transform: scale(1.06); opacity: 0.75; }
.field-en { font-size: 10px; letter-spacing: 0.22em; color: var(--accent); }
.field b { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.field-n { font-size: 11px; letter-spacing: 0.1em; color: var(--dim); }
@media (max-width: 1023px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== 首页 · 精选作品 ===== */
.featured-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; }
.featured-grid > .pcard { grid-column: span 4; }
.featured-grid > .pcard:nth-child(1), .featured-grid > .pcard:nth-child(7) { grid-column: span 8; }
.featured-grid > .pcard:nth-child(11), .featured-grid > .pcard:nth-child(12) { grid-column: span 6; }
.featured-grid > .pcard:nth-child(1) h3, .featured-grid > .pcard:nth-child(7) h3 { font-size: 1.5rem; }
.featured-grid > .pcard:nth-child(1) .pcard-pitch, .featured-grid > .pcard:nth-child(7) .pcard-pitch { font-size: 1.05rem; }
@media (max-width: 1023px) { .featured-grid > .pcard:nth-child(n) { grid-column: span 6; } }
@media (max-width: 639px) { .featured-grid > .pcard:nth-child(n) { grid-column: span 12; } }

/* ===== 首页 · 服务与价格摘要 ===== */
.svc-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.svc-chip {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; min-height: 112px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--ink); text-decoration: none; transition: border-color 0.25s, transform 0.3s var(--ease);
}
.svc-chip:hover { border-color: rgba(184, 255, 79, 0.5); transform: translateY(-3px); }
.svc-chip .mono { font-size: 10px; letter-spacing: 0.18em; color: var(--accent); }
.svc-chip b { font-size: 1rem; font-weight: 800; line-height: 1.35; margin-top: auto; }
.price-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: stretch;
  margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(200, 154, 75, 0.06), transparent 40%);
}
.price-item { display: flex; flex-direction: column; gap: 6px; padding: 6px 12px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.price-item:first-child { border-left: 0; }
.price-item span { font-size: 12px; color: var(--dim); }
.price-item b { font-size: 1.35rem; font-weight: 700; color: var(--gold); letter-spacing: -0.01em; }
.price-item small { font-size: 11px; color: var(--dim); margin-left: 4px; font-weight: 500; }
.price-item:hover b { color: var(--accent); }
.price-strip .btn { align-self: center; }
.refund-line { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; letter-spacing: 0.06em; color: var(--dim); }
.refund-line a { color: var(--accent); }
@media (max-width: 1023px) {
  .svc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-item:nth-child(odd) { border-left: 0; }
  .price-strip .btn { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .svc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-strip { grid-template-columns: minmax(0, 1fr); }
  .price-item { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0; }
  .price-item:first-child { border-top: 0; }
}

/* ===== 首页 · 工作方式 / CTA ===== */
.how { padding: 26px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 10px; }
.how .mono { font-size: 10px; letter-spacing: 0.22em; color: var(--accent); }
.how h3 { font-size: 1.25rem; font-weight: 800; }
.how p { color: var(--dim); font-size: 0.95rem; }
.cta-band { border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.cta-grid .kicker { margin-bottom: 14px; }
.cta-act { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-act .btn { justify-content: center; }
@media (max-width: 767px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== 联系页 · 微信卡（文字 + 二维码） ===== */
.contact-wechat { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; margin-bottom: 20px; }
.contact-wechat-copy { display: flex; flex-direction: column; gap: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-qr img { width: 240px; height: 240px; border-radius: 12px; background: #fff; padding: 10px; box-shadow: 0 20px 60px -30px rgba(184, 255, 79, 0.45); }
.contact-qr figcaption { font-size: 11px; letter-spacing: 0.18em; color: var(--dim); }
.social-list { display: flex; flex-direction: column; gap: 10px; }
.social-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.2s; }
.social-link:hover { border-color: var(--accent); }
.social-link .mono { font-size: 10px; letter-spacing: 0.18em; color: var(--accent); min-width: 96px; }
.social-link b { font-weight: 700; }
.social-link i { margin-left: auto; font-style: normal; color: var(--dim); }
@media (max-width: 767px) {
  .contact-wechat { grid-template-columns: minmax(0, 1fr); }
  .contact-qr { align-items: flex-start; }
}
/* ===== 首页 CTA · 二维码 ===== */
.cta-act { flex-direction: row; align-items: center; gap: 20px; }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--dim); }
.cta-qr img { width: 132px; height: 132px; border-radius: 10px; background: #fff; padding: 6px; }
.cta-qr .mono { font-size: 10px; letter-spacing: 0.18em; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.cta-btns .btn { justify-content: center; }
@media (max-width: 480px) { .cta-act { flex-direction: column; align-items: stretch; } .cta-qr { align-self: center; } }
