/* =============================================================
   企智汇 AI 智能名片 · 官网样式
   设计语言：深空底 + 极光渐变 + 金色高光，大留白、大字重对比
   响应式：1280 / 1024 / 768 / 480 四档断点
   ============================================================= */

:root {
  --bg: #06070c;
  --bg-2: #0a0c14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f4f8;
  --text-2: #a9b1c3;
  --text-3: #6f7789;

  --brand: #6d5efc;
  --brand-2: #a855f7;
  --brand-3: #2dd4bf;
  --gold: #f5c56b;
  --gold-2: #ffd98a;
  --danger: #f87171;
  --success: #4ade80;

  --grad-brand: linear-gradient(118deg, #6d5efc 0%, #a855f7 48%, #f5c56b 130%);
  --grad-text: linear-gradient(100deg, #ffffff 10%, #c9b6ff 55%, #f5c56b 100%);
  --grad-gold: linear-gradient(100deg, #f5c56b 0%, #ffd98a 100%);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 100px -30px rgba(109, 94, 252, 0.35);
  --glow: 0 0 80px -20px rgba(109, 94, 252, 0.5);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: rgba(109, 94, 252, 0.4); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =============================================================
   背景光晕
   ============================================================= */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx::before,
.bg-fx::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5;
}
.bg-fx::before {
  width: 700px; height: 700px; top: -280px; left: -180px;
  background: radial-gradient(circle, rgba(109,94,252,.5), transparent 65%);
  animation: float1 22s ease-in-out infinite;
}
.bg-fx::after {
  width: 620px; height: 620px; top: 18%; right: -220px;
  background: radial-gradient(circle, rgba(168,85,247,.32), transparent 65%);
  animation: float2 27s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-70px, 40px); } }

.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}

.page { position: relative; z-index: 1; }

/* =============================================================
   导航
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 7, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.nav.scrolled { background: rgba(6, 7, 12, 0.92); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 40px; height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -.3px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand);
  display: grid; place-items: center; box-shadow: var(--glow); flex-shrink: 0;
}
.logo-mark svg { width: 19px; height: 19px; }
.logo-text b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 9px 16px; border-radius: 10px; font-size: 15px; color: var(--text-2);
  transition: all .22s var(--ease); position: relative; font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: 8px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s var(--ease); }

/* =============================================================
   按钮
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap; letter-spacing: .2px;
}
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(109, 94, 252, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(109, 94, 252, .8); }

.btn-gold {
  background: var(--grad-gold); color: #1a1206;
  box-shadow: 0 10px 30px -8px rgba(245, 197, 107, .5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(245, 197, 107, .7); }

.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-2px); }

.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--brand); background: rgba(109, 94, 252, .1); }

.btn-lg { padding: 17px 38px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

/* =============================================================
   Hero
   ============================================================= */
.hero { padding: 168px 0 100px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 17px 8px 10px;
  border-radius: 100px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-2); margin-bottom: 30px;
  animation: fadeUp .8s var(--ease) both;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); animation: pulse 2s infinite; }
.hero-badge .tag {
  padding: 3px 10px; border-radius: 100px; background: linear-gradient(100deg, #6d5efc, #a855f7);
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .3px;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.14; font-weight: 800; letter-spacing: -1.8px; margin-bottom: 26px;
  animation: fadeUp .8s .08s var(--ease) both;
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .underline {
  position: relative; white-space: nowrap;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--text-2);
  max-width: 660px; line-height: 1.85; margin-bottom: 42px;
  animation: fadeUp .8s .16s var(--ease) both;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; animation: fadeUp .8s .24s var(--ease) both; }
.hero-note { font-size: 13.5px; color: var(--text-3); margin-top: 16px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* 数据条 */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  animation: fadeUp .8s .32s var(--ease) both; }
.stat { background: var(--bg-2); padding: 28px 24px; text-align: center; }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -1px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }

/* =============================================================
   通用区块
   ============================================================= */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 66px; }
.section-tag {
  display: inline-block; padding: 6px 15px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 20px;
  background: rgba(109, 94, 252, .13); border: 1px solid rgba(109, 94, 252, .28); color: #b3a4ff;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.25; margin-bottom: 18px;
}
.section-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc { font-size: 1.06rem; color: var(--text-2); line-height: 1.85; }

