/* GrowX Clickflare Agency - Professional Dark Purple Royal Theme */

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* Color System - Royal Purple + White Only */
  --primary-purple: #2D1B69;
  --royal-purple: #1A0D3A;
  --deep-purple: #0F0920;
  --light-purple: #4A3B8C;
  --bright-white: #FFFFFF;
  --pure-white: #FEFEFE;
  --off-white: #F8F9FA;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #F3F4F6;
  --text-muted: #D1D5DB;
  --text-on-white: #1A0D3A;
    /* Background Colors */
  --bg-primary: #0F0920;
  --bg-secondary: #1A0D3A;
  --bg-tertiary: #2D1B69;
  --bg-light: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-overlay: rgba(15, 9, 32, 0.95);
    /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1A0D3A 0%, #2D1B69 50%, #4A3B8C 100%);
  --gradient-secondary: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  --gradient-hero: linear-gradient(135deg, #0F0920 0%, #1A0D3A 50%, #2D1B69 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(45, 27, 105, 0.4);
  --shadow-purple-glow: 0 0 40px rgba(45, 27, 105, 0.4);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Navigation Height */
  --navbar-height: 80px;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--navbar-height);
}

/* Enhanced Animated Background with Floating Particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(45, 27, 105, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(26, 13, 58, 0.2) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
  animation: backgroundPulse 20s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(45, 27, 105, 0.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(45, 27, 105, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  animation: floatingParticles 25s linear infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes floatingParticles {
  0% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(20px) translateX(-10px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(45, 27, 105, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(26, 13, 58, 0.2) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
  animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(15, 9, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
  z-index: var(--z-fixed);
  transition: transform var(--transition-normal), background var(--transition-normal);
  padding: 1rem 0;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo a {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--bright-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-bounce);
}

.nav-logo a:hover {
  transform: scale(1.05);
}

.nav-logo i {
  color: var(--accent-gold);
  font-size: var(--text-xl);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { text-shadow: 0 0 10px var(--accent-gold); }
  50% { text-shadow: 0 0 20px var(--accent-gold), 0 0 30px var(--accent-gold); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition-normal);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--bright-white);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-xs);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  margin: 3px 0;
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.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: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--royal-purple);
  box-shadow: var(--shadow-glow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  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;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  border-color: rgba(255, 215, 0, 0.5);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: var(--gradient-primary);
  color: var(--bright-white);
  box-shadow: var(--shadow-purple-glow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-purple-glow), var(--shadow-xl);
  border-color: rgba(45, 27, 105, 0.5);
}

.btn-secondary:hover::after {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--bright-white);
  border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--royal-purple);
  transform: translateY(-2px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle, rgba(45, 27, 105, 0.2) 30%, transparent 70%);
  animation: heroRotate 30s linear infinite;
}

@keyframes heroRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 900;
  color: var(--bright-white);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-tight);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.8), 0 3px 6px rgba(255, 215, 0, 0.3);
}

.gradient-text {
  background: var(--gradient-secondary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(45deg); }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-secondary);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--bright-white);
  text-align: center;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(255, 215, 0, 0.2);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--leading-relaxed);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===========================
   CARDS & GRIDS
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-slow);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
  border-color: var(--accent-gold);
}

.service-card:hover::before {
  left: 0;
  opacity: 0.1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-3xl);
  color: var(--royal-purple);
  box-shadow: var(--shadow-glow);
}

.service-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.service-icon::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: left 0.5s;
}

.service-icon:hover::before {
  left: 100%;
}

.service-icon:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 60px rgba(138, 43, 226, 0.4),
              0 0 0 5px rgba(255, 215, 0, 0.3);
}

.service-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-check {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-right: 1rem;
  min-width: 20px;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-check {
  transform: scale(1.2);
  color: var(--primary-color);
}

.feature-item span {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.success-story-card {
  background: var(--gradient-primary);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.success-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.success-header {
  margin-bottom: 2rem;
}

.success-header h3 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.success-badge {
  background: rgba(255, 215, 0, 0.2);
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.success-metrics {
  margin: 2rem 0;
}

.metric-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-from,
.metric-to {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.metric-from {
  color: rgba(255, 255, 255, 0.7);
}

.metric-to {
  color: var(--accent-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-arrow {
  font-size: 2rem;
  color: var(--accent-gold);
  font-weight: bold;
}

.metric-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.success-results {
  margin-top: 2rem;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.result-item i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.influencer-tiers-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.influencer-tiers-card h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tier-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(138, 43, 226, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  transition: all 0.3s ease;
}

.tier-item:hover {
  transform: translateY(-5px);
  background: rgba(138, 43, 226, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.tier-icon {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  min-width: 50px;
}

.tier-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.tier-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.tier-stats {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== SERVICES PAGE ENHANCEMENTS ===== */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== PORTFOLIO PAGE ENHANCEMENTS ===== */
.btn-filter {
    margin: 0 0.5rem 0.5rem 0;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.btn-filter i {
    font-size: 0.9rem;
}

/* ===== PRICING PAGE ENHANCEMENTS ===== */
.pricing-toggle-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.toggle-btn {
    padding: 15px 30px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.toggle-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.save-badge {
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.toggle-description {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ===== CONTACT PAGE ENHANCEMENTS ===== */
.contact-method-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method-card:hover::before {
    opacity: 1;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.featured-method {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.02) 100%);
    position: relative;
}

.method-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.4);
}

.contact-method-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

.method-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   GENERAL ENHANCEMENTS
   =========================== */
.hero-stats,
.hero-features {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-badge i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(138, 43, 226, 0.02) 100%) !important;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT PAGE ENHANCEMENTS ===== */
.content-block {
    padding-right: 2rem;
}

.image-block {
    padding-left: 2rem;
}

.bg-gradient {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.text-white {
    color: white !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.mb-5 {
    margin-bottom: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-card .card-icon {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.value-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

.align-center {
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-grid .stat-item {
    text-align: center;
}

.stats-grid .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-grid .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-card {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    position: relative;
    z-index: 1;
}

.author-info h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(138, 43, 226, 0.02) 100%);
}

.team-card {
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    border: 3px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover .team-placeholder {
    transform: scale(1.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.team-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.achievement-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.achievement-card h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateX(10px);
}

.achievement-icon {
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.cta-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    color: var(--text-primary);
    margin: 0;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===========================
   MODERN ANIMATIONS & EFFECTS
   =========================== */

/* Parallax Effect for Hero Sections */
.parallax-container {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform-origin: center center;
}

.parallax-back {
  transform: translateZ(-100px) scale(1.1);
}

.parallax-mid {
  transform: translateZ(-50px) scale(1.05);
}

.parallax-front {
  transform: translateZ(0);
}

/* Advanced Floating Particles System */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 20%;
  animation: float1 20s infinite linear;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 80%;
  animation: float2 25s infinite linear;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 70%;
  animation: float3 30s infinite linear;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 80%;
  left: 30%;
  animation: float4 22s infinite linear;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 30%;
  left: 50%;
  animation: float5 28s infinite linear;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-100px) translateX(50px) rotate(180deg); opacity: 1; }
  90% { opacity: 1; }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-120px) translateX(-30px) rotate(-180deg); opacity: 1; }
  90% { opacity: 1; }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-80px) translateX(80px) rotate(360deg); opacity: 1; }
  90% { opacity: 1; }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-150px) translateX(-60px) rotate(180deg); opacity: 1; }
  90% { opacity: 1; }
}

