/* Ultra-Modern Professional Portfolio Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Advanced CSS Custom Properties */
:root {
  /* Colors */
  --primary: #0066ff;
  --primary-light: #3385ff;
  --primary-dark: #0052cc;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-tertiary: #a3a3a3;
  --background: #fafafa;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  --gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-text: linear-gradient(135deg, #0a0a0a 0%, #525252 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 120px 0;
  --grid-gap: 2rem;
  
  /* Animation */
  --ease-out-cubic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-inner {
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out-cubic),
              background var(--duration-fast) var(--ease-out-cubic);
}

body[data-cursor="pointer"] .cursor-inner {
  transform: scale(1.5);
  background: var(--text-primary);
}

body[data-cursor="view"] .cursor-inner {
  transform: scale(2);
  background: transparent;
  border: 2px solid var(--primary);
}

/* Typography */
.text-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out-cubic);
}

.text-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic Elements */
.magnetic-element {
  transition: transform var(--duration-normal) var(--ease-out-cubic);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  position: relative;
}

.logo-layers {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.logo-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-cubic);
}

.nav-logo:hover .logo-bg {
  opacity: 1;
}

.nav-logo:hover .logo-text {
  color: white;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out-cubic);
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-cubic);
}

.nav-link:hover {
  color: transparent;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.nav-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.nav-menu-toggle span:first-child {
  transform-origin: top left;
}

.nav-menu-toggle span:last-child {
  transform-origin: bottom left;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: 
    radial-gradient(circle at 25% 25%, #000 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #000 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

.hero-text {
  max-width: 600px;
}

.hero-greeting {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-name {
  margin-bottom: 1.5rem;
}

.text-layers {
  position: relative;
  display: inline-block;
}

.text-layer {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}

.text-layer-bg {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.1;
  transform: translate(4px, 4px);
}

.hero-title {
  margin-bottom: 2rem;
}

.typewriter {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-mono);
}

.typing-text {
  border-right: 2px solid var(--primary);
}

.cursor-blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform var(--duration-normal) var(--ease-out-cubic);
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--duration-normal) var(--ease-out-cubic);
}


.btn:active .btn-ripple {
  width: 200px;
  height: 200px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-orb {
  position: relative;
  width: 400px;
  height: 400px;
}

.orb-layers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.orb-layer {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
}

.orb-1 {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary), transparent);
  animation: float 6s ease-in-out infinite;
}

.orb-2 {
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  animation: float 8s ease-in-out infinite reverse;
}

.orb-3 {
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 20%;
  background: linear-gradient(225deg, var(--primary-dark), transparent);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(0deg) scale(1); }
  33% { transform: rotate(120deg) scale(1.05); }
  66% { transform: rotate(240deg) scale(0.95); }
}

.hero-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
}

.portrait-frame {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.portrait-image {
  width: 200px;
  height: 200px;
  background-image: url('https://avatars.githubusercontent.com/u/145688031?v=4');
  /* background: linear-gradient(135deg, var(--surface), var(--border)); */
    background-size: cover;
  background-position: center;
  border-radius: 50%;

}

.portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 102, 255, 0.1));
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Common Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.02;
  background-image: 
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(180deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.03) 0%, transparent 50%);
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 4rem;
}

.section-number {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.number-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-mono);
}

.number-line {
  width: 3rem;
  height: 1px;
  background: var(--border);
}

.section-title {
  flex: 1;
}

.title-main {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.title-sub {
  display: block;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Reveal Animation */
.reveal-element {
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--duration-slow) var(--ease-out-cubic);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.text-block {
  margin-bottom: 3rem;
}

.lead-text {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--gradient-surface);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.skills-section {
  position: relative;
}

.skills-header {
  margin-bottom: 2rem;
}

.skills-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-category {
  padding: 2rem;
  background: var(--gradient-surface);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.category-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.skill-tag:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Work Section */
.work {
  background: var(--background);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out-cubic);
  cursor: pointer;
}

.tilt-element {
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.project-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.project-bg-2 {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.project-bg-3 {
  background: linear-gradient(135deg, #5f27cd, #341f97);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-cubic);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  gap: 1rem;
}

.overlay-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.overlay-btn:hover {
  background: white;
  color: var(--text-primary);
}

.project-content {
  padding: 2rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-year,
.project-type {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.375rem 0.75rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Achievements Section */
.achievements {
  background: white;
  position: relative;
}

.achievements-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.achievement-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-left: 1rem;
}

.achievement-dot {
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

.achievement-content {
  background: var(--gradient-surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  flex: 1;
  margin-left: 2rem;
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.achievement-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.achievement-year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.achievement-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: var(--background);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out-cubic);
}

.contact-value:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out-cubic);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(8px);
}

.social-text {
  font-size: 1rem;
  font-weight: 500;
}

.social-arrow {
  font-size: 1.25rem;
  transition: transform var(--duration-normal) var(--ease-out-cubic);
}

.social-link:hover .social-arrow {
  transform: translate(4px, -4px);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-floating {
  position: relative;
  margin-bottom: 2rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1.5rem 0 0.5rem;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color var(--duration-normal) var(--ease-out-cubic);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: var(--text-tertiary);
  transition: all var(--duration-normal) var(--ease-out-cubic);
  pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
  top: 0;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration-normal) var(--ease-out-cubic);
}

.form-input:focus ~ .form-line,
.form-textarea:focus ~ .form-line {
  width: 100%;
}

/* Footer */
.footer {
  background: white;
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-time {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .text-layer {
    font-size: 3.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-menu-toggle {
    display: flex;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .title-main {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skills-categories {
    gap: 1.5rem;
  }
  
  .text-layer {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .text-layer {
    font-size: 2rem;
  }
  
  .hero-orb {
    width: 280px;
    height: 280px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .achievement-item {
    gap: 2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --border: #000000;
    --text-secondary: #000000;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-grain {
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
  }
}
