/* =====================================================================
   MaxMind 官网 · 生成式视觉（全部 CSS 绘制，零位图 / 零视频）
   原则：细线几何 + 一个色相 + 大留白；不用大面积模糊渐变（最容易显廉价）
   ===================================================================== */
.art {
  overflow: hidden;
  background-color: #06070b;
  isolation: isolate;
}
/* 极细颗粒，压掉渐变的塑料感 */
.art::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
  opacity: .04; mix-blend-mode: overlay;
}

/* A · 等距同心环 —— 深蓝，环距精确，每第 4 环加重 */
.art-a {
  background:
    radial-gradient(26% 26% at 30% 34%, rgba(122,168,255,.24), rgba(122,168,255,0) 70%),
    radial-gradient(60% 60% at 86% 92%, rgba(104,88,224,.14), rgba(104,88,224,0) 66%),
    #06070c;
}
.art-a::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 30% 34%,
      rgba(180,205,255,.42) 0 1.4px, rgba(180,205,255,0) 1.4px 24.8%),
    repeating-radial-gradient(circle at 30% 34%,
      rgba(150,180,255,.18) 0 1px, rgba(150,180,255,0) 1px 6.2%);
  -webkit-mask-image: radial-gradient(circle at 30% 34%, #000 26%, rgba(0,0,0,.55) 62%, transparent 92%);
  mask-image: radial-gradient(circle at 30% 34%, #000 26%, rgba(0,0,0,.55) 62%, transparent 92%);
}

/* B · 地平线 —— 点阵 + 一条 1px 亮线（脉冲感来自线的亮度而非模糊） */
.art-b {
  background:
    linear-gradient(180deg,
      rgba(41,211,194,0) 63.4%, rgba(41,211,194,.16) 64.2%,
      rgba(41,211,194,.85) 64.85%, rgba(41,211,194,.85) 65.05%,
      rgba(41,211,194,.16) 65.7%, rgba(41,211,194,0) 66.6%),
    radial-gradient(70% 14% at 50% 65%, rgba(41,211,194,.16), rgba(41,211,194,0) 72%),
    #04060a;
}
.art-b::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.34) 1px, rgba(255,255,255,0) 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 42%, #000 72%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 2%, #000 42%, #000 72%, rgba(0,0,0,0) 100%);
}

/* C · 斜切栅格 —— 琥珀发丝线 + 一道亮斜条 */
.art-c {
  background:
    linear-gradient(-22deg,
      rgba(255,255,255,0) 48.6%, rgba(255,186,120,.20) 49.2%,
      rgba(255,196,140,.92) 49.7%, rgba(255,196,140,.92) 50.1%,
      rgba(255,186,120,.20) 50.6%, rgba(255,255,255,0) 51.4%),
    radial-gradient(34% 34% at 14% 18%, rgba(255,168,74,.22), rgba(255,168,74,0) 74%),
    #08070a;
}
.art-c::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-22deg,
    rgba(255,255,255,.22) 0 1px, rgba(255,255,255,0) 1px 15px);
  -webkit-mask-image: linear-gradient(112deg, #000 8%, #000 48%, transparent 86%);
  mask-image: linear-gradient(112deg, #000 8%, #000 48%, transparent 86%);
}

/* D · 双环交叠 —— 青绿 / 蓝，两个细圆相切，交叠处提亮 */
.art-d {
  background:
    radial-gradient(40% 40% at 34% 34%, rgba(64,214,158,.22), rgba(64,214,158,0) 70%),
    radial-gradient(44% 44% at 72% 66%, rgba(84,150,255,.20), rgba(84,150,255,0) 72%),
    #05080a;
}
.art-d::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 34% 34%, transparent 24.2%, rgba(120,235,190,.55) 24.8%, transparent 25.5%),
    radial-gradient(circle at 72% 66%, transparent 30.2%, rgba(150,190,255,.50) 30.8%, transparent 31.5%),
    radial-gradient(circle at 72% 66%, transparent 41.2%, rgba(150,190,255,.28) 41.8%, transparent 42.5%),
    radial-gradient(circle at 34% 34%, transparent 35.2%, rgba(120,235,190,.22) 35.8%, transparent 36.5%);
}

/* 卡片背景层 */
.card--promo .card__art { position: absolute; inset: 0; display: block; }

