/* eugenneu.com - Electric Depth Theme */

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

/* Variables */
:root {
  --bg-primary: #1A1A2E;
  --bg-surface: #232338;
  --bg-elevated: #2D2D44;
  --text-primary: #F4F4F6;
  --text-secondary: #A8A8B3;
  --text-muted: #6B6B7B;
  --accent: #3B82F6;
  --accent-hover: #60A5FA;
  --accent-muted: #1E3A5F;
  --border-subtle: #363650;
  --border-default: #4A4A5E;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

[data-theme="light"] {
  --bg-primary: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F0F0F5;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A5E;
  --text-muted: #6B6B7B;
  --border-subtle: #E0E0E8;
  --border-default: #D0D0D8;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Layout */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
}

/* Navigation */
.nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.125rem;
  transition: color 0.2s;
}

.theme-toggle:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
}

.hero__greeting {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Links */
.links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-list a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.links-list a:hover {
  color: var(--accent-hover);
}

.links-list .label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-secondary);
}

/* Legal pages */
.legal {
  padding: 4rem 0 3rem;
}

.legal h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.legal p, .legal li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.legal ul {
  padding-left: 1.25rem;
}

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

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

/* 404 */
.not-found {
  text-align: center;
  padding: 8rem 0;
}

.not-found__code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.not-found__text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 1rem 0 2rem;
}

.not-found__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.not-found__link:hover {
  color: var(--accent-hover);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .nav .container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
