:root {
  --bg: #050505;
  --cell-bg: #111111;
  --cell-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #888888;
  --accent: #D4FF00; /* Acid yellow / Neon */
  --radius: 24px;
  --gap: 16px;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  padding: var(--gap);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Subtle noise texture overlay for premium feel */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

/* Navigation */
.bento-nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--cell-bg);
  border: 1px solid var(--cell-border);
  border-radius: 100px;
  margin-bottom: var(--gap);
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.lang-switcher {
  display: flex;
  gap: 12px;
  margin-left: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--cell-border);
}

.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.2s;
}

.lang-switcher a.active, .lang-switcher a:hover {
  color: var(--accent);
}

.btn-ping {
  background: var(--text-main);
  color: var(--bg);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-ping:hover {
  background: var(--accent);
  transform: scale(1.03);
}

/* Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: var(--gap);
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 10;
  flex: 1;
}

/* Base Cell */
.bento-cell {
  background: var(--cell-bg);
  border: 1px solid var(--cell-border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
}

a.bento-cell:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.bento-cell:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* Grid Spans */
.span-1 { grid-column: span 1; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--text-main);
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specific Cell Styles */
.hero-cell {
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(212, 255, 0, 0.05), transparent 50%), var(--cell-bg);
}

.status-cell {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

/* Utilities for rich content */
.inner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.inner-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.text-lg {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.text-highlight {
  color: var(--text-main);
  font-weight: 600;
}

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.mt-auto { margin-top: auto; }

.list-detailed {
  list-style: none;
  margin-top: 16px;
}

.list-detailed li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.list-detailed li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.pulse-dot {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(212, 255, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 255, 0, 0); }
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.services-list li {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
}

.services-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 400;
}

.stat-number {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cta-cell {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent);
  color: var(--bg);
  border: none;
}

.cta-cell h2 {
  color: var(--bg);
  opacity: 0.7;
}

.huge-link {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--bg);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}

.huge-link:hover {
  opacity: 0.7;
}

/* Prose / Legal Text */
.prose {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.prose h2 {
  color: var(--text-main);
  font-size: 1.75rem;
  margin: 40px 0 16px;
  text-transform: none;
  letter-spacing: normal;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cell-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-3, .span-4 {
    grid-column: span 2;
  }
  .bento-nav {
    flex-wrap: wrap;
    gap: 16px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    order: 3;
    margin-top: 8px;
  }
  .lang-switcher {
    border-left: none;
    padding-left: 0;
  }
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links a {
    margin: 0 8px;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .span-2, .span-3, .span-4 {
    grid-column: span 1;
  }
  .row-span-2 {
    grid-row: span 1;
  }
  .bento-cell {
    padding: 32px 24px;
  }
}