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

/* CSS Variables */
:root {
  /* Colors - Light Theme */
  --background: #000000;
  --background-secondary: #0a0a0a;
  --foreground: #e8f0f7;
  --foreground-muted: #91A3B0;
  --muted: #1a1a1a;
  --muted-foreground: #7a8ca3;
  --border: #1e1e1e;
  --border-subtle: #151515;
  --accent: #6b7280;
  --accent-hover: #9ca3af;
  --accent-light: rgba(107, 114, 128, 0.15);
  --skill-bg: #0f0f0f;
  --skill-border: #252525;
  --card-bg: #0f0f0f;
  --card-shadow: rgba(107, 114, 128, 0.15);
  --gradient-start: rgba(107, 114, 128, 0.03);
  --gradient-end: rgba(156, 163, 175, 0.01);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  
  /* Grid & Meteor */
  --grid-color: rgba(107, 114, 128, 0.2);
  --grid-square-color: rgba(255, 255, 255, 1);
  --meteor-color: rgba(156, 163, 175, 0.8);
  --meteor-tail: rgba(156, 163, 175, 0.2);
}

.dark {
  /* Colors - Dark Theme */
  --background: #000000;
  --background-secondary: #0a0a0a;
  --foreground: #e8f0f7;
  --foreground-muted: #91A3B0;
  --muted: #1a1a1a;
  --muted-foreground: #7a8ca3;
  --border: #1e1e1e;
  --border-subtle: #151515;
  --accent: #6b7280;
  --accent-hover: #9ca3af;
  --accent-light: rgba(107, 114, 128, 0.15);
  --skill-bg: #0f0f0f;
  --skill-border: #252525;
  --card-bg: #0f0f0f;
  --card-shadow: rgba(107, 114, 128, 0.15);
  --gradient-start: rgba(107, 114, 128, 0.03);
  --gradient-end: rgba(156, 163, 175, 0.01);
  
  /* Grid & Meteor */
  --grid-color: rgba(107, 114, 128, 0.25);
  --grid-square-color: rgba(255, 255, 255, 1);
  --meteor-color: rgba(156, 163, 175, 0.9);
  --meteor-tail: rgba(156, 163, 175, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Page Grid Background */
.page-grid-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.page-grid-background svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: var(--grid-color);
  stroke: var(--grid-color);
  opacity: 0.4;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--foreground);
}

/* Container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1400px) {
  .container {
    padding: 0 6rem;
  }
}

@media (min-width: 1800px) {
  .container {
    padding: 0 8rem;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  height: 36px;
  width: 64px;
  border-radius: 999px;
  background-color: var(--muted);
  padding: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background-color: var(--skill-bg);
}

.toggle-thumb {
  display: flex;
  height: 26px;
  width: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .toggle-thumb {
  transform: translateX(28px);
}

.sun-icon, .moon-icon {
  color: var(--foreground);
}

.moon-icon {
  display: none;
}

.dark .sun-icon {
  display: none;
}

.dark .moon-icon {
  display: block;
}

/* Contact Button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--card-shadow);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--card-shadow);
}

/* Main Content */
.main-content {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Grid Background */
.grid-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.grid-background svg {
  position: absolute;
  width: 100%;
  height: 200%;
  top: -50%;
  fill: var(--grid-color);
  stroke: var(--grid-color);
  mask-image: radial-gradient(
    600px circle at center,
    white,
    transparent 70%
  );
  opacity: 0.6;
}

/* Meteor Effect */
.meteor-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.meteor {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--meteor-color);
  border-radius: 50%;
  box-shadow: 
    0 0 0 2px var(--meteor-tail),
    0 0 10px var(--meteor-color),
    0 0 20px var(--meteor-tail);
  opacity: 0;
}

.meteor::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--meteor-color), transparent);
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 50%;
}

@keyframes meteor-fall {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(300px) translateY(300px);
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 3rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 24px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.avatar {
  position: relative;
  height: 160px;
  width: 160px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
}

.avatar:hover {
  transform: scale(1.08);
}

.avatar img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 24px var(--card-shadow);
  transition: all 0.4s ease;
}

