/* 迅聊官网首页 */
:root {
  --xl-blue: #2563EB;
  --xl-blue-dark: #1d4ed8;
  --xl-slate: #0f172a;
  --xl-muted: #64748b;
  --xl-bg: #f8fafc;
  --xl-card: #ffffff;
  --xl-radius: 16px;
  --xl-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--xl-slate);
  background: var(--xl-bg);
  line-height: 1.6;
}

a { color: var(--xl-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--xl-slate);
}

.site-brand:hover {
  text-decoration: none;
  color: var(--xl-blue);
}

.site-brand img {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-brand span {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header img { height: 40px; }

.site-header nav a {
  margin-left: 20px;
  color: var(--xl-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover { color: var(--xl-blue); }

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .site-header nav { display: none; }
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-text p.lead {
  font-size: 1.1rem;
  color: var(--xl-muted);
  margin: 0 0 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--xl-blue);
  color: #fff;
}

.btn-primary:hover { background: var(--xl-blue-dark); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--xl-blue);
  border: 2px solid var(--xl-blue);
}

.btn-outline:hover { background: #eff6ff; color: var(--xl-blue-dark); }

.btn-secondary {
  background: #fff;
  color: var(--xl-slate);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover { background: #f1f5f9; color: var(--xl-slate); }

.hero-note {
  font-size: 0.88rem;
  color: var(--xl-muted);
}

.hero-visual {
  background: linear-gradient(145deg, #eff6ff, #fff);
  border-radius: var(--xl-radius);
  box-shadow: var(--xl-shadow);
  padding: 32px;
  text-align: center;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 32px;
}

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

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

.feature-card {
  background: var(--xl-card);
  border-radius: var(--xl-radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

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

.feature-card p {
  margin: 0;
  color: var(--xl-muted);
  font-size: 0.92rem;
}

.download-bar {
  background: var(--xl-card);
  border-radius: var(--xl-radius);
  box-shadow: var(--xl-shadow);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.download-bar h3 { margin: 0 0 4px; }
.download-bar p { margin: 0; color: var(--xl-muted); font-size: 0.92rem; }

.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 32px 24px;
  text-align: center;
  color: var(--xl-muted);
  font-size: 0.88rem;
}

.site-footer a { margin: 0 12px; }

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.legal-page h1 { font-size: 1.8rem; margin-top: 0; }
.legal-page h2 { font-size: 1.15rem; margin-top: 28px; }
.legal-page p, .legal-page li { color: #334155; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--xl-blue);
}
