/* ==========================================================================
   Atlas 企业官网主题（themes/atlas）
   独立于 Minima：所有类名以 .atlas- 前缀作用域，不污染博客主题与后台。
   仅在 settings.theme_active = atlas 时由 Layout 注入。
   ========================================================================== */

.atlas-site {
  --atlas-accent: #1d4ed8;
  --atlas-accent-strong: #1e40af;
  --atlas-accent-soft: rgba(29, 77, 216, 0.08);
  --atlas-ink: #0f172a;
  --atlas-body: #334155;
  --atlas-muted: #64748b;
  --atlas-faint: #94a3b8;
  --atlas-line: #e2e8f0;
  --atlas-bg: #ffffff;
  --atlas-soft: #f8fafc;
  --atlas-soft-2: #f1f5f9;
  --atlas-dark: #0b1220;
  --atlas-dark-2: #111c33;
  --atlas-dark-line: rgba(255, 255, 255, 0.1);
  --atlas-radius: 14px;
  --atlas-radius-sm: 9px;
  --atlas-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --atlas-shadow-hover: 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 44px -16px rgba(15, 23, 42, 0.22);
  --atlas-container: 1160px;
  color: var(--atlas-body);
  background: var(--atlas-bg);
  font-family: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.atlas-site * {
  box-sizing: border-box;
}

.atlas-site img {
  max-width: 100%;
}

.atlas-site a {
  color: inherit;
  text-decoration: none;
}

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

/* 覆盖全局 main.css 的 960px 限宽，企业页自行用容器限宽 */
.atlas-site #atlas-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ----------------------------- 按钮 ----------------------------- */
.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.atlas-btn-primary {
  background: var(--atlas-accent);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(29, 77, 216, 0.6);
}
.atlas-btn-primary:hover {
  background: var(--atlas-accent-strong);
  transform: translateY(-1px);
}
.atlas-btn-ghost {
  background: transparent;
  color: var(--atlas-ink);
  border-color: var(--atlas-line);
}
.atlas-btn-ghost:hover {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent);
  background: var(--atlas-accent-soft);
}
.atlas-btn-light {
  background: #fff;
  color: var(--atlas-dark);
}
.atlas-btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.4);
}
.atlas-btn svg {
  width: 16px;
  height: 16px;
}

/* ----------------------------- 顶部 ----------------------------- */
.atlas-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--atlas-line);
}
.atlas-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.atlas-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  color: var(--atlas-ink);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.atlas-brand img {
  height: 30px;
  width: auto;
}
.atlas-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--atlas-accent), var(--atlas-accent-strong));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  flex-shrink: 0;
}
.atlas-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.atlas-nav a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--atlas-body);
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.atlas-nav a:hover {
  color: var(--atlas-accent);
  background: var(--atlas-accent-soft);
}
.atlas-nav a.router-link-exact-active {
  color: var(--atlas-accent);
  font-weight: 600;
}
.atlas-header-cta {
  margin-left: 14px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  flex-shrink: 0;
}
.atlas-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--atlas-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--atlas-ink);
}
.atlas-nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ----------------------------- Hero ----------------------------- */
.atlas-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -8%, var(--atlas-accent-soft), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--atlas-line);
}
.atlas-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--atlas-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--atlas-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 70% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.atlas-hero-inner {
  position: relative;
  padding: 92px 0 88px;
  max-width: 820px;
}
.atlas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--atlas-accent);
  background: var(--atlas-accent-soft);
  border: 1px solid rgba(29, 77, 216, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.atlas-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--atlas-accent);
}
.atlas-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--atlas-ink);
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.atlas-hero h1 .accent {
  background: linear-gradient(120deg, var(--atlas-accent), #4f7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.atlas-hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--atlas-body);
  max-width: 640px;
  margin: 0 0 36px;
}
.atlas-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.atlas-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--atlas-line);
}
.atlas-stat .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--atlas-ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.atlas-stat .label {
  font-size: 13.5px;
  color: var(--atlas-muted);
  margin-top: 4px;
}

