:root {
  --bg: #0a0a0c;
  --bg-alt: #101014;
  --card: #141419;
  --border: #26262e;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); text-decoration: none; font-size: 15px; }
.brand-icon { width: 22px; height: 22px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border); border-radius: 999px;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; cursor: pointer; transition: all 0.15s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: all 0.15s; border: 1px solid transparent; cursor: pointer;
}
.btn-sm { padding: 6px 16px; font-size: 13.5px; }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
.btn-primary { background: var(--accent); color: #171106; }
.btn-primary:hover { background: #fbbf24; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---- Hero ---- */
.hero { position: relative; padding: 96px 0 80px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -200px 0 auto; height: 600px; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(245, 158, 11, 0.13), transparent 70%),
    radial-gradient(900px 400px at 50% -100px, rgba(59, 90, 180, 0.18), transparent 70%);
}
/* faint crosshair lines motif, echoing the app banner */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(239, 68, 68, 0.08) 25%, transparent calc(25% + 1px)),
    linear-gradient(90deg, transparent calc(75% - 1px), rgba(239, 68, 68, 0.08) 75%, transparent calc(75% + 1px));
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 999px; padding: 5px 14px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 22px auto 18px; max-width: 800px; }
.hero-sub { color: var(--muted); font-size: clamp(15px, 2vw, 18px); max-width: 620px; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.hero-shot { margin-top: 56px; position: relative; }
.hero-shot img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(245, 158, 11, 0.06);
}

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 12px auto 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(245, 158, 11, 0.45); transform: translateY(-3px); }
.card-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-more { margin-top: 14px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.grid-docs { grid-template-columns: repeat(2, 1fr); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px 26px 74px;
}
.step-num {
  position: absolute; left: 22px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.35); font-weight: 700; font-size: 15px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step code { background: rgba(255, 255, 255, 0.06); border-radius: 5px; padding: 1px 6px; font-size: 13px; }
.step strong { color: var(--text); font-weight: 600; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { text-align: center; }
.footer a { color: var(--accent); text-decoration: none; }
.footer-note { color: var(--muted); font-size: 12.5px; margin-top: 6px; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid, .grid-docs, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}
