/* ============================================================
   AI建站项目（AI-WEB-AGENT）页面样式
   ============================================================ */

/* 项目页头 */
.aw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.aw-kicker b {
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}
.aw-tagline { color: var(--ink-soft); margin-top: 10px; max-width: 820px; }

/* 首屏：左文右图 + 关键数字 */
.aw-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 40px; align-items: center; }
.aw-hero-copy p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.aw-hero-copy strong { color: var(--ink); }
.aw-price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 16px;
  font-family: var(--mono);
}
.aw-price-inline b { font-size: 30px; font-weight: 800; color: var(--orange); letter-spacing: 0.01em; }
.aw-price-inline span { font-size: 13px; color: var(--ink-soft); }
.aw-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.aw-hero-figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(16, 27, 45, 0.1); }
.aw-hero-figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.aw-hero-figure figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 5px;
  background: rgba(11, 20, 36, 0.72);
  color: #e6edf6;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
}

/* 关键数字条 */
.aw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.aw-stats > div { padding: 18px 20px; border-right: 1px solid var(--line); transition: background 0.18s; }
.aw-stats > div:last-child { border-right: none; }
.aw-stats > div:hover { background: rgba(255, 94, 0, 0.04); }
.aw-stats dt { font-family: var(--mono); font-size: 23px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.aw-stats dd { margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); }

/* 双版本价格卡 */
.aw-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aw-version {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.aw-version:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--orange-line); }
.aw-version.is-global { border-top: 3px solid #f97316; }
.aw-version.is-domestic { border-top: 3px solid var(--blue); }
.aw-version h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.aw-version .aw-ver-sub { font-size: 13px; color: var(--ink-soft); }
.aw-version .aw-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; font-family: var(--mono); }
.aw-version .aw-price b { font-size: 34px; font-weight: 800; color: var(--ink); }
.aw-version.is-global .aw-price b { color: #e2610c; }
.aw-version .aw-price span { font-size: 12.5px; color: var(--ink-soft); }
.aw-version .aw-price-note { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 14px; }
.aw-version ul { list-style: none; margin: 0 0 20px; }
.aw-version li { position: relative; padding: 7px 0 7px 22px; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.aw-version li:last-child { border-bottom: none; }
.aw-version li::before { content: "✓"; position: absolute; left: 2px; color: var(--orange); font-weight: 700; }
.aw-version .aw-ver-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* 四步流程 */
.aw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: awstep; }
.aw-step {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.aw-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-line); }
.aw-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #2a3b56);
}
.aw-step:nth-child(2) b { background: linear-gradient(135deg, #1f5fd0, #5b9bf3); }
.aw-step:nth-child(3) b { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.aw-step:nth-child(4) b { background: linear-gradient(135deg, #0f8a5f, #34d399); }
.aw-step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.aw-step p { font-size: 13px; color: var(--ink-soft); }

/* 能力卡 */
.aw-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aw-cap {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.aw-cap:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-line); }
.aw-cap .aw-cap-code { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--orange); background: var(--orange-soft); border-radius: 5px; padding: 2px 7px; display: inline-block; }
.aw-cap h3 { font-size: 15px; font-weight: 700; margin: 8px 0 5px; }
.aw-cap p { font-size: 13px; color: var(--ink-soft); }

/* 两栏能力对比（新站 / 老站） */
.aw-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aw-split article {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.aw-split h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.aw-split h3 span { font-family: var(--mono); font-size: 11px; color: var(--orange); background: var(--orange-soft); border-radius: 4px; padding: 2px 7px; }
.aw-split p { font-size: 14px; color: var(--ink-soft); }
.aw-split .aw-fit { margin-top: 10px; font-size: 12.5px; color: var(--blue); }

/* 对比表 */
.aw-compare { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.aw-compare table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.aw-compare th, .aw-compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.aw-compare thead th { background: var(--dark); color: #e6edf6; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.aw-compare tbody th { background: var(--bg-soft); font-weight: 600; color: var(--ink); width: 130px; }
.aw-compare tbody tr:last-child th, .aw-compare tbody tr:last-child td { border-bottom: none; }
.aw-compare td.is-us { color: var(--orange); font-weight: 600; }
.aw-compare-scroll { overflow-x: auto; }

/* 项目引用语 */
.aw-quote {
  margin: 26px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-soft);
  font-size: 14.5px;
  color: var(--ink-2);
}
.aw-quote b { color: var(--ink); }

/* 招商：等级体系（不公布折扣） */
.aw-tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.aw-tier {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.aw-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-line); }
.aw-tier b { display: block; font-family: var(--mono); font-size: 11px; color: var(--orange); letter-spacing: 0.08em; margin-bottom: 6px; }
.aw-tier h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.aw-tier p { font-size: 12.5px; color: var(--ink-soft); }
.aw-tier.is-top { border-color: var(--orange-line); background: linear-gradient(160deg, rgba(255, 94, 0, 0.05), var(--card) 62%); }

/* 招商：赋能与保障 */
.aw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aw-item { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: border-color 0.18s, box-shadow 0.18s; }
.aw-item:hover { border-color: var(--orange-line); box-shadow: var(--shadow); }
.aw-item b { font-family: var(--mono); font-size: 12px; color: var(--orange); flex-shrink: 0; padding-top: 2px; }
.aw-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.aw-item p { font-size: 13px; color: var(--ink-soft); }

/* 加入流程 */
.aw-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: awflow; }
.aw-flow div {
  position: relative;
  padding: 18px 20px 18px 54px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.aw-flow div::before {
  counter-increment: awflow;
  content: counter(awflow, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.aw-flow h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.aw-flow p { font-size: 12.5px; color: var(--ink-soft); }

/* 政策说明条 */
.aw-note {
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px dashed var(--orange-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 94, 0, 0.04);
  font-size: 13px;
  color: var(--ink-2);
}
.aw-note b { color: var(--orange); }

/* 招商申请表单区 */
.aw-apply { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.aw-apply-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 116px; }

@media (max-width: 1080px) {
  .aw-hero { grid-template-columns: 1fr; }
  .aw-hero-figure { max-width: 620px; }
  .aw-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aw-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-apply { grid-template-columns: 1fr; }
  .aw-apply-side { position: static; }
}
@media (max-width: 720px) {
  .aw-versions, .aw-split, .aw-grid2 { grid-template-columns: 1fr; }
  .aw-steps, .aw-caps, .aw-tiers, .aw-flow { grid-template-columns: 1fr; }
  .aw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-stats > div:nth-child(2) { border-right: none; }
  .aw-stats > div:nth-child(1), .aw-stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .aw-compare th, .aw-compare td { padding: 10px 12px; }
}

/* 说明条内的链接（首页引用时也用） */
.aw-note a { color: var(--orange); font-weight: 600; }
.aw-note a:hover { text-decoration: underline; }

/* 在线注册 / 购买：内嵌页面 */
.reg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.reg-toolbar p { font-size: 13.5px; color: var(--ink-soft); }
.reg-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.reg-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 320px);
  min-height: 760px;
  border: 0;
  background: #fff;
}
@media (max-width: 720px) {
  .reg-frame { height: 78vh; min-height: 620px; }
  .reg-toolbar { align-items: flex-start; }
}
