@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg-primary: #0f1117;
  --bg-secondary: #1a1d28;
  --bg-card: #1e2130;
  --text-primary: #e8eaf0;
  --text-secondary: #9ca3b4;
  --accent-green: #4ade80;
  --accent-blue: #60a5fa;
  --accent-gradient: linear-gradient(135deg, #4ade80, #60a5fa);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --glow-green: rgba(74, 222, 128, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- Animated Background --- */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 12s ease-in-out infinite alternate;
}

.bg-glow::before {
  width: 500px;
  height: 500px;
  background: var(--accent-green);
  top: -200px;
  left: -100px;
  opacity: 0.08;
}

.bg-glow::after {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  bottom: -150px;
  right: -100px;
  opacity: 0.06;
  animation-delay: 6s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* --- Layout --- */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Header / Nav --- */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header a.logo {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 28px;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--accent-green);
}

/* --- Hero / Landing --- */
.hero {
  text-align: center;
  padding: 80px 0 100px;
}

.hero-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 40px;
  display: block;
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.15),
    0 0 40px rgba(74, 222, 128, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.4);
  animation: subtle-pulse 4s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15), 0 0 40px rgba(74, 222, 128, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.2), 0 0 60px rgba(74, 222, 128, 0.12), 0 20px 60px rgba(0, 0, 0, 0.4); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-links a.primary {
  background: var(--accent-gradient);
  color: #0f1117;
}

.hero-links a.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.25);
}

.hero-links a.secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.hero-links a.secondary:hover {
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* --- Legal Pages --- */
.legal-page {
  padding: 40px 0 100px;
}

.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-page .effective-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 40px;
  font-weight: 400;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--accent-green);
  text-decoration: none;
}

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

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  margin-top: 60px;
}

.site-footer p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    width: 150px;
    height: 150px;
  }

  .hero-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-links a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 1.7rem;
  }

  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav a {
    margin-left: 16px;
  }

  .site-header nav a:first-child {
    margin-left: 0;
  }
}
