:root {
  --bg: #0b0f1a;
  --bg-2: #111827;
  --card: #151d2e;
  --line: #243044;
  --text: #e8eefc;
  --muted: #94a3c0;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --danger: #f43f5e;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.nav-brand { font-weight: 700; letter-spacing: 0.5px; font-size: 18px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(800px 400px at 10% 10%, rgba(56, 189, 248, 0.12), transparent 55%),
    var(--bg);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 24px 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 { font-size: 46px; line-height: 1.15; margin-bottom: 18px; }
.hero-text h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

.hero-visual img {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #06251f;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.25);
}
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--card); }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 34px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stats strong { display: block; font-size: 30px; color: var(--accent); }
.stats span { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
section { padding: 70px 24px; }
section h2 { text-align: center; font-size: 34px; margin-bottom: 40px; }
.features { max-width: 1100px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card .ico { font-size: 30px; margin-bottom: 10px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---------- how ---------- */
.how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 20px; }
.step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #06251f; font-weight: 700; font-size: 20px; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- download ---------- */
.download { max-width: 1000px; margin: 0 auto; }
.download-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.d-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column;
}
.d-card.admin { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(45, 212, 191, 0.1); }
.d-card h3 { font-size: 22px; margin-bottom: 2px; }
.d-sub { color: var(--muted); margin-bottom: 16px; font-size: 14px; }
.d-card ul { list-style: none; margin-bottom: 24px; }
.d-card li { color: var(--muted); padding: 6px 0; font-size: 14px; }
.d-card li::before { content: "\2713  "; color: var(--accent); font-weight: 700; }
.d-card .btn { text-align: center; margin-top: auto; }
.dl-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }
code { background: var(--bg-2); padding: 2px 8px; border-radius: 6px; font-size: 12px; }

.smartnotice {
  max-width: 760px; margin: 22px auto 0;
  background: #1a2436; border: 1px solid #e5a50a;
  border-radius: 12px; padding: 18px 22px;
  text-align: left; color: var(--text);
}
.smartnotice p, .smartnotice ol { color: var(--muted); font-size: 14px; margin-top: 8px; padding-left: 4px; }
.smartnotice li { margin: 4px 0; }
.smartnotice pre {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; overflow-x: auto; font-size: 12px; margin-top: 8px;
}

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq h2 { margin-bottom: 28px; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--line); }
.footer img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; margin-bottom: 10px; }
.footer p { color: var(--text); font-size: 14px; }
.muted { color: var(--muted) !important; font-size: 12px !important; margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-text h1 { font-size: 34px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .download-cards { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
}