/* =============================================================
   能力卡片
   ============================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-fx {
  position: relative; padding: 36px 32px; border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); overflow: hidden;
  transition: all .4s var(--ease);
}
.card-fx::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(109,94,252,.15), transparent 42%);
}
.card-fx:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-fx:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-brand); margin-bottom: 22px; box-shadow: var(--glow);
}
.card-icon svg { width: 26px; height: 26px; }
.card-fx h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.4px; }
.card-fx p { color: var(--text-2); font-size: 15.2px; line-height: 1.8; }

/* =============================================================
   流程图
   ============================================================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow-step { position: relative; padding: 30px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); }
.flow-step::after {
  content: ''; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-right: 2px solid var(--line-strong);
  border-top: 2px solid var(--line-strong); rotate: 45deg;
}
.flow-step:last-child::after { display: none; }
.flow-num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(109, 94, 252, .16); border: 1px solid rgba(109, 94, 252, .35);
  font-weight: 700; font-size: 15px; color: #b3a4ff; margin-bottom: 16px;
}
.flow-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 14.2px; color: var(--text-2); line-height: 1.75; }

/* =============================================================
   对比
   ============================================================= */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { padding: 34px 30px; border-radius: var(--radius-l); border: 1px solid var(--line); }
.compare-col.old { background: rgba(255, 255, 255, .02); }
.compare-col.new {
  background: linear-gradient(160deg, rgba(109, 94, 252, .13), rgba(168, 85, 247, .05));
  border-color: rgba(109, 94, 252, .35); box-shadow: var(--shadow-lg);
}
.compare-col h3 { font-size: 1.18rem; margin-bottom: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.compare-col li { padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--text-2);
  display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.compare-col li:last-child { border: none; }
.compare-col .x { color: var(--danger); font-weight: 700; flex-shrink: 0; }
.compare-col .v { color: var(--success); font-weight: 700; flex-shrink: 0; }
.compare-col.new li { color: var(--text); }

/* =============================================================
   定价
   ============================================================= */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  padding: 40px 32px; border-radius: var(--radius-l); border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  display: flex; flex-direction: column; transition: all .35s var(--ease); position: relative;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.hot {
  border-color: rgba(245, 197, 107, .45);
  background: linear-gradient(170deg, rgba(245,197,107,.1), rgba(109,94,252,.05));
  box-shadow: var(--shadow-lg);
}
.price-hot-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 100px; background: var(--grad-gold); color: #1a1206;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; white-space: nowrap;
}
.price-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.price-val { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; }
.price-val .num { font-size: 2.7rem; font-weight: 800; letter-spacing: -1.6px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-val .unit { font-size: 14px; color: var(--text-3); }
.price-features { margin: 26px 0 32px; flex: 1; }
.price-features li { padding: 10px 0; font-size: 14.8px; color: var(--text-2); display: flex; gap: 11px; align-items: flex-start; }
.price-features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* =============================================================
   目录
   ============================================================= */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir-item {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: all .3s var(--ease); display: block;
}
.dir-item:hover { transform: translateY(-5px); border-color: rgba(109,94,252,.4); background: var(--surface-2); }
.dir-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dir-logo {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--grad-brand); font-weight: 800; font-size: 19px; color: #fff;
}
.dir-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.dir-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; }
.dir-meta { font-size: 12.8px; color: var(--text-3); }
.dir-slogan { font-size: 14.2px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-foot { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-3);
  padding-top: 14px; border-top: 1px solid var(--line); }

/* =============================================================
   企业落地页
   ============================================================= */