@keyframes float5 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-90px) translateX(20px) rotate(-360deg); opacity: 1; }
  90% { opacity: 1; }
}

/* Advanced Card Hover Effects */
.service-card, .portfolio-item, .pricing-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.service-card::before {
  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;
  z-index: 1;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 
    0 20px 40px rgba(45, 27, 105, 0.3),
    0 0 50px rgba(255, 255, 255, 0.1);
}

/* Morphing Button Effects */
.btn-morph {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-morph::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-morph:hover::before {
  width: 300px;
  height: 300px;
}

/* Glitch Effect for Special Elements */
.glitch-effect {
  position: relative;
  display: inline-block;
}

.glitch-effect::before,
.glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-effect::before {
  animation: glitch-anim-1 0.3s infinite linear alternate-reverse;
  color: #ff0000;
  z-index: -1;
}

.glitch-effect::after {
  animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
  color: #00ffff;
  z-index: -2;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(64px, 9999px, 66px, 0); }
  5% { clip: rect(30px, 9999px, 36px, 0); }
  10% { clip: rect(90px, 9999px, 96px, 0); }
  15% { clip: rect(44px, 9999px, 50px, 0); }
  20% { clip: rect(12px, 9999px, 18px, 0); }
  25% { clip: rect(78px, 9999px, 84px, 0); }
  30% { clip: rect(56px, 9999px, 62px, 0); }
  100% { clip: rect(25px, 9999px, 31px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(65px, 9999px, 71px, 0); }
  5% { clip: rect(31px, 9999px, 37px, 0); }
  10% { clip: rect(91px, 9999px, 97px, 0); }
  15% { clip: rect(45px, 9999px, 51px, 0); }
  20% { clip: rect(13px, 9999px, 19px, 0); }
  25% { clip: rect(79px, 9999px, 85px, 0); }
  30% { clip: rect(57px, 9999px, 63px, 0); }
  100% { clip: rect(26px, 9999px, 32px, 0); }
}

/* Typing Animation Effect */
.typing-effect {
  overflow: hidden;
  border-right: 2px solid var(--text-primary);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--text-primary); }
}