/* ----------------------------- 通用区块 ----------------------------- */
.atlas-section {
  padding: 84px 0;
}
.atlas-section.soft {
  background: var(--atlas-soft);
  border-top: 1px solid var(--atlas-line);
  border-bottom: 1px solid var(--atlas-line);
}
.atlas-section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.atlas-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.atlas-section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--atlas-accent);
  margin: 0 0 12px;
}
.atlas-section-head h2 {
  font-size: clamp(25px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--atlas-ink);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.25;
}
.atlas-section-head p {
  font-size: 16px;
  color: var(--atlas-muted);
  margin: 0;
}

/* ----------------------------- 核心能力 ----------------------------- */
.atlas-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.atlas-feature {
  background: var(--atlas-bg);
  border: 1px solid var(--atlas-line);
  border-radius: var(--atlas-radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.atlas-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--atlas-shadow-hover);
  border-color: transparent;
}
.atlas-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--atlas-accent-soft);
  color: var(--atlas-accent);
  margin-bottom: 18px;
}
.atlas-feature-icon svg {
  width: 23px;
  height: 23px;
}
.atlas-feature h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--atlas-ink);
  margin: 0 0 8px;
}
.atlas-feature p {
  font-size: 14px;
  color: var(--atlas-muted);
  margin: 0;
  line-height: 1.65;
}

/* ----------------------------- 案例 ----------------------------- */
.atlas-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.atlas-case-card {
  display: flex;
  flex-direction: column;
  background: var(--atlas-bg);
  border: 1px solid var(--atlas-line);
  border-radius: var(--atlas-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.atlas-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--atlas-shadow-hover);
  border-color: transparent;
}
.atlas-case-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--atlas-dark-2), var(--atlas-dark));
  position: relative;
  overflow: hidden;
}
.atlas-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atlas-case-cover .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
}
.atlas-case-cover .fallback svg {
  width: 42px;
  height: 42px;
  opacity: 0.55;
}
.atlas-case-cover .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 11px;
  border-radius: 999px;
}
.atlas-case-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.atlas-case-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--atlas-ink);
  margin: 0 0 9px;
  line-height: 1.4;
}
.atlas-case-body p {
  font-size: 14px;
  color: var(--atlas-muted);
  margin: 0 0 18px;
  flex: 1;
}
.atlas-case-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--atlas-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.atlas-case-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
.atlas-case-card:hover .atlas-case-more svg {
  transform: translateX(3px);
}

/* ----------------------------- 新闻资讯 ----------------------------- */
.atlas-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.atlas-news-card {
  display: block;
  padding: 26px 24px;
  background: var(--atlas-bg);
  border: 1px solid var(--atlas-line);
  border-radius: var(--atlas-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.atlas-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--atlas-shadow);
  border-color: transparent;
}
.atlas-news-date {
  font-size: 13px;
  color: var(--atlas-faint);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.atlas-news-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--atlas-ink);
  margin: 0 0 10px;
  line-height: 1.45;
}
.atlas-news-card p {
  font-size: 14px;
  color: var(--atlas-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------- CTA 深色带 ----------------------------- */
.atlas-cta {
  background: linear-gradient(135deg, var(--atlas-dark), var(--atlas-dark-2));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.atlas-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px 300px at 85% 120%, rgba(79, 124, 255, 0.28), transparent 60%),
    radial-gradient(500px 280px at 10% -20%, rgba(29, 77, 216, 0.22), transparent 60%);
  pointer-events: none;
}
.atlas-cta-inner {
  position: relative;
  padding: 72px 0;
  text-align: center;
}
.atlas-cta h2 {
  font-size: clamp(25px, 3.4vw, 34px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.atlas-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  margin: 0 auto 32px;
  max-width: 560px;
}
.atlas-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.atlas-btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.atlas-btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ----------------------------- 页脚 ----------------------------- */
.atlas-footer {
  background: var(--atlas-dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 60px 0 28px;
}
.atlas-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--atlas-dark-line);
}
.atlas-footer-brand .atlas-brand {
  color: #fff;
  margin-bottom: 16px;
}
.atlas-footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 18px;
  max-width: 340px;
}
.atlas-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.atlas-footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.atlas-footer-contact svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.atlas-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 16px;
}
.atlas-footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.atlas-footer-col a:hover {
  color: #fff;
}
.atlas-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}
.atlas-footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.atlas-footer-bottom a:hover {
  color: #fff;
}

