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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #ec4899;
    --navy: #1e293b;
    --navy-light: #334155;
    --light: #ffffff;
    --gray: #64748b;
    --gray-light: #f1f5f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--secondary);
}

/* ── NAVBAR ── */
.navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.navbar-brand:hover {
    transform: translateX(3px);
}
.navbar-brand .brand-icon {
    width: 45px; 
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}
.navbar-brand:hover .brand-icon {
    transform: rotate(5deg) scale(1.1);
}
.navbar-brand .brand-text span { 
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}
.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}
.nav-link:hover, 
.nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.btn-call {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    color: white !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
.btn-call:hover::before {
    left: 100%;
}
.btn-call:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
    color: white !important;
}
.btn-call i {
    animation: ring 2s ease-in-out infinite;
}
@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 20% { transform: rotate(15deg); }
    15%, 25% { transform: rotate(-15deg); }
    30% { transform: rotate(0deg); }
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.navbar-toggler:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── MOBILE ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        margin-top: 16px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,0.15);
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    .navbar-nav { text-align: center; gap: 4px; }
    .nav-link { 
        padding: 14px 18px !important; 
        font-size: 1rem;
    }
    .btn-call { 
        margin-top: 16px; 
        width: 100%; 
        justify-content: center; 
        font-size: 1rem; 
        padding: 16px 28px; 
    }
    .navbar-brand .brand-text { font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .navbar { padding: 12px 0; }
    .navbar-brand { font-size: 0.85rem; gap: 10px; }
    .navbar-brand .brand-icon { 
        width: 38px; 
        height: 38px; 
        font-size: 0.95rem; 
        border-radius: 10px; 
    }
    .navbar-brand .brand-text { 
        font-size: 0.8rem; 
        line-height: 1.3; 
    }
    .navbar-brand .brand-text span { font-size: 0.75rem; }
}
