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

/* Navigation Link Styling */
.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.025em;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 8px 0; /* Creates space for the underline without changing nav height */
    color: #94a3b8; /* slate-400 */
}

.nav-link:hover {
    color: #3ecf8e;
}

.nav-link.active {
    color: #ffffff;
}

/* Underline logic using absolute positioning so it doesn't affect height */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3ecf8e;
    box-shadow: 0 2px 10px rgba(62, 207, 142, 0.3);
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #0F172A; 
    color: white; 
    -webkit-font-smoothing: antialiased;
    background-image: 
        linear-gradient(rgba(62, 207, 142, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 207, 142, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-attachment: fixed;
}

.emerald-gradient {
    background: linear-gradient(90deg, #3ECF8E 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* REVOLVING LIGHT BUTTON EFFECT */
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.btn-revolve {
    position: relative; z-index: 0; overflow: hidden; padding: 2px; display: inline-block; border-radius: 12px; transition: transform 0.3s ease;
}

.btn-revolve::before {
    content: ''; position: absolute; z-index: -2; left: -50%; top: -50%; width: 200%; height: 200%;
    background-image: conic-gradient(transparent, transparent, #ffffff, transparent);
    animation: rotate 3s linear infinite;
}

.btn-revolve::after {
    content: ''; position: absolute; z-index: -1; left: 2px; top: 2px; width: calc(100% - 4px); height: calc(100% - 4px);
    background: linear-gradient(90deg, #3ECF8E 0%, #06B6D4 100%);
    border-radius: 10px;
}

.btn-revolve:hover { transform: scale(1.03); }

/* AI BOX & SCANNER */
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.pulse-led { animation: pulse-soft 2s infinite ease-in-out; }

@keyframes scan { 0% { left: -100%; } 100% { left: 100%; } }
.scanner { 
    position: absolute; top: 0; left: 0; width: 40%; height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); 
    animation: scan 3s infinite linear; 
}

.card-glow:hover {
    border-color: rgba(62, 207, 142, 0.5);
    box-shadow: 0 0 40px rgba(62, 207, 142, 0.1);
    transform: translateY(-5px);
}

/* MOBILE FIXES */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; line-height: 1.2 !important; }
    h2 { font-size: 2rem !important; }
    .btn-revolve button { padding: 12px 20px !important; font-size: 14px !important; }
    .mobile-hide { display: none !important; }
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; z-index: 100;
    background: #25D366; color: white; padding: 12px; border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}