/* Utility Classes */

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: 8px;
}
.gap-3 {
    gap: 12px;
}
.gap-4 {
    gap: 16px;
}
.gap-6 {
    gap: 24px;
}
.gap-8 {
    gap: 32px;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Spacing */
.p-2 {
    padding: 8px;
}
.p-4 {
    padding: 16px;
}
.p-6 {
    padding: 24px;
}
.p-8 {
    padding: 32px;
}

.p-12 {
    padding: 48px;
}
.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}
.px-6 {
    padding-left: 24px;
    padding-right: 24px;
}
.px-8 {
    padding-left: 32px;
    padding-right: 32px;
}
.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}
.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}
.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}
.py-8 {
    padding-top: 32px;
    padding-bottom: 32px;
}
.pt-8 {
    padding-top: 32px;
}
.pt-12 {
    padding-top: 48px;
}
.pt-16 {
    padding-top: 64px;
}
.pb-8 {
    padding-bottom: 32px;
}
.mb-2 {
    margin-bottom: 8px;
}
.mb-3 {
    margin-bottom: 12px;
}
.mb-4 {
    margin-bottom: 16px;
}
.mb-6 {
    margin-bottom: 24px;
}
.mb-8 {
    margin-bottom: 32px;
}
.ml-1 {
    margin-left: 4px;
}
.ml-2 {
    margin-left: 8px;
}
.ml-3 {
    margin-left: 12px;
}
.mr-2 {
    margin-right: 8px;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Sizing */
.w-4 {
    width: 16px;
}
.w-5 {
    width: 20px;
}
.w-6 {
    width: 24px;
}
.w-8 {
    width: 32px;
}
.w-10 {
    width: 40px;
}
.w-16 {
    width: 64px;
}
.w-full {
    width: 100%;
}
.h-4 {
    height: 16px;
}
.h-5 {
    height: 20px;
}
.h-6 {
    height: 24px;
}
.h-8 {
    height: 32px;
}
.h-10 {
    height: 40px;
}
.h-16 {
    height: 64px;
}
.h-full {
    height: 100%;
}
.h-screen {
    height: 100vh;
}
.min-h-screen {
    min-height: 100vh;
}
.max-w-4xl {
    max-width: 596px;
}
.max-w-6xl {
    max-width: 72rem;
}
.max-w-7xl {
    max-width: 80rem;
}

/* Positioning */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.top-0 {
    top: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.bottom-0 {
    bottom: 0;
}
.z-10 {
    z-index: 10;
}
.z-50 {
    z-index: 50;
}

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

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}
.overflow-x-visible {
    overflow-x: visible;
}

/* Text */
.text-xs {
    font-size: 12px;
}
.text-sm {
    font-size: 14px;
}
.text-base {
    font-size: 16px;
}
.text-lg {
    font-size: 18px;
}
.text-xl {
    font-size: 20px;
}
.text-2xl {
    font-size: 24px;
}
.text-3xl {
    font-size: 30px;
}
.text-4xl {
    font-size: 36px;
}
.text-5xl {
    font-size: 48px;
}
.text-6xl {
    font-size: 60px;
}
.text-7xl {
    font-size: 72px;
}
.text-8xl {
    font-size: 96px;
}
.font-light {
    font-weight: 300;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

/* Colors */
.text-white {
    color: white;
}
.text-gray-400 {
    color: #9ca3af;
}
.text-gray-500 {
    color: #6b7280;
}
.text-gray-600 {
    color: #4b5563;
}
.text-gray-700 {
    color: #374151;
}
.text-gray-800 {
    color: #1f2937;
}
.text-gray-900 {
    color: #111827;
}
.text-blue-600 {
    color: #2563eb;
}
.text-blue-700 {
    color: #1d4ed8;
}
.text-purple-600 {
    color: #9333ea;
}
.text-purple-700 {
    color: #7c3aed;
}
.text-red-500 {
    color: #ef4444;
}
.text-red-600 {
    color: #dc2626;
}

.bg-white {
    background-color: white;
}
.bg-gray-50 {
    background-color: #f9fafb;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-gray-200 {
    background-color: #e5e7eb;
}
.bg-gray-800 {
    background-color: #1f2937;
}
.bg-blue-100 {
    background-color: #dbeafe;
}
.bg-blue-500 {
    background-color: #3b82f6;
}
.bg-blue-600 {
    background-color: #2563eb;
}
.bg-green-100 {
    background-color: #d1fae5;
}
.bg-purple-100 {
    background-color: #f3e8ff;
}
.bg-red-600 {
    background-color: #dc2626;
}

/* Borders */
.border {
    border-width: 1px;
}
.border-t {
    border-top-width: 1px;
}
.border-b {
    border-bottom-width: 1px;
}
.border-gray-200 {
    border-color: #e5e7eb;
}
.border-white {
    border-color: white;
}
.rounded {
    border-radius: 4px;
}
.rounded-md {
    border-radius: 6px;
}
.rounded-lg {
    border-radius: 8px;
}
.rounded-xl {
    border-radius: 12px;
}
.rounded-2xl {
    border-radius: 16px;
}
.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}
.shadow-2xl {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Transitions */
.transition-all {
    transition: all 0.2s;
}
.transition-colors {
    transition:
        color 0.2s,
        background-color 0.2s,
        border-color 0.2s;
}
.transition-transform {
    transition: transform 0.2s;
}
.duration-200 {
    transition-duration: 0.2s;
}
.duration-300 {
    transition-duration: 0.3s;
}
.duration-500 {
    transition-duration: 0.5s;
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}
.opacity-50 {
    opacity: 0.5;
}
.opacity-90 {
    opacity: 0.9;
}

/* Pointer Events */
.pointer-events-none {
    pointer-events: none;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aspect Ratio */
.aspect-video {
    aspect-ratio: 16/9;
}

/* Backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 24px;
        padding-right: 24px;
    }
    .sm\:text-4xl {
        font-size: 36px;
    }
    .sm\:text-base {
        font-size: 16px;
    }
    .sm\:mb-6 {
        margin-bottom: 24px;
    }
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:text-3xl {
        font-size: 30px;
    }
    .md\:text-5xl {
        font-size: 48px;
    }
    .md\:text-lg {
        font-size: 18px;
    }
    .md\:text-base {
        font-size: 16px;
    }
    .md\:mb-8 {
        margin-bottom: 32px;
    }
    .md\:px-4 {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 32px;
        padding-right: 32px;
    }
    .lg\:text-6xl {
        font-size: 60px;
    }
    .lg\:text-xl {
        font-size: 20px;
    }
    .lg\:mb-10 {
        margin-bottom: 40px;
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .xl\:text-7xl {
        font-size: 72px;
    }
    .xl\:text-2xl {
        font-size: 24px;
    }
}

@media (min-width: 1536px) {
    .\32xl\:text-8xl {
        font-size: 96px;
    }
    .\32xl\:text-3xl {
        font-size: 30px;
    }
}

/* 404 Page specific */
.not-found-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.not-found-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Layout utilities */
.layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: white;
}

.layout-main {
    flex-grow: 1;
    padding-top: 64px;
}

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

/* Positioning utilities */
.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    inset: 0;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Size utilities */
.full-size {
    width: 100%;
    height: 100%;
}

/* Icon sizes */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* Flex utilities */
.flex-center {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Margin utilities (bottom only) */
.mb-1 {
    margin-bottom: 4px;
}
.mb-2 {
    margin-bottom: 8px;
}
.mb-3 {
    margin-bottom: 12px;
}
.mb-4 {
    margin-bottom: 16px;
}
.mb-6 {
    margin-bottom: 24px;
}
.mb-8 {
    margin-bottom: 32px;
}
.mb-12 {
    margin-bottom: 48px;
}

.ml-2 {
    margin-left: 8px;
}
.ml-3 {
    margin-left: 12px;
}
.ml-4 {
    margin-left: 16px;
}

.mr-2 {
    margin-right: 8px;
}
.mr-3 {
    margin-right: 12px;
}
.mr-4 {
    margin-right: 16px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Padding utilities */
.p-2 {
    padding: 8px;
}
.p-4 {
    padding: 16px;
}
.p-6 {
    padding: 24px;
}
.p-8 {
    padding: 32px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}
.px-6 {
    padding-left: 24px;
    padding-right: 24px;
}
.px-8 {
    padding-left: 32px;
    padding-right: 32px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}
.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}
.py-6 {
    padding-top: 24px;
    padding-bottom: 24px;
}
.py-8 {
    padding-top: 32px;
    padding-bottom: 32px;
}
.py-12 {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Width utilities */
.w-full {
    width: 100%;
}
.w-8 {
    width: 32px;
}
.w-12 {
    width: 48px;
}
.w-16 {
    width: 64px;
}

/* Height utilities */
.h-full {
    height: 100%;
}
.h-8 {
    height: 32px;
}
.h-12 {
    height: 48px;
}
.h-16 {
    height: 64px;
}

/* Max width utilities */
.max-w-2xl {
    max-width: 672px;
}
.max-w-4xl {
    max-width: 896px;
}
.max-w-6xl {
    max-width: 1152px;
}
.max-w-7xl {
    max-width: 1280px;
}

/* Text utilities */
.text-center {
    text-align: center;
}
.text-white {
    color: white;
}
.text-sm {
    font-size: 14px;
}
.text-lg {
    font-size: 18px;
}
.text-xl {
    font-size: 20px;
}
.text-2xl {
    font-size: 24px;
}
.text-4xl {
    font-size: 36px;
}
.text-5xl {
    font-size: 48px;
}
.text-6xl {
    font-size: 60px;
}
.text-7xl {
    font-size: 72px;
}

.font-bold {
    font-weight: 700;
}
.font-semibold {
    font-weight: 600;
}
.font-medium {
    font-weight: 500;
}

/* Whitespace */
.whitespace-nowrap {
    white-space: nowrap;
}

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

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

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .md\:max-w-6xl {
        max-width: 1152px;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:max-w-7xl {
        max-width: 1280px;
    }
    .lg\:px-8 {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1280px) {
    .xl\:max-w-7xl {
        max-width: 1280px;
    }
}

/* Gap utilities */
.gap-2 {
    gap: 8px;
}
.gap-4 {
    gap: 16px;
}
.gap-6 {
    gap: 24px;
}
.gap-8 {
    gap: 32px;
}

/* Space utilities */
.space-x-2 > * + * {
    margin-left: 8px;
}
.space-y-2 > * {
    margin-bottom: 8px;
}
.space-y-2 > *:last-child {
    margin-bottom: 0;
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:hidden {
        display: none;
    }
    .sm\:px-6 {
        padding-left: 24px;
        padding-right: 24px;
    }
    .sm\:text-5xl {
        font-size: 48px;
    }
    .sm\:bottom-8 {
        bottom: 32px;
    }
}

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

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

/* Rounded utilities */
.rounded-full {
    border-radius: 9999px;
}

/* Background utilities */
.bg-white {
    background-color: white;
}
.bg-gray-200 {
    background-color: #e5e7eb;
}

/* Gradient utilities */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-black\/70 {
    --tw-gradient-from: rgba(0, 0, 0, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}
.to-transparent {
    --tw-gradient-to: transparent;
}

/* Flex utilities */
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}

/* Tracking */
.tracking-wider {
    letter-spacing: 0.05em;
}

/* Bottom positioning */
.bottom-0 {
    bottom: 0;
}
.bottom-4 {
    bottom: 16px;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.left-1\/2 {
    left: 50%;
}

/* Background color utilities */
.bg-blue-50 {
    background-color: #eff6ff;
}
.bg-blue-100 {
    background-color: #dbeafe;
}
.bg-blue-600 {
    background-color: #2563eb;
}
.bg-blue-700 {
    background-color: #1d4ed8;
}

.bg-green-100 {
    background-color: #dcfce7;
}
.bg-green-600 {
    background-color: #16a34a;
}

.bg-red-50 {
    background-color: #fef2f2;
}
.bg-red-100 {
    background-color: #fee2e2;
}
.bg-red-200 {
    background-color: #fecaca;
}
.bg-red-500 {
    background-color: #ef4444;
}
.bg-red-600 {
    background-color: #dc2626;
}
.bg-red-700 {
    background-color: #b91c1c;
}

.bg-yellow-100 {
    background-color: #fef3c7;
}
.bg-yellow-600 {
    background-color: #ca8a04;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}
.bg-purple-600 {
    background-color: #9333ea;
}

.bg-indigo-100 {
    background-color: #e0e7ff;
}
.bg-indigo-600 {
    background-color: #4f46e5;
}

.bg-orange-100 {
    background-color: #ffedd5;
}
.bg-orange-600 {
    background-color: #ea580c;
}

.bg-gray-50 {
    background-color: #f9fafb;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-gray-600 {
    background-color: #4b5563;
}

/* Text color utilities */
.text-blue-600 {
    color: #2563eb;
}
.text-blue-900 {
    color: #1e3a8a;
}
.text-green-600 {
    color: #16a34a;
}
.text-red-600 {
    color: #dc2626;
}
.text-red-700 {
    color: #b91c1c;
}
.text-red-800 {
    color: #991b1b;
}
.text-yellow-600 {
    color: #ca8a04;
}
.text-purple-600 {
    color: #9333ea;
}
.text-indigo-600 {
    color: #4f46e5;
}
.text-orange-600 {
    color: #ea580c;
}
.text-gray-500 {
    color: #6b7280;
}
.text-gray-600 {
    color: #4b5563;
}
.text-gray-700 {
    color: #374151;
}
.text-gray-800 {
    color: #1f2937;
}
.text-gray-900 {
    color: #111827;
}

/* Border utilities */
.border {
    border-width: 1px;
}
.border-b {
    border-bottom-width: 1px;
}
.border-gray-200 {
    border-color: #e5e7eb;
}
.border-red-200 {
    border-color: #fecaca;
}

/* Rounded utilities */
.rounded {
    border-radius: 4px;
}
.rounded-md {
    border-radius: 6px;
}
.rounded-lg {
    border-radius: 8px;
}

/* Shadow utilities */
.shadow {
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-md {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.shadow-lg {
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Hover utilities */
.hover\:shadow-md:hover {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}
.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}
.hover\:bg-red-200:hover {
    background-color: #fecaca;
}
.hover\:bg-red-700:hover {
    background-color: #b91c1c;
}

/* Transition utilities */
.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Z-index utilities */
.z-50 {
    z-index: 50;
}

/* Fixed positioning */
.fixed {
    position: fixed;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Opacity utilities */
.bg-opacity-50 {
    --tw-bg-opacity: 0.5;
}

/* Width utilities */
.w-4 {
    width: 16px;
}
.w-6 {
    width: 24px;
}
.w-10 {
    width: 40px;
}
.w-11\/12 {
    width: 91.666667%;
}

/* Height utilities */
.h-4 {
    height: 16px;
}
.h-6 {
    height: 24px;
}
.h-10 {
    height: 40px;
}

/* Min width utilities */
.min-w-full {
    min-width: 100%;
}

/* Divide utilities */
.divide-y > * + * {
    border-top-width: 1px;
}
.divide-gray-200 > * + * {
    border-color: #e5e7eb;
}

/* Whitespace utilities */
.whitespace-nowrap {
    white-space: nowrap;
}
.whitespace-pre-wrap {
    white-space: pre-wrap;
}

/* Uppercase */
.uppercase {
    text-transform: uppercase;
}

/* Font size utilities */
.text-xs {
    font-size: 12px;
}

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

/* Space utilities */
.space-x-3 > * + * {
    margin-left: 12px;
}
.space-y-6 > * {
    margin-bottom: 24px;
}
.space-y-6 > *:last-child {
    margin-bottom: 0;
}

/* Flex wrap */
.flex-wrap {
    flex-wrap: wrap;
}
.items-start {
    align-items: flex-start;
}

/* Inline utilities */
.inline-block {
    display: inline-block;
}
.inline-flex {
    display: inline-flex;
}

/* Responsive grid */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:w-1\/2 {
        width: 50%;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Responsive width */
@media (min-width: 768px) {
    .md\:w-3\/4 {
        width: 75%;
    }
}

/* Top positioning */
.top-20 {
    top: 80px;
}

/* Relative positioning */
.relative {
    position: relative;
}

/* Focus utilities */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.focus\:ring-blue-500:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
.focus\:ring-green-500:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.5);
}
.focus\:ring-red-500:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.5);
}
.focus\:ring-gray-500:focus {
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.5);
}
.focus\:ring-offset-2:focus {
    box-shadow:
        0 0 0 2px white,
        0 0 0 4px rgba(59, 130, 246, 0.5);
}
.focus\:border-blue-500:focus {
    border-color: #3b82f6;
}
.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Disabled utilities */
.disabled\:opacity-50:disabled {
    opacity: 0.5;
}
.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

/* Hover text color utilities */
.hover\:text-gray-700:hover {
    color: #374151;
}
.hover\:text-blue-600:hover {
    color: #2563eb;
}
.hover\:text-blue-800:hover {
    color: #1e40af;
}
.hover\:text-red-600:hover {
    color: #dc2626;
}
.hover\:text-red-800:hover {
    color: #991b1b;
}
.hover\:text-green-700:hover {
    color: #15803d;
}
.hover\:text-purple-700:hover {
    color: #7e22ce;
}
.hover\:text-orange-700:hover {
    color: #c2410c;
}

/* Hover background utilities */
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}
.hover\:bg-blue-600:hover {
    background-color: #2563eb;
}
.hover\:bg-green-700:hover {
    background-color: #15803d;
}
.hover\:bg-red-700:hover {
    background-color: #b91c1c;
}

/* Group hover utilities */
.group:hover .group-hover\:text-blue-600 {
    color: #2563eb;
}
.group:hover .group-hover\:bg-blue-600 {
    background-color: #2563eb;
}

/* Placeholder utilities */
.placeholder-gray-500::placeholder {
    color: #6b7280;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Flex shrink */
.flex-shrink-0 {
    flex-shrink: 0;
}
.flex-1 {
    flex: 1 1 0%;
}

/* Min width */
.min-w-0 {
    min-width: 0;
}

/* Text alignment */
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}

/* Duration utilities */
.duration-200 {
    transition-duration: 200ms;
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

/* Auto margin */
.mt-auto {
    margin-top: auto;
}

/* Responsive text sizes */
@media (min-width: 640px) {
    .sm\:text-6xl {
        font-size: 60px;
    }
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 60px;
    }
}

@media (min-width: 1024px) {
    .lg\:text-7xl {
        font-size: 72px;
    }
}

/* Prose (Typography) utilities */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose-lg {
    font-size: 18px;
    line-height: 1.75;
}

.prose h1 {
    color: #111827;
    font-weight: 800;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 32px;
    line-height: 1.1111111;
}

.prose h2 {
    color: #111827;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 24px;
    line-height: 1.3333333;
}

.prose h3 {
    color: #111827;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.prose p {
    margin-bottom: 20px;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #1d4ed8;
}

.prose strong {
    color: #111827;
    font-weight: 600;
}

.prose ul {
    list-style-type: disc;
    margin-bottom: 20px;
    padding-left: 26px;
}

.prose ol {
    list-style-type: decimal;
    margin-bottom: 20px;
    padding-left: 26px;
}

.prose li {
    margin-bottom: 8px;
}

.prose img {
    margin-bottom: 32px;
}

.prose code {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
}

.prose pre {
    color: #e5e7eb;
    background-color: #1f2937;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7142857;
    margin-bottom: 28px;
    border-radius: 6px;
    padding: 20px 24px;
}

.prose pre code {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

.prose table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.7142857;
}

.prose thead {
    border-bottom-width: 1px;
    border-bottom-color: #d1d5db;
}

.prose thead th {
    color: #111827;
    font-weight: 600;
    vertical-align: bottom;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
}

.prose tbody tr {
    border-bottom-width: 1px;
    border-bottom-color: #e5e7eb;
}

.prose tbody td {
    vertical-align: top;
    padding: 8px;
}

.max-w-none {
    max-width: none;
}

/* Animation utilities */
.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Border utilities */
.border-b-2 {
    border-bottom-width: 2px;
}
.border-t-blue-500 {
    border-top-color: #3b82f6;
}
.border-4 {
    border-width: 4px;
}
.border-gray-300 {
    border-color: #d1d5db;
}

/* Backdrop utilities */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* Gradient utilities - extended */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-pink-200 {
    --tw-gradient-from: #fbcfe8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 207, 232, 0));
}

.via-purple-200 {
    --tw-gradient-to: rgba(233, 213, 255, 0);
    --tw-gradient-stops:
        var(--tw-gradient-from), #e9d5ff, var(--tw-gradient-to, rgba(233, 213, 255, 0));
}

.to-blue-300 {
    --tw-gradient-to: #93c5fd;
}

/* Transform utilities */
.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.transform {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

/* Mix blend mode */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

/* Filter utilities */
.filter {
    filter: blur(0) brightness(1) contrast(1) grayscale(0) hue-rotate(0deg) invert(0) saturate(1)
        sepia(0) drop-shadow(0 0 0 transparent);
}

.blur-xl {
    filter: blur(24px);
}

/* Opacity utilities */
.opacity-70 {
    opacity: 0.7;
}
.opacity-80 {
    opacity: 0.8;
}

/* Text opacity */
.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Background opacity */
.bg-white\/30 {
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-green-50\/80 {
    background-color: rgba(240, 253, 244, 0.8);
}

.bg-red-50\/80 {
    background-color: rgba(254, 242, 242, 0.8);
}

.from-black\/70 {
    --tw-gradient-from: rgba(0, 0, 0, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

/* Border opacity */
.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.border-green-200 {
    border-color: #bbf7d0;
}

/* Height utilities */
.h-96 {
    height: 384px;
}
.h-80 {
    height: 320px;
}

/* Responsive height */
.h-\[75vh\] {
    height: 75vh;
}
.h-\[80vh\] {
    height: 80vh;
}

@media (min-width: 640px) {
    .sm\:h-\[80vh\] {
        height: 80vh;
    }
}

@media (min-width: 768px) {
    .md\:h-\[85vh\] {
        height: 85vh;
    }
}

@media (min-width: 1024px) {
    .lg\:h-\[90vh\] {
        height: 90vh;
    }
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .xl\:h-\[95vh\] {
        height: 95vh;
    }
}

/* Rounded utilities - extended */
.rounded-xl {
    border-radius: 12px;
}
.rounded-2xl {
    border-radius: 16px;
}

/* Shadow utilities - extended */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Width utilities - extended */
.w-96 {
    width: 384px;
}

/* Pointer events */
.pointer-events-none {
    pointer-events: none;
}

/* Semantic spacing classes */
.spacing-xs {
    margin-bottom: 4px;
}
.spacing-sm {
    margin-bottom: 8px;
}
.spacing-md {
    margin-bottom: 16px;
}
.spacing-lg {
    margin-bottom: 24px;
}
.spacing-xl {
    margin-bottom: 32px;
}

.section-spacing {
    margin-bottom: 16px;
}
.content-gap {
    margin-bottom: 12px;
}
.element-gap {
    margin-bottom: 8px;
}

/* Semantic text styles */
.text-comfortable {
    line-height: 1.75;
}
.text-relaxed {
    line-height: 1.625;
}
.text-tight {
    line-height: 1.25;
}

.text-small {
    font-size: 14px;
}
.text-body {
    font-size: 16px;
}
.text-large {
    font-size: 18px;
}
.text-heading {
    font-size: 24px;
}

.text-muted {
    color: #6b7280;
}
.text-primary {
    color: #111827;
}
.text-secondary {
    color: #4b5563;
}
.text-accent {
    color: #2563eb;
}

/* Semantic layout classes */
.container-narrow {
    max-width: 672px;
    margin: 0 auto;
}
.container-medium {
    max-width: 896px;
    margin: 0 auto;
}
.container-wide {
    max-width: 1152px;
    margin: 0 auto;
}
.container-full {
    max-width: 1280px;
    margin: 0 auto;
}

.content-padding {
    padding: 16px;
}
.content-padding-lg {
    padding: 24px;
}
.section-padding {
    padding: 32px 16px;
}

/* Semantic component classes */
.card-spacing {
    margin-bottom: 24px;
}
.form-field-spacing {
    margin-bottom: 16px;
}
.button-spacing {
    margin-bottom: 16px;
}

.icon-small {
    width: 16px;
    height: 16px;
}
.icon-medium {
    width: 24px;
    height: 24px;
}
.icon-large {
    width: 32px;
    height: 32px;
}

.badge-size {
    width: 32px;
    height: 32px;
}
.avatar-size {
    width: 40px;
    height: 40px;
}

/* Semantic state classes */
.loading-text {
    color: #6b7280;
}
.error-text {
    color: #dc2626;
}
.success-text {
    color: #16a34a;
}
.warning-text {
    color: #ca8a04;
}

.disabled-state {
    opacity: 0.5;
    cursor: not-allowed;
}
.interactive {
    cursor: pointer;
    transition: all 0.2s;
}

/* Semantic typography */
.heading-primary {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
}
.heading-secondary {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}
.heading-tertiary {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.body-text {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}
.caption-text {
    font-size: 14px;
    color: #6b7280;
}
.label-text {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

/* Semantic borders */
.border-light {
    border: 1px solid #e5e7eb;
}
.border-medium {
    border: 1px solid #d1d5db;
}
.border-dark {
    border: 1px solid #9ca3af;
}

.divider {
    border-top: 1px solid #e5e7eb;
}
.divider-thick {
    border-top: 2px solid #e5e7eb;
}

/* Semantic backgrounds */
.bg-surface {
    background-color: white;
}
.bg-subtle {
    background-color: #f9fafb;
}
.bg-muted {
    background-color: #f3f4f6;
}

/* Semantic shadows */
.shadow-subtle {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-card {
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.shadow-elevated {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Semantic rounded corners */
.rounded-small {
    border-radius: 4px;
}
.rounded-medium {
    border-radius: 6px;
}
.rounded-large {
    border-radius: 8px;
}
.rounded-xl {
    border-radius: 12px;
}
.rounded-full {
    border-radius: 9999px;
}
