/* --- CSS VARIABLES --- */
:root {
  --bg-base: #050505;
  --bg-card: #0a0a0a;
  --text-main: #e5e5e5;
  /* neutral-200 */
  --text-muted: #a3a3a3;
  /* neutral-400 */
  --text-dim: #737373;
  /* neutral-500 */
  --text-dark: #525252;
  /* neutral-600 */
  --accent: #10b981;
  /* emerald-500 */
  --accent-hover: #34d399;
  /* emerald-400 */
  --border-light: #262626;
  /* neutral-800 */
  --border-dark: #171717;
  /* neutral-900 */

  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Merriweather', serif;
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#descripton {
  display: none;
}

body {
  background-color: var(--bg-base);
  color: var(--text-muted);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* --- BACKGROUND GRID --- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 4rem 4rem;
}


/* --- LAYOUT --- */
.container {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  /* 896px */
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* --- HEADER --- */
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
  }
}

.logo-area h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-area h1 svg {
  color: var(--accent);
}

.logo-area p {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  nav {
    margin-top: 0;
  }
}

.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--accent-hover);
  font-weight: 700;
}

/* --- MAIN CONTENT & VIEWS --- */
main {
  min-height: 60vh;
}

/* --- FOOTER --- */
footer {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--text-dark);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a:hover {
  color: var(--accent-hover);
}

.social-links svg {
  width: 20px;
  height: 20px;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
