﻿/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter var', sans-serif;
    color: #0f172a;
    background-color: #ffffff;
}

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

.flex {
    display: flex;
}

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

.flex-1 {
    flex: 1 1 0%;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.w-full {
    width: 100%;
}

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

.mb-10 {
    margin-bottom: 2.5rem;
}

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

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

.mr-4 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

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

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

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

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

/* Header */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

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

.glass {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.border-b {
    border-bottom-width: 1px;
}

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

.border {
    border-width: 1px;
}

.border-black\/5 {
    border-color: rgba(0, 0, 0, 0.05);
}

.border-black {
    border-color: #000;
}

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

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

.items-start {
    align-items: flex-start;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

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

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

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

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

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

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

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

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

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

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

.leading-relaxed {
    line-height: 1.625;
}

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

.text-white {
    color: #fff;
}

.text-primary {
    color: rgba(15, 23, 42, 1);
}

/* Product Image */
.product-image-container {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    perspective: 1000px;
}

.product-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    animation: scale-in 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

    .product-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        animation: blur-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }

    .product-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
        pointer-events: none;
    }

/* Buttons */
.bg-black {
    background-color: #000;
}

.bg-transparent {
    background-color: transparent;
}

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

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

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:bg-black\/5:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

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

.hover\:text-black\/70:hover {
    color: rgba(0, 0, 0, 0.7);
}

.hover\:text-foreground:hover {
    color: rgba(15, 23, 42, 1);
}

.p-2 {
    padding: 0.5rem;
}

.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.max-w-xs {
    max-width: 20rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-fill-mode: both;
}

    .detail-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .detail-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .detail-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .detail-item:nth-child(4) {
        animation-delay: 0.4s;
    }

.animate-fade-up {
    animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-fade-in {
    animation: fade-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blur-in {
    0% {
        opacity: 0;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Footer */
.mt-16 {
    margin-top: 4rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Media Queries */
@media (min-width: 640px) {
    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

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

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

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

    .md\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}
