/* ================ AESTHETIC DESIGN SYSTEM & COLOR THEORY ================ */

:root {
  /* PRIMARY COLOR PALETTE - Trust & Professionalism */
  --primary-blue: #2563eb;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1d4ed8;
  
  /* SECONDARY COLOR PALETTE - Growth & Success */
  --secondary-emerald: #10b981;
  --secondary-emerald-light: #34d399;
  --secondary-emerald-dark: #059669;
  
  /* ACCENT COLOR PALETTE - Energy & Action */
  --accent-orange: #f59e0b;
  --accent-orange-light: #fbbf24;
  --accent-orange-dark: #d97706;
  
  /* NEUTRAL COLOR PALETTE - Sophistication */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* GRADIENT PALETTES - Visual Appeal */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-emerald) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-blue) 100%);
  --gradient-dark: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
  --gradient-light: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
  
  /* SHADOW SYSTEM - Depth & Hierarchy */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* TYPOGRAPHY SCALE - Readability & Hierarchy */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* SPACING SYSTEM - Rhythm & Balance */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* BORDER RADIUS - Modern Aesthetics */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* TRANSITIONS - Smooth Interactions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow: 350ms ease-out;
  --transition-bounce: 250ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ================ CARD AESTHETICS (KEEPING) ================ */

.service-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.card-icon i {
  font-size: var(--font-size-2xl);
  color: white;
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--neutral-100);
}

.service-card p {
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tech-stack li {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue-light);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ================ PROJECT CARDS AESTHETICS (KEEPING) ================ */

.project-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: var(--transition-normal);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.soon-label {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--gradient-secondary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.project-info {
  padding: var(--space-6);
}

.project-info h3 {
  color: var(--neutral-100);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.project-info p {
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.project-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-emerald-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ================ PROCESS STEPS AESTHETICS (KEEPING) ================ */

.step {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: var(--transition-normal);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-md);
}

.step-content h3 {
  color: var(--neutral-100);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.step-content p {
  color: var(--neutral-400);
  line-height: 1.6;
}

/* ================ CONTACT FORM AESTHETICS (KEEPING) ================ */

.contact-form {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--neutral-100);
  font-size: var(--font-size-base);
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-500);
}

.contact-details {
  margin: var(--space-8) 0;
}

.detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.detail i {
  color: var(--primary-blue-light);
  font-size: var(--font-size-lg);
}

.detail span {
  color: var(--neutral-300);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ================ BUTTON AESTHETICS (KEEPING) ================ */

.btn {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: var(--radius-xl);
  transition: var(--transition-bounce);
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
  z-index: -1;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--neutral-200);
  border: 2px solid var(--neutral-600);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-outline:hover {
  background: var(--neutral-800);
  border-color: var(--primary-blue-light);
  color: var(--primary-blue-light);
  transform: translateY(-2px);
}

/* ================ CONVERSION OPTIMIZATION (KEEPING) ================ */

.cta-highlight {
  position: relative;
  display: inline-block;
}

.cta-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.cta-highlight:hover::after {
  transform: scaleX(1);
}

/* ================ LOADING STATES (KEEPING) ================ */

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-blue-light);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ================ ANIMATIONS (KEEPING) ================ */

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ================ RESPONSIVE AESTHETICS (KEEPING) ================ */

@media (max-width: 768px) {
  .service-card,
  .project-card,
  .step {
    padding: var(--space-6);
  }
  
  .contact-form {
    padding: var(--space-6);
  }
}

/* ================ ACCESSIBILITY & PERFORMANCE (KEEPING) ================ */

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