/* ============================================
   JCDESIGNER SERVICES - GALACTIC ELECTRIC THEME
   Deep Blues | Neon Accents | Electric Energy
   ============================================ */

/* ----------------------------------------
   1. CSS VARIABLES - GALACTIC COLOR SYSTEM
   ---------------------------------------- */
:root {
  /* Deep Space Backgrounds */
  --color-deep-space: #050814;
  --color-nebula: #0A0F1E;
  --color-cosmic: #0F1629;
  --color-void: #070B18;
  --color-abyss: #020408;
  
  /* Electric Neon Accents */
  --color-neon-blue: #00D4FF;
  --color-electric-cyan: #00F5FF;
  --color-plasma: #00B8D4;
  --color-aurora: #39FF14;
  --color-pulse: #FF006E;
  --color-neon-purple: #B829DD;
  
  /* Electric Gradients */
  --gradient-electric: linear-gradient(135deg, #00D4FF 0%, #00F5FF 50%, #00B8D4 100%);
  --gradient-electric-horizontal: linear-gradient(90deg, #00D4FF 0%, #00F5FF 50%, #00B8D4 100%);
  --gradient-cosmic: linear-gradient(180deg, #050814 0%, #0A0F1E 50%, #0F1629 100%);
  --gradient-neon-glow: linear-gradient(135deg, rgba(0,212,255,0.3) 0%, rgba(0,245,255,0.1) 100%);
  --gradient-energy-line: linear-gradient(90deg, transparent 0%, #00D4FF 50%, transparent 100%);
  --gradient-card-hover: linear-gradient(145deg, rgba(15,22,41,0.95) 0%, rgba(10,15,30,0.9) 100%);
  
  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B8C5D6;
  --color-text-muted: #6B7A8F;
  --color-text-neon: #00D4FF;
  
  /* Electric Shadows */
  --shadow-neon-sm: 0 0 10px rgba(0, 212, 255, 0.3);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.4);
  --shadow-neon-lg: 0 0 40px rgba(0, 212, 255, 0.5);
  --shadow-neon-xl: 0 0 60px rgba(0, 212, 255, 0.6);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Timing */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-electric: 800ms;
  
  /* Easing */
  --ease-electric: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ----------------------------------------
   2. BASE STYLES
   ---------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--color-deep-space);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ----------------------------------------
   3. ELECTRIC ANIMATIONS
   ---------------------------------------- */
@keyframes electricPulse {
  0%, 100% { 
    box-shadow: 0 0 5px var(--color-neon-blue), 
                0 0 10px var(--color-neon-blue), 
                0 0 20px var(--color-neon-blue); 
  }
  50% { 
    box-shadow: 0 0 10px var(--color-neon-blue), 
                0 0 20px var(--color-neon-blue), 
                0 0 40px var(--color-neon-blue); 
  }
}

@keyframes energyLine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes dataStream {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes circuitPulse {
  0%, 100% { stroke-dashoffset: 100; opacity: 0.3; }
  50% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
  52% { opacity: 0.3; }
  54% { opacity: 1; }
  90% { opacity: 0.9; }
}

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

@keyframes glowOrb {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.3; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.5; 
  }
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* ----------------------------------------
   4. SERVICES OVERVIEW SECTION
   ---------------------------------------- */
.services-overview {
  position: relative;
  padding: 120px 64px;
  background: var(--color-deep-space);
  overflow: hidden;
}

/* Electric Grid Background */
.services-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Energy Lines */
.energy-line {
  position: absolute;
  height: 1px;
  width: 100%;
  background: var(--gradient-energy-line);
  background-size: 200% 100%;
  animation: energyLine 3s linear infinite;
  opacity: 0.5;
}

.energy-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.energy-line:nth-child(2) { top: 50%; animation-delay: 1s; }
.energy-line:nth-child(3) { top: 80%; animation-delay: 2s; }

/* Section Header */
.services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.services-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-neon-blue);
  padding: 8px 20px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.services-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-electric);
  opacity: 0.1;
}

.services-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  background: var(--gradient-electric-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-overview {
    padding: 80px 24px;
  }
}

/* ----------------------------------------
   5. SERVICE CARD - GALACTIC DESIGN
   ---------------------------------------- */
.service-card {
  position: relative;
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-electric);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

/* Electric Border Effect */
.service-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--color-neon-blue) 60deg,
    var(--color-electric-cyan) 120deg,
    var(--color-neon-blue) 180deg,
    transparent 240deg,
    transparent 360deg
  );
  border-radius: calc(var(--radius-lg) + 2px);
  opacity: 0;
  transition: opacity var(--duration-normal);
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--color-nebula);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Hover States */
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: var(--shadow-neon);
}

