:root {
  --bg: #0b1020;
  --bg-soft: #11182c;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #a9b4c8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #4cc9f0;
  --accent-2: #7b61ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1160px;
  --header-height: 78px;
  --font: "Inter", sans-serif;
}

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

html,
body {
  background: radial-gradient(circle at top, #16203b 0%, var(--bg) 45%);
  color: var(--text);
  font-family: var(--font);
}

body {
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

.section-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.nav-bar {
  list-style: none;
  display: flex;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--panel);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--panel);
  color: white;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 201, 240, 0.22), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(123, 97, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow);
}

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

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--panel-strong);
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.hero-card-inner {
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-label {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.focus-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.focus-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

.repo-status {
  color: var(--muted);
  margin-bottom: 18px;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.repo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.repo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 201, 240, 0.35);
}

.repo-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.repo-name {
  font-size: 1.1rem;
  font-weight: 700;
  word-break: break-word;
}

.repo-arrow {
  color: var(--accent);
  flex-shrink: 0;
}

.repo-description {
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.repo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.repo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social-media {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-media a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 1.35rem;
  color: var(--text);
  transition: 0.2s ease;
}

.social-media a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .hero-grid,
  .repo-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-content: stretch;
  }
}

@media (max-width: 760px) {
  .hamburger {
    display: inline-block;
  }

  .nav-bar {
    position: absolute;
    top: calc(var(--header-height) - 6px);
    right: 0;
    width: min(300px, calc(100vw - 24px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(17, 24, 44, 0.98);
    border: 1px solid var(--line);
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .nav-bar.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .footer-inner {
    flex-direction: column;
  }

  .section {
    padding: 68px 0;
  }

  .hero-grid {
    padding: 36px 0 56px;
  }
}