/* 主视觉：M2.0 由文字渲染，不是图片 */
.hero-word {
  margin: clamp(18px, 5vh, 56px) auto 0;
  text-align: center;
  font-family:var(--font-sans);
  font-weight: 200;
  font-size: clamp(104px, 19.5vw, 300px);
  line-height: .84;
  letter-spacing: -.055em;
  background: linear-gradient(176deg, #ffffff 6%, #f0f2f6 32%, #8b93a0 55%, #f4f6f9 76%, #aab2bd 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  user-select: none;
  filter: drop-shadow(0 24px 60px rgba(160,190,255,.10));
}
.hero-word span { letter-spacing: -.035em; }

@media (max-width: 900px) {
  .hero-word { font-size: clamp(76px, 26vw, 200px); }
}

/* ═══════ 首页 Hero：左文右功能（演示片段 + 输入框）═══════ */
.hero-grid {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(26px, 6vh, 62px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  text-align: left;
}

.hero-left { min-width: 0; text-align: left; }
.hero-left .hero-word {
  margin: 0;
  text-align: left;
  font-size: clamp(84px, 11.4vw, 208px);
  line-height: .84;
  letter-spacing: -.055em;
}
.hero-left .hero-actions {
  justify-content: flex-start;
  margin-top: clamp(18px, 3vh, 30px);
}
.hero-left .hero-sub {
  margin: clamp(16px, 2.6vh, 26px) 0 0;
  max-width: 34ch;
  text-align: left;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.78;
  color: #b7bcc5;
}

.hero-right {
  min-width: 0;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-right .ai-input-container { width: 100%; max-width: none; text-align: left; }

/* ---------- 演示片段（纯 CSS 循环播放，无视频）---------- */
.demo-clip {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 18px;
  background: linear-gradient(180deg, #0c0d11, #08090c);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.dm-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .018);
  font-size: 11px;
  letter-spacing: .04em;
  color: #7d838d;
}
.dm-bar i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.dm-bar span { margin-left: 6px; }
.dm-bar em {
  margin-left: auto;
  font-style: normal;
  color: #6f757f;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dm-bar em::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #4ad4a4;
  box-shadow: 0 0 0 3px rgba(74, 212, 164, .16);
  animation: dmPulse 2.4s ease-in-out infinite;
}

.dm-stage {
  padding: 16px 16px 22px;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.dm-q {
  align-self: flex-end;
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 12px 12px 3px 12px;
  background: #1b1e24;
  border: 1px solid rgba(255, 255, 255, .07);
  color: #dfe3e9;
  font-size: 12.5px;
  line-height: 1.5;
  animation: dmIn 9.6s ease both infinite;
}

.dm-a { display: flex; flex-direction: column; gap: 7px; }
.dm-line {
  display: block;
  height: 7px;
  width: var(--w, 80%);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .055));
  transform-origin: left center;
  animation: dmLine 9.6s cubic-bezier(.22, 1, .36, 1) both infinite;
}
.dm-a .dm-line:nth-child(2) { animation-delay: .28s; }

.dm-txt {
  font-size: 12.5px;
  line-height: 1.55;
  color: #a9b0ba;
  letter-spacing: .01em;
  animation: dmIn 9.6s ease both infinite;
}
.dm-txt b { color: #e8ecf2; font-weight: 600; }

.dm-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 84px;
  padding-top: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.dm-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(122, 160, 255, .85), rgba(90, 120, 220, .18));
  transform-origin: bottom center;
  animation: dmGrow 9.6s cubic-bezier(.22, 1, .36, 1) both infinite;
}
.dm-chart span:nth-child(2) { animation-delay: .06s; }
.dm-chart span:nth-child(3) { animation-delay: .12s; }
.dm-chart span:nth-child(4) { animation-delay: .18s; }
.dm-chart span:nth-child(5) { animation-delay: .24s; }
.dm-chart span:nth-child(6) { animation-delay: .30s; }
.dm-chart span:nth-child(7) { animation-delay: .36s; }
.dm-chart span:nth-child(6) { background: linear-gradient(180deg, rgba(96, 226, 190, .9), rgba(60, 180, 150, .18)); }

.dm-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.dm-tags span {
  font-size: 10.5px;
  letter-spacing: .02em;
  color: #9aa1ab;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  animation: dmIn 9.6s ease both infinite;
  animation-delay: 1.5s;
}
.dm-tags span:nth-child(2) { animation-delay: 1.7s; }
.dm-tags span:nth-child(3) { animation-delay: 1.9s; }

@keyframes dmIn {
  0%   { opacity: 0; transform: translateY(7px); }
  7%   { opacity: 1; transform: none; }
  84%  { opacity: 1; transform: none; }
  92%  { opacity: 0; transform: translateY(-3px); }
  100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes dmLine {
  0%   { opacity: 0; transform: scaleX(.5); }
  9%   { opacity: 1; transform: none; }
  84%  { opacity: 1; }
  92%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes dmGrow {
  0%   { opacity: 0; transform: scaleY(0); }
  20%  { opacity: 0; transform: scaleY(0); }
  34%  { opacity: 1; transform: scaleY(1); }
  84%  { opacity: 1; transform: scaleY(1); }
  92%  { opacity: 0; }
  100% { opacity: 0; transform: scaleY(1); }
}
@keyframes dmPulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ---------- 窄屏：回到单列，整体居中 ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 24px;
    text-align: center;
  }
  .hero-left { text-align: center; }
  .hero-left .hero-word { text-align: center; font-size: clamp(76px, 25vw, 160px); }
  .hero-left .hero-actions { justify-content: center; }
  .hero-left .hero-sub { margin-inline: auto; text-align: center; }
  .hero-right { justify-self: center; max-width: 560px; }
  .dm-stage { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-clip * { animation: none !important; }
  .dm-q, .dm-line, .dm-tags span { opacity: 1; transform: none; }
  .dm-chart span { transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   首屏与模型区版式（2026-11-23 二轮：降密度、去小字）
   -------------------------------------------------------------------
   · 首屏只留一句定位 + 对话入口 + 三个按钮，正文号统一 16–18px
   · 模型卡正文提到 15px（原 13.5px），价格 18px
   · 已移除的 12px 小字：卡片单位说明、型号 ID、眉标
   ═══════════════════════════════════════════════════════════════════ */
.hero-grid--solo {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.hero-grid--solo .hero-left { max-width: 860px; }
.hero-grid--solo .hero-sub  { max-width: 62ch; }

/* 对话入口紧跟定位句，是首屏的落点，不是附属 */
.hero-grid--solo .ai-input-container {
  margin-top: clamp(22px, 3.2vh, 32px);
  max-width: 560px;
}
.hero-grid--solo .hero-actions {
  margin-top: clamp(16px, 2.4vh, 24px);
}

/* 模型卡：正文不再用小字 */
.intro-card-price { font-size: 18px; }
.intro-card-text  { font-size: 15px; line-height: 1.65; color: var(--text-2); }
.intro-card       { gap: 12px; }

@media (max-width: 900px) {
  .hero-grid--solo .ai-input-container { margin-inline: auto; }
}
