/* ========== Aiblast Agent 页面样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #08090c;
  --surface: #111318;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.6);
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --border: rgba(255,255,255,0.08);
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ========== 导航栏 ========== */
.agent-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.agent-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}
.agent-nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.agent-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.agent-nav-links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}
.agent-nav-links a:hover { color: var(--text); }
.agent-nav-cta {
  padding: 10px 24px;
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}
.agent-nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ========== Hero 区 ========== */
.agent-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}
.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 18px;
  margin-bottom: 32px;
}
.agent-badge span {
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agent-hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(46,204,113,0.25);
}
.agent-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agent-hero-sub {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
}
.agent-downloads {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.agent-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fff;
  color: #08090c;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.agent-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.15);
}

/* ========== 功能特性 ========== */
.agent-features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.agent-grid {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-top: 8px;
}
.agent-grid::-webkit-scrollbar {
  height: 4px;
}
.agent-grid::-webkit-scrollbar-track {
  background: transparent;
}
.agent-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.agent-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46,204,113,0.3);
  box-shadow: 0 12px 32px rgba(46,204,113,0.12);
}
.agent-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(46,204,113,0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  align-self: flex-start;
}
.agent-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-card-icon svg {
  width: 32px;
  height: 32px;
}
.agent-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.agent-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== 快速上手 ========== */
.agent-guide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.agent-section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}
.agent-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.agent-section-desc {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 56px;
}
.agent-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.agent-step {
  flex: 0 0 280px;
  text-align: center;
  position: relative;
  padding: 24px 16px;
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.agent-step:hover {
  transform: translateY(-8px);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(46,204,113,0.12);
}
.agent-step:hover .agent-step-icon {
  transform: scale(1.1);
  border-color: rgba(46,204,113,0.3);
}
.agent-step-icon {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  line-height: 1;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.agent-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #08090c;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(46,204,113,0.4);
}
.agent-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.agent-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.agent-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
  margin: 0 8px;
  flex-shrink: 0;
}

/* ========== 使用场景 ========== */
.agent-scenes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.agent-scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.agent-scene-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.agent-scene-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,204,113,0.3);
}

/* 聊天气泡 */
.agent-chat {
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  min-height: 180px;
}
.agent-chat-label {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.5;
  margin-bottom: 4px;
}
.agent-chat-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 92%;
}
.agent-chat-user {
  background: rgba(46,204,113,0.15);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}
.agent-chat-wechat-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.agent-chat-bot {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.agent-chat-bot-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

/* 场景描述 */
.agent-scene-info {
  padding: 20px 24px;
}
.agent-scene-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(46,204,113,0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.agent-scene-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.agent-scene-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ========== 底部 CTA ========== */
.agent-cta-section {
  text-align: center;
  padding: 80px 24px;
}
.agent-cta-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
}
.agent-cta-section .agent-hero-sub {
  margin-bottom: 32px;
}

/* ========== 页脚 ========== */
.agent-footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.agent-footer p { margin: 4px 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .agent-nav-links { display: none; }
  .agent-hero { padding: 60px 20px 40px; }
  .agent-hero h1 { font-size: 40px; }
  .agent-hero-sub { font-size: 17px; }
  .agent-downloads { flex-direction: column; align-items: center; }
  .agent-download-btn { width: 100%; max-width: 320px; justify-content: center; }
  .agent-section-title { font-size: 26px; }
  .agent-cta-section h2 { font-size: 28px; }
  .agent-grid {
    flex-wrap: wrap;
  }
  .agent-card {
    flex: 0 0 100%;
    min-width: unset;
  }
  .agent-steps {
    flex-direction: column;
    align-items: center;
  }
  .agent-step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    margin: 8px 0;
  }
  .agent-scenes-grid {
    grid-template-columns: 1fr;
  }
}
