/* =============================================================
   AtlasBot Marketing Site — extends prototype design language
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --ink-0: #07090d;
  --ink-1: #0a0d12;
  --ink-2: #11161e;
  --ink-3: #161c25;
  --ink-4: #1d2530;
  --ink-5: #28323f;

  --line-1: rgba(255, 255, 255, 0.05);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.14);

  --text-1: #e7e9ee;
  --text-2: #b9bdc6;
  --text-3: #8a9099;
  --text-4: #5a6068;

  --amber: #e8b04b;
  --amber-soft: rgba(232, 176, 75, 0.14);
  --amber-strong: #f5c069;
  --amber-deep: #d6912a;

  --teal: #6cd3c0;
  --teal-soft: rgba(108, 211, 192, 0.12);
  --crimson: #f0644b;
  --crimson-soft: rgba(240, 100, 75, 0.14);
  --violet: #a98bff;
  --violet-soft: rgba(169, 139, 255, 0.12);

  /* 大标题与展示性中文：正式衬线 */
  --font-display: 'Noto Serif SC', 'Songti SC', 'SimSun', 'STSong', serif;
  --font-sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --max: 1240px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink-1);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

body {
  background:
    radial-gradient(1400px 800px at 80% -10%, rgba(232, 176, 75, 0.10), transparent 60%),
    radial-gradient(1100px 700px at -10% 30%, rgba(108, 211, 192, 0.05), transparent 55%),
    var(--ink-1);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--amber); }
button { font: inherit; color: inherit; cursor: pointer; }

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

/* noise overlay */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

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

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--line-2);
}
.nav-row {
  display: flex; align-items: center; gap: 32px;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; height: 36px; }
.nav-logo img { height: 30px; }
.nav-links { display: flex; gap: 26px; flex: 1; font-size: 14px; }
.nav-links a { color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--text-1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-3);
  background: var(--ink-2);
  border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-1);
  transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-3); border-color: var(--line-3); color: var(--text-1); }
.btn.primary {
  background: linear-gradient(180deg, var(--amber-strong), var(--amber));
  color: #1a0f00; border-color: var(--amber-strong);
  box-shadow: 0 6px 22px -8px rgba(232,176,75,0.55);
}
.btn.primary:hover { background: linear-gradient(180deg, #ffd089, var(--amber-strong)); color: #1a0f00; }
.btn.ghost { background: transparent; }
.btn.lg { padding: 13px 24px; font-size: 14.5px; }
.btn.sm { padding: 6px 12px; font-size: 12.5px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--amber-soft);
  border: 1px solid rgba(232,176,75,0.25);
  border-radius: 100px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px var(--amber);
}

.hero h1,
.hero h1.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  margin: 22px 0 22px;
  max-width: 520px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--amber-strong);
}
/* 首屏主标题固定为两行：第二行不换行（窄屏再允许自然换行） */
.hero-title-line--sub {
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .hero-title-line--sub {
    white-space: normal;
  }
}
.hero p.lead {
  font-size: 16.5px; color: var(--text-2);
  max-width: 560px;
  margin: 0 0 30px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-3);
}
.hero-trust .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust .label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-4);
}
.hero-trust .pill {
  padding: 3px 10px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-2);
}