/* ----------------------------- 案例列表页 ----------------------------- */
.atlas-page-hero {
  background: linear-gradient(180deg, #fbfdff, #ffffff);
  border-bottom: 1px solid var(--atlas-line);
  padding: 64px 0 56px;
}
.atlas-page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--atlas-ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.atlas-page-hero p {
  font-size: 16.5px;
  color: var(--atlas-muted);
  margin: 0;
  max-width: 620px;
}
.atlas-list {
  padding: 64px 0;
}
.atlas-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--atlas-muted);
  border: 1px dashed var(--atlas-line);
  border-radius: var(--atlas-radius);
  background: var(--atlas-soft);
}

/* ----------------------------- 案例详情 / 文章排版 ----------------------------- */
.atlas-detail {
  padding: 56px 0 80px;
}
.atlas-detail-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.atlas-crumb {
  font-size: 13.5px;
  color: var(--atlas-muted);
  margin-bottom: 22px;
}
.atlas-crumb a {
  color: var(--atlas-muted);
}
.atlas-crumb a:hover {
  color: var(--atlas-accent);
}
.atlas-detail-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--atlas-accent);
  background: var(--atlas-accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.atlas-detail h1 {
  font-size: clamp(27px, 3.8vw, 38px);
  font-weight: 800;
  color: var(--atlas-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.atlas-detail-meta {
  font-size: 14px;
  color: var(--atlas-muted);
  font-variant-numeric: tabular-nums;
  margin: 0 0 22px;
}
.atlas-detail-summary {
  font-size: 18px;
  color: var(--atlas-body);
  line-height: 1.7;
  margin: 0 0 28px;
  padding-left: 16px;
  border-left: 3px solid var(--atlas-accent);
}
.atlas-detail-cover {
  border-radius: var(--atlas-radius);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--atlas-line);
}
.atlas-detail-cover img {
  width: 100%;
  display: block;
}
.atlas-prose {
  font-size: 16px;
  color: var(--atlas-body);
}
.atlas-prose h2 {
  font-size: 23px;
  font-weight: 700;
  color: var(--atlas-ink);
  margin: 38px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--atlas-line);
}
.atlas-prose h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--atlas-ink);
  margin: 28px 0 10px;
}
.atlas-prose p {
  margin: 0 0 16px;
}
.atlas-prose ul,
.atlas-prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.atlas-prose li {
  margin-bottom: 7px;
}
.atlas-prose a {
  color: var(--atlas-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.atlas-prose blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  background: var(--atlas-soft);
  border-left: 3px solid var(--atlas-accent);
  border-radius: 0 10px 10px 0;
  color: var(--atlas-muted);
  font-size: 15px;
}
.atlas-prose img {
  border-radius: var(--atlas-radius-sm);
  margin: 20px 0;
}
.atlas-prose code {
  background: var(--atlas-soft-2);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
}
.atlas-detail-cta {
  margin-top: 48px;
  padding: 36px;
  background: var(--atlas-soft);
  border: 1px solid var(--atlas-line);
  border-radius: var(--atlas-radius);
  text-align: center;
}
.atlas-detail-cta h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--atlas-ink);
}
.atlas-detail-cta p {
  margin: 0 0 22px;
  color: var(--atlas-muted);
  font-size: 15px;
}

/* ----------------------------- 响应式 ----------------------------- */
@media (max-width: 980px) {
  .atlas-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .atlas-cases,
  .atlas-news {
    grid-template-columns: 1fr 1fr;
  }
  .atlas-news .atlas-news-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .atlas-header-inner {
    height: 60px;
  }
  .atlas-nav-toggle {
    display: inline-flex;
  }
  .atlas-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--atlas-line);
    padding: 10px 16px 16px;
    margin: 0;
    box-shadow: var(--atlas-shadow);
    display: none;
  }
  .atlas-nav.open {
    display: flex;
  }
  .atlas-nav a {
    padding: 12px 12px;
    font-size: 15px;
  }
  .atlas-header-cta {
    margin: 6px 0 0;
    width: 100%;
  }
  .atlas-hero-inner {
    padding: 60px 0 56px;
  }
  .atlas-hero-stats {
    gap: 26px;
  }
  .atlas-section {
    padding: 60px 0;
  }
  .atlas-features,
  .atlas-cases,
  .atlas-news {
    grid-template-columns: 1fr;
  }
  .atlas-news .atlas-news-card:last-child {
    grid-column: auto;
  }
  .atlas-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