.service-card:hover::before {
  opacity: 0.5;
}

/* Card Content */
.service-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-neon-blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  transition: all var(--duration-normal);
}

.service-card:hover .service-card-icon svg {
  stroke: var(--color-electric-cyan);
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8));
  transform: scale(1.1);
}

.service-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 12px;
  transition: color var(--duration-normal);
}

.service-card:hover .service-card-title {
  color: var(--color-neon-blue);
}

.service-card-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neon-blue);
  transition: all var(--duration-normal);
}

.service-card-cta i {
  transition: transform var(--duration-normal);
}

.service-card:hover .service-card-cta {
  color: var(--color-electric-cyan);
}

.service-card:hover .service-card-cta i {
  transform: translateX(4px);
}

/* Electric Energy Lines on Card */
.card-energy-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-electric-horizontal);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.service-card:hover .card-energy-line {
  opacity: 1;
  animation: energyLine 2s linear infinite;
}

/* ----------------------------------------
   6. SERVICE SELECTION PANEL
   ---------------------------------------- */
.service-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 100%;
  height: 100vh;
  background: rgba(5, 8, 20, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 1000;
  transition: right var(--duration-slow) var(--ease-electric);
  overflow-y: auto;
}

.service-panel.active {
  right: 0;
}

.service-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.service-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Panel Header */
.panel-header {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-badge {
  background: var(--gradient-electric);
  color: var(--color-deep-space);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.panel-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-neon-blue);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.panel-close:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--color-neon-blue);
  box-shadow: var(--shadow-neon-sm);
}

/* Panel Content */
.panel-content {
  padding: 24px;
}

/* Selected Services List */
.selected-services {
  margin-bottom: 32px;
}

.selected-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--duration-fast);
}

.selected-service-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(15, 22, 41, 0.6);
}

.selected-service-name {
  font-weight: 500;
  color: var(--color-text-primary);
}

