@import "tailwindcss";

/* Z - INDEX */
.index-999{
    z-index: 999;
}

/* ===== SCROLLBAR GLOBAL ===== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #eef3ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 20px;
    border: 2px solid #eef3ff;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
}

/* ===== DARK MODE ===== */

html.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

html.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    border: 2px solid #0f172a;
}

html.dark ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

/* ===== FLEX ====== */
.flex-complect{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== FONTS ===== */

/* INTER */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-Regular.ttf');
    font-weight: 400;
}

.inter-700{
    font-family: 'Inter';
    font-weight: 700;
}

.inter-600{
    font-family: 'Inter';
    font-weight: 600;
}

.inter-500{
    font-family: 'Inter';
    font-weight: 500;
}

.inter-400{
    font-family: 'Inter';
    font-weight: 400;
}

/* JET BRAINS MONO */
@font-face {
    font-family: 'JetBrainsMono';
    src: url('fonts/JetBrainsMono-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('fonts/JetBrainsMono-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('fonts/JetBrainsMono-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('fonts/JetBrainsMono-Regular.ttf');
    font-weight: 400;
}

.mono-700{
    font-family: 'JetBrainsMono';
    font-weight: 700;
}

.mono-600{
    font-family: 'JetBrainsMono';
    font-weight: 600;
}

.mono-500{
    font-family: 'JetBrainsMono';
    font-weight: 500;
}

.mono-400{
    font-family: 'JetBrainsMono';
    font-weight: 400;
}

/* EXO 2 */
.exo-700{
    font-family: 'exo';
    font-weight: 700;
}

.exo-500{
    font-family: 'exo';
    font-weight: 500;
}

@font-face {
    font-family: 'exo';
    src: url('fonts/Exo2-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'exo';
    src: url('fonts/Exo2-Medium.ttf');
    font-weight: 500;
}


/* ===== BURGER ===== */
@media (max-width: 570px) {
    
    #nav-list.menu-hidden{
        opacity: 0;
        pointer-events: none;
        top: 0;
    }

    #nav-list.menu-show{
        opacity: 1;
        pointer-events: auto;
        top: 20px;
        transform: scale(1.05);
    }
}

/* HERO */

.hero-slide-bg-1 {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #eef3ff 0%, #e0ebff 50%, #f5f8ff 100%);
}

.hero-circle-outer { background: rgba(26,107,255,.07); }
.hero-circle-inner { background: rgba(26,107,255,.1); }

@keyframes floatUp { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.float-anim  { animation: floatUp 4s ease-in-out infinite; }  
.float-anim2 { animation: floatUp 4s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .6s ease both; }


/* SWIPER BUTTONS */
.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 1.5px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    margin: 10px;

}

@media (max-width: 1025px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 15px !important;
    color: #2563eb;
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(37,99,235,0.25);
}

.swiper-button-prev:active,
.swiper-button-next:active {
    transform: scale(0.92);
}

.heroSwiper .swiper-pagination {
    bottom: 10px !important;
}

.heroSwiper .swiper-pagination-bullet {
    width: 16px;
    height: 5px;
    border-radius: 2px;
    background: #cbd5f5;
    opacity: 1;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    width: 22px;
    background: #2563eb;
}

/* PRODUCT PAGINATION */
.myProductSwiper .swiper-pagination {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0 !important;
    transform: translateY(-5px); 
    z-index: 20;
}

.myProductSwiper .swiper-pagination-bullet {
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #cbd5f5;
    opacity: 1;
    transition: all 0.3s ease;
}

.myProductSwiper .swiper-pagination-bullet-active {
    width: 22px;
    background: #2563eb;
}

/* PRODUCT CARD */
.product-card {
    background: #fff; border-radius: 22px;
    border: 1.5px solid rgba(26,107,255,.07); overflow: hidden;
    transition: all .3s cubic-bezier(.34,1.2,.64,1); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(26,107,255,.22); box-shadow: 0 24px 60px rgba(26,107,255,.12); }

.product-img-wrap {
    background: linear-gradient(135deg,#eef3ff,#e0ebff); padding: 28px; height: 250px;
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.prod-emoji { font-size: 5.5rem; transition: transform .35s ease; display: block; }
.product-card:hover .prod-emoji { transform: scale(1.08) translateY(-4px); }
.img-overlay {
    position: absolute; inset: 0; background: rgba(13,20,34,.45);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    opacity: 0; transition: opacity .25s;
}
.product-card:hover .img-overlay { opacity: 1; }
.overlay-btn {
    width: 42px; height: 42px; border-radius: 12px; background: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    transition: all .2s; transform: translateY(10px); text-decoration: none;
}
.product-card:hover .overlay-btn { transform: translateY(0); }
.product-card:hover .overlay-btn:nth-child(2) { transition-delay: .05s; }
.overlay-btn:hover { background: var(--blue); }
.overlay-btn:hover span { filter: brightness(10); }

.badge {
    position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff;
    font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; letter-spacing: .05em;
}
.badge-red   { background: #ff3b30; }
.badge-green { background: #28c76f; }

.stars-wrap { color: #ffc107; letter-spacing: 1px; font-size: .85rem; }

.progress-bar-wrap { background: #eef3ff; border-radius: 99px; height: 5px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 99px; }
.progress-ok  { background: #28c76f; width: 75%; }
.progress-mid { background: #ff8c00; width: 38%; }
.progress-low { background: #ff3b30; width: 13%; }

/* Gradient block */
.gradient-hover {
  background: linear-gradient(to bottom right, rgba(37,99,235,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.group:hover .gradient-hover {
  opacity: 1;
}

.productThumbsSwiper .swiper-slide-thumb-active .thumb-item {
    border-color: #2563eb; 
    background: #eff6ff;
}