/* ============================================================================
   Marketing SaaS - Complete Design System with Glassmorphism
   Production-ready styling for all pages with frosted glass effects
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - Design Tokens
   ============================================================================ */
:root {
    /* Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Dark Theme - with transparency for glass effect */
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-hover: rgba(51, 65, 85, 0.8);
    --bg-glass: rgba(30, 41, 59, 0.6);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(51, 65, 85, 0.5);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Glass Effect */
    --glass-blur: blur(10px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-mono: 'Monaco', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-card: rgba(248, 250, 252, 0.9);
    --bg-hover: rgba(241, 245, 249, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: rgba(226, 232, 240, 0.8);
    --border-glass: rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ============================================================================
   BASE STYLES & RESET
   ============================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e1b4b 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background var(--transition-base), color var(--transition-base);
    position: relative;
    overflow-x: hidden;
}

/* Override for home page - use Bricks.io light design */
body.home-page {
    background-image: url("https://image.ibb.co/de6JzG/bitmap_1_1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: #727272;
}

body.home-page::before {
    display: none;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================================================
   GLASS MORPHISM UTILITY CLASSES
   ============================================================================ */
.glass {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--shadow-glass);
}

.glass-strong {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* ============================================================================
   LAYOUT COMPONENTS
   ============================================================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-sm { max-width: 800px; }
.container-md { max-width: 1000px; }
.container-lg { max-width: 1200px; }

.section {
    padding: var(--spacing-2xl) 0;
}

/* ============================================================================
   NAVIGATION & HEADER
   ============================================================================ */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-hover);
    backdrop-filter: var(--glass-blur);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-glass {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-glass:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ============================================================================
   FORMS & INPUTS
   ============================================================================ */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg-card);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================================================
   GLASS CARDS
   ============================================================================ */
.card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-glass);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* ============================================================================
   DASHBOARD COMPONENTS
   ============================================================================ */
.dashboard-header {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

/* KPI Glass Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.kpi-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.5);
}

.kpi-card:hover::before {
    transform: scaleX(1);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-glow);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-sm) 0;
}

.kpi-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ============================================================================
   AUTHENTICATION PAGES
   ============================================================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    position: relative;
}

.auth-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.auth-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.auth-footer {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-glass);
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================================================
   LANDING PAGE WITH GLASS EFFECTS
   ============================================================================ */
.hero {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ============================================================================
   TABLES
   ============================================================================ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.table th {
    background: var(--bg-hover);
    backdrop-filter: var(--glass-blur);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.875rem;
}

.table tr:hover {
    background: var(--bg-hover);
}

/* ============================================================================
   BADGES
   ============================================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.badge-primary { background: rgba(99, 102, 241, 0.2); color: var(--primary-light); border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }

/* ============================================================================
   ALERTS & MESSAGES
   ============================================================================ */
.messages {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 2000;
    max-width: 400px;
    width: 100%;
}

.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    border: 1px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--info);
    color: var(--info);
}

/* Old theme switcher styles removed - using enhanced version below */

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Floating background elements */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.floating-shape:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: -14s;
}

/* ============================================================================
   LOADING SPINNER
   ============================================================================ */
.spinner {
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Cycling Animation */
@keyframes serviceCycle {
    0%, 14% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    17%, 97% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-nav {
        width: 100%;
        flex-direction: column;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .messages {
        left: var(--spacing-sm);
        right: var(--spacing-sm);
        top: var(--spacing-sm);
    }
    
    /* Theme switcher mobile positioning handled in enhanced section */
    
    .auth-card {
        padding: var(--spacing-lg);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================================
   SIDEBAR NAVIGATION
   ============================================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--border-glass);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all var(--transition-base);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-full);
}

.sidebar-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-toggle {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.sidebar-toggle:hover {
    background: var(--bg-hover);
}

.sidebar-user {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-user .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sidebar-user .user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user .user-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user .user-role {
    margin-top: 0.25rem;
}

.sidebar-menu {
    list-style: none;
    padding: var(--spacing-sm);
}

.menu-section {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-xs);
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem var(--spacing-sm);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.menu-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(4px);
}

.menu-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-glow);
}

.menu-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.menu-text {
    flex: 1;
    font-weight: 500;
}

.menu-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-full);
}

