*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0f172a; color: #e2e8f0; line-height: 1.7;
}
a { color: #60a5fa; text-decoration: none; }
a:hover { color: #93c5fd; }
img { max-width: 100%; }

/* ── Layout ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e293b;
  padding: 14px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 700; color: #f8fafc; }
.nav-logo span { color: #3b82f6; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: .925rem; color: #94a3b8; font-weight: 500; }
.nav-links a:hover { color: #f8fafc; }
.nav-cta { background: #3b82f6; color: #fff !important; padding: 8px 18px; border-radius: 6px; font-weight: 600; }
.nav-cta:hover { background: #2563eb; }

/* ── Hero ── */
.hero { text-align: center; padding: 100px 0 80px; }
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: #3b82f6; }
.hero .sub { font-size: 1.15rem; color: #94a3b8; max-width: 540px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: .2s; }
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-outline { background: transparent; color: #e2e8f0; border: 2px solid #334155; }
.btn-outline:hover { border-color: #3b82f6; color: #60a5fa; }

/* ── Section Headers ── */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.section-title p { color: #94a3b8; font-size: 1.05rem; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card {
  background: #1e293b; border: 1px solid #334155; border-radius: 12px;
  padding: 32px 24px; text-align: center; transition: .2s;
}
.card:hover { border-color: #3b82f6; }
.card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: #94a3b8; font-size: .9rem; }

/* ── Steps ── */
.steps { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.step { text-align: center; flex: 1; min-width: 200px; max-width: 260px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: #1e3a5f; color: #60a5fa; font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 2px solid #3b82f6; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: #94a3b8; font-size: .9rem; }

/* ── Use Cases ── */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.case { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 28px; }
.case .icon { font-size: 1.8rem; margin-bottom: 8px; }
.case h3 { font-size: 1.15rem; margin-bottom: 6px; }
.case p { color: #94a3b8; font-size: .9rem; }

/* ── Features List ── */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.feature-item .check { color: #22c55e; font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ── Pricing ── */
.pricing-card { max-width: 380px; margin: 0 auto; background: #1e293b; border: 2px solid #3b82f6; border-radius: 16px; padding: 40px 32px; text-align: center; }
.pricing-card .price { font-size: 3rem; font-weight: 800; margin: 12px 0; }
.pricing-card .price small { font-size: 1rem; color: #94a3b8; font-weight: 400; }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card li { padding: 6px 0; font-size: .95rem; }
.pricing-card li::before { content: "✓ "; color: #22c55e; font-weight: 700; }

/* ── FAQ ── */
.faq-item { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; cursor: pointer; }
.faq-item p { color: #94a3b8; font-size: .92rem; display: block; }

/* ── Footer ── */
.footer { border-top: 1px solid #1e293b; padding: 40px 0; text-align: center; color: #64748b; font-size: .85rem; }
.footer a { color: #94a3b8; }

/* ── Tutorials Layout ── */
.tut-layout { display: flex; gap: 32px; }
.tut-sidebar { width: 220px; flex-shrink: 0; position: sticky; top: 80px; align-self: flex-start; }
.tut-sidebar nav ul { list-style: none; }
.tut-sidebar nav li { margin-bottom: 4px; }
.tut-sidebar nav a { display: block; padding: 8px 12px; border-radius: 6px; font-size: .9rem; color: #94a3b8; transition: .15s; }
.tut-sidebar nav a:hover, .tut-sidebar nav a.active { background: #1e293b; color: #f8fafc; }
.tut-content { flex: 1; min-width: 0; }
.tut-content article { display: none; }
.tut-content article.active { display: block; }
.tut-content h2 { font-size: 1.6rem; margin-bottom: 4px; }
.tut-content h3 { font-size: 1.2rem; margin: 28px 0 10px; color: #60a5fa; }
.tut-content h4 { font-size: 1rem; margin: 20px 0 8px; }
.tut-content p, .tut-content li { color: #cbd5e1; font-size: .95rem; margin-bottom: 10px; }
.tut-content ul, .tut-content ol { padding-left: 20px; margin-bottom: 16px; }
.tut-content code { background: #1e293b; padding: 2px 6px; border-radius: 4px; font-size: .85rem; color: #f59e0b; }
.tut-content pre {
  background: #0c1222; border: 1px solid #334155; border-radius: 8px;
  padding: 16px 20px; overflow-x: auto; font-size: .85rem; margin-bottom: 16px;
  color: #e2e8f0;
}
.tut-content .note { background: #1e3a5f; border-left: 3px solid #3b82f6; padding: 12px 16px; border-radius: 6px; font-size: .9rem; color: #93c5fd; margin-bottom: 16px; }

/* ── Download Page ── */
.dl-box { max-width: 440px; margin: 0 auto; background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 36px 32px; text-align: center; }
.dl-box h2 { margin-bottom: 8px; }
.dl-box .version { color: #64748b; font-size: .9rem; margin-bottom: 20px; }
.dl-box .file-info { color: #94a3b8; font-size: .85rem; margin-bottom: 20px; }
.dl-box .btn { width: 100%; margin-bottom: 10px; }
.dl-box .checksum { font-size: .75rem; color: #475569; word-break: break-all; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .nav-links { gap: 14px; }
  .tut-layout { flex-direction: column; }
  .tut-sidebar { width: 100%; position: static; }
  .tut-sidebar nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  section { padding: 48px 0; }
}
