:root {
  --bg-color: #0d0d12;
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #ec4899;
  --accent: #8b5cf6;
  --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --nav-height: 80px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* --- Navigation --- */
header {
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(13, 13, 18, 0) 50%);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  transform: translateY(0);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* --- Footer --- */
footer {
  background: #08080c;
  padding: 60px 0 30px;
  border-top: 1px solid var(--card-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  display: block;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-section p {
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- Legal Pages --- */
.legal-content {
  padding-top: 140px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary);
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 999;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: block;
  }
}
