/* ============================================================
   17C 官网 · 共享设计系统
   视觉概念：深夜热点情报站 —— 深墨蓝底 × 紫粉渐变 × 橙色热点
   全部页面共用此单一样式表
   ============================================================ */

:root {
  /* 色板 */
  --bg: #0b0f1d;
  --bg-soft: #10162a;
  --surface: #151d36;
  --surface-2: #1c2547;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #eef1fb;
  --text-muted: #a3adc8;
  --text-dim: #7c86a3;

  --brand: #8b5cf6;
  --brand-2: #ec4899;
  --accent: #fb923c;
  --accent-2: #f43f5e;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #ec4899 60%, #fb923c 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(236, 72, 153, 0.14));
  --success: #34d399;
  --danger: #f87171;

  /* 字体 */
  --font-sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  /* 布局与效果 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(4, 8, 20, 0.35);
  --shadow: 0 12px 34px rgba(4, 8, 20, 0.45);
  --shadow-brand: 0 14px 34px rgba(139, 92, 246, 0.3);
  --header-h: 72px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ 基础重置 ============ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }

/* 背景氛围光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52rem 32rem at 85% -8%, rgba(236, 72, 153, 0.12), transparent 60%),
    radial-gradient(44rem 30rem at -10% 18%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(40rem 28rem at 60% 110%, rgba(251, 146, 60, 0.08), transparent 60%);
}

/* ============ 容器 ============ */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(236, 72, 153, 0.42); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--brand); color: #fff; transform: translateY(-2px); background: rgba(139, 92, 246, 0.08); }

.btn-light {
  background: #fff;
  color: var(--bg);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(255, 255, 255, 0.18); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ============ 区块 ============ */
.section { padding: 5.5rem 0; position: relative; }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.28);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18);
}

.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 0.9rem; }

.section-sub { color: var(--text-muted); font-size: 1.02rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 顶栏导航 ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 60;
  background: rgba(11, 15, 29, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(11, 15, 29, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(4, 8, 20, 0.4);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

.logo b { color: #fff; }
.logo small { font-size: 0.68rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0.08em; display: block; margin-top: -2px; }

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

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: #fff; background: rgba(139, 92, 246, 0.14); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-cta { padding: 0.62rem 1.35rem; font-size: 0.88rem; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉菜单 */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 59;
  background: rgba(13, 18, 34, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 6% 1.6rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }

.mobile-menu a {
  padding: 0.85rem 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 10px;
}
.mobile-menu a.active { color: #fff; background: rgba(139, 92, 246, 0.12); }
.mobile-menu .btn { margin-top: 0.9rem; }

/* ============ 首页 Hero ============ */
.hero {
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  margin-bottom: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.7rem);
  margin-bottom: 1.2rem;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-stats {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

.stat b {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 0.86rem; color: var(--text-dim); }

/* Hero 视觉侧 */
.hero-visual { position: relative; }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-card img { width: 100%; height: 440px; object-fit: cover; }

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 29, 0.85), transparent 55%);
}

.hero-card .card-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 1;
}

.hero-card .card-caption .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero-card .card-caption h3 { font-size: 1.2rem; margin: 0.25rem 0 0.1rem; }
.hero-card .card-caption p { font-size: 0.85rem; color: var(--text-muted); }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(21, 29, 54, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.float-chip svg { width: 18px; height: 18px; color: var(--brand); }

.float-chip.t1 { top: 12%; left: -4%; animation-delay: 0s; }
.float-chip.t2 { bottom: 8%; right: -4%; animation-delay: 1.6s; }

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

/* ============ 信任条 ============ */
.trustbar {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.trustbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.15rem 0;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-item svg { width: 18px; height: 18px; color: var(--success); }

/* ============ 三优势 ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.4); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--brand); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.feature-card p { font-size: 0.93rem; color: var(--text-muted); }

/* ============ 服务卡片 ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.service-card {
  display: flex;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.service-card:hover { transform: translateY(-5px); border-color: rgba(236, 72, 153, 0.42); background: var(--surface-2); }

.service-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid rgba(236, 72, 153, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg { width: 25px; height: 25px; color: var(--brand-2); }

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.7rem; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
}

.service-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ============ 评价卡片 ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars { color: #fbbf24; letter-spacing: 2px; font-size: 0.95rem; }

.testi-card blockquote { font-size: 0.95rem; color: var(--text); }

.testi-person { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }

.testi-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand);
}

.testi-person b { display: block; font-size: 0.93rem; }
.testi-person span { font-size: 0.8rem; color: var(--text-dim); }

/* ============ 关于预览 ============ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-preview .img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.about-preview .img-wrap img { width: 100%; height: 460px; object-fit: cover; }

.about-preview .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(11, 15, 29, 0.6));
}

.exp-chip {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1.2rem;
  background: rgba(21, 29, 54, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0.9rem 1.3rem;
  backdrop-filter: blur(8px);
  text-align: center;
}

.exp-chip b {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1.1;
}

.exp-chip span { font-size: 0.78rem; color: var(--text-muted); }

.about-preview .content h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
.about-preview .content p { color: var(--text-muted); margin-bottom: 1rem; }
.about-preview .content .btn { margin-top: 0.6rem; }

/* ============ CTA 横幅 ============ */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3.6rem 2.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(30rem 18rem at 50% -30%, rgba(139, 92, 246, 0.35), transparent 65%),
    radial-gradient(24rem 16rem at 110% 120%, rgba(236, 72, 153, 0.25), transparent 60%);
}

.cta-banner > * { position: relative; }

.cta-banner h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.cta-banner p { color: var(--text-muted); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-banner .hero-cta { justify-content: center; margin: 0; }

/* ============ 内页 Hero（Page Hero） ============ */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  text-align: center;
  position: relative;
}

.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ============ 流程步骤 ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.step-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.4); }

.step-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.step-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: rgba(139, 92, 246, 0.4); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body { padding: 0 1.5rem 1.3rem; color: var(--text-muted); font-size: 0.94rem; }

/* ============ 筛选 Chips ============ */
.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.4rem;
}

