/* Typography & Global Utility Styles */

html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1E293B;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Layout & Visual Effects Styles */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

nav a{
    position: relative;
    padding: 4px 9px;
    text-decoration: none;
}

nav a::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2C8124;
    transform: scaleX(0);
    transition: transform 0.2s ease-in-out;
    transform-origin: center;
}

nav a:hover::after{
    transform: scaleX(1);
}

.hero-gradient-overlay {
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.88) 0%, rgba(10, 37, 64, 0.72) 60%, rgba(10, 37, 64, 0.92) 100%);
}

.num-watermark {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1;
    color: #E2E8F0;
    opacity: 0.45;
    transition: all 0.3s ease;
}

.product-card:hover .num-watermark {
    color: #00A896;
    opacity: 0.25;
    transform: translateY(-4px);
}

.product-item .product-title{
    font-size: 18px;
}

.pulse-dot {
    box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.7);
    animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.8);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 168, 150, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 150, 0);
    }
}

.custom-scroll::-webkit-scrollbar {
    height: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

@keyframes icon-shake {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    20% {
        transform: rotate(-10deg) scale(1.08);
    }

    40% {
        transform: rotate(10deg) scale(1.12);
    }

    60% {
        transform: rotate(-6deg) scale(1.1);
    }

    80% {
        transform: rotate(6deg) scale(1.06);
    }
}

.group:hover .card-bg-icon i {
    animation: icon-shake 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    transform-origin: center center;
}

@media (max-width:767px) {
    .product-item .product-title{
        font-size: 16px;
    }
}