:root {
  --bg: #0c0e14;
  --surface: #141722;
  --surface-2: #1b1f2e;
  --border: #252b3d;
  --border-bright: #343d57;
  --text: #eef2fa;
  --muted: #939eb5;
  --accent: #4c8dff;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #4ade80;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse 75% 40% at 50% -5%, rgba(76, 141, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 45% 30% at 80% 10%, rgba(139, 92, 246, 0.11), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.88em;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 43, 61, 0.7);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.brand img { border-radius: 7px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s, opacity 0.14s, background 0.14s, border-color 0.14s;
}
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 13px 24px; font-size: 15.5px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #08101c;
  box-shadow: 0 6px 24px rgba(76, 141, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.94; color: #08101c; }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-bright); }

.hero { padding: 72px 0 48px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 23, 34, 0.9);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 650px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--text); }
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 42px;
}
.sha-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sha-btn:hover { color: var(--text); }
.copy-label {
  color: var(--accent);
  font-weight: 600;
}

.showcase-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.shot-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.shot-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.shot-tab:hover { color: var(--text); border-color: var(--border-bright); }
.shot-tab.is-active {
  background: rgba(76, 141, 255, 0.16);
  border-color: var(--accent);
  color: var(--text);
}
.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c12;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-caption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.section { padding: 64px 0; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 32px;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}
.section-head p { color: var(--muted); font-size: 16px; }

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

.release-list { display: flex; flex-direction: column; gap: 16px; }
.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.version-tag {
  font-size: 20px;
  font-weight: 700;
  margin-right: 10px;
}
.channel-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  color: var(--green);
  margin-right: 10px;
}
.release-date { font-size: 13px; color: var(--muted); }
.release-notes {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.release-sha {
  font-size: 12.5px;
  color: var(--muted);
  word-break: break-all;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { border-radius: 5px; }
.footer-brand a { color: var(--text); }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 680px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 44px; }
}