.ent-hero { padding: 140px 0 70px; }
.ent-head { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.ent-logo {
  width: 96px; height: 96px; border-radius: 22px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--grad-brand); font-size: 34px; font-weight: 800; color: #fff; box-shadow: var(--glow);
}
.ent-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.ent-title { flex: 1; min-width: 280px; }
.ent-title h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -1.2px; margin-bottom: 12px; }
.ent-slogan { font-size: 1.1rem; color: var(--text-2); line-height: 1.8; max-width: 620px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.info-item { display: flex; gap: 12px; padding: 15px 18px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.info-item .k { color: var(--text-3); flex-shrink: 0; min-width: 62px; }
.info-item .v { color: var(--text); }

/* =============================================================
   名片页
   ============================================================= */
.card-page { padding: 28px 0 80px; --ent-c: #8b5cf6; }
.card-wrap { max-width: 560px; margin: 0 auto; }
.card-shell {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.card-top {
  /* 主题色变量 --ent-c 在 .card-page 上定义（默认紫，企业可自定义）。
     企业上传 Logo 后：Logo 作为头部背景图层居中显示，其上覆盖 80% 不透明度的主题色渐变 */
  padding: 44px 34px 34px; text-align: center; position: relative; overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 112%, color-mix(in srgb, var(--ent-c) 55%, #f5c56b) 0%, transparent 42%),
    linear-gradient(165deg,
      color-mix(in srgb, var(--ent-c) 62%, #a78bfa) 0%,
      var(--ent-c) 52%,
      color-mix(in srgb, var(--ent-c) 80%, #4c1d95) 100%);
}
.card-top:has(.card-top-bg) { background: none; }
.card-top-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.card-top-shade {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 88% 112%, color-mix(in srgb, color-mix(in srgb, var(--ent-c) 55%, #f5c56b) 80%, transparent) 0%, transparent 42%),
    linear-gradient(165deg,
      color-mix(in srgb, color-mix(in srgb, var(--ent-c) 62%, #a78bfa) 80%, transparent) 0%,
      color-mix(in srgb, var(--ent-c) 80%, transparent) 52%,
      color-mix(in srgb, color-mix(in srgb, var(--ent-c) 80%, #4c1d95) 80%, transparent) 100%);
}
.card-top::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.25), transparent 55%);
}
.card-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; position: relative; z-index: 1;
  border: 3px solid rgba(255,255,255,.35); overflow: hidden; background: rgba(255,255,255,.2);
  display: grid; place-items: center; font-size: 36px; font-weight: 700; color: #fff;
}
.card-avatar img { width: 100%; height: 100%; object-fit: cover; }
#cardAvatar { cursor: zoom-in; }
#cardAvatar:hover { filter: brightness(1.08); }

/* 名字行：用户头像小圆 + 姓名 */
.card-idrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; z-index: 1;
}
.card-mini-avatar {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2px solid rgba(255,255,255,.4); background: rgba(255,255,255,.22);
  cursor: zoom-in; transition: transform .2s var(--ease);
}
.card-mini-avatar:hover { transform: scale(1.1); }
.card-mini-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 头像放大预览 */
.avatar-lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 5, 10, 0.88); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 5vmin;
  cursor: zoom-out; opacity: 0; transition: opacity .18s ease;
}
.avatar-lightbox.open { display: flex; opacity: 1; }
.avatar-lightbox img {
  max-width: 86vmin; max-height: 86vmin; width: auto; height: auto;
  border-radius: 20px; object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: lb-in .22s cubic-bezier(.2, .8, .3, 1);
}
@keyframes lb-in { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.card-name { font-size: 1.7rem; font-weight: 800; position: relative; z-index: 1; letter-spacing: -.6px; }
.card-title { font-size: 15px; opacity: .92; margin-top: 6px; position: relative; z-index: 1; }
.card-company { font-size: 13.5px; opacity: .82; margin-top: 3px; position: relative; z-index: 1; }
.card-whatido {
  margin: 22px 24px 0; padding: 18px 20px; border-radius: 15px; position: relative; z-index: 1;
  background: rgba(0,0,0,.18); backdrop-filter: blur(10px); text-align: left;
  font-size: 14.5px; line-height: 1.8;
}
.card-body { padding: 26px; }
.card-body.has-intro { padding-top: 42px; }

/* ================= 企业简介展开 ================= */
.ent-intro-toggle {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); cursor: pointer; z-index: 3;
  background: rgba(255,255,255,.22); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.ent-intro-toggle:hover { background: rgba(255,255,255,.34); }
.ent-intro-toggle svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.ent-intro-toggle.open svg { transform: rotate(180deg); }

.ent-intro {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.ent-intro.open { grid-template-rows: 1fr; }
.ent-intro-clip { overflow: hidden; min-height: 0; }
.ent-intro-card {
  margin: 2px 0 14px; padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  text-align: left;
}
.ent-intro-h {
  font-size: 11.5px; letter-spacing: 1px; margin-bottom: 7px;
  color: color-mix(in srgb, var(--ent-c) 70%, #fff);
  font-weight: 600;
}
.ent-intro-txt { font-size: 13px; line-height: 1.75; color: var(--text-2); }
.ent-intro-txt strong { color: var(--text); font-weight: 600; }

/* 企业简介面板内的工商信息行 */
.ent-facts {
  margin-top: 13px; padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  display: flex; flex-direction: column; gap: 8px;
}
.ent-fact { display: flex; gap: 12px; font-size: 12.5px; line-height: 1.55; }
.ent-fact .k { color: var(--text-3); flex-shrink: 0; width: 6.5em; }
.ent-fact .v { color: var(--text-2); min-width: 0; overflow-wrap: anywhere; text-align: left; }
.ent-fact .v a { color: color-mix(in srgb, var(--ent-c) 65%, #fff); text-decoration: underline; text-underline-offset: 2px; }
.contact-list { display: grid; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: all .25s var(--ease);
  cursor: pointer; text-align: left; width: 100%;
}
.contact-row:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateX(4px); }
.contact-ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  flex-shrink: 0; color: color-mix(in srgb, var(--ent-c) 62%, #fff);
  background: color-mix(in srgb, var(--ent-c) 16%, transparent);
  transition: all .25s var(--ease);
}
.contact-row:hover .contact-ic { background: color-mix(in srgb, var(--ent-c) 26%, transparent); }
.contact-ic svg { width: 19px; height: 19px; }
.contact-txt { flex: 1; min-width: 0; }
.contact-txt .k { font-size: 12.5px; color: var(--text-3); }
.contact-txt .v { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-go { color: var(--text-3); font-size: 13px; flex-shrink: 0; }

/* AI 对话区 */
.ai-box { margin-top: 22px; border-radius: var(--radius-l); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; }
.ai-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.ai-head h3 { font-size: 15.5px; font-weight: 700; }
.ai-head .sub { font-size: 12.5px; color: var(--text-3); margin-left: auto; }
.ai-msgs { padding: 20px 22px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 11px; animation: fadeUp .35s var(--ease); }
.msg-avatar { width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; }
.msg.user .msg-avatar {
  background: color-mix(in srgb, var(--ent-c) 20%, transparent);
  color: color-mix(in srgb, var(--ent-c) 60%, #fff);
}
.msg.ai .msg-avatar {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ent-c) 62%, #a78bfa) 0%,
    var(--ent-c) 55%,
    color-mix(in srgb, var(--ent-c) 80%, #4c1d95) 120%);
  color: #fff;
}
.msg-bubble { padding: 13px 17px; border-radius: 15px; font-size: 14.8px; line-height: 1.8; max-width: 82%; overflow-wrap: anywhere; word-break: break-word; }
.msg-bubble a.msg-link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.msg-bubble a.msg-link:active { opacity: .75; }
.msg.user .msg-bubble {
  background: color-mix(in srgb, var(--ent-c) 17%, transparent);
  border: 1px solid color-mix(in srgb, var(--ent-c) 32%, transparent);
}
.msg.ai .msg-bubble { background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.msg-src { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.3px; color: var(--text-3); }
.msg-src b { color: color-mix(in srgb, var(--ent-c) 62%, #fff); font-weight: 600; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3);
  margin: 0 2px; animation: bounce 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: .18s; }
.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }

.ai-suggest { padding: 0 22px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.ai-suggest button {
  padding: 8px 14px; border-radius: 100px; font-size: 13px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
  transition: all .22s var(--ease);
}
.ai-suggest button:hover { border-color: var(--ent-c); color: var(--text); background: color-mix(in srgb, var(--ent-c) 12%, transparent); }
.ai-input { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.ai-input input {
  flex: 1; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line); outline: none; font-size: 14.5px; transition: border-color .2s;
}
.ai-input input:focus { border-color: var(--ent-c); }
.ai-input button {
  padding: 12px 22px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ent-c) 62%, #a78bfa) 0%,
    var(--ent-c) 55%,
    color-mix(in srgb, var(--ent-c) 80%, #4c1d95) 120%);
  color: #fff; font-weight: 600; font-size: 14.5px;
}
.ai-input button:disabled { opacity: .5; cursor: not-allowed; }

/* =============================================================
   表单 / 登录注册
   ============================================================= */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side {
  padding: 70px 64px 70px clamp(64px, 28%, 320px); display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; background: linear-gradient(150deg, #12142a, #0a0c14);
  border-right: 1px solid var(--line);
}
.auth-side::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,94,252,.35), transparent 65%);
  top: -140px; right: -160px; filter: blur(80px);
}
.auth-side h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.3; margin-bottom: 20px; position: relative; }
.auth-side h2 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-side p { color: var(--text-2); font-size: 15.5px; line-height: 1.85; position: relative; margin-bottom: 34px; }
.auth-benefits { display: grid; gap: 15px; position: relative; }
.auth-benefits li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.auth-benefits svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.auth-main { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
.auth-box { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-box h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -.8px; margin-bottom: 10px; }
.auth-sub { color: var(--text-3); font-size: 14.8px; margin-bottom: 34px; }

.field { margin-bottom: 19px; }
.field label { display: block; font-size: 13.8px; color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  background: rgba(255,255,255,.045); border: 1px solid var(--line);
  outline: none; transition: all .22s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 4px rgba(109,94,252,.12);
}
.field input::placeholder { color: var(--text-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-hint { font-size: 12.5px; color: var(--text-3); margin-top: 7px; }
.field-err { font-size: 12.8px; color: var(--danger); margin-top: 7px; display: none; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .field-err { display: block; }

.auth-switch { text-align: center; margin-top: 26px; font-size: 14.5px; color: var(--text-3); }
.auth-switch a { color: #b3a4ff; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.alert { padding: 13px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; display: none; }
.alert.show { display: block; }
.alert.err { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.3); color: #fca5a5; }
.alert.ok { background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.3); color: #86efac; }

/* =============================================================
   CTA
   ============================================================= */
.cta-band {
  padding: 80px 60px; border-radius: var(--radius-xl); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(109,94,252,.22), rgba(168,85,247,.12) 50%, rgba(245,197,107,.1));
  border: 1px solid rgba(109,94,252,.3);
}
.cta-band::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,107,.2), transparent 65%);
  bottom: -180px; left: 50%; transform: translateX(-50%); filter: blur(60px);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -1.2px;
  margin-bottom: 16px; position: relative; }
.cta-band p { color: var(--text-2); font-size: 1.06rem; margin-bottom: 34px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================================
   页脚
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding: 64px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 46px; }
.footer-about p { color: var(--text-3); font-size: 14.2px; line-height: 1.85; margin-top: 16px; max-width: 300px; }
.footer h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 17px; }
.footer li { padding: 7px 0; font-size: 14.2px; color: var(--text-3); }
.footer li a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.2px; color: var(--text-3);
}
.footer--mini { padding: 26px 0 66px; margin-top: 28px; } /* 底部留出左下角悬浮胶囊的高度，避免版权行与其重叠 */
.footer--mini .footer-bottom { border-top: none; padding-top: 0; justify-content: center; text-align: center; }

/* 访问主站：固定悬浮在视口左下角的胶囊按钮 */
.home-fab {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 100px;
  font-size: 12.5px; color: rgba(255,255,255,.82); text-decoration: none;
  background: rgba(10, 12, 22, .55);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .15s ease, color .15s ease, transform .15s var(--ease);
}
.home-fab:hover { background: rgba(10, 12, 22, .78); color: var(--gold); transform: translateY(-1px); }

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .flow-step:nth-child(2)::after { display: none; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: rgba(6,7,12,.98); backdrop-filter: blur(20px);
    padding: 18px 24px 26px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s var(--ease);
    margin-left: 0; align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-actions { display: none; }
  .nav-links.open ~ .nav-actions { display: flex; }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .mobile-cta { display: flex !important; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 110px 24px 60px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .hero { padding: 130px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
  .cards, .pricing, .dir-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow-step::after { display: none; }
  .compare { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 54px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .ent-head { gap: 20px; }
  .ent-logo { width: 72px; height: 72px; font-size: 26px; }
  .msg-bubble { max-width: 90%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; letter-spacing: -1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
  .card-top { padding: 34px 22px 26px; }
  .card-body { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =============================================================
   H5 移动端：名片页 AI 输入栏固定底部（聊天式），软键盘适配
   ============================================================= */
@media (max-width: 768px) {
  /* 页面留出固定输入栏的高度，避免末尾内容被遮住 */
  body.has-ai-dock { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

  .has-ai-dock .ai-input {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 11, 19, .94);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .35);
    align-items: center;
    /* JS 会按软键盘实际高度覆写为具体 px */
    bottom: env(keyboard-inset-height, 0px);
  }
  .has-ai-dock .ai-input input {
    height: 44px; min-height: 44px; border-radius: 22px;
    font-size: 16px;              /* ≥16px 避免 iOS 聚焦自动放大 */
    padding: 0 16px;
    background: rgba(255, 255, 255, .07);
  }
  .has-ai-dock .ai-input button {
    height: 44px; padding: 0 24px; border-radius: 22px; flex-shrink: 0;
  }
  /* 输入栏吸底后，把悬浮的「访问主站」抬到输入栏上方；键盘弹出时隐藏 */
  .has-ai-dock .home-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); transition: bottom .18s ease, opacity .18s ease; }
  .has-ai-dock.kb-open .home-fab { opacity: 0; pointer-events: none; }
  /* 键盘弹出时消息区自动收窄，保证最新消息可见 */
  .has-ai-dock .ai-msgs { max-height: 46vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