.menu-arrow {
    font-size: 0.65rem;
    margin-left: auto;
    transition: transform var(--transition-fast);
}

/* Submenu Styles */
.submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.submenu-open .submenu {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.625rem var(--spacing-sm) 0.625rem 3rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.submenu-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(4px);
}

.submenu-link.active {
    background: var(--bg-secondary);
    color: var(--primary);
    font-weight: 600;
}

.submenu-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.submenu-text {
    flex: 1;
}

/* Collapsed Sidebar */
.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .menu-text,
.sidebar.collapsed .section-title,
.sidebar.collapsed .user-name,
.sidebar.collapsed .user-role,
.sidebar.collapsed .menu-badge,
.sidebar.collapsed .menu-arrow,
.sidebar.collapsed .submenu {
    display: none;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .menu-text,
.sidebar.collapsed .section-title,
.sidebar.collapsed .user-name,
.sidebar.collapsed .user-role,
.sidebar.collapsed .menu-badge {
    display: none;
}

.sidebar.collapsed .sidebar-user {
    justify-content: center;
}

.sidebar.collapsed .menu-link {
    justify-content: center;
}

/* Mobile Sidebar */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
}

/* ============================================================================
   MAIN CONTENT LAYOUT
   ============================================================================ */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin var(--transition-base);
}

.main-content.sidebar-collapsed {
    margin-left: 80px;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
}

.topbar {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.mobile-menu-toggle:hover {
    background: var(--bg-hover);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb-item {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.topbar-action {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.125rem;
}

.topbar-action:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

.content-wrapper {
    padding: var(--spacing-xl) var(--spacing-lg);
}

/* ============================================================================
   GRID HELPERS
   ============================================================================ */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.flex { display: flex; }
.hidden { display: none; }
.mb-0 { margin-bottom: 0; }
.d-none { display: none !important; }
.full-width { 
    margin-left: 0 !important; 
    width: 100% !important; 
}

/* ============================================================================
   BRAM HOME PAGE STYLES - Comprehensive Navigation & Landing Page
   ============================================================================ */

/* BRAM-specific CSS Variables - Enhanced for landing page */
:root {
    /* Glass Effect Variables for BRAM */
    --glass-bg-alpha-10: rgba(255, 255, 255, 0.1);
    --glass-bg-alpha-15: rgba(255, 255, 255, 0.15);
    --glass-bg-alpha-20: rgba(255, 255, 255, 0.2);
    --glass-bg-alpha-30: rgba(255, 255, 255, 0.3);
    --glass-border-bram: rgba(255, 255, 255, 0.18);
    --glass-highlight-bram: rgba(255, 255, 255, 0.25);
    --glass-backdrop-bram: blur(25px) saturate(180%);
    
    /* BRAM Color Variants */
    --primary-color-alpha-10: rgba(99, 102, 241, 0.1);
    --primary-color-alpha-20: rgba(99, 102, 241, 0.2);
    --primary-color-alpha-30: rgba(99, 102, 241, 0.3);
    --primary-color-alpha-40: rgba(99, 102, 241, 0.4);
    --secondary-color-alpha-10: rgba(139, 92, 246, 0.1);
    --secondary-color-alpha-20: rgba(139, 92, 246, 0.2);
    --accent-color: #06b6d4;
}

/* BRAM Home Page - Remove sidebar and full-width content */
body.home-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

body.home-page .sidebar {
    display: none;
}

body.home-page .main-content {
    margin-left: 0 !important;
    width: 100% !important;
}

body.home-page .topbar {
    display: none;
}

/* BRAM Navigation Container */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

/* BRAM Glassmorphism Navbar */
body.home-page .navbar,
.home-page .navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--glass-bg-alpha-15);
    backdrop-filter: var(--glass-backdrop-bram);
    -webkit-backdrop-filter: var(--glass-backdrop-bram);
    border: 1px solid var(--glass-border-bram);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 var(--glass-highlight-bram);
    position: relative;
}

/* BRAM Logo/Brand */
body.home-page .navbar-brand,
.home-page .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

body.home-page .navbar-brand:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: 'B';
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BRAM Navigation Links */
body.home-page .navbar-nav,
.home-page .navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

body.home-page .nav-item {
    position: relative;
}

body.home-page .nav-link,
.home-page .nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

body.home-page .nav-link:hover,
body.home-page .nav-link.active {
    color: var(--primary);
    background: var(--glass-bg-alpha-10);
}

body.home-page .nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

body.home-page .nav-link:hover::before,
body.home-page .nav-link.active::before {
    width: 80%;
}

/* BRAM Auth Buttons in Navbar */
.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Removed unused auth user info styles */

.auth-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.login-btn {
    color: var(--text-primary);
    background: var(--glass-bg-alpha-20);
    border-color: var(--glass-border-bram);
}

.login-btn:hover {
    background: var(--glass-bg-alpha-30);
    transform: translateY(-2px);
}

.signup-btn {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px var(--primary-color-alpha-30);
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-color-alpha-40);
}

