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

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-bg: #0f0f23;
  --color-bg-light: #1a1a2e;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 24px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, var(--color-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(99, 102, 241, 0.4);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 80px;
  width: 100%;
  max-width: 900px;
}

.feature {
  background: var(--color-bg-light);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

footer {
  padding: 24px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.legal-links {
  margin-top: 8px;
}

.legal-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.legal-links .separator {
  margin: 0 12px;
  opacity: 0.5;
}

/* Legal page styles */
.legal-content {
  align-items: flex-start;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  background: none;
  -webkit-text-fill-color: var(--color-text);
}

.legal-content .last-updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--color-text);
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--color-text-muted);
  margin: 12px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.logo {
  text-decoration: none;
}

@media (max-width: 640px) {
  .features {
    margin-top: 48px;
  }

  .feature {
    padding: 24px;
  }
}
