:root {
    --primary-color: #DB2A5B;
    --bg-color: #FFFFFF;
    --text-color: #333333;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.main-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 998;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    height: 45px;
    cursor: pointer;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.center-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.center-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.center-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.center-menu a:hover {
    color: var(--primary-color);
}

.sidebar-header, .mobile-icon, .mobile-menu-btn, .close-menu-btn, .menu-overlay {
    display: none; 
}
.m-note, .mobile-divider, .mobile-signin-text, .mobile-social-proof {
    display: none;
}

.right-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.sign-in-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.sign-in-btn:hover {
    color: var(--primary-color);
}

.get-started-btn {
    text-decoration: none;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.get-started-btn:hover {
    background-color: #b9204a;
    box-shadow: 0 4px 10px rgba(219, 42, 91, 0.3);
}

/* --- Mobile View Styling --- */
@media screen and (max-width: 992px) {
    .nav-container {
        position: fixed;
        top: 0;
        bottom: 0; 
        right: -320px; 
        width: 320px;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 25px 20px 60px; 
        box-sizing: border-box;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        border-top-left-radius: 25px;
        border-bottom-left-radius: 25px;
    }

    .nav-container.active {
        right: 0;
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .sidebar-logo {
        height: 35px;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        color: var(--primary-color);
        cursor: pointer;
    }

    .close-menu-btn {
        display: block;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-menu-btn:hover {
        color: var(--primary-color);
    }

    .center-menu {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .center-menu ul {
        flex-direction: column;
        gap: 5px;
    }

    .center-menu a {
        display: flex;
        align-items: flex-start; 
        padding: 12px 15px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .center-menu a:hover {
        background-color: #fdf2f5;
        transform: translateX(8px);
    }

    .mobile-icon {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 38px;
        height: 38px;
        background-color: #fdf2f5;
        border-radius: 10px;
        color: var(--primary-color);
        font-size: 16px;
        margin-right: 15px;
        flex-shrink: 0; 
        transition: all 0.3s ease;
    }

    .center-menu a:hover .mobile-icon {
        background-color: var(--primary-color);
        color: #ffffff;
    }

    .menu-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .m-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-color);
    }

    .m-note {
        display: block;
        font-size: 12px;
        color: #888888;
        margin-top: 3px;
        font-weight: 400;
    }

    .center-menu a:hover .m-title {
        color: var(--primary-color);
    }

    .right-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px; 
    }

    .desktop-signin {
        display: none; 
    }

    .get-started-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 14px;
        border-radius: 50px;
    }

    .mobile-divider {
        display: block;
        width: 100%;
        height: 1px;
        background-color: #eaeaea;
        margin: 10px 0;
    }

    .mobile-signin-text {
        display: block;
        font-size: 14px;
        color: #666666;
        text-align: center;
        width: 100%;
    }

    .mobile-signin-text a {
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
        margin-left: 5px;
    }

    .mobile-signin-text a:hover {
        text-decoration: underline;
    }

    /* --- යාවත්කාලීන කළ Mobile Social Proof (Ratings) --- */
    .mobile-social-proof {
        display: flex;
        flex-direction: row; 
        justify-content: center; 
        align-items: center;
        width: 100%;
        margin-top: 30px; 
        padding-top: 20px;
        border-top: 1px solid #eaeaea;
        gap: 15px; /* Divider එකට ඉඩ තැබීමට පරතරය වෙනස් කර ඇත */
    }

    .social-badge {
        display: flex;
        flex-direction: row; 
        align-items: center;
        justify-content: center;
        gap: 6px; 
        flex: 0 1 auto; 
    }

    .social-divider {
        color: #d1d1d1;
        font-size: 16px;
        font-weight: 300;
        display: flex;
        align-items: center;
    }

    .social-badge i, .custom-svg-icon {
        font-size: 16px; 
        width: 16px;
        height: 16px;
        margin-bottom: 0; 
        flex-shrink: 0;
    }

    .fb-icon { color: #1877F2; }

    .badge-text {
        font-size: 11px; 
        color: #666666; /* පැරණි වර්ණය මදක් අඳුරු කර ඇත */
        font-weight: 500; /* සාමාන්‍ය අකුරු වල ඝනකම මදක් අඩු කර ඇත */
        white-space: nowrap; 
    }

    .highlight-text {
        font-weight: 800; /* 5.0 සහ 100% තදින් පෙන්වීම */
        color: #333333;
        font-size: 11.5px; /* අංක මදක් විශාල කර ඇත */
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        display: block;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}