/* Mobile Toggle for BRAM */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu for BRAM */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: var(--glass-bg-alpha-15);
    backdrop-filter: var(--glass-backdrop-bram);
    -webkit-backdrop-filter: var(--glass-backdrop-bram);
    border-left: 1px solid var(--glass-border-bram);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border-bram);
}

.mobile-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--primary);
    background: var(--glass-bg-alpha-10);
}

.mobile-auth-actions {
    margin-top: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-auth-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-auth-btn.login {
    color: var(--text-primary);
    background: var(--glass-bg-alpha-20);
    border: 1px solid var(--glass-border-bram);
}

.mobile-auth-btn.signup {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* BRAM Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
}

.section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-info {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section with Animations */
.services-section {
    padding: 6rem 2rem;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services-showcase {
    margin-top: 4rem;
}

.services-intro {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.services-list {
    list-style: none;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 0;
    position: relative;
    height: 2.5rem;
    overflow: hidden;
}

.services-list li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: serviceCycle 7s infinite;
    color: var(--primary);
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--primary-color-alpha-30);
}

.services-list li:nth-child(1) { 
    animation-delay: 0s; 
}
.services-list li:nth-child(2) { 
    animation-delay: 1s; 
}
.services-list li:nth-child(3) { 
    animation-delay: 2s; 
}
.services-list li:nth-child(4) { 
    animation-delay: 3s; 
}
.services-list li:nth-child(5) { 
    animation-delay: 4s; 
}
.services-list li:nth-child(6) { 
    animation-delay: 5s; 
}
.services-list li:nth-child(7) { 
    animation-delay: 6s; 
}

/* CTA Section with Feature Cards */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    perspective: 1000px;
}

.feature-card {
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border-bram);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color-alpha-10) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color-alpha-30);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-button {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg-alpha-20);
    border: 1px solid var(--glass-border-bram);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.feature-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--primary);
}

.cta-action {
    margin-top: 4rem;
}

.cta-action h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-action p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-main-button {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--primary-color-alpha-30);
}

.cta-main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-color-alpha-40);
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border-bram);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: none;
    padding-bottom: 0;
}

.contact-card .card-icon {
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.contact-form .form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 1rem;
    background: var(--glass-bg-alpha-20);
    border: 1px solid var(--glass-border-bram);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-color-alpha-20);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-color-alpha-40);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg-alpha-10);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--glass-bg-alpha-20);
    transform: translateX(5px);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border-bram);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border-bram);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border-bram);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 10000;
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--glass-highlight-bram) inset;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    position: relative;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn,
.cookie-btn-primary,
.cookie-btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-color-alpha-30);
}

.cookie-btn-secondary {
    background: var(--glass-bg-alpha-20);
    color: var(--text-primary);
    border: 1px solid var(--glass-border-bram);
}

.cookie-btn-secondary:hover {
    background: var(--glass-bg-alpha-30);
}

.cookie-preferences {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border-bram);
    display: none;
}

.cookie-preferences.show {
    display: block;
}

.preference-item {
    margin-bottom: 0.75rem;
}

.preference-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.preference-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkmark {
    width: 40px;
    height: 20px;
    background: var(--glass-bg-alpha-30);
    border-radius: 10px;
    border: 1px solid var(--glass-border-bram);
    position: relative;
    transition: all 0.3s ease;
}

.checkmark::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.preference-checkbox:checked + .checkmark {
    background: var(--primary);
}

.preference-checkbox:checked + .checkmark::before {
    transform: translateX(18px);
}

