/* --- Premium Reset & Base --- */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 3.5L11.5 19.5L14.5 12.5L21.5 9.5L5.5 3.5Z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"), auto;
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
    background-color: #FFFDF5;
}

a, button, .cursor-pointer, select, input {
    cursor: pointer;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

.glass-shine {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.glass-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

.tab-btn {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    color: #4b5563;
    border: 1.5px solid rgba(229, 231, 235, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(8px);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn.active {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background-color: #fff;
    color: #000000;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(249,250,251,0.95) 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.5;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.content-transition {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-transition.fade-out {
    opacity: 0.3;
    transform: translateY(15px);
}

.premium-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    font-family: 'Lato', sans-serif;
}

.btn-premium.btn-black {
    background-color: #000000;
    color: #ffffff;
}

.btn-premium.btn-black:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-premium:hover svg {
    color: inherit; 
}

.product-card {
    background: rgba(255,255,255,0.4); 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s ease;
    color: #374151;
}

.product-card:hover {
    background: rgba(255,255,255,0.95);
    color: #000000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.8);
    z-index: 10;
}

.product-card h3 {
    color: #111827;
    transition: color 0.3s;
}

.product-card:hover h3 {
    color: #000000;
}

.product-card p {
    color: #4b5563;
    transition: color 0.3s;
}

.product-card:hover p {
    color: #333333;
}

.product-card .icon-box {
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.product-card:hover .icon-box {
    background: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

.product-card:hover .icon-box i {
    color: #ffffff;
}

.arrow-anim-box {
    position: relative;
    width: 1em;
    height: 1em;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arrow-anim-box svg {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
    height: 100%;
}

.arrow-anim-box svg:first-child {
    transform: translate(0, 0);
}

.arrow-anim-box svg:last-child {
    transform: translate(-100%, 100%);
}

.group:hover .arrow-anim-box svg:first-child {
    transform: translate(100%, -100%);
}

.group:hover .arrow-anim-box svg:last-child {
    transform: translate(0, 0);
}

.multi-gradient-text {
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

@media (max-width: 768px) {
    .text-5xl { font-size: 2.25rem; }
    .text-7xl { font-size: 3rem; }
    .gap-12 { gap: 2rem; }
}