.chip {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  background: transparent;
}

.chip:hover { color: #fff; border-color: var(--brand); }
.chip.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

/* ============ 列表页卡片 ============ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.listing-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.42); box-shadow: var(--shadow); }

.listing-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.listing-card:hover .listing-thumb img { transform: scale(1.06); }

.listing-thumb .cat-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.listing-thumb .hot-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(244, 63, 94, 0.9);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.listing-thumb .hot-tag svg { width: 12px; height: 12px; }

.listing-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }

.listing-body h3 { font-size: 1.08rem; }

.listing-body p { font-size: 0.9rem; color: var(--text-muted); }

.listing-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.listing-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.listing-meta svg { width: 14px; height: 14px; }

/* 筛选隐藏 */
.listing-card.is-hidden { display: none; }

/* ============ 联系页 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-success {
  display: none;
  align-items: center;
  gap: 0.7rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--success);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; }

/* 联系信息卡片 */
.info-cards { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}

.info-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg { width: 21px; height: 21px; color: var(--brand); }

.info-card b { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-wrap iframe { width: 100%; height: 300px; border: 0; filter: saturate(0.9); }

/* 社交链接 */
.socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  background: var(--surface);
}

.social-btn svg { width: 19px; height: 19px; }

.social-btn:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}

/* ============ 页脚 ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 1rem 0 1.3rem; max-width: 300px; }

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  color: #fff;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover { color: #fff; padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; margin-top: 0.2rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: #fff; }

/* ============ 弹窗 ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5%;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.open .modal-backdrop { opacity: 1; }

.modal-dialog {
  position: relative;
  width: min(680px, 100%);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s var(--ease);
  max-height: 86vh;
  overflow-y: auto;
}

.modal.open .modal-dialog { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 15, 29, 0.7);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover { background: var(--danger); border-color: transparent; color: #fff; }

.modal-close svg { width: 18px; height: 18px; }

.modal-media { position: relative; }

.modal-media img { width: 100%; height: 300px; object-fit: cover; }

.modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface), transparent 65%);
}

.modal-body { padding: 1.6rem 1.8rem 1.9rem; }

.modal-body .cat-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.modal-body h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.modal-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; }

/* ============ 回到顶部 ============ */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}

.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad); border-color: transparent; }

.to-top svg { width: 20px; height: 20px; }

/* ============ 滚动显现动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .badge .dot { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-grid, .about-preview, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .steps { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 2.8rem 1.5rem; }
  .float-chip.t1 { left: 0; }
  .float-chip.t2 { right: 0; }
}