/* ====== HERO VISUAL (mock console) ====== */
.hero-visual {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.6),
    0 1px 0 rgba(255,255,255,0.02) inset;
}
.hero-visual::after {
  content: ""; position: absolute; inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(232,176,75,0.18);
  box-shadow: 0 0 60px -10px rgba(232,176,75,0.20) inset;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #0d1117, #0a0d12);
  border-bottom: 1px solid var(--line-2);
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.mock-bar .dot:nth-child(1) { background: #f0644b; }
.mock-bar .dot:nth-child(2) { background: #e8b04b; }
.mock-bar .dot:nth-child(3) { background: #6cd3c0; }
.mock-bar .url {
  flex: 1; padding: 4px 10px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3);
  margin-left: 10px;
}

.mock-canvas {
  padding: 18px 18px 22px;
  display: grid; grid-template-columns: 88px 1fr; gap: 14px;
  min-height: 360px;
  background:
    radial-gradient(400px 200px at 30% 0%, rgba(232,176,75,0.08), transparent 60%),
    var(--ink-2);
}
.mock-side {
  display: flex; flex-direction: column; gap: 8px;
}
.mock-side .grp { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; color: var(--text-4); margin-top: 8px; }
.mock-side .item {
  font-size: 10.5px; color: var(--text-3);
  padding: 5px 7px; border-radius: 5px;
}
.mock-side .item.active { background: var(--ink-3); color: var(--amber); }

.mock-main { display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-kpi {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-kpi .l { font-family: var(--font-mono); font-size: 9px; color: var(--text-3); letter-spacing: 0.18em; text-transform: uppercase; }
.mock-kpi .n { font-family: var(--font-display); font-size: 22px; line-height: 1.05; margin-top: 6px; }
.mock-kpi .d { font-family: var(--font-mono); font-size: 9.5px; color: var(--teal); }
.mock-kpi .d.dn { color: var(--crimson); }

.mock-card {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 14px;
}
.mock-card .h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mock-card .h h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.mock-card .h .meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }
.mock-card svg { width: 100%; }

.mock-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mock-chips span {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 7px; border-radius: 100px;
  background: var(--ink-3); color: var(--text-3);
  border: 1px solid var(--line-2);
}
.mock-chips span.amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(232,176,75,0.25); }
.mock-chips span.teal { background: var(--teal-soft); color: var(--teal); border-color: rgba(108,211,192,0.25); }

/* answer sample */
.mock-answer {
  font-size: 12px; color: var(--text-2); line-height: 1.7;
}
.mock-answer sup {
  background: var(--amber-soft); color: var(--amber);
  font-family: var(--font-mono); font-size: 9px;
  padding: 0 4px; border-radius: 3px; margin: 0 1px;
}

/* ===== SECTIONS ===== */
.sec {
  padding: 88px 0;
  position: relative;
}
.sec.tight { padding: 56px 0; }
.sec h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 14px 0 14px;
  max-width: none;
}
.sec h2 em { font-style: normal; font-weight: 600; color: var(--amber-strong); }

/* 区块主标题：桌面端单行，避免词组中间被拆开 */
@media (min-width: 901px) {
  .sec-head h2 {
    white-space: nowrap;
  }
}
.sec .sec-lead {
  font-size: 15.5px; color: var(--text-3);
  max-width: 720px;
  margin: 0 0 56px;
}
.sec-head {
  margin-bottom: 48px;
}

.alt-bg {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(232,176,75,0.04), transparent 60%),
    var(--ink-0);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

/* ===== CHALLENGE CARDS ===== */
.challenges {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.challenge {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.challenge::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(380px 180px at 0% 0%, rgba(232,176,75,0.05), transparent 60%);
  pointer-events: none;
}
.challenge .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--amber);
  opacity: 0.3;
  position: absolute;
  top: 14px; right: 18px;
}
.challenge h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 14px 0 12px;
  letter-spacing: -0.005em;
}
.challenge p { color: var(--text-3); font-size: 13.5px; margin: 0; line-height: 1.75; }
.challenge ul {
  list-style: none; padding: 0; margin: 14px 0 0;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--text-3);
}
.challenge ul li { padding: 4px 0; border-bottom: 1px dashed var(--line-1); }
.challenge ul li:last-child { border-bottom: 0; }

/* ===== FEATURES GRID ===== */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 22px 22px 24px;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  background: var(--ink-3);
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.feature .ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--amber);
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.feature p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}
.feature .tags {
  margin-top: 12px;
  display: flex; gap: 5px; flex-wrap: wrap;
}
.feature .tags span {
  font-family: var(--font-mono); font-size: 10px;
  padding: 1px 7px; border-radius: 3px;
  background: var(--ink-3); color: var(--text-3);
  border: 1px solid var(--line-2);
}