.preference-info {
    flex: 1;
}

.preference-info strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    display: block;
}

.preference-info small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cookie-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 24px;
    height: 24px;
    background: var(--danger);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    transform: scale(1.1);
}

.cookie-settings-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border-bram);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cookie-settings-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   THEME SWITCHER - Fixed Positioning and Mobile Friendly
   ============================================================================ */

/* Theme Switcher Variables */
:root {
    --switcher-bg: rgba(15, 23, 42, 0.8);
    --switcher-border: rgba(255, 255, 255, 0.18);
    --switcher-icon-color: rgba(255, 255, 255, 0.8);
    --switcher-active-bg: rgba(255, 255, 255, 0.2);
    --switcher-backdrop: blur(20px) saturate(180%);
}

/* Light Theme Variables for Switcher */
[data-theme="light"] {
    --switcher-bg: rgba(0, 0, 0, 0.1);
    --switcher-border: rgba(0, 0, 0, 0.2);
    --switcher-icon-color: rgba(0, 0, 0, 0.8);
    --switcher-active-bg: rgba(0, 0, 0, 0.2);
}

fieldset.theme-switcher {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 1rem;
    margin: 0;
    background: var(--glass-bg-alpha-20);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    display: flex;
    gap: 0.75rem;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--glass-highlight) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: fit-content;
    transform: translateZ(0);
}

fieldset.theme-switcher:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--glass-highlight) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.15);
    border-color: var(--primary-color);
}

.switcher-legend {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Theme switcher visual enhancements */
fieldset.theme-switcher::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--primary-color-alpha-20), var(--secondary-color-alpha-20));
    border-radius: 21px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

fieldset.theme-switcher:hover::before {
    opacity: 1;
}

