/* AI自动获客系统官网 — 拂晓色系 / 弱边界 / 可读优先 */
:root {
  --bg-deep: #0c1118;
  --bg-card: rgba(18, 26, 38, 0.72);
  --bg-card-hover: rgba(24, 34, 52, 0.88);
  --border: rgba(255, 255, 255, 0.06);
  --text: #e8edf5;
  --text-muted: #8b98ab;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --dawn: #fbbf24;
  --dawn-soft: rgba(251, 191, 36, 0.12);
  --radius: 14px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(251, 191, 36, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(56, 189, 248, 0.06), transparent 45%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 17, 24, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #042f2e;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .site-header .inner {
    flex-wrap: wrap;
  }
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-model-callout {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 auto 26px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: clamp(1.02rem, 2.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: 0.03em;
  background: linear-gradient(
    145deg,
    rgba(18, 26, 38, 0.95),
    rgba(24, 40, 58, 0.88)
  );
  border: 2px solid rgba(251, 191, 36, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(56, 189, 248, 0.12);
}

.hero-model-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  text-shadow:
    0 0 28px rgba(56, 189, 248, 0.55),
    0 0 2px rgba(125, 211, 252, 0.9);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #042f2e;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.45);
  outline: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

section {
  padding: 48px 0;
  scroll-margin-top: 72px;
}

#features {
  position: relative;
  top: -72px;
  height: 0;
  overflow: hidden;
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-desc {
  margin: 0 0 28px;
  color: var(--text-muted);
  max-width: 640px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 720px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: background 0.2s, border-color 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.card.feature-card {
  padding: 20px;
}

.feature-icon {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.download-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
}

.download-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.download-info {
  flex: 1 1 56%;
  min-width: 320px;
}

.download-cta-box {
  flex: 0 0 320px;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-cta-stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 320px;
  min-height: 0;
}

.download-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.download-size {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.download-btn-outline {
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--accent);
  box-shadow: none;
}

.download-btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.steps {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.steps li {
  margin-bottom: 8px;
}

.req-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.req-list li::before {
  content: "·";
  color: var(--accent);
  margin-right: 8px;
  font-weight: bold;
}

.site-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer-meta {
  margin: 0 0 20px;
  line-height: 1.6;
}

.site-footer-credit {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.case-ticker-section {
  padding: 28px 0 36px;
  scroll-margin-top: 72px;
}

.case-ticker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.case-ticker-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.case-ticker-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.case-ticker-outer {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.case-ticker-marquee {
  display: flex;
  width: max-content;
  animation: caseMarquee 48s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .case-ticker-marquee {
    animation: none;
  }
}

@keyframes caseMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.case-ticker-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  flex-shrink: 0;
}

.case-ticker-chip {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.case-ticker-static {
  margin: 0;
  padding: 16px 20px 16px 28px;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.case-ticker-static li {
  margin-bottom: 8px;
}

.case-ticker-static li:last-child {
  margin-bottom: 0;
}

.intro-video-section {
  padding: 18px 0 8px;
}

.intro-video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.intro-video-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.intro-video-tip {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.intro-video-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
}

.intro-video-inline {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  display: block;
  background: #000;
}

.intro-video-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
}

.intro-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.8);
  backdrop-filter: blur(2px);
}

.intro-video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  margin: 4vh auto 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, rgba(12, 19, 31, 0.97), rgba(16, 25, 39, 0.94));
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.6);
  padding: 14px 14px 12px;
}

.intro-video-modal-title {
  margin: 2px 34px 10px 4px;
  font-size: 1rem;
}

.intro-video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.intro-video-modal-close:hover,
.intro-video-modal-close:focus-visible {
  color: var(--text);
  outline: none;
}

.intro-video-modal-player {
  width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  display: block;
  background: #000;
}

.intro-video-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.intro-video-action {
  min-width: 108px;
}

.pricing-panel {
  padding: 24px 28px 20px;
  max-width: 520px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-footnote {
  margin: 16px 0 0;
  font-size: 0.41rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.release-panel {
  padding: 24px 28px 20px;
}

.release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.release-version-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.release-version-value {
  color: var(--accent);
  font-size: 1.2rem;
}

.release-date {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.release-subtitle {
  margin: 14px 0 10px;
  font-size: 1rem;
}

.release-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.release-list li {
  margin-bottom: 6px;
}

.release-notes {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.agent-panel {
  padding: 24px 28px 8px;
}

.agent-subtitle {
  margin: 18px 0 10px;
  font-size: 1rem;
}

.agent-subtitle:first-of-type {
  margin-top: 0;
}

.agent-text {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.agent-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.agent-list li {
  margin-bottom: 6px;
}

.agent-contact {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.agent-actions {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 10px;
}

.agent-apply-btn {
  width: min(100%, 300px);
  min-height: 52px;
  font-size: 1.02rem;
}

.download-subhead {
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 0;
}

#download .download-subhead:not(:first-of-type) {
  margin-top: 24px;
}

.download-btn {
  width: min(100%, 300px);
  min-height: 52px;
  font-size: 1.02rem;
}

.download-guide-card {
  margin-top: 16px;
  padding: 16px 18px;
}

.download-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.download-guide-title {
  margin: 0 0 4px;
  font-size: 1rem;
}

.download-guide-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.download-guide-btn {
  min-height: 42px;
  min-width: 132px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .download-layout {
    flex-direction: column;
  }

  .download-cta-box {
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
  }

  .download-guide-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fab-online-service {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), #0284c7);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.fab-online-service:hover,
.fab-online-service:focus-visible {
  box-shadow: 0 8px 36px rgba(14, 165, 233, 0.5);
  outline: none;
}

.fab-online-service:focus-visible {
  outline: 2px solid var(--dawn);
  outline-offset: 3px;
}

.fab-online-service:active {
  transform: scale(0.97);
}

.fab-online-service-icon {
  width: 26px;
  height: 26px;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(3px);
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  margin: 12vh auto 0;
  padding: 24px 22px 20px;
  border-radius: 16px;
  background: linear-gradient(
    150deg,
    rgba(16, 25, 39, 0.98),
    rgba(24, 36, 52, 0.95)
  );
  border: 1px solid rgba(125, 211, 252, 0.24);
  box-shadow:
    0 12px 60px rgba(0, 0, 0, 0.55),
    0 0 34px rgba(56, 189, 248, 0.14);
}

.service-modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
  color: var(--text);
  outline: none;
}

.service-modal-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.service-modal-text {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.service-modal-action {
  width: 100%;
}

.service-chat {
  margin-top: 8px;
}

.service-chat-messages {
  height: 240px;
  overflow: auto;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.service-chat-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.service-chat-bubble.is-user {
  margin-left: auto;
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.22);
}

.service-chat-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.service-chat-toolbar {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.service-chat-input {
  flex: 1;
  min-width: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.service-chat-input:focus-visible {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.service-chat-send {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #042f2e;
  font-weight: 700;
  cursor: pointer;
}

.service-chat-send:active {
  transform: scale(0.98);
}

.service-chat-actions {
  margin-top: 12px;
}

.service-chat-link {
  width: 100%;
}

