/* SITELAR REFACTOR 5.0: Enhanced Glassmorphism & 3D Effects */
/* --- 1. Enhanced Root Variables --- */
:root {
  /* Main Accent (Lime) */
  --primary: #BEF264;
  --primary-dark: #84CC16;
  --primary-light: #D9F99D;
  
  /* Background Colors */
  --bg-dark: #0A0A0A;
  --bg-dark-2: #141414;
  
  /* Enhanced Glass Effects */
  --bg-nav: rgba(10, 10, 10, 0.55);
  --bg-card: rgba(55, 55, 55, 0.25);
  --backdrop-blur: blur(20px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* 3D Color Effects */
  --neon-glow: 0 0 20px rgba(190, 242, 100, 0.2),
               0 0 40px rgba(190, 242, 100, 0.1),
               0 0 60px rgba(190, 242, 100, 0.05);

  /* Text Colors */
  --text-light: #F5F5F5;
  --text-gray: #888888;
  --border-color: rgba(255, 255, 255, 0.15);
  --border-color-light: rgba(255, 255, 255, 0.25);

  /* Shadows */
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.3);
  
  /* Border Radius */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Fonts */
  --font-serif: 'Vollkorn', serif;
  --font-sans: 'Inter', sans-serif;
}

/* --- 2. Base & Body (Enhanced Background) --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  
  /* Enhanced background with gradient overlay */
  background: 
    radial-gradient(circle at 20% 80%, rgba(190, 242, 100, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(190, 242, 100, 0.05) 0%, transparent 50%),
    var(--bg-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23191919' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.59l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* --- 3. Interactive Mouse (Unchanged) --- */
.mouse-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(
    circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(190, 242, 100, 0.04) 0%,
    rgba(190, 242, 100, 0.01) 20%,
    transparent 40%
  );
  transition: transform 0.1s linear;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, width 0.2s ease, height 0.2s ease;
}
.cursor-outline {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--primary);
  opacity: 0.5;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.2s linear, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
body.link-hover .cursor-dot { width: 12px; height: 12px; }
body.link-hover .cursor-outline {
  width: 60px; height: 60px;
  opacity: 0.1;
  transform: translate(-50%, -50%) scale(1.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 4. Typography (Serif Headings) --- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-light);
}
h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-light);
}
h1 { font-size: 4.2rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.5rem; }
p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

