/* 上海车酷信息科技有限公司 - 官网样式 */

:root {
  --bg: #0c1220;
  --bg-card: #141c2e;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text: #e8eef8;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --radius: 12px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* 背景渐变 */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.25), transparent),
    linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* 导航 */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.brand h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

nav {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

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

.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 区块 */
section {
  padding: 48px 0;
}

section h3 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 600;
}

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

.about p {
  margin: 0 0 12px;
  color: var(--muted);
}

.about p:last-child {
  margin-bottom: 0;
}

/* 下载区 */
.download {
  padding-bottom: 64px;
}

.download-card {
  text-align: center;
  padding: 40px 32px;
}

.download-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.download-card h3 {
  margin-bottom: 8px;
}

.download-card .hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.download-card .filename {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 20px;
  word-break: break-all;
}

/* 页脚 */
footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0 0 8px;
}

footer .icp {
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }

  .card {
    padding: 22px 20px;
  }
}
