:root {
  --bg: #0a0e14;
  --bg-soft: #0f141d;
  --card: #131925;
  --card-hover: #18202e;
  --border: #222b3a;
  --border-soft: #1b2330;
  --text: #e8edf5;
  --muted: #94a0b3;
  --faint: #5d6b80;
  --accent: #22c55e;
  --accent-2: #14b8a6;
  --accent-glow: rgba(34, 197, 94, 0.35);
  --radius: 16px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

.glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle at center, var(--accent-glow), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 20, 0.72);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.55);
}

.brand-text { font-size: 1.02rem; }
.brand-sub { color: var(--accent); font-weight: 600; }

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 16px;
  border-radius: 9px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--accent) !important;
}
.nav-cta:hover { background: rgba(34, 197, 94, 0.2); }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.03)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a0b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 10px center;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 30px 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.lang-select:hover { border-color: #2c3a4e; }
.lang-select:focus { outline: none; border-color: var(--accent); }
.lang-select option { background: var(--card); color: var(--text); }

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px var(--accent-glow);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 22px;
}

.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 38px;
}
.lede a { color: var(--accent); text-decoration: none; }
.lede a:hover { text-decoration: underline; }

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

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.download-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04130b;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.download-btn.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px -10px var(--accent-glow);
}
.download-btn.big { padding: 17px 34px; font-size: 1.1rem; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 26px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ghost-btn:hover { background: var(--card-hover); border-color: #2c3a4e; }

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-num.loading {
  display: inline-block;
  width: 62px;
  height: 1.25rem;
  border-radius: 6px;
  color: transparent;
  background: linear-gradient(90deg, var(--border-soft) 25%, var(--border) 37%, var(--border-soft) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.stat-label {
  font-size: 0.78rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border);
}

.filemeta {
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.85rem;
}

main { position: relative; z-index: 1; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 42px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.3);
  background: var(--card-hover);
}

.ficon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: var(--accent);
  margin-bottom: 16px;
}

.ficon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04130b;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step code, .faq code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.88em;
}

.cta-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.12), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 54px 28px;
}
.cta-card h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.cta-card > p { color: var(--muted); margin-bottom: 28px; font-size: 1.05rem; }
.cta-card .download-btn { margin: 0 auto; }
.cta-note { margin-top: 18px; color: var(--faint); font-size: 0.9rem; }
.hl { color: var(--accent); font-weight: 700; }

.faq {
  max-width: 740px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 4px 20px;
  transition: border-color 0.15s ease;
}
details[open] { border-color: rgba(34, 197, 94, 0.3); }

summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }

details p {
  color: var(--muted);
  padding: 0 0 18px;
  font-size: 0.96rem;
}

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer .brand { justify-content: center; }
.footer-tag { color: var(--muted); }
.copyright { color: var(--faint); font-size: 0.85rem; margin-top: 18px; }

@media (max-width: 680px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-stats { gap: 18px; padding: 16px 20px; }
  .hero { padding-top: 56px; }
}
