:root {
  --bg: #0a0506;
  --bg-card: #1a0f12;
  --bg-soft: #241018;
  --border: #3d1f30;
  --text: #ffe9e1;
  --muted: #c89996;
  --dim: #7e5b5b;
  --accent: #ff6b35;
  --accent2: #ec4899;
  --cyan: #22d3ee;
  --green: #16c784;
  --gold: #fbbf24;
  --violet: #a78bfa;
  --radius: 16px;
  --font: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 10% -5%, rgba(255, 107, 53, 0.14), transparent 55%),
    radial-gradient(700px 400px at 95% 20%, rgba(236, 72, 153, 0.10), transparent 50%),
    radial-gradient(600px 350px at 50% 100%, rgba(34, 211, 238, 0.06), transparent 60%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 5, 6, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
}

.brand span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand .pro {
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.2s;
}

nav a:hover { color: var(--text); background: var(--bg-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff8f5a);
  color: #1a0a0f;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.15);
  color: var(--violet);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.hero-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(255, 107, 53, 0.12);
}

.hero-shot img {
  width: 100%;
  display: block;
}

/* Sections */
section { padding: 72px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-title p { color: var(--muted); }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.25s;
}

.feature:hover {
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
}

.ico { width: 18px; height: 18px; flex-shrink: 0; }
.ico-lg { width: 24px; height: 24px; }
.ico-xl { width: 48px; height: 48px; color: var(--accent); }

.btn .ico { margin-right: 2px; }

.install-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.install-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.install-block p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }

.code-block {
  background: #0d0809;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--cyan);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.section-title a { color: var(--accent); }

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

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s;
}

.shot-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.shot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
}

.shot-card figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* Downloads */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.dl-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.dl-card.linux { border-color: rgba(34, 211, 238, 0.3); }
.dl-card.windows { border-color: rgba(96, 165, 250, 0.3); }
.dl-card.source { border-color: rgba(167, 139, 250, 0.3); }

.dl-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.dl-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.dl-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.dl-size { font-size: 0.78rem; color: var(--dim); margin-top: 12px; }

.dl-card .btn { width: 100%; justify-content: center; }

/* Creator */
.creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 32px;
}

.creator-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.25);
  margin-bottom: 16px;
}

.creator h3 {
  font-size: 1.75rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.creator .role {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0 16px;
}

.creator p { max-width: 520px; color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--dim);
  font-size: 0.85rem;
}

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

@media (max-width: 768px) {
  nav ul { display: none; }
  .hero { padding-top: 48px; }
}
