/* MainStyles.css - Single Source of Truth for Theme and Common Styles */
/* Modern UI Theme System - Consolidated from Site.Master */

/* ==================== THEME VARIABLES ==================== */

/* Modern Theme - Bright Accents with Subtle Backgrounds */
:root,
[data-theme="modern"] {
    --font-body: "Zalando Sans Expanded","Urbanist", "Questrial", "Quicksand", "Nunito", "Century Gothic", sans-serif;
    --font-header: "Zalando Sans Expanded","Montserrat", "Questrial", "Quicksand", "Nunito", "Century Gothic", sans-serif;
    --primary-bg: #0a0a14;
    /* Primary Accent Colors (Bright - for text, borders, highlights) */
    --accent-primary: #4ade80;
    --accent-secondary: #3b82f6;
    --accent-color-rgb: 74, 222, 128;
    /* Secondary/Muted Colors (Subtle - for backgrounds, secondary elements) */
    --muted-primary: #64748b;
    --muted-secondary: #475569;
    --muted-color-rgb: 100, 116, 139;
    --secondary-bg: rgba(74, 222, 128, 0.6);
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    /* Shadows (Using bright accent colors) */
    --shadow-primary: 0 8px 32px rgba(74, 222, 128, 0.3);
    --shadow-hover: 0 12px 40px rgba(74, 222, 128, 0.5);
    --sidebar-bg: rgba(13, 13, 26, 0.95);
    --topbar-bg: rgba(13, 13, 26, 0.95);
    --grid-color: rgba(74, 222, 128, 0.1);
    --sidebar-width: 280px;
    /* Card/Div Gradient Backgrounds */
    --card-bg-gradient: linear-gradient(135deg, #0a0a14 0%, #0d1117 50%, #0a0e1a 100%);
    --secondary-bg-gradient: linear-gradient(135deg, rgba(74, 222, 128, 0.12) 0%, rgba(52, 211, 153, 0.08) 100%);
    --hover-bg-gradient: linear-gradient(135deg, #4ade80 0%, #34d399 100%);
    /* Utility Colors for Gradients and Accents */
    --utility-purple: #8b5cf6;
    --utility-pink: #ec4899;
    --utility-orange: #f97316;
    --utility-cyan: #5eead4;
    /* Legacy Variables for Backward Compatibility */
    --primary-color: #0a0a14;
    --secondary-color: #4ade80;
    --accent-color: #4ade80;
    --text-color: #ffffff;
    --shadow-color: 0 8px 32px rgba(74, 222, 128, 0.3);
    --shadow-color-hover: 0 12px 40px rgba(74, 222, 128, 0.5);
    --shadow-color-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --primary-bg-rgb: 10, 10, 20;
    /* Additional Legacy Support */
    --success-color: #08ba2f;
    --success-color-light: #10b981;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196F3;
    --card-bg-color: #252525;
    --card-bg-hover: #2d2d2d;
    /* Common Hardcoded Colors (now centralized) */
    --sidebar-bg-alt: rgba(26, 26, 46, 0.95);
    --dark-bg-alt: rgba(22, 33, 62, 0.95);
    --dark-bg-deep-rgb: 15, 15, 35;  /* Deep dark background for dropdowns/inputs */
    --emerald-green: #10b981;
    --emerald-green-dark: #059669;
    /* Dashboard Card Backgrounds (Subtle Glass-morphism) */
    --card-bg-subtle: rgba(255, 255, 255, 0.04);
    --card-bg-prominent: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);

    /* University/Gradient Colors - Used across university pages */
    --university-primary: #667eea;
    --university-secondary: #764ba2;
    --university-primary-rgb: 102, 126, 234;
    --university-secondary-rgb: 118, 75, 162;
    --university-gradient: linear-gradient(135deg, var(--university-primary) 0%, var(--university-secondary) 100%);

    /* Glass-morphism blur values */
    --glass-blur-light: blur(10px);
    --glass-blur-standard: blur(20px);
    --glass-blur-heavy: blur(30px);

    /* Rank/Medal Colors - Universal across themes */
    --rank-gold: #ffd700;
    --rank-gold-glow: rgba(255, 215, 0, 0.5);
    --rank-silver: #c0c0c0;
    --rank-silver-glow: rgba(192, 192, 192, 0.5);
    --rank-bronze: #cd7f32;
    --rank-bronze-glow: rgba(205, 127, 50, 0.5);

    /* Score State Colors */
    --score-excellent: #4CAF50;
    --score-good: #2196F3;
    --score-average: #FFC107;
    --score-needs-improvement: #FF5722;

    /* Animation Timing Scale */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-default: cubic-bezier(0.4, 0.0, 0.2, 1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Component Spacing */
    --card-padding: var(--space-md);
    --card-padding-lg: var(--space-lg);
    --grid-gap: var(--space-lg);
}

/* Dark Purple Theme */
[data-theme="purple"] {
    --primary-bg: #1a0d1a;
    --secondary-bg: rgba(138, 43, 226, 0.6);
    --accent-primary: #9d4edd;
    --accent-secondary: #7b2cbf;
    --text-primary: #f8f8ff;
    --text-secondary: #d8bfd8;
    --border-color: rgba(157, 78, 221, 0.4);
    --shadow-primary: 0 8px 32px rgba(157, 78, 221, 0.3);
    --shadow-hover: 0 12px 40px rgba(157, 78, 221, 0.5);
    --sidebar-bg: rgba(26, 13, 26, 0.95);
    --topbar-bg: rgba(26, 13, 26, 0.95);
    --grid-color: rgba(157, 78, 221, 0.12);

    /* Card/Div Gradient Backgrounds */
    --card-bg-gradient: linear-gradient(135deg, #1a0d1a 0%, #2d1a2d 50%, #1a0d1a 100%);
    --secondary-bg-gradient: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(138, 43, 226, 0.12) 100%);
    --hover-bg-gradient: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);

    /* Card Background Shades */
    --card-bg-subtle: rgba(157, 78, 221, 0.06);
    --card-bg-prominent: rgba(157, 78, 221, 0.10);
    --card-bg-hover: rgba(157, 78, 221, 0.14);

    /* Utility Colors for Gradients and Accents */
    --utility-purple: #9d4edd;
    --utility-pink: #ec4899;
    --utility-orange: #f97316;
    --utility-cyan: #5eead4;

    /* Legacy Variables */
    --primary-color: #1a0d1a;
    --secondary-color: #9d4edd;
    --accent-color: #9d4edd;
    --text-color: #f8f8ff;
    --shadow-color: 0 8px 32px rgba(157, 78, 221, 0.3);
    --shadow-color-hover: 0 12px 40px rgba(157, 78, 221, 0.5);
    --accent-color-rgb: 157, 78, 221;
    --primary-bg-rgb: 26, 13, 26;

    /* Rank/Medal Colors - Universal across themes */
    --rank-gold: #ffd700;
    --rank-gold-glow: rgba(255, 215, 0, 0.5);
    --rank-silver: #c0c0c0;
    --rank-silver-glow: rgba(192, 192, 192, 0.5);
    --rank-bronze: #cd7f32;
    --rank-bronze-glow: rgba(205, 127, 50, 0.5);

    /* Score State Colors */
    --score-excellent: #4CAF50;
    --score-good: #2196F3;
    --score-average: #FFC107;
    --score-needs-improvement: #FF5722;

    /* Animation Timing Scale */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-default: cubic-bezier(0.4, 0.0, 0.2, 1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Component Spacing */
    --card-padding: var(--space-md);
    --card-padding-lg: var(--space-lg);
    --grid-gap: var(--space-lg);
}

/* Neon Green Theme */
[data-theme="neon"] {
    --primary-bg: #0d1f0d;
    --secondary-bg: rgba(0, 255, 127, 0.6);
    --accent-primary: #00ff7f;
    --accent-secondary: #32cd32;
    --text-primary: #f0fff0;
    --text-secondary: #98fb98;
    --border-color: rgba(0, 255, 127, 0.5);
    --shadow-primary: 0 8px 32px rgba(0, 255, 127, 0.4);
    --shadow-hover: 0 12px 40px rgba(0, 255, 127, 0.6);
    --sidebar-bg: rgba(13, 31, 13, 0.95);
    --topbar-bg: rgba(13, 31, 13, 0.95);
    --grid-color: rgba(0, 255, 127, 0.08);

    /* Card/Div Gradient Backgrounds */
    --card-bg-gradient: linear-gradient(135deg, #0d1f0d 0%, #1a331a 50%, #0d1f0d 100%);
    --secondary-bg-gradient: linear-gradient(135deg, rgba(0, 255, 127, 0.08) 0%, rgba(0, 255, 127, 0.12) 100%);
    --hover-bg-gradient: linear-gradient(135deg, #00ff7f 0%, #32cd32 100%);

    /* Card Background Shades */
    --card-bg-subtle: rgba(0, 255, 127, 0.06);
    --card-bg-prominent: rgba(0, 255, 127, 0.10);
    --card-bg-hover: rgba(0, 255, 127, 0.14);

    /* Utility Colors for Gradients and Accents */
    --utility-purple: #8b5cf6;
    --utility-pink: #ec4899;
    --utility-orange: #f97316;
    --utility-cyan: #5eead4;

    /* Legacy Variables */
    --primary-color: #0d1f0d;
    --secondary-color: #00ff7f;
    --accent-color: #00ff7f;
    --text-color: #f0fff0;
    --shadow-color: 0 8px 32px rgba(0, 255, 127, 0.4);
    --shadow-color-hover: 0 12px 40px rgba(0, 255, 127, 0.6);
    --accent-color-rgb: 0, 255, 127;
    --primary-bg-rgb: 13, 31, 13;

    /* Rank/Medal Colors - Universal across themes */
    --rank-gold: #ffd700;
    --rank-gold-glow: rgba(255, 215, 0, 0.5);
    --rank-silver: #c0c0c0;
    --rank-silver-glow: rgba(192, 192, 192, 0.5);
    --rank-bronze: #cd7f32;
    --rank-bronze-glow: rgba(205, 127, 50, 0.5);

    /* Score State Colors */
    --score-excellent: #4CAF50;
    --score-good: #2196F3;
    --score-average: #FFC107;
    --score-needs-improvement: #FF5722;

    /* Animation Timing Scale */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-default: cubic-bezier(0.4, 0.0, 0.2, 1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Component Spacing */
    --card-padding: var(--space-md);
    --card-padding-lg: var(--space-lg);
    --grid-gap: var(--space-lg);
}

/* Minimal White Theme */
[data-theme="minimal"] {
    --primary-bg: #f8f9fa;
    --secondary-bg: rgba(0, 0, 0, 0.6);
    --accent-primary: #007bff;
    --accent-secondary: #0056b3;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: rgba(0, 123, 255, 0.2);
    --shadow-primary: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 123, 255, 0.2);
    --sidebar-bg: rgba(248, 249, 250, 0.98);
    --topbar-bg: rgba(248, 249, 250, 0.98);
    --grid-color: rgba(0, 123, 255, 0.05);

    /* Card/Div Gradient Backgrounds */
    --card-bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    --secondary-bg-gradient: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.05) 100%);
    --hover-bg-gradient: linear-gradient(135deg, #007bff 0%, #0056b3 100%);

    /* Card Background Shades (light theme - darker shades) */
    --card-bg-subtle: rgba(0, 0, 0, 0.02);
    --card-bg-prominent: rgba(0, 0, 0, 0.04);
    --card-bg-hover: rgba(0, 0, 0, 0.06);

    /* Utility Colors for Gradients and Accents */
    --utility-purple: #8b5cf6;
    --utility-pink: #ec4899;
    --utility-orange: #f97316;
    --utility-cyan: #5eead4;

    /* Legacy Variables */
    --primary-color: #f8f9fa;
    --secondary-color: #007bff;
    --accent-color: #007bff;
    --text-color: #212529;
    --shadow-color: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-color-hover: 0 8px 24px rgba(0, 123, 255, 0.2);
    --accent-color-rgb: 0, 123, 255;
    --primary-bg-rgb: 248, 249, 250;

    /* Rank/Medal Colors - Universal across themes */
    --rank-gold: #ffd700;
    --rank-gold-glow: rgba(255, 215, 0, 0.5);
    --rank-silver: #c0c0c0;
    --rank-silver-glow: rgba(192, 192, 192, 0.5);
    --rank-bronze: #cd7f32;
    --rank-bronze-glow: rgba(205, 127, 50, 0.5);

    /* Score State Colors */
    --score-excellent: #4CAF50;
    --score-good: #2196F3;
    --score-average: #FFC107;
    --score-needs-improvement: #FF5722;

    /* Animation Timing Scale */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-default: cubic-bezier(0.4, 0.0, 0.2, 1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Component Spacing */
    --card-padding: var(--space-md);
    --card-padding-lg: var(--space-lg);
    --grid-gap: var(--space-lg);
}

/* Corporate Gold Theme */
[data-theme="corporate"] {
    --primary-bg: #1c1c1c;
    --secondary-bg: rgba(255, 193, 7, 0.6);
    --accent-primary: #ffc107;
    --accent-secondary: #ff8f00;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --border-color: rgba(255, 193, 7, 0.3);
    --shadow-primary: 0 8px 32px rgba(255, 193, 7, 0.2);
    --shadow-hover: 0 12px 40px rgba(255, 193, 7, 0.3);
    --sidebar-bg: rgba(28, 28, 28, 0.95);
    --topbar-bg: rgba(28, 28, 28, 0.95);
    --grid-color: rgba(255, 193, 7, 0.06);

    /* Card/Div Gradient Backgrounds */
    --card-bg-gradient: linear-gradient(135deg, #1c1c1c 0%, #2f2f2f 50%, #1c1c1c 100%);
    --secondary-bg-gradient: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 193, 7, 0.12) 100%);
    --hover-bg-gradient: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);

    /* Card Background Shades */
    --card-bg-subtle: rgba(255, 193, 7, 0.06);
    --card-bg-prominent: rgba(255, 193, 7, 0.10);
    --card-bg-hover: rgba(255, 193, 7, 0.14);

    /* Utility Colors for Gradients and Accents */
    --utility-purple: #8b5cf6;
    --utility-pink: #ec4899;
    --utility-orange: #f97316;
    --utility-cyan: #5eead4;

    /* Legacy Variables */
    --primary-color: #1c1c1c;
    --secondary-color: #ffc107;
    --accent-color: #ffc107;
    --text-color: #ffffff;
    --shadow-color: 0 8px 32px rgba(255, 193, 7, 0.2);
    --shadow-color-hover: 0 12px 40px rgba(255, 193, 7, 0.3);
    --accent-color-rgb: 255, 193, 7;
    --primary-bg-rgb: 28, 28, 28;

    /* Rank/Medal Colors - Universal across themes */
    --rank-gold: #ffd700;
    --rank-gold-glow: rgba(255, 215, 0, 0.5);
    --rank-silver: #c0c0c0;
    --rank-silver-glow: rgba(192, 192, 192, 0.5);
    --rank-bronze: #cd7f32;
    --rank-bronze-glow: rgba(205, 127, 50, 0.5);

    /* Score State Colors */
    --score-excellent: #4CAF50;
    --score-good: #2196F3;
    --score-average: #FFC107;
    --score-needs-improvement: #FF5722;

    /* Animation Timing Scale */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-default: cubic-bezier(0.4, 0.0, 0.2, 1);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Component Spacing */
    --card-padding: var(--space-md);
    --card-padding-lg: var(--space-lg);
    --grid-gap: var(--space-lg);
}

/* ==================== BASE STYLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    padding: 0;
    color: var(--text-primary);
    background: var(--primary-bg);
    min-height: 100vh;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Login/standalone page-specific styles - only apply when NOT using Site.Master layout */
body:not(:has(#container)):not(:has(.layout-container)) {
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dashboard and Site.Master pages - use theme background */
body:has(#container),
body:has(.layout-container) {
    background: var(--primary-bg) !important;
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
    text-align: left !important;
}

/* Form centering for standalone pages (login, signup, etc.) - exclude pages with specific containers */
form:not(:has(.admin-content)):not(:has(.app-container)):not(:has(.layout-container)):not(:has(#container)) {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 0;
}

/* ==================== MODERN BUTTON STYLES ==================== */
/* Glass-morphism buttons with accent edges - consistent with IBMarker theme */

.btnDefault {
    width: 100%;
    padding: 18px 32px;
    margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btnDefault:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

.btnDefault:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.08);
}

.btnDefault.secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-secondary);
    border-right: 3px solid var(--accent-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btnDefault.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-secondary);
    border-right-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

.btnBack, .BackClass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 10px 0 5px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    width: 100%;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btnBack:hover, .BackClass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btnBack:active, .BackClass:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.06);
}

/* ==================== GLASS BUTTON STYLES ==================== */
/* Refined glass-morphism buttons with accent edges */

/* Primary glass button style */
.btn-glass, .btn-primary-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-glass:hover, .btn-primary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

.btn-glass:active, .btn-primary-glass:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.08);
}

