/* Modern Aesthetic Variables for kalvexIt */
:root {
    --primary-color: #0d6efd; /* Strong Blue */
    --secondary-color: #1a1e29;
    --accent-color: #0dcaf0; /* Cyan */
    --dark-color: #080b12; /* Deep background */
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #198754; /* Virel POS specific */
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-color);
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

.fw-500 {
    font-weight: 500;
}

/* Typography & Colors */
.text-accent { color: var(--accent-color) !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4facfe 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #00d2ff 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #2ecc71 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3) !important;
}

.text-light-opacity { color: rgba(255, 255, 255, 0.7); }
.tracking-wide { letter-spacing: 0.15em; }

/* Navbar */
.transition-navbar { transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }

.navbar-scrolled {
    background-color: rgba(8, 11, 18, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 40%; }

/* Utilities */
.focus-none:focus {
    box-shadow: none !important;
    outline: none !important;
}

.focus-ring-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.hover-scale { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-scale:hover { transform: translateY(-3px); }

.cursor-pointer { cursor: pointer; }
.hover-bg-light { transition: background-color 0.2s; }
.hover-bg-light:hover { background-color: #f1f3f5 !important; }

.hover-text-white { transition: color 0.2s; }
.hover-text-white:hover { color: white !important; }

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1) !important;
}

.opacity-05 { opacity: 0.05; }
.blur-xl { filter: blur(100px); }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Glassmorphism */
.bg-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sections */
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.section-dark { background-color: var(--secondary-color); color: white; }

/* Hero Section */
.hero-section {
    background: var(--dark-color);
    min-height: 100vh;
}

.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
    animation: pulseGlow 8s infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(13, 110, 253, 0.3);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(13, 202, 240, 0.2);
    animation-delay: -4s;
}

.glass-mockup {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
}

.shadow-mockup {
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Services */
.pattern-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 32px 32px;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover, .service-card.active-card {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.15) !important;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

/* POS Section */
.pos-mockup {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.pos-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.pos-item-card {
    transition: all 0.2s ease;
}
.pos-item-card:hover {
    border-color: var(--success-color) !important;
    transform: scale(1.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.drop-in {
    animation: dropIn 1s cubic-bezier(0.5, 0, 0, 1) forwards;
    opacity: 0;
    transform: translateY(-40px);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.slide-in-right {
    animation: slideInRight 1s cubic-bezier(0.5, 0, 0, 1) forwards;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.float-anim-1 { animation: float 6s ease-in-out infinite; }
.float-anim-2 { animation: float 8s ease-in-out infinite reverse; }

.pulse-soft { animation: pulseSoft 3s infinite; }
.transform-rotate { transform: rotate(-3deg) scale(1.05); }

@keyframes dropIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}
@keyframes pulseSoft {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
    70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Contact bg */
.bg-map {
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="white" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.05);
    }
    
    .pos-mockup {
        transform: none !important;
        margin-top: 40px;
    }
}

/* Logo Styles */
.logo-img {
    transition: transform 0.3s ease;
    object-fit: contain;
}

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

.brightness-high {
    filter: brightness(1.1);
}

