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

:root {
  --bg: #0a0b10;
  --bg-elevated: #12141c;
  --border: #2a2d38;
  --text: #e8eaef;
  --muted: #8b919e;
  --accent: #3d9cf5;
  --accent-dim: rgba(61, 156, 245, 0.15);
  --green: #00ba7c;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(61, 156, 245, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 186, 124, 0.06), transparent);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand img {
  border-radius: 10px;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 24px;
}

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

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

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

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

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
}

.gradient {
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

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

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

.btn.ghost:hover {
  border-color: var(--muted);
  background: var(--bg-elevated);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section {
  padding: 56px 0;
}

.demo-section {
  text-align: center;
}

.demo-desc {
  max-width: 560px;
  margin: -16px auto 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.video-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.demo-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  background: #000;
  border-radius: calc(var(--radius) - 4px);
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

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

.card:hover {
  border-color: rgba(61, 156, 245, 0.4);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

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

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

.flow-section {
  background: var(--bg-elevated);
  margin: 0 -24px;
  padding: 56px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.start-panel {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.start-panel h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.start-panel ul,
.use-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.start-panel li,
.use-steps li {
  margin-bottom: 8px;
}

.use-steps li strong {
  color: var(--text);
}

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

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.doc-links a {
  padding: 10px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(61, 156, 245, 0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
}

.doc-links a:hover {
  background: rgba(61, 156, 245, 0.25);
  text-decoration: none;
}

.contact-section {
  text-align: center;
}

.contact-lead {
  max-width: 480px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.site-footer .muted {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .nav {
    gap: 16px;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 48px;
  }
}