/* Switcher ripple animation */
@keyframes switcherRipple {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.switcher-option {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg-alpha-15);
    border: 2px solid var(--glass-border);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.switcher-option:hover {
    background: var(--glass-bg-alpha-30);
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.switcher-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}

.switcher-input:checked + .switcher-icon {
    color: var(--primary);
}

.switcher-option:has(.switcher-input:checked) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 
        0 0 30px var(--primary-color-alpha-60),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.switcher-icon {
    width: 26px;
    height: 26px;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.switcher-input:checked + .switcher-icon {
    color: white;
    transform: scale(1.2);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Mobile Theme Switcher */
@media (max-width: 768px) {
    fieldset.theme-switcher {
        bottom: 1rem;
        left: 1rem;
        gap: 0.25rem;
        padding: 0.5rem;
        border-radius: 16px;
    }
    
    .switcher-option {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    
    .switcher-icon {
        width: 20px;
        height: 20px;
    }
    
    .services-list {
        font-size: 1.5rem;
        height: 2rem;
    }
}

/* ============================================================================
   COMPREHENSIVE GLASSMORPHISM COMPONENT STYLES
   ============================================================================ */

/* Base Glass Panel */
.glass-panel {
    background: var(--glass-bg-alpha-15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 var(--glass-highlight);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-color-alpha-5) 0%, 
        transparent 50%, 
        var(--secondary-color-alpha-5) 100%
    );
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 var(--glass-highlight);
    border-color: var(--primary-color-alpha-30);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.hero-panel {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 4rem 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-panel {
    padding: 2.5rem;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.panel-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color-alpha-20), var(--secondary-color-alpha-20));
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.panel-description {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.panel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--glass-bg-alpha-20);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: var(--text-color-secondary);
    backdrop-filter: blur(10px);
}

.panel-cta {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.panel-cta:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Analytics Section */
.analytics-section {
    padding: 5rem 2rem;
}

.analytics-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.analytics-card {
    background: var(--glass-bg-alpha-10);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.analytics-card:hover {
    background: var(--glass-bg-alpha-20);
    transform: translateY(-3px);
}

.analytics-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.analytics-card p {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.metrics-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric {
    background: var(--glass-bg-alpha-15);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
}

/* Channels Section */
.channels-section {
    padding: 5rem 2rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.channel-panel {
    text-align: center;
    padding: 2.5rem 2rem;
}

.channel-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.channel-panel h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.channel-panel p {
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.channel-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.channel-features li {
    background: var(--glass-bg-alpha-10);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

/* Integrations Section */
.integrations-section {
    padding: 5rem 2rem;
}

.integrations-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.integration-category h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.integration-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.integration-item {
    background: var(--glass-bg-alpha-15);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: var(--glass-bg-alpha-25);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.infrastructure-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.infra-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.infra-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.infra-details h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.infra-details p {
    color: var(--text-color-secondary);
    line-height: 1.5;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
}

.cta-panel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    margin-bottom: 3rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 25px var(--primary-color-alpha-30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--primary-color-alpha-40);
}

.btn-secondary {
    background: var(--glass-bg-alpha-20);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: var(--glass-bg-alpha-30);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.analytics-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-panel {
        padding: 3rem 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .features-grid,
    .analytics-grid,
    .channels-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-panel {
        padding: 3rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn,
    .cta-actions .btn {
        min-width: 200px;
    }
}

/* ============================================================================
   LIGHT THEME COMPREHENSIVE OVERRIDES
   ============================================================================ */

/* Light theme body styling */
body[data-theme="light"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #212529;
}

/* Light theme navbar */
body[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .navbar-brand .brand-text {
    color: #212529;
}

body[data-theme="light"] .nav-link {
    color: #495057;
}

body[data-theme="light"] .nav-link:hover {
    color: #212529;
}

body[data-theme="light"] .nav-link.active {
    color: var(--primary);
}

body[data-theme="light"] .auth-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #212529;
    border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .auth-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Light theme sections */
body[data-theme="light"] .section {
    color: #212529;
}

body[data-theme="light"] .section h1 {
    color: #212529;
}

body[data-theme="light"] .section-info {
    color: #6c757d;
}

body[data-theme="light"] #home {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body[data-theme="light"] #about {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

body[data-theme="light"] #services {
    background: linear-gradient(135deg, #f8f9fa 0%, #dee2e6 100%);
}

body[data-theme="light"] #contact {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

body[data-theme="light"] #portfolio {
    background: linear-gradient(135deg, #dee2e6 0%, #e9ecef 100%);
}

/* Light theme CTA section */
body[data-theme="light"] .cta-section h1 {
    color: #212529;
}

body[data-theme="light"] .cta-subtitle {
    color: #6c757d;
}

/* Light theme feature cards */
body[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .feature-card:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

body[data-theme="light"] .feature-card h3 {
    color: #212529;
}

body[data-theme="light"] .feature-card p {
    color: #6c757d;
}

body[data-theme="light"] .card-button {
    background: rgba(255, 255, 255, 0.2);
    color: #212529;
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .card-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .card-arrow {
    color: #495057;
}

/* Light theme services */
body[data-theme="light"] .services-intro {
    color: #212529;
}

body[data-theme="light"] .services-list li {
    color: var(--primary);
}

/* Light theme contact */
body[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .contact-card:hover {
    background: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .contact-form .form-group input,
body[data-theme="light"] .contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #212529;
}

body[data-theme="light"] .contact-form .form-group input:focus,
body[data-theme="light"] .contact-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-color-alpha-20);
}

body[data-theme="light"] .contact-form .form-group label {
    color: #212529;
}

body[data-theme="light"] .contact-form .form-group input::placeholder,
body[data-theme="light"] .contact-form .form-group textarea::placeholder {
    color: #6c757d;
}

body[data-theme="light"] .info-item {
    background: rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .info-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Light theme mobile menu */
body[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .mobile-menu-link {
    color: #495057;
}

body[data-theme="light"] .mobile-menu-link:hover {
    color: #212529;
    background: rgba(255, 255, 255, 0.1);
}

body[data-theme="light"] .mobile-auth-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #212529;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Light theme cookie consent */
body[data-theme="light"] .cookie-consent {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .cookie-preferences {
    border-color: rgba(255, 255, 255, 0.3);
}

body[data-theme="light"] .checkmark {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive BRAM Navigation */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    body.home-page .navbar-nav {
        display: none;
    }
    
    .section h1 {
        font-size: 3rem;
    }
    
    .contact-cards-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section h1 {
        font-size: 2rem;
    }
    
    .services-intro {
        font-size: 1.5rem;
    }
    
    .services-list {
        font-size: 1.25rem;
    }
}
