@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    /* LIGHT MODE: 'Jade & Coral' (Vibrant Jade, Peach, and Soft Coral) */
    
    /* Backgrounds — peach-to-soft-coral gradient */
    --bg-primary: #fefaf9;
    --bg-secondary: #fff3e0;
    --bg-gradient: linear-gradient(160deg, #fefaf9 0%, #fff0e6 55%, #ffe8d6 100%);
    
    /* Animated Blob Colors — jade, peach-coral, and warm amber */
    --blob-one: rgba(72, 201, 176, 0.10);   /* Jade Teal */
    --blob-two: rgba(255, 179, 128, 0.12);  /* Soft Coral */
    --blob-three: rgba(255, 204, 153, 0.10); /* Warm Amber */
    
    /* Cinematic Glass Surface Refresh */
    --card-bg: rgba(255, 255, 255, 0.52);
    --card-bg-hover: rgba(255, 255, 255, 0.75);
    --input-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(199, 164, 145, 0.08);
    --card-border-hover: rgba(72, 201, 176, 0.40);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(199, 164, 145, 0.12);
    --glass-blur: blur(20px);
    --glass-blur-heavy: blur(40px);
    --expanded-card-bg: #ffffff;
    --expanded-card-blur: none;
    --expanded-close-bg: rgba(61, 191, 168, 0.08); /* Subtle Jade hint */
    --expanded-close-border: rgba(61, 191, 168, 0.15);
    --overlay-bg: rgba(255, 255, 255, 0.2);

    /* Vibrant Jade Accent */
    --accent-color: #3dbfa8;
    --accent-hover: #2aaa93;
    --accent-light: #e6f8f5;
    --accent-glow: rgba(72, 201, 176, 0.20);
    --accent-glow-strong: rgba(72, 201, 176, 0.35);
    --accent-gradient: linear-gradient(135deg, #48c9b0, #3dbfa8, #2aaa93);

    /* Text Hierarchy — refined for better contrast on peach */
    --text-primary: #3d3e3a;
    --text-secondary: #6e7069;
    --text-muted: #9a9c94;
    --text-accent: #2aaa93;

    /* Semantic Colors */
    --success-color: #3dbfa8;
    --error-color: #c97d74;
    --warning-color: #d1b28c;
    --info-color: #91a39a;

    /* Refined Peach & Sage Shadows */
    --shadow-sm: 0 1px 3px rgba(199, 164, 145, 0.04), 0 1px 2px rgba(199, 164, 145, 0.03);
    --shadow: 0 4px 12px rgba(199, 164, 145, 0.06);
    --shadow-lg: 0 10px 30px rgba(199, 164, 145, 0.08), 0 0 0 1px rgba(199, 164, 145, 0.02);
    
    /* Mouse Tracking Glow Base */
    --cursor-glow-color: rgba(72, 201, 176, 0.12);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --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;

    /* Layout - Bento Grid Defaults */
    --card-radius: 18px;
    --btn-radius: 12px;
    --input-radius: 12px;
    --container-max: 1580px;
    --section-spacing: 5rem;
    --element-spacing: 2.5rem;

    /* Refined Transitions (strictly 200ms - 500ms) */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-layout: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
    /* DARK MODE (Cinematic Glassmorphism) */
    --bg-primary: #0a0f1a;
    --bg-secondary: #050810;
    --bg-gradient: linear-gradient(180deg, #0a0f1a 0%, #050810 100%);
    
    /* Animated Blob Colors (Dark Mode) */
    --blob-one: rgba(16, 185, 129, 0.25);  /* Deep Emerald */
    --blob-two: rgba(59, 130, 246, 0.25);  /* Deep Blue */
    --blob-three: rgba(139, 92, 246, 0.25); /* Deep Violet */
    
    /* Silver and Glass Elements */
    --card-bg: rgba(15, 23, 42, 0.4);
    --card-bg-hover: rgba(30, 41, 59, 0.6);
    --input-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-hover: rgba(16, 185, 129, 0.6);
    --glass-bg: rgba(10, 15, 26, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-secondary: #cbd5e1;
    --expanded-card-bg: #0f172a;
    --expanded-card-blur: none;
    --expanded-close-bg: rgba(16, 185, 129, 0.15); /* Subtle Emerald/Jade hint */
    --expanded-close-border: rgba(16, 185, 129, 0.25);
    --overlay-bg: rgba(0, 0, 0, 0.5);

    /* Text Hierarchy (Softer for Dark Glass) */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;

    /* Cinematic Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(5, 150, 105, 0.1);
}

