/* ═══════════════════════════════════════════════════════════════════════════
   卓姆斯官网 — 白色科技风（Google Antigravity 风格）
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-card: #f8f9fa;
  --bg-card-hover: #f0f1f3;
  --border: #e8e8e8;
  --text: #111111;
  --text-dim: #555;
  --text-light: #888;
  --accent: #e63946;
  --accent-soft: #fff0f0;
  --accent-glow: rgba(230, 57, 70, 0.08);
  --gradient: linear-gradient(135deg, #e63946 0%, #ff6b6b 50%, #ff8a65 100%);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body { background: var(--bg); min-height: 100vh; }
a { color: inherit; text-decoration: none; }

.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 粒子画布 ────────────────────────────────────────────────────────────── */

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── 导航 ─────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}

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

.nav-icon { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-btn {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-btn:hover { opacity: 0.9; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(230, 57, 70, 0.2);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-line { display: block; }

.hero-desc {
  font-size: 19px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230,57,70,0.25); }
.btn-icon { font-size: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: #ccc; color: var(--text); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 13px; color: var(--text-light); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* ── Section 通用 ─────────────────────────────────────────────────────────── */

section {
  position: relative;
  z-index: 1;
  padding: 140px 24px;
}

.section-header { text-align: center; margin-bottom: 80px; }

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ── Features ─────────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: #ddd;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--text); letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ── Showcase ─────────────────────────────────────────────────────────────── */

.showcase-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all 0.3s;
}
.showcase-card:hover {
  border-color: rgba(230,57,70,0.2);
  box-shadow: 0 8px 32px rgba(230,57,70,0.06);
}

.showcase-prompt {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.showcase-result { display: flex; flex-direction: column; gap: 10px; }

.showcase-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-experts { display: flex; gap: 12px; flex-wrap: wrap; }

.showcase-experts span {
  font-size: 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(230,57,70,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text-dim);
}

.showcase-output {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { border-color: #ddd; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(230,57,70,0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
}

.pricing-name { font-size: 18px; font-weight: 600; color: var(--text-dim); margin-bottom: 12px; }

.pricing-currency { font-size: 24px; font-weight: 700; vertical-align: top; line-height: 1.2; color: var(--text); }
.pricing-amount { font-size: 60px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.pricing-period { font-size: 16px; color: var(--text-light); font-weight: 500; }
.pricing-save { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .btn-primary { width: 100%; justify-content: center; }

/* ── Download CTA ─────────────────────────────────────────────────────────── */

.download {
  text-align: center;
  padding: 160px 24px;
  background: var(--bg-card);
}

.download-title {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
}

.download-desc { font-size: 18px; color: var(--text-dim); margin-bottom: 40px; }

.download-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.download-btn.mac {
  background: var(--text);
  color: #fff;
}
.download-btn.mac:hover { background: #333; }

.download-btn.win {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.download-btn.win:hover { border-color: #aaa; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  background: var(--bg);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.footer-icon { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: #ccc; }

/* ── Reveal 动画 ──────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 响应式 ───────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links a:not(.nav-btn) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 28px; }
  .footer-content { flex-direction: column; gap: 16px; text-align: center; }
  .download-buttons { flex-direction: column; align-items: center; }
}
