/* ===========================
   WHOLEPATH PREMIUM DESIGN SYSTEM
   Version 2.0 - Ultra Premium
   =========================== */

/* === ROOT VARIABLES === */
:root {
  /* Primary Brand Colors - Purple/Gold */
  --primary-deep: #6B46C1;      /* Deep royal purple */
  --primary-vibrant: #7C3AED;   /* Vibrant purple */
  --primary-light: #8B5CF6;     /* Light purple */
  --primary-lighter: #A78BFA;   /* Lighter purple */
  
  --gold-rich: #D4AF37;         /* Rich gold */
  --gold-bright: #F59E0B;       /* Bright gold */
  --gold-light: #FBBF24;        /* Light gold */
  
  /* Neutral Palette */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #6B46C1 50%, #D4AF37 100%);
  --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #6B46C1 40%, #8B5CF6 70%, #D4AF37 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D4AF37 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  
  /* Spacing (Golden Ratio) */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.618rem;  /* ~26px */
  --space-xl: 2.618rem;  /* ~42px */
  --space-2xl: 4.236rem; /* ~68px */
  
  /* Border Radius */
  --radius-sm: 0.5rem;   /* 8px */
  --radius-md: 1rem;     /* 16px */
  --radius-lg: 1.5rem;   /* 24px */
  --radius-xl: 2rem;     /* 32px */
  --radius-full: 9999px;
  
  /* Shadows - Layered Premium System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-purple: 0 20px 40px -10px rgba(124, 58, 237, 0.3);
  --shadow-gold: 0 20px 40px -10px rgba(245, 158, 11, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--gradient-subtle);
  color: var(--gray-900);
  line-height: 1.6;
}

/* === PREMIUM GLASSMORPHISM === */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow: 
    0 20px 48px 0 rgba(31, 38, 135, 0.18),
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.5);
}

.glass-card-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(107, 70, 193, 0.12) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 
    0 8px 32px 0 rgba(124, 58, 237, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

.glass-card-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 
    0 8px 32px 0 rgba(245, 158, 11, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

/* === PREMIUM BUTTONS === */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-premium-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(124, 58, 237, 0.4);
}

.btn-premium-gold {
  background: var(--gradient-gold);
  color: white;
  box-shadow: var(--shadow-gold);
}

.btn-premium-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(245, 158, 11, 0.35);
}

.btn-premium-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-vibrant);
  border: 2px solid var(--primary-vibrant);
  backdrop-filter: blur(12px);
}

.btn-premium-outline:hover {
  background: var(--primary-vibrant);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

/* === PREMIUM CARDS === */
.card-premium {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-light);
}

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

/* === LOGO INTEGRATION === */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-base);
}

.logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.2));
  transition: all var(--transition-base);
  background: transparent !important;
  mix-blend-mode: multiply;
}

.logo-container:hover .logo-icon {
  filter: drop-shadow(0 8px 20px rgba(124, 58, 237, 0.35));
  transform: scale(1.05) rotate(2deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.logo-title {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* === HERO SECTION === */
.hero-premium {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 6rem 0;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, white, transparent);
}

/* === FLOATING ORBS === */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-purple {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.6) 0%, transparent 70%);
}

.orb-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* === PREMIUM BADGE === */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 
    0 4px 16px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-vibrant);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { 
    box-shadow: 
      0 4px 16px rgba(124, 58, 237, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }
  50% { 
    box-shadow: 
      0 8px 24px rgba(124, 58, 237, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }
}

/* === PULSE DOT === */
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% { 
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

/* === PRICING BOX === */
.pricing-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

/* === FEATURE GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-purple);
  border-color: var(--primary-vibrant);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

/* === DIMENSION CARDS === */
.dimension-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.dimension-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.dimension-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-vibrant);
}

.dimension-card:hover::after {
  transform: scaleX(1);
}

/* === SMOOTH SCROLLING === */
html {
  scroll-behavior: smooth;
}

/* === SELECTION === */
::selection {
  background: var(--primary-vibrant);
  color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .logo-title {
    font-size: 1.5rem;
  }
  
  .logo-subtitle {
    font-size: 0.625rem;
  }
  
  .hero-premium {
    padding: 4rem 0;
  }
  
  .btn-premium {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

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

/* === FOCUS STATES === */
*:focus-visible {
  outline: 3px solid var(--primary-vibrant);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}
/* ===========================
   SMOOTH SCROLLING & NAVIGATION
   =========================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Scroll margin for anchor targets to account for fixed header */
.scroll-mt-20 {
    scroll-margin-top: 5rem;
}

/* Quick navigation link hover effects */
a[href^="#"] {
    transition: all 0.3s ease;
}

