:root {
  --accent: #4a6cf7;
  --accent-light: #6b8aff;
  --accent-dark: #3a56d0;
  --bg: #f5f6fa;
  --bg-white: #ffffff;
  --text: #1a1f36;
  --text-light: #5a6784;
  --text-muted: #8a93a6;
  --border: #e4e7ef;
  --shadow: 0 4px 20px rgba(74, 108, 247, 0.08);
  --shadow-lg: 0 12px 40px rgba(74, 108, 247, 0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.logo.sm { font-size: 16px; }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo.sm .logo-icon { width: 28px; height: 28px; font-size: 14px; }
.logo-img { width: 32px; height: 32px; }
.logo-img-sm { width: 26px; height: 26px; }
.logo.sm .logo-img-sm { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  padding: 8px 20px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top left, rgba(74, 108, 247, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(107, 138, 255, 0.06), transparent 50%);
}
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(74, 108, 247, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(74, 108, 247, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 14px rgba(74, 108, 247, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 108, 247, 0.4);
}
.btn-ghost {
  background: var(--bg-white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { text-align: left; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== Mock Window ===== */
.hero-visual { display: flex; justify-content: center; }
.mock-window {
  width: 100%;
  max-width: 480px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mock-header {
  padding: 14px 18px;
  background: #f0f2f8;
  display: flex;
  gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mock-body { padding: 24px; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.mock-stat { text-align: center; }
.mock-stat-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mock-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.mock-textarea {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.8;
  padding: 20px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 16px;
  word-break: break-all;
}
.mock-progress {
  height: 8px;
  background: var(--bg);
  border-radius: 100px;
  overflow: hidden;
}
.mock-progress-bar {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 100px;
}
.mock-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 500;
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.carousel-slides {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 12px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.dot-btn.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===== Mock Chart ===== */
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 0 4px;
}
.chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  min-height: 10px;
}

/* ===== Mock Leaderboard ===== */
.mock-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 14px;
}
.lb-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e4e7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}
.lb-rank.gold { background: linear-gradient(135deg,#ffd700,#ffa000); color: #fff; }
.lb-rank.silver { background: linear-gradient(135deg,#c0c0c0,#8a8a8a); color: #fff; }
.lb-rank.bronze { background: linear-gradient(135deg,#cd7f32,#a0522d); color: #fff; }
.lb-name { flex: 1; color: var(--text); font-weight: 500; }
.lb-score { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ===== ICP Filing ===== */
.filing {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Sections ===== */
.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ===== Features ===== */
.features { padding: 100px 0; background: var(--bg-white); }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Practice CTA ===== */
.practice-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(74, 108, 247, 0.06), rgba(107, 138, 255, 0.03));
}
.practice-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.btn-lg {
  padding: 18px 44px;
  font-size: 18px;
  border-radius: 14px;
  margin-top: 20px;
}
.cta-tip {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
}
.footer-right a:hover { color: var(--accent); }
.footer-email {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono, Menlo, Consolas, monospace);
}
.dot-sep { color: var(--text-muted); }

.filing {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.filing a { color: var(--text-muted); text-decoration: none; }
.filing a:hover { color: var(--accent); }
.police-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 640px) {
  .hero-text h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 6px 14px !important; font-size: 13px !important; }
}