:root {
  --bg: #0b0f14;
  --bg-elev: #121821;
  --bg-elev-2: #1a2230;
  --text: #e6edf3;
  --text-dim: #9aa7b4;
  --text-faint: #6b7885;
  --accent: #4f9cff;
  --accent-2: #7c5cff;
  --border: #222c3a;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(79, 156, 255, 0.35);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  padding: 116px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -14%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(79, 156, 255, 0.18), rgba(124, 92, 255, 0.09) 45%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
.hero .tagline {
  font-size: 21px;
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 34px;
}
.hero .cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background: var(--bg-elev-2); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
  box-shadow: 0 8px 28px rgba(79, 156, 255, 0.32);
}
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* Sections */
section { padding: 96px 0; }
.section-title {
  font-size: 30px;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 17px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 156, 255, 0.4);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(79, 156, 255, 0.10);
  border: 1px solid rgba(79, 156, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shots figure {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.shots figure:hover { transform: translateY(-3px); border-color: rgba(79, 156, 255, 0.4); }
.shots img { width: 100%; display: block; }
.shots figcaption {
  padding: 13px 14px;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}

/* 404 */
.notfound {
  text-align: center;
  padding: 120px 24px 120px;
  max-width: 560px;
  margin: 0 auto;
}
.notfound .code {
  font-size: 96px;
  line-height: 1;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: 30px; margin: 0 0 14px; letter-spacing: -0.4px; }
.notfound .msg { color: var(--text-dim); font-size: 17px; margin: 0 0 30px; }

/* Privacy / prose */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.prose h1 { font-size: 36px; margin: 0 0 8px; letter-spacing: -0.5px; }
.prose .meta { color: var(--text-faint); font-size: 14px; margin-bottom: 32px; }
.prose h2 {
  font-size: 21px;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.prose p { color: var(--text-dim); margin: 0 0 14px; }
.prose strong { color: var(--text); }
.prose ul { color: var(--text-dim); margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  color: var(--text-faint);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); }

/* Responsive */
@media (max-width: 820px) {
  .grid, .shots { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
  section { padding: 72px 0; }
}
@media (max-width: 540px) {
  .grid, .shots { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero .tagline { font-size: 18px; }
  .nav-links { display: none; }
}