/* Advanced Reveal Animations */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Magnetic Button Effect */
.btn-magnetic {
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-magnetic:hover {
  transform: scale(1.05);
}

.btn-magnetic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  pointer-events: none;
}

.btn-magnetic:hover::after {
  width: 200px;
  height: 200px;
}

/* Scroll-triggered Counter Animation */
.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Advanced Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pulse Effect */
.pulse-effect {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Wave Animation */
.wave-animation {
  background: linear-gradient(-45deg, var(--primary-purple), var(--royal-purple), var(--light-purple), var(--deep-purple));
  background-size: 400% 400%;
  animation: wave 15s ease infinite;
}

@keyframes wave {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Improved Hero Section for All Pages */
.hero-section {
  min-height: 80vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) 0;
  margin-top: calc(-1 * var(--navbar-height));
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(45, 27, 105, 0.3) 0%, transparent 50%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.decoration-circle:first-child {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-direction: reverse;
}

.decoration-circle:last-child {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Gradient Text Effects */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.gradient-text-white {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Professional Section Transitions */
.section {
  transition: all 0.3s ease;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section:nth-child(odd) {
  background: var(--bg-primary);
}

/* Enhanced Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(45, 27, 105, 0.4);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.portfolio-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.portfolio-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(45, 27, 105, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(45, 27, 105, 0.5);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Modern Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--text-primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pricing-features li i {
  color: var(--text-primary);
  margin-right: 0.5rem;
  width: 16px;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    padding: var(--space-xl) 0;
    padding-top: calc(var(--navbar-height) + var(--space-xl));
  }
  
  .services-grid,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card,
  .portfolio-item,
  .pricing-card {
    padding: 2rem;
  }
  
  .decoration-circle {
    display: none;
  }
  
  .floating-particles {
    display: none;
  }
}

/* ===========================
   ACCESSIBILITY & FOCUS STATES
   =========================== */
/* Enhanced Focus States for Better Accessibility */
.btn:focus,
.nav-link:focus {
  outline: 3px solid rgba(255, 215, 0, 0.6);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Improved Link Visibility */
a {
  transition: var(--transition-normal);
}

a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
   border-radius: var(--radius-sm);
}

/* Enhanced Selection Styles */
::selection {
  background: var(--accent-gold);
  color: var(--royal-purple);
  text-shadow: none;
}

::-moz-selection {
  background: var(--accent-gold);
  color: var(--royal-purple);
  text-shadow: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-secondary: #FFFFFF;
    --text-muted: #F0F0F0;
    --bg-card: rgba(255, 255, 255, 0.15);
  }
  
  .service-card,
  .feature-item,
  .testimonial-content {
    border-width: 3px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  body::before,
  body::after,
  .hero::before {
    animation: none !important;
  }
}

/* Enhanced Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--deep-purple);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-secondary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--deep-purple);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Enhanced Card Hover States */
.service-card:hover .service-icon,
.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow), 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Enhanced Text Visibility */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

/* Enhanced Button Active States */
.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary:active {
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2), var(--shadow-glow);
}

.btn-secondary:active {
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2), var(--shadow-purple-glow);
}
