/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color System */
  --background: #000000;
  --foreground: #ffffff;
  --card: rgba(0, 20, 40, 0.8);
  --card-foreground: #ffffff;
  --primary: #00ff41;
  --primary-foreground: #000000;
  --secondary: rgba(0, 20, 40, 0.9);
  --secondary-foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.1);
  --muted-foreground: rgba(255, 255, 255, 0.6);
  --accent: #0099ff;
  --accent-foreground: #ffffff;
  --destructive: #ff4444;
  --destructive-foreground: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(0, 0, 0, 0.5);
  --ring: rgba(0, 255, 65, 0.5);

  /* Theme Colors */
  --green: #00ff41;
  --blue: #0099ff;
  --cyan: #00ffff;
  --yellow: #ffff00;
  --red: #ff4444;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Fonts */
  --font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  --font-sans: "Inter", sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* Base Typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-large {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.flex-1 {
  flex: 1;
}

.ml-4 {
  margin-left: 1rem;
}

/* Color Utilities */
.text-green {
  color: var(--green);
}
.text-blue {
  color: var(--blue);
}
.text-cyan {
  color: var(--cyan);
}
.text-yellow {
  color: var(--yellow);
}
.text-red {
  color: var(--red);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--cyan));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
  will-change: transform;
}

/* Code Mist Background */
.code-mist-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  will-change: transform;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-mono);
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-normal);
  will-change: transform;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
  text-shadow: 0 0 5px var(--green);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
  padding-top: 5rem;
}

.hero-content {
  text-align: center;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--green), var(--blue), var(--cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  animation: gradient-shift 4s ease-in-out infinite;
  will-change: background-position;
}

.hero-subtitle {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--cyan));
  margin: 0 auto 2rem;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  animation: expand-width 2s ease-out 0.5s both;
}

.hero-card {
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card-content {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.8), rgba(0, 10, 20, 0.9));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
  animation: fade-in-up 1s ease-out 0.8s both;
}

.hero-role {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-typing {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.125rem);
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fade-in-up 1s ease-out 1.5s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Code Button */
.code-button {
  position: relative;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transform: translateZ(0);
  will-change: transform, box-shadow;
  text-decoration: none;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.code-button.blue {
  border-color: var(--blue);
  color: var(--blue);
}

.code-button:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 20px rgba(0, 255, 65, 0.1);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
  transform: translateY(-2px) translateZ(0);
}

.code-button.blue:hover {
  background: rgba(0, 153, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5), inset 0 0 20px rgba(0, 153, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 153, 255, 0.8);
}

.code-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.4), transparent);
  transition: left 0.5s;
  will-change: transform;
}

.code-button.blue::before {
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.4), transparent);
}

.code-button:hover::before {
  left: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce-fade 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--green);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--green);
  border-radius: 0.125rem;
  margin-top: 0.5rem;
  animation: scroll-dot 1.5s ease-in-out infinite;
}

/* Glow Card */
.glow-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.8), rgba(0, 10, 20, 0.9));
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: all var(--transition-normal);
}

.glow-card.blue {
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.2);
}

.glow-card.green {
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.glow-card.cyan {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.glow-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 65, 0.3);
}

.glow-card.blue:hover {
  box-shadow: 0 20px 40px rgba(0, 153, 255, 0.3);
}

.glow-card.cyan:hover {
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.card-content {
  padding: 2rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fade-in-up 0.8s ease-out;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  font-family: var(--font-mono);
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
  margin-bottom: 1rem;
}

.section-divider {
  width: 6rem;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  margin: 0 auto 1.5rem;
  animation: expand-width 1s ease-out 0.3s both;
}

.section-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  max-width: 800px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  position: relative;
  z-index: 20;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-paragraph {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.code-block {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 255, 65, 0.3);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.code-line {
  margin-bottom: 0.25rem;
}

/* Tech Orbit */
.tech-orbit {
  position: relative;
  width: 20rem;
  height: 20rem;
  margin: 0 auto;
}

.tech-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(0, 255, 65, 0.2), rgba(0, 153, 255, 0.2));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-center-icon {
  width: 3rem;
  height: 3rem;
  color: var(--green);
}

.tech-item {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  backdrop-filter: blur(15px);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite, rotate-orbit 10s linear infinite;
  will-change: transform;
}

.tech-item[data-tech="react"] {
  border-color: #61dafb;
  background: rgba(97, 218, 251, 0.2);
  top: 10%;
  left: 20%;
  color: #61dafb;
  box-shadow: 0 0 15px rgba(97, 218, 251, 0.4);
}

.tech-item[data-tech="node"] {
  border-color: #68a063;
  background: rgba(104, 160, 99, 0.2);
  top: 20%;
  right: 20%;
  color: #68a063;
  box-shadow: 0 0 15px rgba(104, 160, 99, 0.4);
  animation-delay: -0.5s;
}

.tech-item[data-tech="database"] {
  border-color: #4db33d;
  background: rgba(77, 179, 61, 0.2);
  bottom: 20%;
  right: 20%;
  color: #4db33d;
  box-shadow: 0 0 15px rgba(77, 179, 61, 0.4);
  animation-delay: -1s;
}

.tech-item[data-tech="terminal"] {
  border-color: #f7df1e;
  background: rgba(247, 223, 30, 0.2);
  bottom: 10%;
  left: 20%;
  color: #f7df1e;
  box-shadow: 0 0 15px rgba(247, 223, 30, 0.4);
  animation-delay: -1.5s;
}

/* Skills Section */
.skills-section {
  padding: 5rem 0;
  position: relative;
  z-index: 20;
}

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

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.skill-card {
  text-align: center;
  height: 100%;
  animation: fade-in-up 0.4s ease-out both;
}

.skill-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  backdrop-filter: blur(15px);
  transition: all var(--transition-normal);
  will-change: transform;
}

