/* CSS Variables */
:root {
  --background: 0 0% 3.9%;
  --foreground: 0 0% 98%;
  --card: 0 0% 3.9%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 3.9%;
  --popover-foreground: 0 0% 98%;
  --primary: 142 70% 50%;
  --primary-foreground: 144 100% 5%;
  --secondary: 0 0% 14.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 14.9%;
  --muted-foreground: 0 0% 63.9%;
  --accent: 0 0% 14.9%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 14.9%;
  --input: 0 0% 14.9%;
  --ring: 142 70% 50%;
  --radius: 0.25rem;
  
  --font-mono: "Space Mono", monospace;
  --font-sans: "Inter", sans-serif;
  --font-terminal: "ocr-a-std", "Courier New", monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary));
}

/* Utility Classes */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-20 {
  padding-top: 5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-black {
  font-weight: 900;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-light {
  font-weight: 300;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.text-white {
  color: white;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-zinc-300 {
  color: rgb(212 212 216);
}

.text-zinc-400 {
  color: rgb(161 161 170);
}

.text-zinc-500 {
  color: rgb(113 113 122);
}

.text-zinc-600 {
  color: rgb(82 82 91);
}

.text-green-500 {
  color: rgb(34 197 94);
}

.text-blue-500 {
  color: rgb(59 130 246);
}

.text-amber-500 {
  color: rgb(245 158 11);
}

.text-orange-500 {
  color: rgb(249 115 22);
}

.text-yellow-500 {
  color: rgb(234 179 8);
}

.text-yellow-600 {
  color: rgb(202 138 4);
}

.text-purple-500 {
  color: rgb(168 85 247);
}

.text-red-500 {
  color: rgb(239 68 68);
}

.text-cyan-500 {
  color: rgb(6 182 212);
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

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

.bg-background {
  background-color: hsl(var(--background));
}

.bg-black {
  background-color: black;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.4);
}

.bg-zinc-900\/30 {
  background-color: rgba(24, 24, 27, 0.3);
}

.bg-zinc-900\/50 {
  background-color: rgba(24, 24, 27, 0.5);
}

.bg-zinc-900\/80 {
  background-color: rgba(24, 24, 27, 0.8);
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}

.bg-primary\/90 {
  background-color: hsl(var(--primary) / 0.9);
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-zinc-700 {
  border-color: rgb(63 63 70);
}

.border-zinc-800 {
  border-color: rgb(39 39 42);
}

.border-zinc-900 {
  border-color: rgb(24 24 27);
}

.border-primary {
  border-color: hsl(var(--primary));
}

.border-primary\/30 {
  border-color: hsl(var(--primary) / 0.3);
}

.border-primary\/50 {
  border-color: hsl(var(--primary) / 0.5);
}

.border-transparent {
  border-color: transparent;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.object-cover {
  object-fit: cover;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-20 {
  opacity: 0.2;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-background {
  --tw-gradient-from: hsl(var(--background));
  --tw-gradient-to: hsl(var(--background) / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-background\/80 {
  --tw-gradient-to: hsl(var(--background) / 0.8);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background) / 0.8), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.from-primary\/10 {
  --tw-gradient-from: hsl(var(--primary) / 0.1);
  --tw-gradient-to: hsl(var(--primary) / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.pointer-events-none {
  pointer-events: none;
}

.whitespace-pre-line {
  white-space: pre-line;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-12 {
  gap: 3rem;
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  
  .md\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-mono);
}

.btn:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-lg {
  min-height: 3.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1.125rem;
  min-width: 200px;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary));
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-outline {
  border: 1px solid rgb(63 63 70);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

/* Cards */
.card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  transition: all 0.3s;
}

.card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  font-size: 1.25rem;
  color: white;
  font-family: var(--font-mono);
  transition: color 0.3s;
}

.card:hover .card-title {
  color: hsl(var(--primary));
}

.card-content {
  padding: 1.5rem;
  padding-top: 0;
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 #00fff9;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(31px, 9999px, 94px, 0); }
  20% { clip: rect(6px, 9999px, 83px, 0); }
  40% { clip: rect(78px, 9999px, 3px, 0); }
  60% { clip: rect(2px, 9999px, 63px, 0); }
  80% { clip: rect(56px, 9999px, 26px, 0); }
  100% { clip: rect(26px, 9999px, 73px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  20% { clip: rect(28px, 9999px, 17px, 0); }
  40% { clip: rect(93px, 9999px, 58px, 0); }
  60% { clip: rect(5px, 9999px, 43px, 0); }
  80% { clip: rect(32px, 9999px, 8px, 0); }
  100% { clip: rect(82px, 9999px, 35px, 0); }
}

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

/* Blink animation - but disabled for terminal lines until visible */
.blink {
  animation: blink 1s step-end infinite;
}

/* Disable blink animation for terminal lines until they become visible */
.terminal-line.blink {
  animation: none !important;
  opacity: 0;
}

/* Enable blink animation only when terminal line is visible */
.terminal-line.blink.visible {
  animation: blink 1s step-end infinite !important;
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  opacity: 0; /* Start hidden */
  animation: fadeInUp 0.8s ease-out forwards;
  /* forwards ensures opacity stays at 1 after animation completes */
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0; /* Start hidden, animation will make it visible */
}

.scale-in {
  animation: scaleIn 0.8s ease-out forwards;
  opacity: 0; /* Start hidden, animation will make it visible */
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* Links */
a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background)), hsl(var(--background) / 0.8), transparent);
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 0.25rem;
  background-color: hsl(var(--primary) / 0.1);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -0.05em;
  color: white;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgb(212 212 216);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Mission Section */
.mission-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: rgba(24, 24, 27, 0.3);
  border-top: 1px solid rgb(39 39 42);
  border-bottom: 1px solid rgb(39 39 42);
}

.mission-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mission-title {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: white;
}

@media (min-width: 768px) {
  .mission-title {
    font-size: 3rem;
  }
}

.mission-text {
  font-size: 1.125rem;
  color: rgb(161 161 170);
  line-height: 1.625;
}

.qualities-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .qualities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quality-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quality-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.quality-item span {
  color: rgb(212 212 216);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.terminal-box {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  border: 1px solid rgb(39 39 42);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.terminal-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.terminal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-terminal);
  font-size: 0.875rem;
  color: rgba(34, 197, 94, 0.8);
}

.terminal-lines {
  flex: 1;
  overflow: hidden;
}

.terminal-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.terminal-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure terminal lines stay hidden until visible class is added */
.terminal-lines .terminal-line:not(.visible) {
  opacity: 0;
}

.terminal-line.highlight-white {
  color: white;
}

.terminal-line.highlight-blue {
  color: rgb(96 165 250);
}

.terminal-line.highlight-success {
  color: hsl(var(--primary));
}

/* Terminal cursor blink effect */
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background-color: currentColor;
  margin-left: 2px;
  animation: terminal-blink 1s step-end infinite;
}

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

.terminal-footer {
  border-top: 1px solid rgb(39 39 42);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgb(113 113 122);
}

.terminal-corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
}

.terminal-corner-tl {
  top: 0;
  left: 0;
  border-left: 2px solid hsl(var(--primary));
  border-top: 2px solid hsl(var(--primary));
}

.terminal-corner-br {
  bottom: 0;
  right: 0;
  border-right: 2px solid hsl(var(--primary));
  border-bottom: 2px solid hsl(var(--primary));
}

/* Specialist Grid */
.specialist-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.specialist-title {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .specialist-title {
    font-size: 2.25rem;
  }
}

.specialist-subtitle {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .specialist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .specialist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.specialist-icon-wrapper {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(24, 24, 27, 0.8);
  width: fit-content;
  transition: background-color 0.3s;
}

.card:hover .specialist-icon-wrapper {
  background-color: rgb(39 39 42);
}

.specialist-icon {
  width: 2rem;
  height: 2rem;
}

/* Footer */
.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgb(24 24 27);
  background-color: black;
  text-align: center;
  color: rgb(82 82 91);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: rgb(82 82 91);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-links a.lang-link {
  color: hsl(var(--primary));
}

.footer-links a.lang-link:hover {
  text-decoration: underline;
}

/* Generic Page */
.generic-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.generic-nav {
  padding: 1.5rem;
}

.generic-main {
  flex: 1;
  max-width: 48rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.generic-title {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: white;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .generic-title {
    font-size: 3.75rem;
  }
}

.generic-content {
  font-family: var(--font-mono);
  color: rgb(161 161 170);
  white-space: normal;
  max-width: none;
  line-height: 1.6;
}

/* Text shuffle animation */
.generic-content .shuffle-char {
  display: inline-block;
  font-family: var(--font-terminal);
}

.generic-content .shuffle-char[data-char] {
  min-width: 0.6em;
  text-align: left;
}

/* Selection */
::selection {
  background-color: hsl(var(--primary) / 0.3);
}
