/* =============================================================================
   CV Tools BD - Original Clean SaaS Styling
   Lead Developer: Muvin Khan | WhatsApp: 01736096918
============================================================================= */

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

:root {
    --primary-green: #00C853;
    --dark-green: #2E7D32;
    --green-gradient: linear-gradient(135deg, #00C853 0%, #2E7D32 100%);
    --light-bg: #F8FAF9;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --card-shadow: 0 10px 25px -5px rgba(0, 200, 83, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    padding-bottom: 75px; /* Mobile bottom nav space */
    overflow-x: hidden;
}

/* 1. Navbar (Strict Single Line - Never Breaks) */
.navbar-custom {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* Rotating Circle Logo */
.logo-loader-container {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 200, 83, 0.15);
    border-top: 3px solid var(--primary-green);
    border-right: 3px solid var(--dark-green);
    border-radius: 50%;
    animation: ringRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.logo-icon {
    font-size: 18px;
    color: var(--primary-green);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* 2. Green Gradient & Pill Buttons */
.btn-green-gradient {
    background: var(--green-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: 35px;
    font-weight: 600;
    padding: 12px 28px;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-green-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.btn-outline-pill {
    background: #ffffff;
    color: var(--text-dark) !important;
    border: 1.5px solid var(--border-color);
    border-radius: 35px;
    font-weight: 600;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-outline-pill:hover {
    border-color: var(--primary-green);
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

/* 3. Cards & Widgets */
.saas-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease;
}
.saas-card:hover {
    transform: translateY(-2px);
}

/* Score Circle 78% */
.score-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-green) 280deg, #E2E8F0 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.score-circle-inner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    color: var(--text-dark);
}

/* Category Pills */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.category-pill:hover, .category-pill.active {
    background: #F0FDF4;
    border-color: var(--primary-green);
    color: var(--dark-green);
    font-weight: 600;
}

/* 4. Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #edf2f7;
    z-index: 1040;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
}
.mobile-bottom-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 500;
}
.mobile-bottom-nav a.active {
    color: var(--primary-green);
    font-weight: 700;
}
.mobile-bottom-nav i {
    font-size: 20px;
    margin-bottom: 2px;
}