:root {
  /* =========================================
       Brand Colors (Matched with AppColors.swift)
       ========================================= */
  --color-primary: #af69ef;
  --color-primary-hover: #9b4ddb;
  --color-primary-soft: #f3e8ff; /* Light mode default */

  --color-accent: #ff6b8a;
  --color-accent-hover: #e85a79;
  --color-accent-soft: #ffe8ec;

  /* =========================================
       Semantic Colors
       ========================================= */
  --color-success: #22c55e; /* systemGreen */
  --color-success-hover: #16a34a;
  --color-success-soft: #dcfce7;

  --color-warning: #f59e0b; /* systemOrange approximation */
  --color-warning-hover: #d97706;
  --color-warning-soft: #fef3c7;

  --color-error: #ef4444; /* systemRed approximation */
  --color-error-hover: #dc2626;
  --color-error-soft: #fee2e2;

  --color-info: #3b82f6; /* systemBlue approximation */
  --color-info-hover: #2563eb;
  --color-info-soft: #dbeafe;

  /* =========================================
       Backgrounds & Surfaces
       ========================================= */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-grouped: #f2f2f7;
  --bg-input: #f2f2f7;
  --bg-hero: radial-gradient(circle at 50% 50%, #fefaff 0%, #f2f2f7 100%);

  /* =========================================
       Gradients (New)
       ========================================= */
  --gradient-primary: linear-gradient(135deg, #af69ef 0%, #ff6b8a 100%);
  --gradient-soft: linear-gradient(135deg, #f3e8ff 0%, #ffe8ec 100%);
  --gradient-glow: radial-gradient(
    circle at center,
    rgba(175, 105, 239, 0.15) 0%,
    rgba(255, 107, 138, 0.05) 50%,
    transparent 100%
  );

  /* =========================================
       Glassmorphism (New)
       ========================================= */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);

  /* =========================================
       Typography (SF Pro Approximation)
       ========================================= */
  --font-main:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-primary: #1d1d1f; /* iOS standard primary text */
  --text-secondary: #86868b; /* iOS standard secondary text */
  --text-tertiary: #a1a1a6;
  --text-inverse: #ffffff;

  /* =========================================
       Spacing & Layout
       ========================================= */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-card: 24px; /* More rounded premium cards */
  --radius-button: 16px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 100px; /* More breathable sections */

  --container-width: 1200px;
  --header-height: 80px;

  /* =========================================
       Shadows (Deep & Layered)
       ========================================= */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md:
    0 8px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 12px 24px -6px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 40px 80px -16px rgba(0, 0, 0, 0.16);
  --shadow-brand: 0 20px 40px -10px rgba(175, 105, 239, 0.4);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* =========================================
       Animations
       ========================================= */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Mode Support (Future-proofing) */
/* Dark Mode Support Removed - Light Mode forced */
