/* ============================================
   BASE & GLOBAL STYLES
   ============================================ */

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

:root {
  /* Modern Gradient Tech Palette */
  --primary: #6366F1; /* Indigo */
  --primary-dark: #4F46E5; /* Deep Indigo */
  --primary-light: #818CF8; /* Light Indigo */
  --bg-dark: #0F172A; /* Deep Navy */
  --bg-card: #1E293B; /* Dark Slate */
  --bg-card-hover: #334155; /* Slate Hover */
  --text-primary: #F1F5F9; /* Almost White */
  --text-secondary: #CBD5E1; /* Light Slate */
  --text-muted: #94A3B8; /* Medium Slate */
  --border: #334155; /* Slate Border */
  --accent: #06B6D4; /* Cyan */
  --accent-secondary: #EC4899; /* Pink */
  --success: #10B981; /* Emerald */
  --warning: #F59E0B; /* Amber */
  --danger: #EF4444; /* Red */
  /* Additional modern gradients */
  --gradient-primary: linear-gradient(135deg, #6366F1, #8B5CF6);
  --gradient-accent: linear-gradient(135deg, #06B6D4, #6366F1);
  --gradient-warm: linear-gradient(135deg, #EC4899, #F59E0B);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* ============================================
   COMMON SECTION STYLES
   ============================================ */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Space Grotesk', sans-serif;
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Scroll Progress Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  transition: width 0.1s ease;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button Base Styles */
.btn-primary,
.btn-secondary,
.cta-btn,
.submit-btn,
.see-more-btn {
  position: relative;
  overflow: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE DESIGN - GLOBAL
   ============================================ */

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}