:root {
  --bg: #0b0f14;
  --panel: #0f1720;
  --panel-2: #111b25;
  --text: #e7eef7;
  --muted: #9fb0c3;
  --accent: #36c2a5;
  --accent-2: #f5a524;
  --edge: #1b2836;
  --glow: rgba(54, 194, 165, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topmost {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(54, 194, 165, 0.25), transparent 55%),
    radial-gradient(1000px 600px at 90% 0%, rgba(245, 165, 36, 0.18), transparent 45%),
    linear-gradient(180deg, #0b0f14 0%, #0b1017 100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #36c2a5, #1a8f7a);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(54, 194, 165, 0.35);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 32px 56px 80px;
}

.hero h1 {
  font-size: 3.2rem;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.button {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #36c2a5, #1a8f7a);
  color: #041017;
  box-shadow: 0 12px 30px rgba(54, 194, 165, 0.35);
}

.button.secondary {
  background: transparent;
  border-color: #2a3b4c;
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(160deg, rgba(17, 27, 37, 0.95), rgba(9, 13, 18, 0.9));
  border: 1px solid var(--edge);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(6, 10, 15, 0.6);
  display: grid;
  gap: 16px;
}

.qr-wrap {
  display: grid;
  place-items: center;
  background: #0b1119;
  border-radius: 18px;
  border: 1px dashed #2a3b4c;
  padding: 24px;
  min-height: 220px;
}

.qr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section {
  padding: 70px 56px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section p {
  color: var(--muted);
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 20px;
  min-height: 140px;
  box-shadow: 0 12px 30px rgba(6, 10, 15, 0.4);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.repo-card {
  background: var(--panel-2);
  border: 1px solid #223243;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.repo-card a {
  color: var(--accent);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(54, 194, 165, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
}

.footer {
  padding: 40px 56px 60px;
  border-top: 1px solid #182330;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