/* ===== UI SHOWCASE TABS ===== */
.showcase {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.showcase-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.showcase-tab {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  background: var(--ink-3);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
}
.showcase-tab:hover { background: var(--ink-4); color: var(--text-1); }
.showcase-tab.active {
  background: var(--amber);
  color: #1a0f00;
  border-color: var(--amber-strong);
  font-weight: 600;
}
.showcase-img {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d1117, #0a0d12);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  color: var(--text-4);
}
.showcase-img iframe {
  width: 100%; height: 100%; border: 0; display: block;
  pointer-events: none;
}
.showcase-img .placeholder {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-3);
  letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.showcase-img .placeholder svg { color: var(--text-4); }

.showcase-caption {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px; color: var(--text-3);
}
.showcase-caption b { color: var(--text-1); font-family: var(--font-display); font-weight: 500; font-size: 14px; }

/* ===== WORKFLOW STEPS ===== */
.workflow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.workflow::before {
  content: ""; position: absolute;
  top: 28px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--amber) 80%, transparent);
  opacity: 0.4;
}
.step {
  padding: 0 22px;
  text-align: left;
  position: relative;
}
.step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--amber);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--amber);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step .step-num::after {
  content: ""; position: absolute; inset: -6px;
  border: 1px solid var(--amber-soft);
  border-radius: 50%;
  opacity: 0.4;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 10px;
}
.step p {
  margin: 0; color: var(--text-3); font-size: 13.5px; line-height: 1.7;
}
.step .step-meta {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--amber);
}

/* ===== PRIVATE DEPLOY (highlight) ===== */
.deploy-band {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(232,176,75,0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(108,211,192,0.06), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 48px;
  display: grid; grid-template-columns: 1.22fr 0.88fr; gap: 40px 36px;
  align-items: start;
}
.deploy-band__text {
  min-width: 0;
}

/* 私有化能力清单：限制总宽，避免整栏被 1fr 拉成「短文案 + 大空白」 */
.deploy-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 20.5rem));
  gap: 8px 18px;
  margin-top: 22px;
  justify-content: start;
  max-width: 44rem;
}
.deploy-checklist__col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  min-width: 0;
}
.deploy-checklist__col li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  box-sizing: border-box;
  color: var(--text-2);
  line-height: 1.5;
  background: rgba(7, 9, 13, 0.48);
  border: 1px solid var(--line-1);
  border-radius: 10px;
}
.deploy-checklist__col li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}
.deploy-band p { color: var(--text-2); font-size: 15px; line-height: 1.75; margin: 0 0 8px; }

.deploy-spec {
  background: var(--ink-1);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 18px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-2);
}
.deploy-spec .lh { color: var(--text-4); }
.deploy-spec .k { color: var(--amber); }
.deploy-spec .v { color: var(--teal); }
.deploy-spec .row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line-1);
  padding: 8px 0;
}
.deploy-spec .row > span:first-child {
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.deploy-spec .row > span:last-child {
  justify-self: end;
  text-align: right;
  word-break: break-word;
  line-height: 1.55;
}
.deploy-spec .row:last-child { border-bottom: 0; }

/* ===== PRICING ===== */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: stretch;
}
.price-card {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 28px 26px 30px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  background:
    linear-gradient(180deg, rgba(232,176,75,0.08), transparent 50%),
    var(--ink-2);
  border-color: rgba(232,176,75,0.4);
  box-shadow: 0 30px 80px -40px rgba(232,176,75,0.4);
}
.price-card .badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #1a0f00;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.price-card .for {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card .amount em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px; color: var(--text-3);
  margin-left: 6px;
}
.price-card .price-note {
  font-size: 12px; color: var(--text-3);
  margin-top: 6px;
  margin-bottom: 22px;
}
.price-card hr {
  border: 0; border-top: 1px solid var(--line-1);
  margin: 0 0 18px;
}
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  flex: 1;
}
.price-card ul li {
  display: flex; align-items: flex-start; gap: 8px;
}
.price-card ul li::before {
  content: "✓"; color: var(--amber); font-weight: 700;
  font-family: var(--font-mono);
}
.price-card ul li.muted { color: var(--text-4); }
.price-card ul li.muted::before { content: "—"; color: var(--text-4); }
.price-card .price-cta { display: flex; }
.price-card .price-cta .btn { width: 100%; justify-content: center; }