/* --- 5. Preloader (Unchanged) --- */
.preloader {
  background: var(--bg-dark);
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.fade-out { opacity: 0; visibility: hidden; }
.logo-loader { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.loader-circle {
  width: 60px; height: 60px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.logo-loader span { font-size: 1.5rem; font-weight: 700; color: var(--text-light); }

/* --- 6. Enhanced Navigation Glass --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-nav);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.navbar.scrolled { padding: 0.75rem 0; }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
  font-family: var(--font-sans);
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.logo-slogan {
  font-size: 0.7rem; font-weight: 400; color: var(--text-gray);
  line-height: 1; max-width: 150px; margin-left: 5px; display: none; 
}
@media (min-width: 768px) { .logo-slogan { display: block; } }
.nav-menu { display: flex; gap: 2rem; }
.nav-link {
  text-decoration: none; color: var(--text-light);
  font-weight: 500; transition: var(--transition);
  position: relative;
  padding-bottom: 8px;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; cursor: pointer; }
.bar {
  width: 25px; height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: var(--transition);
}

/* --- 7. Enhanced Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 100px 0 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(190, 242, 100, 0.1) 0%,
    transparent 60%
  ), var(--bg-dark);
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2; 
}
.hero-badge {
  display: inline-block;
  background: rgba(190, 242, 100, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(190, 242, 100, 0.2);
}
.hero-title {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(190, 242, 100, 0.2);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--primary);
  background-clip: text;
}
.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: none; 
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(190, 242, 100, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3),
              inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(190, 242, 100, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.4),
              inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  background: rgba(190, 242, 100, 0.1);
}
.btn-full { width: 100%; justify-content: center; }
.hero-stats { display: flex; gap: 2rem; margin-bottom: 3rem;}
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-gray); }
.hero-visual { position: relative; height: 500px; }
.main-visual {
  width: 100%; height: 100%;
  background: var(--bg-dark-2);
  border: var(--glass-border);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}
.visual-element {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.5;
}
.floating-card {
  position: absolute;
  background: rgba(55, 55, 55, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: var(--glass-border);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow),
              0 0 20px rgba(190, 242, 100, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-light);
  z-index: 2;
  animation: float 6s ease-in-out infinite; 
  transition: transform 0.1s linear;
}
.floating-card i { color: var(--primary); font-size: 1.25rem; }
.card-1 { top: 20%; left: -10%; animation-delay: 0s; }
.card-2 { top: 50%; right: -10%; animation-delay: 2s; }
.card-3 { bottom: 20%; left: 10%; animation-delay: 4s; }

/* Hero Marquee */
.hero-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark-2);
  padding: 1rem 0;
  margin-top: auto;
  z-index: 2;
  border-top: var(--glass-border);
  border-bottom: var(--glass-border);
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}
.marquee-content span { margin: 0 1.5rem; display: flex; align-items: center; }
.marquee-content .dot {
  width: 6px; height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  margin: 0 1rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 8. Section Styles --- */
section {
  padding: 120px 0;
  position: relative; 
  perspective: 1500px;
}
.about { 
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(190, 242, 100, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(190, 242, 100, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.services { background: transparent; }
.how-it-works { 
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.portfolio { background: transparent; }
.testimonials { 
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact { background: transparent; }

/* Section Divider */
section:not(.hero)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 3px;
  opacity: 0.4;
}

.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3rem; margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* --- 9. Text Reveal Animation --- */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(50px);
  animation: hero-word-reveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  animation-delay: calc(80ms * var(--word-index));
}
@keyframes hero-word-reveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-description .line {
  display: inline-block;
  opacity: 0;
  animation: hero-line-reveal 1s ease forwards;
  animation-delay: 0.5s;
}
@keyframes hero-line-reveal {
  to {
    opacity: 1;
  }
}

.section-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  transition-delay: calc(30ms * var(--char-index));
}
.section-subtitle .line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transition-delay: calc(100ms * var(--line-index));
}

.animate-in .char,
.animate-in .line {
  opacity: 1;
  transform: translateY(0);
}

/* --- 10. About Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.about-features { margin-top: 2rem; }
.feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.feature i { color: var(--primary); font-size: 1.5rem; margin-top: 0.25rem; }
.feature h4 { margin-bottom: 0.5rem; color: var(--text-light); }
.feature p { margin-bottom: 0; font-size: 0.9rem; color: var(--text-gray); }
.about-visual { position: relative; height: 400px; }
.visual-container { width: 100%; height: 100%; position: relative; }
.main-image {
  width: 100%; height: 100%;
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.image-placeholder { text-align: center; }
.image-placeholder i { font-size: 3rem; margin-bottom: 1rem; color: var(--primary); }
.image-placeholder span { display: block; font-weight: 600; color: var(--text-light); }
.floating-shape {
  position: absolute;
  border-radius: var(--border-radius);
  background: var(--primary);
  opacity: 0.1;
  animation: float 4s ease-in-out infinite;
}
.shape-1 { width: 100px; height: 100px; top: -20px; left: -20px; animation-delay: 0s; }
.shape-2 { width: 80px; height: 80px; bottom: -20px; right: -20px; animation-delay: 2s; }

/* --- 11. Enhanced Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.service-card {
  background: rgba(55, 55, 55, 0.05);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.1s linear, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}
.service-card:hover::after {
  left: 100%;
}
.service-card:hover {
  box-shadow: var(--glass-shadow),
              var(--neon-glow),
              inset 0 0.5px 0 rgba(255, 255, 255, 0.01);
  transform: translateY(-5px) scale(1.1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px;
  background: rgba(190, 242, 100, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 0 20px rgba(190, 242, 100, 0.3);
}
.service-icon i { font-size: 2rem; color: var(--primary); }
.service-card h3 { color: var(--text-light); margin-bottom: 1rem; }
.service-card p { color: var(--text-gray); margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-bottom: 2rem; }
.service-features li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  position: relative;
  padding-left: 1.5rem;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.service-link:hover { gap: 1rem; }

/* --- 12. Enhanced "How We Work" Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 35px; left: 5%;
  width: 90%; height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border-color),
    var(--border-color) 4px,
    transparent 4px,
    transparent 10px
  );
  z-index: 1;
}
.process-card {
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  z-index: 2;
  transition: transform 0.1s linear, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.process-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}
.process-card:hover::after {
  left: 100%;
}
.process-card:hover {
  box-shadow: var(--glass-shadow),
              var(--neon-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.02);
}
.process-step {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-dark);
  border: 4px solid var(--bg-dark-2);
  box-shadow: 0 4px 15px rgba(190, 242, 100, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3),
              var(--neon-glow);
}
.process-card h3 { color: var(--text-light); margin-bottom: 0.5rem; }
.process-card p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0; }

/* --- 13. Enhanced Portfolio Section --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.portfolio-item {
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.1s linear, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}
.portfolio-item:hover::after {
  left: 100%;
}
.portfolio-item:hover {
  box-shadow: var(--glass-shadow),
              var(--neon-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.02);
}
.portfolio-image {
  height: 250px;
  background: var(--bg-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  overflow: hidden;
  position: relative;
  border-bottom: var(--glass-border);
}
.portfolio-image .image-placeholder {
  font-size: 4rem;
  color: var(--primary);
  transition: var(--transition);
  z-index: 1;
  opacity: 0.5;
}
.portfolio-image .image-overlay {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(10, 10, 10, 0.8);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.portfolio-item:hover .image-overlay { opacity: 1; }
.portfolio-item:hover .image-placeholder { transform: scale(1.1); opacity: 0.1; }
.portfolio-content { padding: 2rem; }
.portfolio-content h3 { color: var(--text-light); margin-bottom: 1rem; }
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.portfolio-tags span {
  background: rgba(190, 242, 100, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}
.portfolio-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-dark);
  padding: 4rem 2rem;
  border-radius: var(--border-radius-lg);
}
.portfolio-cta h3 { color: var(--bg-dark); margin-bottom: 1rem; }
.portfolio-cta p {
  color: rgba(10, 10, 10, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-cta .btn-primary {
  background: var(--text-light);
  color: var(--bg-dark);
}
.portfolio-cta .btn-primary:hover {
  background: var(--bg-dark-2);
  color: var(--text-light);
}

/* --- 14. Enhanced Testimonials Section --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.1s linear, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}
.testimonial-card:hover::after {
  left: 100%;
}
.testimonial-card:hover {
  box-shadow: var(--glass-shadow),
              var(--neon-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.02);
}
.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}
.testimonial-quote::before {
  content: '“';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary);
  font-family: Georgia, serif;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-weight: 600;
}
.author-info h4 {
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.author-info p { color: var(--text-gray); margin-bottom: 0; font-size: 0.9rem; }

/* --- 15. Enhanced Contact Section --- */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-methods { margin: 2rem 0; }
.contact-method { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-method i { color: var(--primary); font-size: 1.5rem; margin-top: 0.25rem; }
.contact-method h4 { margin-bottom: 0.25rem; color: var(--text-light); }
.contact-method p { margin-bottom: 0; color: var(--text-gray); }
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 50px; height: 50px;
  background: rgba(55, 55, 55, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
}
.social-link:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow),
              var(--neon-glow);
}
.contact-form {
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: var(--backdrop-blur) saturate(180%);
  -webkit-backdrop-filter: var(--backdrop-blur) saturate(180%);
  border: var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.form-group { position: relative; margin-bottom: 2rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: var(--glass-border);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(55, 55, 55, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
  position: relative;
  color: var(--text-light);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label {
  position: absolute;
  top: 1rem; left: 1rem;
  color: var(--text-gray);
  transition: var(--transition);
  pointer-events: none;
  background: var(--bg-card); 
  padding: 0 0.5rem;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1),
              0 0 10px rgba(190, 242, 100, 0.3);
}
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary);
  z-index: 2;
  background: var(--bg-card);
}

/* --- 16. Enhanced Footer --- */
.footer {
  background: var(--bg-dark-2);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: var(--glass-border);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-section h4 { margin-bottom: 1.5rem; color: var(--text-light); }
.footer-section p { color: var(--text-gray); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}
.footer-section ul li a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(55, 55, 55, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow),
              var(--neon-glow);
}
.footer-bottom {
  border-top: var(--glass-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-gray);
}

/* --- 17. Enhanced Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(55, 55, 55, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: var(--glass-border);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 100;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: var(--glass-shadow),
              0 0 20px rgba(190, 242, 100, 0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--glass-shadow),
              var(--neon-glow);
}

/* --- 18. Animations --- */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* 3D Scroll-in animations */
.service-card,
.portfolio-item,
.process-card,
.testimonial-card {
  opacity: 0;
  transform: rotateX(-10deg) translateY(50px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.about-content > *,
.contact-content > * {
  opacity: 0;
  transform: rotateX(-10deg) translateY(50px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.animate-in,
.portfolio-item.animate-in,
.process-card.animate-in,
.testimonial-card.animate-in,
.about-content > *.animate-in,
.contact-content > *.animate-in {
  opacity: 1;
  transform: rotateX(0deg) translateY(0) scale(1);
}

/* Staggered delays */
.service-card:nth-child(1), .portfolio-item:nth-child(1), .process-card:nth-child(1), .testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2), .portfolio-item:nth-child(2), .process-card:nth-child(2), .testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3), .portfolio-item:nth-child(3), .process-card:nth-child(3), .testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4), .portfolio-item:nth-child(4), .process-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5), .portfolio-item:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6), .portfolio-item:nth-child(6) { transition-delay: 0.6s; }

/* --- 19. NEW: About Sitelar Visual Effects --- */
.about-visual .image-placeholder {
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.about-visual .image-placeholder.pop-out {
  opacity: 0;
  transform: scale(0.8);
}

.about-visual .image-placeholder.pop-in {
  opacity: 1;
  transform: scale(1);
}

.about-visual.is-hovering .image-placeholder {
  opacity: 0;
  transform: scale(0.9);
}

.about-visual .particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  animation: particle-fade 1s ease-out forwards;
}

@keyframes particle-fade {
  from {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  to {
    opacity: 0;
    transform: scale(0) translate(
      calc(var(--particle-x, 0) * 80px), 
      calc(var(--particle-y, 0) * 80px)
    );
  }
}

/* --- 20. Responsive Design --- */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  .hero-container { gap: 3rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-outline, .mouse-spotlight { display: none; }
  html { cursor: auto; }

  .nav-menu {
    position: fixed;
    top: 70px; right: -100%;
    background: var(--bg-dark-2); 
    width: 80%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    border-left: 1px solid var(--border-color);
  }
  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 3rem; }
  h2, .section-title { font-size: 2.2rem; }
  .hero-visual { order: -1; height: 400px; }
  .hero-stats { justify-content: center; }
  .about-content { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; }
  .services-grid, .portfolio-grid, .process-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Mobile Tap Interaction */
  .service-card:active,
  .portfolio-item:active,
  .process-card:active,
  .testimonial-card:active,
  .btn:active {
    transform: scale(0.97);
    transition: transform 0.1s ease-out;
  }
}

@media (max-width: 480px) {
  h1, .hero-title { font-size: 2.5rem; }
  h2, .section-title { font-size: 2rem; }
  .container { padding: 0 15px; }
  
  .service-card, .contact-form, .process-card, .testimonial-card {
    padding: 1.5rem;
  }
  
  .footer-content { grid-template-columns: 1fr; }
  .back-to-top { width: 40px; height: 40px; bottom: 15px; right: 15px; }
}