:root {
  --bg: #111113;
  --bg-subtle: #191a1e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ededef;
  --text-secondary: #9a9ba1;
  --text-tertiary: #6c6d74;
  --accent: #5b9aff;
  --accent-glow: rgba(91, 154, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- nav ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(17, 17, 19, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #3d7be5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-download:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.14);
}

/* ---- hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(91, 154, 255, 0.1);
  border: 1px solid rgba(91, 154, 255, 0.2);
  border-radius: 100px;
  margin-bottom: 28px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.sub {
  margin: 0 0 40px;
  font-size: 1.0625rem;
  color: var(--text-tertiary);
}

/* ---- CTA ---- */

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #5b9aff 0%, #3d7be5 100%);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(91, 154, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 40px var(--accent-glow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(91, 154, 255, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.35),
    0 0 60px var(--accent-glow);
}

.btn:active {
  transform: translateY(0);
}

.meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ---- features ---- */

.features {
  padding: 0 24px 100px;
  display: flex;
  justify-content: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 820px;
  width: 100%;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.feature p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- gatekeeper ---- */

.gatekeeper {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px 80px;
  text-align: center;
}

.gatekeeper-card {
  padding: 24px 28px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.gatekeeper-card h4 {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.gatekeeper-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- footer ---- */

footer {
  padding: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
}

/* ---- responsive ---- */

@media (max-width: 640px) {
  nav {
    padding: 14px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }
}
