@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --text-main: #334155;
    --bg-light: #f8fafc;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden !important;
    width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

.site-wrapper {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

@media (max-width: 640px) {
    h1 { font-size: 2.5rem !important; line-height: 1.2 !important; }
    h2 { font-size: 2rem !important; }
    .text-7xl { font-size: 3rem !important; }
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Poppins', sans-serif;
}

.nav-link-ltr {
    position: relative;
}

.nav-link-ltr::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--accent);
    transition: width .3s ease;
    -webkit-transition: width .3s ease;
}

.nav-link-ltr:hover::after {
    width: 100%;
    left: 0;
    background: var(--accent);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-gradient {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.02), transparent);
}

.product-card:hover img {
    transform: scale(1.05);
}

.transition-all-300 {
    transition: all 0.3s ease;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0f172a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #2563eb;
    transform: translateY(-5px);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .process-step::after { display: none; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
