/* ============================================
   苏州梦之幻网络科技 · 一人公司 AI 智能体
   深色科技风
   ============================================ */

:root {
  --bg: #08090d;
  --bg-alt: #0d0f15;
  --bg-card: #11141c;
  --bg-card-hover: #161a24;
  --border: #1e2330;
  --border-light: #2a3142;

  --text: #e8eaf0;
  --text-dim: #9aa2b4;
  --text-faint: #616b80;

  --accent: #4d7fff;
  --accent-2: #00d4c8;
  --accent-glow: rgba(77, 127, 255, 0.35);

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 860px; }

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), #3a6ae8);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============ 首屏 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(77,127,255,.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(0,212,200,.09), transparent 60%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 100px;
  max-width: 980px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 30px;
  background: rgba(255,255,255,.02);
}
.hero-title {
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 68px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all .22s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3a6ae8);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid var(--border-light);
  color: var(--text-dim);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}
.hero-anchors {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.anchor { display: flex; gap: 12px; align-items: flex-start; }
.anchor-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  padding-top: 3px;
}
.anchor-txt {
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.55;
}
.anchor-txt b { color: var(--text); font-weight: 600; }
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 2px;
  animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translate(-50%, 0); opacity: .45; }
  50% { transform: translate(-50%, 8px); opacity: .9; }
}

/* ============ 通用 section ============ */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { margin-bottom: 56px; }
.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 620px;
}
.sub-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 18px;
  letter-spacing: .5px;
}

/* ============ 痛点卡片 ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .25s, transform .25s, background .25s;
}
.pain-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.pain-icon {
  font-size: 24px;
  margin-bottom: 16px;
  opacity: .9;
}
.pain-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}
.pain-now {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.65;
}
.pain-result {
  font-size: 14px;
  color: #ff6b6b;
  font-weight: 600;
  padding-left: 12px;
  border-left: 2px solid rgba(255,107,107,.4);
}
.pain-summary {
  margin-top: 56px;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(77,127,255,.09), rgba(0,212,200,.05));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-dim);
  line-height: 1.75;
  text-align: center;
}
.pain-summary b { color: var(--text); font-weight: 700; }

/* ============ 一人公司定义 ============ */
.define-box {
  text-align: center;
  margin-bottom: 64px;
}
.define-line {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}
.define-line .neq {
  color: var(--text-faint);
  font-weight: 400;
  padding: 0 8px;
}
.define-line b { color: var(--accent-2); }
.define-sub {
  font-size: 16px;
  color: var(--text-dim);
}

/* 流程图 */
.flow {
  max-width: 620px;
  margin: 0 auto 72px;
}
.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.flow-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(77,127,255,.14);
  border: 1px solid rgba(77,127,255,.35);
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}
.flow-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.flow-body p {
  font-size: 14px;
  color: var(--text-dim);
}
.flow-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 20px;
  padding: 10px 0;
  opacity: .55;
}

/* 对比表 */
.compare-wrap {
  overflow-x: auto;
  margin-bottom: 56px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
.compare thead th {
  padding: 20px 26px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dim);
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--border);
}
.compare thead th:first-child { color: var(--text-faint); font-weight: 500; }
.compare thead th.hl {
  color: var(--accent-2);
  background: rgba(0,212,200,.06);
}
.compare tbody td {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.compare tbody td.hl {
  color: var(--accent-2);
  font-weight: 600;
  background: rgba(0,212,200,.04);
}

.key-note {
  text-align: center;
  padding: 32px;
  border-top: 1px solid var(--border);
}
.key-note p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-dim);
  line-height: 1.8;
}
.key-note b { color: var(--text); }

/* ============ 适合人群 ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.aud-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .25s, transform .25s;
}
.aud-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.aud-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-2);
}
.aud-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.industry-wrap { margin-bottom: 56px; }
.industry-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tag {
  padding: 10px 22px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-dim);
  background: rgba(255,255,255,.02);
  transition: all .2s;
}
.tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

.boundary {
  padding: 30px 34px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  background: rgba(255,107,107,.03);
}
.boundary-title {
  font-size: 13px;
  letter-spacing: 2px;
  color: #ff8a8a;
  font-weight: 700;
  margin-bottom: 12px;
}
.boundary p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.75;
}
.boundary-note {
  margin-top: 10px;
  color: var(--text-faint) !important;
  font-size: 13.5px !important;
}

/* ============ 场景卡片 ============ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.sc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .25s, transform .25s;
}
.sc-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}
.sc-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.sc-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.sc-head h3 {
  font-size: 17px;
  font-weight: 700;
}
.sc-chain { display: flex; flex-direction: column; gap: 12px; }
.chain-row {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
}
.chain-label {
  flex-shrink: 0;
  width: 42px;
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 1px;
  padding-top: 3px;
  border-left: 2px solid var(--border-light);
  padding-left: 10px;
}
.chain-out {
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}
.chain-out .chain-label { border-left-color: var(--accent-2); color: var(--accent-2); }
.chain-out span:last-child { color: var(--text); font-weight: 600; }
.sc-compare {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}
.sc-compare span { color: var(--accent-2); padding: 0 6px; }

/* ============ 客户案例 ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.case-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.case-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #151925, #0e1118);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.case-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.case-cover-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 1px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-sm);
  margin: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 10px, transparent 10px 20px);
}
.case-cover-ph small { font-size: 11px; opacity: .6; }
.case-industry {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(77,127,255,.9);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
.case-body { padding: 24px 26px 28px; }
.case-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.case-meta { display: flex; flex-direction: column; gap: 9px; }
.meta-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.meta-k {
  flex-shrink: 0;
  width: 48px;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: .5px;
}
.meta-v { color: var(--text-dim); }
.case-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-faint);
  padding: 20px;
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--border-light); }
.faq-item summary {
  padding: 22px 26px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-2); }
.faq-a {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ============ 联系区 ============ */
.contact {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(77,127,255,.12), transparent 65%);
  border-top: 1px solid var(--border);
}
.contact-title { margin-bottom: 18px; }
.contact-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 56px;
  line-height: 1.85;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: left;
  transition: border-color .25s, transform .25s;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact-icon { font-size: 22px; }
.contact-label {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.contact-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,212,200,.12);
  border: 1px solid rgba(0,212,200,.3);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.step-item b { font-size: 14.5px; }
.step-item p {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.65;
  margin-top: 3px;
}

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}
.footer-tag {
  font-size: 13.5px;
  color: var(--text-faint);
  margin-top: 14px;
}
.footer-contact {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 2;
  text-align: right;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ============ 滚动入场动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8,9,13,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 20px;
  }
  .nav.menu-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .section { padding: 76px 0; }
  .hero-anchors { gap: 28px; }
  .footer-contact { text-align: left; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .br-pc { display: none; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-inner { padding-bottom: 70px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .pain-summary { padding: 28px 22px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
}
