:root {
  --color-bg-base: #0a0a0f;
  --color-surface: #1a1a24;
  --color-surface-hover: #232332;
  --primary-gradient: linear-gradient(135deg, #00e5ff 0%, #0099cc 100%);
  --secondary-gradient: linear-gradient(135deg, #39ff14 0%, #22bb11 100%);
  --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #39ff14 100%);
  --success-gradient: linear-gradient(135deg, #39ff14 0%, #00fa9a 100%);
  --warning-gradient: linear-gradient(135deg, #ff8c00 0%, #ffd700 100%);
  --dark-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
  --hero-gradient: radial-gradient(circle at top right,
      #1a1a24 0%,
      #0a0a0f 70%);
  --glass-bg: rgba(26, 26, 36, 0.7);
  --glass-border: rgba(0, 229, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-light: #ffffff;
  --shadow-light: 0 8px 32px rgba(0, 229, 255, 0.05);
  --shadow-heavy: 0 20px 60px rgba(0, 229, 255, 0.15);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
  --shadow-glow-green: 0 0 20px rgba(57, 255, 20, 0.3);
  --border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --color-accent-cyan: #00e5ff;
  --color-accent-green: #39ff14;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--color-bg-base);
}

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

::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 5px;
  transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
  box-shadow: var(--shadow-glow);
}

/* Enhanced Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-spinner {
  width: 80px;
  height: 80px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: white;
  border-right-color: rgba(255, 255, 255, 0.6);
  animation: spin 1.5s linear infinite;
  margin: 0 auto 2rem;
  position: relative;
}

.loader-spinner::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 2s linear infinite reverse;
}

.loader-text {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.loader-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  animation: fadeInUp 1s ease forwards 0.7s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(1deg);
  }

  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Enhanced Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 36, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1rem 0;
}

.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(26, 26, 36, 0.98);
  box-shadow: var(--shadow-heavy);
  transform: translateY(0);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition-bounce);
}

.logo:hover {
  transform: translateY(-3px) scale(1.05);
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
}

.logo:hover .logo-icon::before {
  animation: shimmer 1s ease-in-out;
}

.logo-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  padding: 0.7rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-cyan);
  transform: translateY(-2px);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: var(--transition-bounce);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-cta {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.6s;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.nav-cta:hover::before {
  left: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Enhanced Hero Section */
.hero {
  background: var(--hero-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hero-grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0, 229, 255, 0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hero-grid)"/></svg>');
  opacity: 0.4;
}

.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle,
      rgba(0, 229, 255, 0.05) 0%,
      transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  top: 60%;
  left: 80%;
  width: 120px;
  height: 120px;
  background: var(--secondary-gradient);
  border-radius: 30%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  top: 40%;
  left: 70%;
  width: 60px;
  height: 60px;
  background: var(--success-gradient);
  border-radius: 20%;
  animation-delay: 4s;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  opacity: 0;
  animation: slideInLeft 1.2s ease forwards 1s;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-title {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 2px;
  opacity: 0.7;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.8s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--color-surface);
  color: var(--color-accent-cyan);
  box-shadow: var(--shadow-heavy);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 25px 50px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-5px) scale(1.05);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: slideInRight 1.2s ease forwards 1.2s;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

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

/* Enhanced Features Section */
.features {
  padding: 8rem 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.section-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.section-title {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.section-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.feature-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--primary-gradient);
  opacity: 0.1;
  border-radius: 0 var(--border-radius) 0 100px;
  transition: var(--transition-smooth);
}

.feature-card:nth-child(2)::after {
  background: var(--secondary-gradient);
}

.feature-card:nth-child(3)::after {
  background: var(--accent-gradient);
}

.feature-card:nth-child(4)::after {
  background: var(--success-gradient);
}

.feature-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::after {
  opacity: 0.3;
  width: 180px;
  height: 180px;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--primary-gradient);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin-bottom: 2.5rem;
  transition: var(--transition-bounce);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-light);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--secondary-gradient);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--accent-gradient);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--success-gradient);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(15deg);
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* Enhanced Services Section */
.services {
  padding: 8rem 0;
  background: var(--color-surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 229, 255, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 2rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-light);
}

.service-card:nth-child(2) .service-icon {
  background: var(--secondary-gradient);
}

.service-card:nth-child(3) .service-icon {
  background: var(--accent-gradient);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
  box-shadow: var(--shadow-glow);
}

.service-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  justify-content: center;
  width: 100%;
}

.service-link:hover {
  gap: 1.5rem;
  color: var(--color-accent-green);
}

/* Enhanced Stats Section */
.stats {
  background: var(--color-surface);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="stats-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(0, 229, 255, 0.05)"/><circle cx="0" cy="0" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stats-pattern)"/></svg>');
  opacity: 0.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: white;
  transition: var(--transition-bounce);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
}

.stat-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.stat-number::after {
  content: "+";
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced Portfolio Preview */
.portfolio-preview {
  padding: 8rem 0;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-bounce);
  cursor: pointer;
  group: hover;
}

.portfolio-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-glow);
}

.portfolio-image {
  width: 100%;
  height: 300px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.portfolio-item:nth-child(2) .portfolio-image {
  background: var(--secondary-gradient);
}

.portfolio-item:nth-child(3) .portfolio-image {
  background: var(--accent-gradient);
}

.portfolio-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.8s;
}

.portfolio-item:hover .portfolio-image::before {
  left: 100%;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-category {
  font-size: 1rem;
  opacity: 0.9;
}

/* Enhanced Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-bounce);
  position: relative;
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 229, 255, 0.2);
}

.testimonial-quote {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(0, 229, 255, 0.2);
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-light);
}

.testimonial-card:nth-child(2) .author-avatar {
  background: var(--secondary-gradient);
}

.testimonial-card:nth-child(3) .author-avatar {
  background: var(--accent-gradient);
}

.author-info h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Enhanced CTA Section */
.cta {
  background: var(--hero-gradient);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="cta-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(0, 229, 255, 0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cta-dots)"/></svg>');
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Enhanced Footer */
.footer {
  background: var(--dark-gradient);
  color: white;
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: var(--shadow-light);
}

.footer-logo-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 800;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 50px;
  height: 50px;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-bounce);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.05);
}

.footer-social-link:hover {
  background: var(--primary-gradient);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.footer-section h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 1rem;
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.05);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 229, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Enhanced Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-bounce);
  z-index: 1000;
  box-shadow: var(--shadow-heavy);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 25px 50px rgba(0, 229, 255, 0.4);
}

/* Enhanced Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 36, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-heavy);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-cta {
    padding: 1rem 2rem;
  }

  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero-container {
    padding: 0 1rem;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .container {
    padding: 0 1rem;
  }

  .features,
  .services,
  .stats,
  .portfolio-preview,
  .testimonials,
  .cta {
    padding: 4rem 0;
  }

  .services-grid,
  .stats-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .feature-card,
  .service-card,
  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}