/* ===== INDUSTRIES ===== */
.industries {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.industry {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all .2s ease;
  display: flex; flex-direction: column;
}
.industry:hover { border-color: var(--line-3); transform: translateY(-2px); }
.industry .img {
  height: 160px;
  background-size: cover; background-position: center;
  background-color: var(--ink-3);
  position: relative;
}
.industry .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,18,0) 30%, var(--ink-2) 100%);
}
.industry .body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex; flex-direction: column;
  position: relative; z-index: 1;
  margin-top: -20px;
}
.industry h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
}
.industry .scenarios {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin: 4px 0 12px;
}
.industry .scenarios span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 8px;
  background: var(--amber-soft);
  color: var(--amber);
  border-radius: 100px;
  border: 1px solid rgba(232,176,75,0.2);
}
.industry p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 医药卡片：基因意象配图，压饱和与亮度 */
.industry--genetics .img {
  filter: saturate(0.62) brightness(0.88) contrast(1.04);
}
.industry--genetics .img::after {
  background: linear-gradient(180deg, rgba(10,13,18,0.38) 0%, rgba(10,13,18,0.9) 100%);
}

/* 金融卡片：压低饱和、偏琥珀主站色调 */
.industry--finance .img {
  filter: saturate(0.55) brightness(0.82) contrast(1.08);
}
.industry--finance .img::after {
  background: linear-gradient(180deg, rgba(10,13,18,0.35) 0%, rgba(10,13,18,0.88) 100%);
}

/* ===== STATS ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 56px 48px;
  background:
    linear-gradient(180deg, rgba(232,176,75,0.06), transparent 50%),
    var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  text-align: center;
}
.stat .n {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--amber-strong), var(--amber-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .l {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===== TESTIMONIALS ===== */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.quote {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute; top: 8px; left: 18px;
  font-family: var(--font-display);
  font-size: 80px; line-height: 1;
  color: var(--amber);
  opacity: 0.25;
}
.quote p {
  margin: 28px 0 16px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
}
.quote .who {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px dashed var(--line-2);
  padding-top: 14px;
}
.quote .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-strong), var(--amber-deep));
  color: #2a1505;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
}
.quote b { font-size: 13.5px; color: var(--text-1); font-weight: 500; }
.quote em { font-style: normal; color: var(--text-3); font-size: 12px; display: block; margin-top: 1px; }

/* ===== FAQ ===== */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
}
.faq details[open] summary { color: var(--amber); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--text-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto;
  font-family: var(--font-display);
  font-size: 24px; color: var(--amber);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .ans {
  margin: 14px 0 0;
  color: var(--text-3); font-size: 14px; line-height: 1.85;
  max-width: 760px;
}

/* ===== FINAL CTA ===== */
.cta-band {
  text-align: center;
  padding: 88px 32px;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(232,176,75,0.18), transparent 60%),
    var(--ink-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 16px;
}
.cta-band h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--amber-strong);
}
@media (min-width: 901px) {
  .cta-band h2 { white-space: nowrap; }
}
.cta-band p {
  position: relative;
  color: var(--text-2);
  font-size: 16px; max-width: 600px; margin: 0 auto 28px;
}
.cta-band .actions { position: relative; display: inline-flex; gap: 12px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink-0);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo img { height: 32px; }
.footer-brand p { color: var(--text-3); max-width: 320px; line-height: 1.7; margin: 0 0 14px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-2); }
.footer-bottom {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-3);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--amber); }

/* ===== MOTION ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-anim] { animation: fadeIn .8s ease both; }
[data-anim="2"] { animation-delay: .1s; }
[data-anim="3"] { animation-delay: .2s; }
[data-anim="4"] { animation-delay: .3s; }
[data-anim="5"] { animation-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .deploy-band { grid-template-columns: 1fr; padding: 32px; }
  .deploy-checklist { grid-template-columns: 1fr; gap: 10px; }
  .pricing { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .challenges { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; gap: 32px; }
  .workflow::before { display: none; }
  .industries { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
}
