* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary: #32F08C;
  --primary-dark: #1C994B;
  --bg: #121212;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Fonts */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.sections-wrapper {
  background: var(--bg);
  position: relative;
  z-index: 10;
}

section {
  margin-top: 0;
  margin-bottom: 0;
}

.section-margin {
  margin-top: 60px;
  margin-bottom: 60px;
}

button {
  font-family: var(--font-main);
}

/* Legal Pages - Terms & Privacy */
.legal-page {
  padding: 120px 40px 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-container .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.legal-section p {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-section ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-section li {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 100px 20px 60px;
  }
}

/* 404 Error Page */
.error-page {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  background: var(--bg);
}

.error-container {
  max-width: 600px;
  text-align: center;
}

.error-title {
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.error-description {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.error-link:hover {
  color: var(--primary-dark);
}