.selected-service-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 110, 0.1);
  border: 1px solid rgba(255, 0, 110, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-pulse);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.selected-service-remove:hover {
  background: rgba(255, 0, 110, 0.2);
  box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

/* Add More Button */
.add-more-services {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px dashed rgba(0, 212, 255, 0.4);
  border-radius: var(--radius-md);
  color: var(--color-neon-blue);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-more-services:hover {
  border-color: var(--color-neon-blue);
  background: rgba(0, 212, 255, 0.05);
}

/* Image Upload */
.panel-section {
  margin-bottom: 32px;
}

.panel-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.image-upload-zone {
  border: 2px dashed rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.image-upload-zone:hover {
  border-color: var(--color-neon-blue);
  background: rgba(0, 212, 255, 0.05);
}

.image-upload-zone i {
  font-size: 32px;
  color: var(--color-neon-blue);
  margin-bottom: 12px;
}

.image-upload-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.image-upload-hint {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Uploaded Images Preview */
.uploaded-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.uploaded-image {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.uploaded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uploaded-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(255, 0, 110, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.uploaded-image:hover .uploaded-image-remove {
  opacity: 1;
}

/* Description Textarea */
.panel-textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: all var(--duration-fast);
}

.panel-textarea:focus {
  outline: none;
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.panel-textarea::placeholder {
  color: var(--color-text-muted);
}

/* Submit Button */
.panel-submit {
  width: 100%;
  padding: 18px 24px;
  background: var(--gradient-electric);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-deep-space);
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.panel-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform var(--duration-slow);
}

.panel-submit:hover::before {
  transform: translateX(100%);
}

.panel-submit:hover {
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

/* ----------------------------------------
   7. SERVICE DETAIL PAGE STYLES
   ---------------------------------------- */
.service-detail-hero {
  position: relative;
  padding: 160px 64px 80px;
  background: var(--color-deep-space);
  overflow: hidden;
  text-align: center;
}

.service-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 184, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.service-hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  position: relative;
}

.service-hero-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-neon-blue);
  stroke-width: 1;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.service-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-hero-tagline {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.service-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Electric Buttons */
.btn-electric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gradient-electric);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-deep-space);
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.btn-electric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform var(--duration-slow);
}

.btn-electric:hover::before {
  transform: translateX(100%);
}

.btn-electric:hover {
  box-shadow: var(--shadow-neon-lg);
  transform: translateY(-3px);
}

.btn-electric-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--color-neon-blue);
  border-radius: var(--radius-md);
  color: var(--color-neon-blue);
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal);
}

.btn-electric-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--color-electric-cyan);
  color: var(--color-electric-cyan);
  box-shadow: var(--shadow-neon-sm);
}

/* Service Content Sections */
.service-section {
  padding: 80px 64px;
  position: relative;
}

.service-section:nth-child(even) {
  background: var(--color-nebula);
}

.service-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.service-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-electric);
  border-radius: 2px;
}

/* Subservices Grid */
.subservices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.subservice-card {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--duration-normal);
}

.subservice-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(15, 22, 41, 0.6);
  transform: translateY(-4px);
}

.subservice-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.subservice-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.subservice-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--color-neon-blue);
}

/* Gallery Grid */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 20, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Process Steps */
.process-steps {
  display: flex;
  gap: 24px;
  counter-reset: step;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-electric);
  border-radius: 50%;
  margin: 0 auto 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep-space);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon-blue), transparent);
}

.process-step-title {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.process-step-description {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 500;
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--color-neon-blue);
}

.faq-question i {
  transition: transform var(--duration-normal);
  color: var(--color-neon-blue);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow), padding var(--duration-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* CTA Section */
.service-cta {
  padding: 80px 64px;
  background: var(--color-deep-space);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.service-cta-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  position: relative;
}

.service-cta-description {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* ----------------------------------------
   8. FLOATING ACTION BUTTON
   ---------------------------------------- */
.fab-service-panel {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: var(--gradient-electric);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-neon);
  z-index: 100;
  transition: all var(--duration-normal);
}

.fab-service-panel:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-neon-lg);
}

.fab-service-panel i {
  font-size: 24px;
  color: var(--color-deep-space);
}

.fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--color-pulse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

/* ----------------------------------------
   9. UTILITY CLASSES
   ---------------------------------------- */
.text-neon {
  color: var(--color-neon-blue);
}

.text-gradient {
  background: var(--gradient-electric-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-neon {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.border-neon {
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.bg-cosmic {
  background: var(--color-cosmic);
}

/* ----------------------------------------
   10. RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */
@media (max-width: 1024px) {
  .service-detail-hero,
  .service-section,
  .service-cta {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .subservices-grid {
    grid-template-columns: 1fr;
  }
  
  .service-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .service-detail-hero {
    padding: 120px 24px 60px;
  }
  
  .service-section,
  .service-cta {
    padding: 60px 24px;
  }
  
  .service-gallery {
    grid-template-columns: 1fr;
  }
  
  .service-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-electric,
  .btn-electric-outline {
    width: 100%;
    justify-content: center;
  }
  
  .service-panel {
    width: 100%;
    right: -100%;
  }
}
