:root {
    /* Sophisticated Color Palette */
    --brand-primary: #0F172A;
    --brand-accent: #4F46E5;
    --brand-accent-light: #6366F1;
    --brand-accent-hover: #4338CA;
    
    /* Sophisticated Neutrals */
    --neutral-50: #FAFBFC;
    --neutral-100: #F1F3F5;
    --neutral-200: #E3E6E9;
    --neutral-300: #CDD2D7;
    --neutral-400: #9CA3AF;
    --neutral-500: #6B7280;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --neutral-900: #111827;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    --cream: #FAF8F5;
    --warm-black: #1A1614;
    --burnt-orange: #E86F4B;
    --soft-coral: #FF9B82;
    --sage: #8B9D83;
    --primary-gradient: linear-gradient(135deg, #8B9D83 0%, #E86F4B 100%);
    --secondary-gradient: linear-gradient(135deg, #FAF8F5 0%, #F0EDE8 100%);
    
    /* Surfaces */
    --surface-base: #FFFFFF;
    --surface-elevated: #FFFFFF;
    --surface-overlay: rgba(15, 23, 42, 0.95);
    
    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--warm-black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particle Animation Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Gradient Orbs */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--burnt-orange), transparent 70%);
    top: -150px;
    left: -150px;
    animation-delay: -5s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--sage), transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--soft-coral), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseOrb 20s ease-in-out infinite;
    animation-delay: -8s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(50px, -50px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-40px, 40px) rotate(240deg) scale(0.95); }
}

@keyframes pulseOrb {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.45; }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 32px 80px;
}

/* Intent Tabs */
.intent-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-bottom: 2px solid #E5E1DC;
    padding-bottom: 16px;

    scroll-behavior: smooth;  
    -ms-overflow-style: none;  
    scrollbar-width: none;
}

.intent-tabs::-webkit-scrollbar {
    display: none;
}

.intent-tab-btn {
    background: none;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    color: #6B6560;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.intent-tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.intent-tabs {
    scroll-behavior: smooth;
    cursor: grab;
}

.intent-tabs:active {
    cursor: grabbing;
}

/* Bento Grid */
.bento-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Bento Card */
.bento-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 26px;
    padding: 26px;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.bento-card:hover {
    transform: translateY(-6px);
}

.bento-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
}

/* Checkbox UI */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    max-height: calc(44px*5);
    scrollbar-width: none;          
    -ms-overflow-style: none;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-item input {
    display: none;
}

.checkbox-ui {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #D4CFC8;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox-item input:checked + .checkbox-ui {
    background: var(--burnt-orange);
    border-color: var(--burnt-orange);
}

.checkbox-item input:checked + .checkbox-ui::after {
    content: "✓";
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.checkbox-label {
    color: #1A1614;
}

.checkbox-list::-webkit-scrollbar {
    display: none;
}

.checkbox-list::-webkit-scrollbar-thumb {
    background: rgba(26, 22, 20, 0.25);
    border-radius: 6px;
}

.checkbox-list::-webkit-scrollbar-track {
    background: transparent;
}

.checkbox-list::after {
    content: '';
    position: sticky;
    bottom: 0;
    height: 16px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}


[x-cloak] {
    display: none !important;
}

footer {
    position: relative;
    width: 100%;
    margin-top: 200px;
}

body:not([data-layout="admin"]) .admin-sidebar {
    display: none !important;
}

body:not([data-layout="admin"]) [data-admin-toggle] {
    display: none !important;
}

body[data-layout="admin"] .intent-tabs {
    overflow-x: auto;
    scroll-padding-left: 12px;
}

.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1990 !important;
}