.skill-icon:hover {
  transform: rotate(360deg) scale(1.1);
}

.skill-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.skill-progress {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  height: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.skill-progress-bar {
  height: 100%;
  border-radius: 1rem;
  transition: width 1s ease-out;
  will-change: width;
}

.skill-level {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
}

/* Projects Section */
.projects-section {
  padding: 5rem 0;
  position: relative;
  z-index: 20;
}

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

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  height: 100%;
  animation: fade-in-up 0.8s ease-out both;
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 12rem;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0.6;
}

.project-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-actions {
  opacity: 1;
}

.project-action {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  will-change: transform;
}

.project-action.green {
  background: rgba(0, 255, 65, 0.9);
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.project-action.blue {
  background: rgba(0, 153, 255, 0.9);
  color: white;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
}

.project-action:hover {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.project-description {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 255, 65, 0.2);
  color: var(--green);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  border: 1px solid rgba(0, 255, 65, 0.3);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.project-progress {
  width: 100%;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.125rem;
  margin-bottom: 1rem;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-progress {
  opacity: 1;
}

.project-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 0.125rem;
  width: 0;
  transition: width 0.8s ease-out 0.1s;
}

.project-card:hover .project-progress-bar {
  width: 100%;
}

.project-buttons {
  display: flex;
  gap: 0.5rem;
}

.project-button {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.project-button.outline {
  border-color: var(--green);
  color: var(--green);
}

.project-button.outline:hover {
  background: var(--green);
  color: black;
}

.project-button.filled {
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-color: transparent;
  color: white;
}

.project-button.filled:hover {
  background: linear-gradient(90deg, #00cc33, #0077cc);
}

/* Resume Section */
.resume-section {
  padding: 5rem 0;
  position: relative;
  z-index: 20;
}

.resume-card {
  max-width: 1000px;
  margin: 0 auto;
  animation: fade-in-up 0.8s ease-out;
}

.resume-icon {
  margin-bottom: 2rem;
}

.icon-wrapper {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  background: linear-gradient(45deg, var(--green), var(--blue), var(--cyan));
  border-radius: var(--radius-lg);
  padding: 2px;
  transition: all var(--transition-normal);
  will-change: transform;
}

.icon-wrapper:hover {
  transform: scale(1.1) rotateY(180deg);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
}

.icon-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--green), var(--blue), var(--cyan));
  border-radius: var(--radius-lg);
  blur: 1rem;
  opacity: 0.5;
  z-index: -1;
}

.download-icon {
  width: 4rem;
  height: 4rem;
  color: var(--green);
  background: black;
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 1rem;
  display: block;
  margin: 2px;
}

.resume-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.resume-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  position: relative;
  z-index: 20;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

.contact-items {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  backdrop-filter: blur(15px);
  transition: all var(--transition-normal);
  will-change: transform;
}

.contact-icon.green {
  border-color: var(--green);
  background: rgba(0, 255, 65, 0.2);
  color: var(--green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.contact-icon.blue {
  border-color: var(--blue);
  background: rgba(0, 153, 255, 0.2);
  color: var(--blue);
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.4);
}

.contact-icon.cyan {
  border-color: var(--cyan);
  background: rgba(0, 255, 255, 0.2);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.contact-item:hover .contact-icon {
  transform: rotate(5deg);
  box-shadow: 0 0 25px currentColor;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-family: var(--font-mono);
  color: white;
  transition: color var(--transition-normal);
}

.contact-item:hover .contact-value {
  color: var(--green);
}

.terminal-status {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 255, 65, 0.3);
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.cursor {
  animation: blink 1s infinite;
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: var(--radius);
  color: white;
  font-family: var(--font-mono);
  transition: all var(--transition-normal);
  will-change: transform;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.form-textarea {
  resize: none;
}

.form-buttons {
  display: flex;
  gap: 1rem;
}

.form-status {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fade-in-up 0.3s ease-out;
}

.form-status.success {
  background: rgba(0, 255, 65, 0.1);
  border-color: rgba(0, 255, 65, 0.3);
  color: var(--green);
}

.form-status.error {
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.3);
  color: var(--red);
}

.form-status.loading {
  background: rgba(0, 153, 255, 0.1);
  border-color: rgba(0, 153, 255, 0.3);
  color: var(--blue);
}

.terminal-form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 255, 65, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* CTA Section */
.cta-section {
  margin-top: 4rem;
  animation: fade-in-up 0.8s ease-out 0.3s both;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  padding: 3rem 0;
  position: relative;
  z-index: 20;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.footer-content {
  text-align: center;
  animation: fade-in-up 0.8s ease-out;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.footer-code {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* Typing Animation */
.typing-text {
  position: relative;
}

.typing-cursor {
  opacity: 1;
  animation: blink 1s infinite;
}

/* Loading Spinner */
.loading-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--green), var(--blue));
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #00cc33, #0077cc);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

/* Text Selection */
::selection {
  background: rgba(0, 255, 65, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(0, 255, 65, 0.3);
  color: white;
}

/* Animations */
@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes expand-width {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-fade {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) translateY(15px);
    opacity: 1;
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .code-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    transform: none !important;
  }
}

/* High Performance Mode */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}