.avatar:hover img {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2),
              0 0 20px rgba(16, 185, 129, 0.4),
              0 8px 24px var(--card-shadow);
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.hero-name {
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-email {
  color: var(--foreground-muted);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.hero-email:hover {
  color: var(--accent);
}

.hero-description {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.about-text {
  color: var(--foreground-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 800px;
}

/* Section Title */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 2px;
}

/* Skills Section */
.skills-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 1200px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--skill-bg) 0%, var(--background-secondary) 100%);
  border: 1px solid var(--skill-border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--card-shadow);
  border-color: var(--accent-light);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--skill-bg) 100%);
}

.skill-badge img {
  height: 22px;
  width: 22px;
  object-fit: contain;
}

/* Experience Section */
.experience-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--skill-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.experience-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px var(--card-shadow);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.experience-role {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.experience-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  white-space: nowrap;
}

.experience-description {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.95rem;
}

.experience-bullets {
  list-style-type: disc;
  margin-left: 1.5rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

.experience-bullets li {
  margin-bottom: 0.5rem;
}

/* Button Styles */
.card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.btn-card {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: linear-gradient(135deg, var(--muted) 0%, var(--skill-bg) 100%);
  color: var(--foreground);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(107, 114, 128, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-card:hover::before {
  width: 300px;
  height: 300px;
}

.btn-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--card-shadow);
}

.btn-card:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px var(--card-shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.btn-primary::before {
  background: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(107, 114, 128, 0.35);
  transform: translateY(-3px);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107, 114, 128, 0.3);
}

/* Projects Section */
.projects-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--skill-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.project-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--card-shadow);
  border-color: var(--accent-light);
}

.project-year {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 50px;
  padding-top: 0.25rem;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.project-description {
  color: var(--foreground-muted);
  line-height: 1.65;
}

.project-description ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.project-description li {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.project-description li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.project-description a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(147, 197, 253, 0.1) 100%);
  border-radius: 4px;
  border-bottom: 2px solid rgba(96, 165, 250, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
}

.project-description a:hover {
  color: #93c5fd;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25) 0%, rgba(147, 197, 253, 0.2) 100%);
  border-bottom-color: #60a5fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

.project-tech {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  font-style: italic;
}

/* Education Section */
.education-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  padding: 1.5rem;
  background: var(--skill-bg);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.education-item:hover {
  box-shadow: 0 4px 16px var(--card-shadow);
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.education-degree {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.education-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  white-space: nowrap;
}

.education-school {
  color: var(--foreground-muted);
  font-weight: 500;
}

/* Achievements Section */
.achievements-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.achievements-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievements-list li {
  padding: 1rem;
  background: var(--skill-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  color: var(--foreground-muted);
  line-height: 1.7;
  transition: all 0.3s ease;
}

.achievements-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 2px 12px var(--card-shadow);
}

.achievements-list strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Links Section */
.links-section {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

@media (min-width: 1200px) {
  .links-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--skill-bg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--card-shadow);
  border-color: var(--accent-light);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--skill-bg) 100%);
}

.social-icon {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--skill-bg) 100%);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.social-icon img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.social-name {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1rem;
}

.social-handle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Dark mode icon adjustments */
.dark .skill-badge img[alt="GitHub"],
.dark .skill-badge img[alt="Next.js"],
.dark .skill-badge img[alt="Express.js"],
.dark .social-icon img[alt="Github"] {
  filter: invert(1);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .main-content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    gap: 2.5rem;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .hero-info {
    align-items: center;
  }

  .hero-name {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 1.125rem;
  }

  .avatar {
    height: 120px;
    width: 120px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .skills-section,
  .experience-section,
  .projects-section,
  .education-section,
  .achievements-section,
  .links-section {
    padding: 1.75rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }


  .project-item {
    flex-direction: column;
    gap: 1rem;
  }

  .project-year {
    min-width: auto;
  }

  .experience-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .education-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.skills-section,
.experience-section,
.projects-section,
.education-section,
.achievements-section,
.links-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animations */
.skills-section { animation-delay: 0.1s; }
.experience-section { animation-delay: 0.2s; }
.projects-section { animation-delay: 0.25s; }
.education-section { animation-delay: 0.3s; }
.achievements-section { animation-delay: 0.35s; }
.links-section { animation-delay: 0.4s; }

/* Footer */
.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}

.footer-content {
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--foreground-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  gap: 1rem;
}

.footer-copyright {
  font-weight: 500;
}

.footer-built {
  font-style: italic;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Tablet and larger screens */
@media (min-width: 769px) and (max-width: 1199px) {
  .container {
    padding: 0 2rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}