/* 代理服务宣传站 — 白底黑字 + 毛玻璃 + 三端适配 */

:root {
  --ink: #0a0a0a;
  --ink-muted: #333;
  --paper: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(0, 0, 0, 0.08);
  --accent: #111;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(15px, 2.5vw, 17px);
  -webkit-font-smoothing: antialiased;
}

/* 背景动态柔光（轻量，不喧宾夺主） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 0, 0, 0.04), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 0, 0, 0.03), transparent 45%);
  pointer-events: none;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

/* 毛玻璃卡片轻微呼吸动画 */
@keyframes glass-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.glass--animate {
  animation: glass-float 6s ease-in-out infinite;
}

.glass--animate:nth-child(2) { animation-delay: -1.5s; }
.glass--animate:nth-child(3) { animation-delay: -3s; }
.glass--animate:nth-child(4) { animation-delay: -4.5s; }

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-glass {
  position: relative;
  overflow: hidden;
}

.hero-glass::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
  pointer-events: none;
  opacity: 0.35;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* 首页主 CTA：大号五彩渐变 */
.btn-cta {
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1.75rem, 5vw, 2.75rem);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 16px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    125deg,
    #e63946 0%,
    #f4a261 12%,
    #e9c46a 24%,
    #2a9d8f 36%,
    #264653 48%,
    #4361ee 60%,
    #7209b7 72%,
    #f72585 84%,
    #4cc9f0 92%,
    #e63946 100%
  );
  background-size: 400% 400%;
  box-shadow:
    0 14px 40px rgba(67, 97, 238, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  animation: btn-cta-rainbow 10s ease infinite;
}

@keyframes btn-cta-rainbow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 50px rgba(247, 37, 133, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  filter: saturate(1.12) brightness(1.05);
}

.btn-cta.is-jump-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  animation: none;
  filter: grayscale(0.2);
  pointer-events: none;
}

/* 文案链接：视觉同正文，无下划线 */
a.plain-jump {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.plain-jump:hover,
a.plain-jump:focus {
  color: inherit;
  text-decoration: none;
}

a.plain-jump:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 3px;
}

.plain-jump--block {
  display: block;
}

.plain-jump--static {
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

h1 {
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.hero-actions .btn-cta {
  width: 100%;
  max-width: 22rem;
}

.jump-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Hero 主标题大字 / 副标题小字 */
.hero-title-xl {
  font-weight: 900;
  font-size: clamp(1.55rem, 5.2vw, 2.2rem);
  line-height: 1.22;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .hero-title-xl {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
  }
}

.hero-sub {
  font-size: clamp(0.86rem, 2.1vw, 1.05rem);
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
  line-height: 1.75;
  max-width: 40rem;
}

/* 「为什么选择我们」华丽外框 */
@keyframes why-us-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.why-us-showcase {
  position: relative;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(
    130deg,
    #0a0a0a 0%,
    #3d3d3d 18%,
    #9a9a9a 40%,
    #1a1a1a 62%,
    #5a5a5a 82%,
    #0a0a0a 100%
  );
  background-size: 220% 220%;
  animation: why-us-gradient 12s ease-in-out infinite;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.why-us-showcase__inner {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 1.75rem 1.35rem 1.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
  overflow: hidden;
}

.why-us-showcase__inner::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent 65%);
  pointer-events: none;
}

.why-us-showcase__title {
  font-weight: 900;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  margin: 0 0 1.1rem;
  text-align: center;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.why-us-showcase__title span {
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--ink);
}

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

.why-us-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  line-height: 1.55;
}

.why-us-list li:last-child {
  margin-bottom: 0;
}

.why-us-list a.plain-jump {
  display: block;
}

.why-us-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #111, #666);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

section h2 {
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1.5rem;
  text-align: center;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.35rem 1.25rem;
}

article.card:has(.card-link) {
  padding: 0;
}

.card-link {
  padding: 1.35rem 1.25rem;
  border-radius: inherit;
}

.hero-title-xl a {
  font: inherit;
  letter-spacing: inherit;
}

.hero-sub a {
  font: inherit;
  line-height: inherit;
}

.card h3 {
  font-weight: 900;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.faq-item {
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq-item:has(.faq-link) {
  padding: 0;
}

.faq-link {
  padding: 1rem 1.15rem;
  display: block;
}

.faq-item h3 {
  font-weight: 900;
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.review {
  padding: 1.25rem;
}

.review:has(.review-link) {
  padding: 0;
}

.review-link {
  display: block;
  padding: 1.25rem;
}

.review .stars {
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.review .who {
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.review p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.badge {
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

a.badge {
  display: inline-block;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pay-stripe {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
}

a.pay-stripe {
  display: inline-block;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  background: rgba(250, 250, 250, 0.9);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-weight: 900;
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* 内页法律文档 */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.legal h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.legal h2 {
  text-align: left;
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  color: var(--ink-muted);
  font-weight: 600;
}

.legal ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--ink);
}

/* 移动端菜单按钮（简化：小屏可横向滚动导航） */
@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .nav a {
    white-space: nowrap;
  }
}

/* iPad 横屏等中等宽度 */
@media (min-width: 768px) and (max-width: 1024px) {
  .wrap {
    width: min(900px, 94vw);
  }
}
