/* ==================================================
   Geist Design System - Dark Mode (Blue Accent)
   Full Compliance Implementation
   ================================================== */
:root {
  /* Core Colors */
  --bg: #000000;
  --bg-2: #111111;
  --fg: #ffffff;

  /* Accents (Grayscale) */
  --accents-1: #111;
  --accents-2: #333;
  --accents-3: #444;
  --accents-4: #666;
  --accents-5: #888;
  --accents-6: #999;
  --accents-7: #eaeaea;
  --accents-8: #fafafa;

  /* Brand Colors (Vercel Blue) */
  --geist-blue: #0070f3;
  --geist-blue-light: #3291ff;
  --geist-blue-dark: #0761d1;

  /* Layout (4px Grid System) */
  --page-width: 1000px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Typography Scale */
  --font-size-12: 12px;
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-20: 20px;
  --font-size-24: 24px;
  --font-size-32: 32px;
  --font-size-40: 40px;
  --font-size-48: 48px;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Transitions (Geist Standard) */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: var(--line-height-normal);
  font-size: var(--font-size-16);
}

/* ==================================================
   Floating Dock Navigation
   ================================================== */
.floating-dock {
  position: fixed;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accents-2);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  display: flex;
  gap: var(--space-6);
  z-index: 1000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-dock:hover {
  transform: translateX(-50%) scale(1.02);
  border-color: var(--accents-4);
}

.floating-dock a {
  text-decoration: none;
  color: var(--accents-5);
  font-size: var(--font-size-14);
  font-weight: 500;
  position: relative;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast) ease;
}

.floating-dock a:hover {
  color: var(--geist-blue);
  background: rgba(0, 112, 243, 0.1);
}

/* ==================================================
   Main Layout
   ================================================== */
.main-content {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 600ms ease-out forwards;
}

section {
  width: 100%;
  max-width: var(--page-width);
  padding: var(--space-12) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

/* ==================================================
   Components & Cards
   ================================================== */
.section-card {
  background: var(--bg-2);
  border: 1px solid var(--accents-2);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  width: 100%;
  max-width: 600px;
  text-align: center;
  transition: border-color var(--transition-fast) ease,
    transform var(--transition-fast) ease,
    box-shadow var(--transition-fast) ease;
}

.section-card:hover {
  border-color: var(--geist-blue);
  box-shadow: 0 0 40px rgba(0, 112, 243, 0.15);
  transform: translateY(-4px);
}

/* ==================================================
   Hero Section
   ================================================== */
.hero {
  min-height: 70vh;
  justify-content: center;
}

.avatar-container {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-8);
  position: relative;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accents-2);
  transition: border-color var(--transition-fast) ease;
}

.section-card:hover .avatar {
  border-color: var(--geist-blue);
}

.neon-text {
  font-size: var(--font-size-40);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
  background: linear-gradient(180deg, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.small-neon {
  font-size: var(--font-size-24);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  background: linear-gradient(180deg, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: var(--font-size-16);
  color: var(--accents-5);
  font-weight: 400;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

/* ==================================================
   Social Links
   ================================================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accents-1);
  border: 1px solid var(--accents-2);
  transition: all var(--transition-fast) ease;
}

.social-links .icon {
  width: 20px;
  height: 20px;
  fill: var(--accents-5);
  transition: fill var(--transition-fast) ease;
}

.social-links a:hover {
  border-color: var(--geist-blue);
  background: rgba(0, 112, 243, 0.1);
}

.social-links a:hover .icon {
  fill: var(--geist-blue);
}

/* ==================================================
   About & Contact
   ================================================== */
h2 {
  font-size: var(--font-size-32);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  color: var(--fg);
}

p {
  color: var(--accents-5);
  font-size: var(--font-size-16);
  line-height: var(--line-height-relaxed);
}

.email a {
  color: var(--geist-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast) ease;
}

.email a:hover {
  color: var(--geist-blue-light);
  text-decoration: underline;
}

.email-note {
  font-size: var(--font-size-14);
  color: var(--accents-4);
  margin-top: var(--space-8);
  line-height: var(--line-height-normal);
}

/* ==================================================
   Animations
   ================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   Footer (Fixed & Centered)
   ================================================== */
footer {
  width: 100%;
  min-height: 120px;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--accents-2);
  background: var(--bg);
  color: var(--accents-4);
  font-size: var(--font-size-14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  position: relative;
}

.footer-content {
  width: 100%;
  max-width: var(--page-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0 var(--space-6);
}

footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  line-height: var(--line-height-normal);
  text-align: center;
}

footer a {
  color: var(--accents-5);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
}

footer a:hover {
  color: var(--geist-blue);
}

/* ==================================================
   Responsive
   ================================================== */
@media (max-width: 768px) {
  .neon-text {
    font-size: var(--font-size-32);
  }

  .section-card {
    padding: var(--space-8);
  }

  .floating-dock {
    padding: var(--space-2) var(--space-4);
    gap: var(--space-4);
    top: var(--space-4);
  }

  .main-content {
    padding-top: var(--space-12);
  }
}