:root {
  --bg: #0a0614;
  --bg-deep: #140a25;
  --panel: rgba(40, 23, 69, 0.45);
  --panel-strong: rgba(58, 33, 98, 0.62);
  --border: rgba(216, 182, 255, 0.2);
  --text: #f6efff;
  --muted: #cbb8e8;
  --accent: #b06cff;
  --accent-strong: #8f3dff;
  --shadow: rgba(7, 3, 17, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 108, 255, 0.2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(119, 53, 255, 0.18), transparent 25%),
    linear-gradient(160deg, var(--bg), var(--bg-deep));
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  pointer-events: none;
}

.background-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
  opacity: 0.65;
}

.orb-one {
  width: 18rem;
  height: 18rem;
  top: 4rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(176, 108, 255, 0.8), transparent 70%);
}

.orb-two {
  width: 20rem;
  height: 20rem;
  right: -5rem;
  bottom: 3rem;
  background: radial-gradient(circle, rgba(101, 35, 196, 0.75), transparent 70%);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  transform-origin: center;
}

.glass-card:hover {
  transform: scale(1.03);
  border-color: rgba(216, 182, 255, 0.34);
  box-shadow: 0 28px 95px rgba(7, 3, 17, 0.52), 0 0 32px rgba(176, 108, 255, 0.18);
}

.hero {
  padding: 3rem;
  border-radius: 32px;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(176, 108, 255, 0.22), transparent 65%);
}

.eyebrow,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: #e2ccff;
  margin: 0 0 1rem;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 5.8rem);
  line-height: 0.95;
}

.subtitle {
  width: min(38rem, 100%);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 30px rgba(143, 61, 255, 0.35);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.stat-card,
.repos-card {
  border-radius: 26px;
  padding: 1.6rem;
}

.stat-card h2,
.repos-card h2 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.stat-card p,
.repos-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.repos-card {
  margin-top: 1.25rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.5rem;
}

.repo-placeholder {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f0e4ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.repo-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c999ff, #8f3dff);
  box-shadow: 0 0 18px rgba(176, 108, 255, 0.7);
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .hero {
    padding: 2rem 1.35rem;
    min-height: unset;
  }

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

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}
