/* ====================================
   DESIGN SYSTEM - GREEN ARTISTIC THEME
   Core design tokens and variables
   ==================================== */

/* ===== COLOR PALETTE ===== */
:root {
    /* Primary Green Palette */
    --green-lime: #32CD32;
    /* Lime green - Primary */
    --green-508: #93DC5C;
    /* 508US green - Secondary */
    --green-light: #B7E892;
    /* Light green - Tertiary */
    --green-tea: #DBF3C9;
    /* Tea green - Accent */
    --green-bright: #C3F550;
    /* Lime bright - Highlight */

    /* Light Backgrounds with Green Palette */
    --bg-lightest: #ffffff;
    /* Pure white */
    --bg-light: #f8fef8;
    /* Very light green tint */
    --bg-medium: #DBF3C9;
    /* Tea green - light */
    --bg-card: #f0fdf0;
    /* Card backgrounds - subtle green */
    --bg-elevated: #e8f5e9;
    /* Elevated surfaces */

    /* Text Colors for Light Theme */
    --text-primary: #0a0f0a;
    /* Almost black */
    --text-secondary: #2d5016;
    /* Dark green */
    --text-muted: #4a7c2c;
    /* Medium green */
    --text-dim: #6b9642;
    /* Dim green */

    /* Accent Colors (Project-Specific) */
    --accent-blue: #4dabf7;
    /* Blockchain blue */
    --accent-purple: #9775fa;
    /* AI/Education purple */
    --accent-gold: #ffd93d;
    /* Financial gold */
    --accent-orange: #ff922b;
    /* Community orange */
    --accent-cyan: #3bc9db;
    /* Tech cyan */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--green-lime) 0%, var(--green-508) 100%);
    --gradient-light: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    --gradient-accent: linear-gradient(135deg, var(--green-bright) 0%, var(--green-lime) 50%, var(--green-508) 100%);
    --gradient-glow: radial-gradient(circle, rgba(50, 205, 50, 0.08) 0%, transparent 70%);

    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(50, 205, 50, 0.3);
    --glass-blur: 12px;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 2rem;
    /* 32px */
    --space-xl: 3rem;
    /* 48px */
    --space-2xl: 4rem;
    /* 64px */
    --space-3xl: 6rem;
    /* 96px */

    /* Typography */
    --font-display: 'Orbitron', 'Outfit', sans-serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */
    --text-7xl: 4.5rem;
    /* 72px */

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 900;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow-sm: 0 0 10px rgba(50, 205, 50, 0.3);
    --shadow-glow-md: 0 0 20px rgba(50, 205, 50, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(50, 205, 50, 0.5);

    /* Transitions */
    --transition-fast: 0.15s 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-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-menu: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    background-image: var(--gradient-glow);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ===== UTILITY CLASSES ===== */

/* Glass Morphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect */
.glow-sm {
    box-shadow: var(--shadow-glow-sm);
}

.glow-md {
    box-shadow: var(--shadow-glow-md);
}

.glow-lg {
    box-shadow: var(--shadow-glow-lg);
}

/* Text Glow */
.text-glow {
    text-shadow: 0 0 20px rgba(50, 205, 50, 0.5);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Full Height */
.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* ===== COMMON COMPONENTS ===== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--green-lime);
    border: 2px solid var(--green-lime);
}

.btn-ghost:hover {
    background: rgba(50, 205, 50, 0.1);
    box-shadow: var(--shadow-glow-sm);
}

/* Links */
a {
    color: var(--green-lime);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--green-bright);
}

/* Selection */
::selection {
    background: var(--green-lime);
    color: white;
}

::-moz-selection {
    background: var(--green-lime);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-medium);
}

::-webkit-scrollbar-thumb {
    background: var(--green-lime);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-lime);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
/* Mobile: 320px - 767px */
/* Tablet: 768px - 1023px */
/* Desktop: 1024px+ */

@media (max-width: 767px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
        --text-6xl: 2.5rem;
        --text-7xl: 3rem;
    }
}