/* ---------- Theme ---------- */
:root {
  --color-bg: #000000;
  --color-surface: #050a07;
  --color-surface-2: #030704;
  --color-border: #1b2e25;
  --color-primary: #22c55e;
  --color-primary-glow: #86efac;
  --color-text: #d9e4dc;
  --color-text-muted: #90a89a;
  --color-heading: #f0f7f2;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-full: 9999px;
  --transition: 0.25s ease;
}

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

body {
  font-family: var(--font-sans);
  background:
    linear-gradient(rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.96)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(34,197,94,0.04) 0 1px, transparent 1px 80px),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(34, 197, 94, 0.2), transparent 72%),
    radial-gradient(780px 420px at 88% 84%, rgba(134, 239, 172, 0.14), transparent 74%),
    radial-gradient(640px 340px at 50% 42%, rgba(34, 197, 94, 0.09), transparent 76%),
    linear-gradient(180deg, rgba(8, 20, 13, 0.22), rgba(0, 0, 0, 0.02) 28%, rgba(7, 16, 11, 0.18) 100%);
  opacity: 0.92;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1360px;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary-glow);
  background: rgba(34, 197, 94, 0.12);
  border: 1px dashed rgba(134, 239, 172, 0.45);
  padding: .35rem .8rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.tag__prompt {
  margin-right: .3rem;
  opacity: 0.7;
  animation: blink-prompt 1.2s ease-in-out infinite;
}

.tag a {
  color: inherit;
  transition: text-shadow var(--transition);
}

.tag a:hover {
  text-shadow: 0 0 10px rgba(134, 239, 172, 0.6);
}

@keyframes blink-prompt {
  0%, 49%, 100% { opacity: 0.7; }
  50%, 99% { opacity: 0.2; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.nav.scrolled {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--color-heading);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

.nav__links a {
  color: var(--color-text-muted);
  transition: color var(--transition), text-shadow var(--transition);
  font-family: var(--font-mono);
  font-size: .9rem;
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-primary-glow);
  text-shadow: 0 0 12px rgba(134, 239, 172, 0.4);
}

/* ---------- Sections ---------- */
section {
  padding: 4.5rem 0;
}

.hero {
  padding-top: 5.5rem;
}

.hero__inner {
  max-width: 980px;
  width: 100%;
  padding: 2rem;
  border: 1px solid #224031;
  background: linear-gradient(180deg, rgba(6, 12, 8, .92), rgba(2, 7, 4, .96));
  box-shadow: inset 0 0 0 1px rgba(134,239,172,0.12), 0 18px 35px rgba(0, 0, 0, 0.35);
  border-radius: 2px;
}

.hero__title,
.section-title {
  color: var(--color-heading);
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 1.03;
  text-shadow: 0 0 14px rgba(134, 239, 172, 0.2);
  letter-spacing: -0.02em;
  font-variant: tabular-nums;
}

.hero__title--scramble {
  font-family: var(--font-mono);
  min-height: 1.2em;
  animation: scramble-glow 1s ease-out forwards;
}

@keyframes scramble-glow {
  0% {
    text-shadow: 0 0 20px rgba(134, 239, 172, 0.6), 0 0 40px rgba(34, 197, 94, 0.3);
    opacity: 0.9;
  }
  100% {
    text-shadow: 0 0 14px rgba(134, 239, 172, 0.2);
    opacity: 1;
  }
}

.hero__subtitle,
.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 75ch;
}

.hero__subtitle {
  max-width: 64ch;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cta-btn--primary {
  color: var(--color-bg);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.cta-btn--primary:hover {
  background: var(--color-primary-glow);
  border-color: var(--color-primary-glow);
  box-shadow: 0 0 30px rgba(134, 239, 172, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.cta-btn--secondary {
  color: var(--color-primary-glow);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(134, 239, 172, 0.5);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2), inset 0 0 0 1px rgba(134, 239, 172, 0.2);
}

.cta-btn--secondary:hover {
  color: var(--color-heading);
  background: rgba(34, 197, 94, 0.18);
  border-color: var(--color-primary-glow);
  box-shadow: 0 0 25px rgba(134, 239, 172, 0.4), inset 0 0 0 1px rgba(134, 239, 172, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-btn {
    width: 100%;
  }
}

.hero__snake-track {
  margin-top: 1.1rem;
  height: 10px;
  border: 1px solid #255139;
  background: #020803;
  overflow: hidden;
  position: relative;
}

.hero__snake {
  position: absolute;
  top: 1px;
  left: -110px;
  height: 6px;
  width: 110px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 24%, var(--color-primary-glow) 58%, var(--color-primary) 85%, transparent 100%);
  animation: snake-run 4.2s linear infinite;
}

@keyframes snake-run {
  0% { left: -110px; }
  100% { left: calc(100% + 110px); }
}

.team {
  background: linear-gradient(180deg, var(--color-surface), var(--color-surface-2));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

/* ---------- Team ---------- */
.team__grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem;
}

.profile-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.profile-card {
  background: linear-gradient(180deg, #08110b, #050c08);
  border: 1px solid #2a4b39;
  border-radius: 0;
  overflow: hidden;
  outline: 1px solid rgba(134, 239, 172, 0.2);
  outline-offset: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 14px 26px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 34px rgba(0, 0, 0, 0.42);
}

.profile-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1) brightness(.95);
  border-bottom: 1px solid rgba(134, 239, 172, 0.28);
  border-radius: 0;
}

.profile-card h3 {
  color: var(--color-heading);
  font-size: 1.02rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: .9rem .9rem .35rem;
}

.profile-card p {
  color: var(--color-text-muted);
  font-size: .92rem;
  margin: 0 .9rem 1rem;
}



.team__intro {
  max-width: 85ch;
  line-height: 1.8;
  font-size: 1.02rem;
  margin-bottom: 3rem;
  padding-left: 0;
}

/* ---------- Footer ---------- */
.footer {
  padding: 1.6rem 0;
}

.footer__inner {
  color: var(--color-text-muted);
  font-size: .95rem;
  font-family: var(--font-mono);
}

.footer__inner a {
  color: var(--color-primary-glow);
  transition: text-shadow var(--transition);
}

.footer__inner a:hover {
  text-shadow: 0 0 8px rgba(134, 239, 172, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .nav__inner {
    flex-direction: column;
    justify-content: center;
    gap: .6rem;
    padding: .8rem 0;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-btn {
    width: 100%;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-card__github {
    opacity: 1;
    transform: scale(0.9);
  }
}

