/* ==================== ENHANCED UI UTILITIES ==================== */

/* Modern gradient utilities */
.bg-gradient-accent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Text gradient utilities */
.text-gradient-accent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cool {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced glass morphism */
.glass-soft {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-medium {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-hard {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gradient borders */
.border-gradient {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.border-gradient-accent {
    border-image: linear-gradient(135deg, #f97316, #ea580c) 1;
}

/* Shadow utilities */
.shadow-glow-accent {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3), 0 20px 60px rgba(0, 0, 0, 0.24);
}

.shadow-glow-blue {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3), 0 20px 60px rgba(0, 0, 0, 0.24);
}

.shadow-glow-success {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 20px 60px rgba(0, 0, 0, 0.24);
}

/* Rounded utilities */
.rounded-xl {
    border-radius: 20px;
}

.rounded-2xl {
    border-radius: 24px;
}

.rounded-3xl {
    border-radius: 28px;
}

/* Spacing utilities */
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }

.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 20px; }
.m-6 { margin: 24px; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.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; }
.justify-around { justify-content: space-around; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* Width utilities */
.w-full { width: 100%; }
.w-1/2 { width: 50%; }
.w-1/3 { width: 33.333%; }
.w-1/4 { width: 25%; }
.w-1/5 { width: 20%; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

/* Height utilities */
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.static { position: static; }

/* Z-index utilities */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { 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; }
.text-4xl { font-size: 2.25rem; }

.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: 900; }

.text-white { color: #fff; }
.text-rr-text { color: #e2e8f0; }
.text-rr-text-soft { color: #94a3b8; }
.text-rr-accent { color: #f97316; }
.text-rr-success { color: #10b981; }
.text-rr-blue { color: #2563eb; }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Transform utilities */
.translate-x-0 { transform: translateX(0); }
.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(4px); }
.translate-y-2 { transform: translateY(8px); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }

.scale-75 { transform: scale(0.75); }
.scale-90 { transform: scale(0.9); }
.scale-100 { transform: scale(1); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }

/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-text { cursor: text; }
.cursor-not-allowed { cursor: not-allowed; }

/* Enhanced button hover effects */
.btn-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

.btn-hover-glow:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-fast {
    transition: all 0.15s ease-out;
}

.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Aspect ratio utilities */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Media query utilities (for mobile-first) */
@media (max-width: 767px) {
    .md\:hidden { display: none; }
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
