/* *
 * Essential Tailwind-like Utilities
 * Hand-picked utilities for the static site */
/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-block {
    display: inline-block;
}

.grid {
    display: grid;
}

/* Grid System Enhanced */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive grid */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* 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;
}

/* Sizing */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-16 {
    height: 64px;
}

.w-96 {
    width: 384px;
}

.h-96 {
    height: 384px;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-2xl {
    max-width: 672px;
}

.max-w-3xl {
    max-width: 768px;
}

.max-w-4xl {
    max-width: 896px;
}

.max-w-5xl {
    max-width: 1024px;
}

.max-w-6xl {
    max-width: 1152px;
}

.max-w-7xl {
    max-width: 1280px;
}

.max-w-md {
    max-width: 448px;
}

.max-w-lg {
    max-width: 512px;
}

/* Spacing */
.p-6 {
    padding: 24px;
}

.px-6 {
    padding-left: 24px;
    padding-right: 24px;
}

.px-8 {
    padding-left: 32px;
    padding-right: 32px;
}

.px-10 {
    padding-left: 40px;
    padding-right: 40px;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.py-12 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.py-32 {
    padding-top: 128px;
    padding-bottom: 128px;
}

.pt-16 {
    padding-top: 64px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-12 {
    margin-top: 48px;
}

.mt-16 {
    margin-top: 64px;
}

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

/* Gap */
.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.gap-8 {
    gap: 32px;
}

.space-x-8 > * + * {
    margin-left: 32px;
}

/* Text */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-xs {
    font-size: 12px;
}

.text-sm {
    font-size: 14px;
}

.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-8xl {
    font-size: 96px;
}

.text-9xl {
    font-size: 128px;
}

/* Font Weight */
.font-thin {
    font-weight: 100;
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Letter Spacing */
.tracking-wide {
    letter-spacing: 0.025em;
}

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

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Line Height */
.leading-relaxed {
    line-height: 1.625;
}

/* Text Colors */
.text-frost {
    color: var(--frost);
}

.text-cyan {
    color: var(--cyan);
}

.text-gold {
    color: var(--gold);
}

.text-muted {
    opacity: 0.7;
}

.text-gray-100 {
    color: #f7fafc;
}

.text-gray-200 {
    color: #edf2f7;
}

.text-gray-300 {
    color: #e2e8f0;
}

.text-gray-400 {
    color: #cbd5e0;
}

.text-cyan-400 {
    color: #36d1dc;
}

.text-cyan-500 {
    color: var(--cyan);
}

/* Text Opacity */
.text-opacity-40 {
    --tw-text-opacity: 0.4;
}

.text-opacity-60 {
    --tw-text-opacity: 0.6;
}

.text-opacity-70 {
    --tw-text-opacity: 0.7;
}

.text-opacity-80 {
    --tw-text-opacity: 0.8;
}

/* Background */
.bg-gray-800 {
    background-color: #2d3748;
}

.bg-opacity-30 {
    --tw-bg-opacity: 0.3;
}

.bg-opacity-50 {
    --tw-bg-opacity: 0.5;
}

/* Border */
.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-800 {
    border-color: #2d3748;
}

.border-cyan-500 {
    border-color: var(--cyan);
}

.border-opacity-20 {
    --tw-border-opacity: 0.2;
}

.border-opacity-30 {
    --tw-border-opacity: 0.3;
}

.border-opacity-50 {
    --tw-border-opacity: 0.5;
}

/* Border Radius */
.rounded-lg {
    border-radius: 8px;
}

.rounded-full {
    border-radius: 9999px;
}

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

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

/* Transform */
.transform {
    /* transform: var(--tw-transform) */
}

.-translate-x-1\/2 {
    transform: translateX(-15%);
}

.-translate-y-4 {
    transform: translateY(-16px);
}

.translate-y-4 {
    transform: translateY(16px);
}

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

/* Transitions */
.transition-all {
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.backdrop-blur {
    backdrop-filter: blur(8px);
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-transparent {
    --tw-gradient-from: transparent;
}

.via-cyan-500 {
    --tw-gradient-via: var(--cyan);
}

.via-opacity-5 {
    --tw-gradient-via-opacity: 0.05;
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.from-black {
    --tw-gradient-from: #000000;
}

.from-opacity-20 {
    --tw-gradient-from-opacity: 0.2;
}

/* Hover states */
.hover\:text-cyan:hover {
    color: var(--cyan);
}

.hover\:text-gray-100:hover {
    color: #f7fafc;
}

/* Responsive */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:text-2xl {
        font-size: 24px;
    }

    .md\:text-3xl {
        font-size: 30px;
    }

    .md\:text-5xl {
        font-size: 48px;
    }

    .md\:text-6xl {
        font-size: 60px;
    }

    .md\:text-9xl {
        font-size: 128px;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }

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