/* Secondary glass button */
.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Large glass button */
.btn-large-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 15px;
}

.btn-large-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

/* Success glass button */
.btn-success-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--success-color);
    border-right: 3px solid var(--success-color);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-success-glass:hover {
    background: rgba(8, 186, 47, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--success-color);
    border-right-color: var(--success-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(8, 186, 47, 0.15);
}

/* Danger glass button */
.btn-danger-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--danger-color);
    border-right: 3px solid var(--danger-color);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-danger-glass:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--danger-color);
    border-right-color: var(--danger-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(220, 53, 69, 0.15);
}

/* ==================== MODERN CARD STYLES ==================== */

.card {
    background: var(--card-bg-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

/* ==================== FORM CONTROLS ==================== */

input, select, textarea {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.2);
    background: rgba(var(--accent-color-rgb), 0.05);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

/* ==================== REUSABLE COMPONENTS ==================== */

/* Card Base - Minimalistic glass-morphism card component
 * Use this class as a base for any card-like containers across the site
 * Provides consistent background, border, padding, and hover effects
 *
 * Usage Examples:
 *   <div class="card-base">Simple card content</div>
 *   <div class="card-base p-3">Card with more padding</div>
 *   <div class="card-base" style="cursor: default;">Non-clickable card</div>
 *
 * Extends: .stat-card and .dashboard-card use these same base styles
 */
.card-base, .card-base-info {
    background: var(--card-bg-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .card-base:hover, .card-base-info:hover {
        border-color: var(--accent-primary);
        background: var(--card-bg-hover);
        transform: translateY(-2px);
    }

/* Card Base Info - Non-interactive variant for informational displays
 * Same visual styling as .card-base but without interactive cursor/hover
 * Use for displaying information that doesn't have click actions
 *
 * Usage Examples:
 *   <div class="card-base-info">Stats display</div>
 *   <div class="card-base-info">Read-only information</div>
 */
.card-base-info {
    cursor: default;
}

/* ==================== BEM CARD COMPONENT SYSTEM ==================== */
/*
 * BEM Card Component - Unified card styling with modifiers
 * Use alongside existing classes for gradual migration: class="stat-card card--stat"
 *
 * Block: .card (already defined above)
 * Modifiers: .card--glass, .card--stat, .card--dashboard, .card--sidebar, .card--university
 * Elements: .card__header, .card__title, .card__icon, .card__value, .card__label, .card__body, .card__footer
 */

/* Card Modifiers */
.card--glass {
    background: rgba(var(--primary-bg-rgb), 0.6);
    backdrop-filter: var(--glass-blur-standard);
    -webkit-backdrop-filter: var(--glass-blur-standard);
}

.card--stat {
    text-align: center;
    min-width: 140px;
    padding: 1.25rem;
}

.card--dashboard {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card--sidebar {
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
}

.card--university {
    background: var(--university-gradient);
    border: none;
}

.card--clickable {
    cursor: pointer;
}

.card--clickable:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

/* Card Elements */
.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card__icon {
    width: 40px;
    height: 40px;
    background: var(--hover-bg-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.card__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.card__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__body {
    flex: 1;
}

.card__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==================== BEM BUTTON COMPONENT SYSTEM ==================== */
/*
 * BEM Button Component - Glass-morphism buttons with accent edges
 * Use alongside existing classes for gradual migration: class="btnDefault btn--primary"
 *
 * Block: .btn
 * Modifiers: .btn--primary, .btn--secondary, .btn--outline, .btn--success, .btn--danger, .btn--sm, .btn--lg, .btn--block
 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    /* Default glass style */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.08);
}

/* Button Modifiers */
.btn--primary {
    border-left: 3px solid var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
}

.btn--primary:hover {
    border-left-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

.btn--secondary {
    border-left: 3px solid var(--accent-secondary);
    border-right: 3px solid var(--accent-secondary);
}

.btn--secondary:hover {
    border-left-color: var(--accent-secondary);
    border-right-color: var(--accent-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(74, 222, 128, 0.1);
}

.btn--outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--success {
    border-left: 3px solid var(--success-color);
    border-right: 3px solid var(--success-color);
}

.btn--success:hover {
    background: rgba(8, 186, 47, 0.1);
    border-left-color: var(--success-color);
    border-right-color: var(--success-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(8, 186, 47, 0.15);
}

.btn--danger {
    border-left: 3px solid var(--danger-color);
    border-right: 3px solid var(--danger-color);
}

.btn--danger:hover {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: var(--danger-color);
    border-right-color: var(--danger-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(220, 53, 69, 0.15);
}

.btn--university {
    border-left: 3px solid var(--university-primary);
    border-right: 3px solid var(--university-primary);
}

.btn--university:hover {
    background: rgba(102, 126, 234, 0.1);
    border-left-color: var(--university-primary);
    border-right-color: var(--university-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(102, 126, 234, 0.15);
}

/* Button Size Modifiers */
.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

.btn--auto {
    width: auto;
}

/* Legacy .button class alias - maps to BEM .btn system for backward compatibility */
.button {
    display: inline-block;
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    background: var(--card-bg-subtle);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    border-right: 3px solid var(--accent-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-default);
    font-weight: 600;
}

.button:hover {
    background: var(--card-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==================== BEM MODAL COMPONENT SYSTEM ==================== */
/*
 * BEM Modal Component - Unified modal/overlay styling
 * Use for consistent modal dialogs across the application
 *
 * Block: .modal
 * Modifiers: .modal--active, .modal--fullscreen
 * Elements: .modal__overlay, .modal__content, .modal__header, .modal__title, .modal__close, .modal__body, .modal__footer
 */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

.modal--active,
.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal--fullscreen {
    background: var(--primary-bg);
    overflow-y: auto;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal__content {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal__close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.modal__close:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.modal__body {
    padding: 20px;
}

.modal__footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== BEM TOAST/NOTIFICATION COMPONENT ==================== */
/*
 * BEM Toast Component - Unified notification styling
 * Consolidated from TeacherSite.Master and AdminSite.Master
 */

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
    z-index: 10001;
    animation: slideInRight 0.3s ease;
    backdrop-filter: var(--glass-blur-standard);
    -webkit-backdrop-filter: var(--glass-blur-standard);
    box-shadow: var(--shadow-primary);
}

.toast--success {
    border-color: var(--success-color);
    background: rgba(8, 186, 47, 0.1);
}

.toast--error {
    border-color: var(--danger-color);
    background: rgba(244, 67, 54, 0.1);
}

.toast--warning {
    border-color: var(--warning-color);
    background: rgba(255, 152, 0, 0.1);
}

.toast--info {
    border-color: var(--info-color);
    background: rgba(33, 150, 243, 0.1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== CONSOLIDATED ANIMATIONS ==================== */
/*
 * All shared animations consolidated here
 * Remove duplicates from individual CSS files
 */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(45deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== UPDATES POPUP (Extracted from Dashboard.aspx) ==================== */
/*
 * Updates popup component - used for showing platform updates
 */

.updates-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.updates-popup.hidden {
    display: none !important;
}

.updates-content {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(74, 222, 128, 0.1);
    border-radius: 16px 16px 0 0;
}

.updates-header h2 {
    margin: 0;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.close-updates {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-updates:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.updates-body {
    padding: 20px;
}

.update-date {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#updateFeaturesList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#updateFeaturesList li {
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-primary);
    border-radius: 4px;
}

/* ==================== UTILITY CLASSES ==================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin Utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }
.m-6 { margin: 4rem; }
.m-7 { margin: 5rem; }
.m-8 { margin: 6rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.mt-7 { margin-top: 5rem; }
.mt-8 { margin-top: 6rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }
.mb-7 { margin-bottom: 5rem; }
.mb-8 { margin-bottom: 6rem; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 1rem; }
.ml-4 { margin-left: 1.5rem; }
.ml-5 { margin-left: 3rem; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.mr-4 { margin-right: 1.5rem; }
.mr-5 { margin-right: 3rem; }

.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3 { margin-left: 1rem; margin-right: 1rem; }
.mx-4 { margin-left: 1.5rem; margin-right: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

/* Padding Utilities */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.p-6 { padding: 4rem; }
.p-7 { padding: 5rem; }
.p-8 { padding: 6rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 0.25rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 1rem; }
.pl-4 { padding-left: 1.5rem; }
.pl-5 { padding-left: 3rem; }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 0.25rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 1rem; }
.pr-4 { padding-right: 1.5rem; }
.pr-5 { padding-right: 3rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Typography Utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Color Utilities */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-primary); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }

/* Display Utilities */
.hidden { display: none !important; }
.visible { display: block !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flexbox Utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

/* Width/Height Utilities */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Border Radius Utilities */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 4px; }
.rounded { border-radius: 8px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }

/* Animation Utilities */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
    animation: fadeInUp 0.6s ease-in-out;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ==================== MODERN SCROLLBAR STYLES ==================== */

/* Custom Scrollbar Styles - Uses Active Theme Colors */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: var(--secondary-bg) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    backdrop-filter: blur(5px) !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,
        var(--accent-secondary) 0%,
        var(--accent-primary) 50%,
        var(--accent-secondary) 100%) !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow:
        var(--shadow-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,
        var(--accent-primary) 0%,
        var(--accent-secondary) 50%,
        var(--accent-primary) 100%) !important;
    box-shadow:
        var(--shadow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05) !important;
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active,
*::-webkit-scrollbar-thumb:active {
    background: var(--accent-primary) !important;
    box-shadow:
        0 2px 6px var(--border-color),
        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: var(--primary-bg) !important;
    border: 1px solid var(--border-color) !important;
}

/* Firefox Scrollbar Support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--secondary-bg);
}

/* Enhanced container scrollbar - Uses Active Theme */
#container::-webkit-scrollbar {
    width: 16px !important;
    height: 16px !important;
}

#container::-webkit-scrollbar-track {
    background: var(--secondary-bg) !important;
    border-radius: 12px !important;
    border: 2px solid var(--border-color) !important;
    backdrop-filter: blur(15px) !important;
}

#container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,
        var(--accent-secondary) 0%,
        var(--accent-primary) 50%,
        var(--accent-secondary) 100%) !important;
    border-radius: 12px !important;
    border: 2px solid var(--border-color) !important;
    box-shadow:
        var(--shadow-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

#container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,
        var(--accent-primary) 0%,
        var(--accent-secondary) 50%,
        var(--accent-primary) 100%) !important;
    border-color: var(--accent-primary) !important;
    box-shadow:
        var(--shadow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
}

#container::-webkit-scrollbar-thumb:active {
    background: var(--accent-primary) !important;
    border-color: var(--accent-secondary) !important;
    box-shadow:
        0 4px 10px var(--border-color),
        inset 0 3px 6px rgba(0, 0, 0, 0.4) !important;
    transform: scale(1.06) !important;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE UTILITIES ==================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
}

/* ==================== OPENAI-INSPIRED MARKETING STYLES ==================== */

/* OpenAI-style gradient backgrounds and colors */
:root {
    /* Technical gradient colors inspired by OpenAI */
    --gradient-purple-start: #8B5CF6;
    --gradient-purple-end: #6B21A8;
    --gradient-cyan-start: #06B6D4;
    --gradient-cyan-end: #0891B2;
    --gradient-emerald-start: #10B981;
    --gradient-emerald-end: #047857;
    --gradient-indigo-start: #6366F1;
    --gradient-indigo-end: #4F46E5;

    /* Background gradients */
    --bg-gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    --bg-gradient-mesh: radial-gradient(at 40% 20%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
                        radial-gradient(at 80% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
                        radial-gradient(at 0% 50%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
                        radial-gradient(at 80% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%);

    /* Text gradients */
    --text-gradient-purple-cyan: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    --text-gradient-emerald-cyan: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --text-gradient-indigo-purple: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

/* Marketing page body styles */
.marketing-body {
    background: var(--bg-gradient-dark);
    position: relative;
    overflow-x: hidden;
}

.marketing-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient-mesh);
    pointer-events: none;
    z-index: 0;
}

/* Technical grid pattern overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* ==================== MEGAMENU STYLES ==================== */

.marketing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.marketing-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--text-gradient-purple-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--text-gradient-purple-cyan);
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Megamenu dropdown */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-section {
    margin-bottom: 20px;
}

.mega-dropdown-section:last-child {
    margin-bottom: 0;
}

.mega-dropdown-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.mega-dropdown-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.mega-dropdown-link:hover {
    background: rgba(139, 92, 246, 0.1);
}

.mega-dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-dropdown-content {
    flex: 1;
}

.mega-dropdown-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    display: block;
}

.mega-dropdown-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ==================== TYPOGRAPHY STYLES ==================== */

.marketing-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: var(--text-gradient-purple-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marketing-hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-bottom: 40px;
}

.marketing-section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.marketing-section-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
}

/* ==================== HERO SECTION STYLES ==================== */

.marketing-hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
    text-align: center;
}

.marketing-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.marketing-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================== BUTTON STYLES ==================== */

.btn-primary-gradient {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: var(--text-gradient-purple-cyan);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

.btn-ghost-gradient {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-ghost-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: var(--text-gradient-purple-cyan);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.btn-ghost-gradient:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.btn-ghost-gradient:hover::before {
    opacity: 1;
}

/* ==================== STATS BAR STYLES ==================== */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--text-gradient-purple-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ==================== FEATURE CARDS ==================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--gradient-purple-start);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* ==================== USE CASE CARDS ==================== */

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.usecase-card {
    padding: 48px;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--text-gradient-purple-cyan);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.usecase-card:hover::before {
    opacity: 1;
}

.usecase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 24px 70px rgba(139, 92, 246, 0.25);
}

.usecase-problem {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.usecase-solution {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.usecase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gradient-purple-start);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.usecase-link:hover {
    gap: 12px;
}

/* ==================== SECTION LAYOUTS ==================== */

.marketing-section {
    padding: 120px 40px;
    position: relative;
}

.marketing-section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== SCROLL ANIMATIONS ==================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 24px;
    }

    .marketing-hero {
        padding: 100px 24px 60px;
    }

    .marketing-section {
        padding: 80px 24px;
    }

    .features-grid,
    .usecase-grid {
        padding: 60px 24px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .marketing-hero {
        min-height: calc(100vh - 60px);
        padding: 80px 20px 40px;
    }

    .marketing-hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-gradient,
    .btn-ghost-gradient {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
        padding: 0 16px;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .marketing-hero {
        padding: 60px 16px 32px;
    }

    .marketing-section {
        padding: 60px 16px;
    }

    .feature-card,
    .usecase-card {
        padding: 32px 24px;
    }
}
