:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 0, 0, 0;
  --background-end-rgb: 0, 0, 0;

  /* Color Variables */
  --color-white: rgb(255, 255, 255);
  --color-white-alpha-16: rgba(255, 255, 255, 0.16);
  --color-white-alpha-64: rgba(255, 255, 255, 0.64);

  --color-text-primary: rgb(229, 229, 229);
  --color-text-secondary: rgb(212, 212, 212);
  --color-text-tertiary: rgb(156, 163, 175);
  --color-text-muted: rgb(148, 163, 184);
  --color-text-subtle: rgb(100, 116, 139);

  --color-heading-primary: rgb(241, 245, 249);
  --color-heading-secondary: rgb(226, 232, 240);
  --color-heading-tertiary: rgb(203, 213, 225);

  --color-link: rgb(96, 165, 250);
  --color-link-hover: rgb(147, 197, 253);

  --color-border: rgba(255, 255, 255, 0.16);
  --color-border-subtle: rgb(55, 65, 81);

  --color-bg-primary: rgb(0, 0, 0);
  --color-bg-secondary: rgb(11, 15, 23);
  --color-bg-tertiary: rgb(39, 39, 42);
  --color-bg-code: rgb(30, 41, 59);
  --color-bg-pre: rgb(15, 23, 42);

  --color-accent-blue: rgb(56, 135, 253);
  --color-accent-cyan: rgb(6, 182, 212);
  --color-accent-green: rgb(34, 197, 94);
  --color-accent-red: rgb(239, 68, 68);

  /* Typography Variables */
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-base: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 4.5rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing Variables */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
  --spacing-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
}

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

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
}

a {
  text-decoration: none;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(35deg);
  }
  40% {
    transform: rotate(-25deg);
  }
  60% {
    transform: rotate(25deg);
  }
  80% {
    transform: rotate(-35deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.wave-animation {
  animation: wave 5s ease-in-out 1;
}

.blinking-cursor {
  animation: blink 1s infinite;
  display: inline-block;
  height: 2rem;
  width: 0.25rem;
  background: rgb(241, 245, 249);
  margin-left: 0.25rem;
}

input:focus,
textarea:focus {
  outline: none !important;
}

/* Utility Classes */
.text-primary {
  color: var(--color-text-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

.heading-primary {
  color: var(--color-heading-primary);
  font-weight: var(--font-weight-bold);
}

.heading-secondary {
  color: var(--color-heading-secondary);
  font-weight: var(--font-weight-semibold);
}

.heading-tertiary {
  color: var(--color-heading-tertiary);
  font-weight: var(--font-weight-medium);
}

.link {
  color: var(--color-link);
  text-decoration: underline;
  transition: color 200ms;
}

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

.container-bordered {
  border: 1px solid var(--color-border);
  position: relative;
}

.section-spacing {
  margin-top: var(--spacing-4xl);
}

/* Image Caption Styling */
.img-caption {
  display: block;
  text-align: center;
  color: var(--color-text-subtle);
  font-size: var(--font-size-xs);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  font-style: italic;
}

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

@media (min-width: 640px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 639px) {
  .menu-toggle:focus-visible ~ .hamburger {
    outline: 1px solid rgb(229, 229, 229);
    outline-offset: 4px;
  }

  .menu-toggle:checked ~ .hamburger .line-1 {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger .line-2 {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger .line-3 {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-toggle:checked ~ .menu-center {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: var(--spacing-4xl) var(--spacing-md) var(--spacing-md);
    background: rgba(0, 0, 0, 0.95);
    justify-content: flex-start;
    border-radius: 0;
    transform: none;
    z-index: 40;
    animation: slideDown 300ms ease;
  }

  .menu-toggle:checked ~ .menu-center a {
    font-size: var(--font-size-base);
    padding: var(--spacing-md) 0;
  }
}
.menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
    max-width: 1024px;
    gap: var(--spacing-md);
    margin: 0 auto;
    border: 1px solid var(--color-border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    width: 95%;
    z-index: 40;
  }

  .menu-home {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .menu-home a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 10;
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    text-decoration: none;
    color: inherit;
    transition: color 200ms;
  }

  .menu-home a:hover {
    color: var(--color-text-secondary);
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 50;
  }

  .hamburger:hover {
    opacity: 0.8;
  }

  .line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: all 300ms ease;
    transform-origin: center;
  }

  .hamburger.open .line-1 {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.open .line-2 {
    opacity: 0;
  }

  .hamburger.open .line-3 {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-center {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: var(--spacing-sm) var(--spacing-lg);
    gap: var(--spacing-lg);
    font-size: var(--font-size-xs);
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-medium);
    overflow: hidden;
  }

  .menu-center a {
    position: relative;
    background: transparent;
    transition: color 200ms;
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    color: inherit;
  }

  .menu-center a:hover {
    color: var(--color-text-secondary);
  }

  @media (min-width: 640px) {
    .hamburger {
      display: none;
    }

    .menu-center {
      display: flex;
    }
  }

  @media (max-width: 639px) {
    .menu-center.open {
      display: flex;
      position: fixed;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      flex-direction: column;
      gap: var(--spacing-xl);
      padding: var(--spacing-4xl) var(--spacing-md) var(--spacing-md);
      background: rgba(0, 0, 0, 0.95);
      justify-content: flex-start;
      border-radius: 0;
      transform: none;
      z-index: 40;
      animation: slideDown 300ms ease;
    }

    .menu-center.open a {
      font-size: var(--font-size-base);
      padding: var(--spacing-md) 0;
    }
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgb(11, 15, 23);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 50;
    margin-top: 6rem;
  }

  .footer-gradient {
    position: absolute;
    z-index: 30;
    left: 50%;
    top: 0;
    height: 100rem;
    width: 100rem;
    opacity: 0.5;
    pointer-events: none;
    transform: translateY(-50%);
    mask-image: radial-gradient(closest-side, white, transparent);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    justify-content: space-between;
  }

  .footer-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-quote {
    margin: 0;
    max-width: 24rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.875rem;
    font-weight: normal;
  }

  .footer-quote p {
    margin: 0;
  }

  .footer-quote p:first-child {
    font-style: italic;
  }

  .footer-quote-by {
    margin-top: 0.35rem;
  }

  .footer-quote a,
  .footer-copyright a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

  .footer-quote a:hover,
  .footer-copyright a:hover {
    color: rgb(229, 229, 229);
  }

  .footer-email {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 24rem;
    font-weight: normal;
  }

  .footer-social {
    display: flex;
    gap: 0.5rem;
  }

  .footer-social a {
    font-weight: normal;
    margin-top: 1rem;
    color: rgb(212, 212, 212);
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
  }

  .footer-column a {
    font-weight: normal;
    margin-top: 1rem;
    color: rgb(212, 212, 212);
    transition: color 300ms;
    text-decoration: none;
  }

  .footer-column a:hover {
    color: rgb(229, 229, 229);
  }

  .footer-bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  .footer-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(152, 154, 166, 0.5), transparent);
  }

  .footer-copyright {
    font-size: 0.875rem;
    padding-top: 1rem;
    text-align: center;
    color: rgb(212, 212, 212);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  @media (min-width: 768px) {
    .footer-content {
      flex-direction: row;
    }

    .footer-left {
      width: 50%;
    }

    .footer-links {
      display: flex;
    }
  }

  @media (min-width: 1024px) {
    .footer-gradient {
      left: 100%;
      margin-left: -20rem;
      transform: translate(-50%, 0);
    }
  }

