/* Cards Stack Component - EXACT implementation from cards-stack.md */

/* Container styles - EXACT from spec */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.min-h-svh {
    min-height: 100svh;
}

.min-h-400vh {
    min-height: 400vh; /* min-h-[400vh] */
}

.min-h-500vh {
    min-height: 500vh; /* min-h-[500vh] */
}

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

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

.bg-stone-50 {
    background-color: #fafaf9;
}

.bg-slate-900 {
    background-color: #0f172a;
}

.bg-indigo-950 {
    background-color: #1e1b4b;
}

.bg-indigo-900 {
    background-color: #312e81;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.xl-px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.text-stone-900 {
    color: #1c1917;
}

.text-stone-50 {
    color: #fafaf9;
}

.text-zinc-50 {
    color: #fafafa;
}

/* Grid layout - EXACT from spec */
.grid {
    display: grid;
}

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

.md-gap-8 {
    gap: 2rem;
}

.xl-gap-12 {
    gap: 3rem;
}

/* Sticky positioning - EXACT from spec */
.sticky {
    position: sticky;
}

.md-sticky {
    position: sticky;
}

.md-h-svh {
    height: 100svh;
}

.md-py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ContainerScroll - EXACT from spec */
.container-scroll {
    position: relative;
}

/* CardSticky - EXACT from spec */
.card-sticky {
    position: sticky;
    backface-visibility: hidden;
}

/* Typography - EXACT from spec */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

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

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

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

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

/* Colors - EXACT from spec */
.text-indigo-500 {
    color: #6366f1;
}

.text-foreground {
    color: #0f172a;
}

.text-muted {
    color: #64748b;
}

.text-muted-80 {
    color: rgba(100, 116, 139, 0.8);
}

/* Layout - EXACT from spec */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

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

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

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

.gap-1 {
    gap: 0.25rem;
}

.gap-4 {
    gap: 1rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

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

.w-420px {
    width: 420px; /* w-[420px] */
}

.h-72 {
    height: 18rem;
}

.size-full {
    width: 100%;
    height: 100%;
}

.max-w-prose {
    max-width: 65ch;
}

/* Spacing - EXACT from spec */
.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Borders and effects - EXACT from spec */
.border {
    border-width: 1px;
    border-style: solid;
    border-color: #e5e7eb;
}

.border-current {
    border-color: currentColor;
}

.border-x-indigo-900 {
    border-left-color: #312e81;
    border-right-color: #312e81;
}

.border-y-indigo-500 {
    border-top-color: #6366f1;
    border-bottom-color: #6366f1;
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.overflow-hidden {
    overflow: hidden;
}

/* Text alignment - EXACT from spec */
.text-center {
    text-align: center;
}

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

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

/* Opacity - EXACT from spec */
.opacity-80 {
    opacity: 0.8;
}

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

/* Responsive design */
@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-gap-8 {
        gap: 2rem;
    }

    .md-sticky {
        position: sticky;
    }

    .md-h-svh {
        height: 100svh;
    }

    .md-py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 1280px) {
    .xl-gap-12 {
        gap: 3rem;
    }

    .xl-px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .w-420px {
        width: 320px;
    }

    .h-72 {
        height: 14rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }

    .text-4xl {
        font-size: 1.875rem;
    }

    .text-2xl {
        font-size: 1.25rem;
    }

    .p-8 {
        padding: 1.5rem;
    }

    .p-12 {
        padding: 2rem;
    }
}