@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --color-sand: #f8f5f1;
    --color-ink: #0b0b0b;
    --color-gold: #d4af37;
    --color-copper: #a26c5b;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-sand);
    color: var(--color-ink);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #d4af37; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b08d2b; 
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Premium Buttons */
.btn-primary {
    background: var(--color-ink);
    color: white;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-ink);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background: transparent;
    color: var(--color-ink);
    border: 1px solid var(--color-ink);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-ink);
    color: white;
}

/* Navigation Links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--color-ink);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* POS Specific Styles */
.pos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.pos-card {
    cursor: pointer;
    transition: transform 0.2s;
}
.pos-card:active {
    transform: scale(0.95);
}

/* Custom Cursor (Fine pointers only) */
@media (pointer: fine) {
    .cursor-dot,
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--color-ink);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(11, 11, 11, 0.5);
        transition: width 0.2s, height 0.2s, background-color 0.2s, left 0.1s, top 0.1s;
    }
    
    body.hovering .cursor-outline {
        width: 60px;
        height: 60px;
        background-color: rgba(11, 11, 11, 0.1);
        border-color: transparent;
    }
}
