.navbar{
    backdrop-filter: blur(20px);
    transition: all .3s ease;
}

.navbar-brand{
    font-weight:800;
    font-size:1.5rem;
}

.brand-dot {
    color: #ef4444 !important;
    -webkit-text-fill-color: #ef4444 !important;
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -0.16em;
    line-height: 0;
    margin: 0 0.5px;
}

.brand-accent {
    background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link{
    font-weight:500;
    position:relative;
}

.feature-card {

    background: white;

    padding: 35px;

    border-radius: 20px;

    height: 100%;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);

    transition: all .3s ease;
}

.feature-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

.feature-icon {

    font-size: 40px;

    color: var(--primary);

    margin-bottom: 20px;

    display: block;
}

/* ==================================
   PREMIUM PRICING
================================== */

.pricing-section{
    padding:120px 0;
    background:#f8fafc;
    position:relative;
}

[data-theme="dark"] .pricing-section{
    background: #090e1a !important;
    background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%), linear-gradient(180deg, #090e1a 0%, #0f172a 100%) !important;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(79,70,229,.08);
    color:#4f46e5;
    font-weight:600;
    margin-bottom:20px;
}

.pricing-title{
    font-size:3rem;
    font-weight:800;
    margin-bottom:15px;
}

.pricing-subtitle{
    color:#64748b;
    font-size:1.1rem;
}

.pricing-card-modern{

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.6);

    border-radius:28px;

    padding:40px;

    transition:.4s;

    box-shadow:
        0 20px 50px rgba(15,23,42,.08);

    height:100%;
}

.pricing-card-modern:hover{

    transform:
        translateY(-12px);

    box-shadow:
        0 40px 80px rgba(79,70,229,.15);
}

.price{

    font-size:4rem;

    font-weight:800;

    color:#0f172a;

    margin-top:20px;
}

.price-text{

    color:#64748b;

    display:block;

    margin-bottom:30px;
}

.pricing-feature{

    margin-bottom:14px;

    font-size:15px;
}

.pricing-feature i{

    color:#4f46e5;

    margin-right:10px;
}

.popular{

    border:2px solid #4f46e5;

    transform:scale(1.05);

    box-shadow:
        0 20px 60px rgba(79,70,229,.25);
}

.popular-tag{

    position:absolute;

    top:-14px;

    left:50%;

    transform:translateX(-50%);

    background:linear-gradient(
        135deg,
        #4f46e5,
        #7c3aed
    );

    color:white;

    padding:8px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;
}


.popular-badge{
    position:absolute;
    top:-12px;
    right:20px;
    background:var(--primary);
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
}

.cta-box{
    background:linear-gradient(
        135deg,
        var(--primary),
        #6366f1
    );
    color:#fff;
    padding:80px 40px;
    border-radius:24px;
    text-align:center;
}

/* ==========================
   PREMIUM FOOTER
========================== */
.footer-modern{
    position:relative;
    background:#0B1120;
    color:#fff;
    overflow:hidden;
    padding-top:100px;
}

.footer-modern::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(99,102,241,.15);
    filter:blur(120px);
    top:-200px;
    left:-200px;
    pointer-events: none !important;
    z-index: 0;
}

.footer-modern::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(6,182,212,.15);
    filter:blur(120px);
    bottom:-250px;
    right:-250px;
    pointer-events: none !important;
    z-index: 0;
}

.footer-brand{
    max-width:350px;
    position: relative;
    z-index: 2;
}

.footer-title{
    font-weight:700;
    margin-bottom:20px;
    position: relative;
    z-index: 2;
}

.footer-links{
    list-style:none;
    padding:0;
    position: relative;
    z-index: 2;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#CBD5E1;
    text-decoration:none;
    transition:.3s;
    position: relative;
    z-index: 5;
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover{
    color:#fff;
    padding-left:5px;
}

.footer-divider{
    border-color:rgba(255,255,255,.1);
}

.footer-social{
    display:flex;
    gap:15px;
}

.footer-social a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    color:#fff;
    text-decoration:none;
}

.footer-cta{
    margin-top:100px;
}

.footer-cta-box{
    background:linear-gradient(
        135deg,
        #4F46E5,
        #6366F1
    );

    padding:80px;
    border-radius:32px;
    text-align:center;
    color:#fff;

    box-shadow:
        0 25px 80px rgba(
            79,
            70,
            229,
            .35
        );
}

.pricing-feature{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #f1f5f9;
}

.pricing-feature:last-child{
    border-bottom:none;
}

.pricing-feature i{
    color:#10b981;
    font-size:18px;
}

.pricing-price{
    font-size:56px;
    font-weight:800;
    color:#0f172a;
    margin:20px 0;
}

.pricing-price small{
    font-size:16px;
    color:#64748b;
    font-weight:500;
}


/* ==========================
   LOGIN BUTTON
========================== */

.btn-login{
    background:#fff;
    border:1px solid var(--border);
    color:var(--dark);
    padding:14px 28px;
    border-radius:14px;
    font-weight:600;
    transition:.3s;
}

.btn-login:hover{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(79,70,229,.25);
}

/* ==================================
   HERO CTA BUTTONS
================================== */

.hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:30px;
}

.hero-btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 32px;

    background:linear-gradient(
        135deg,
        #4F46E5,
        #6366F1
    );

    color:#fff;
    text-decoration:none;

    border-radius:16px;
    font-weight:700;
    font-size:16px;

    transition:.3s;

    box-shadow:
        0 10px 30px rgba(79,70,229,.25);
}

.hero-btn-primary:hover{
    color:#fff;
    transform:translateY(-4px);

    box-shadow:
        0 20px 40px rgba(79,70,229,.35);
}

.hero-btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 32px;

    background:#fff;
    color:#0f172a;
    text-decoration:none;

    border:1px solid #e2e8f0;
    border-radius:16px;

    font-weight:700;
    font-size:16px;

    transition:.3s;
}

.hero-btn-secondary:hover{
    color:#4F46E5;

    border-color:#4F46E5;

    transform:translateY(-4px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.08);
}

@media(max-width:768px){

    .hero-actions{
        flex-direction:column;
    }

    .hero-btn-primary,
    .hero-btn-secondary{
        width:100%;
    }

}

/* ==================================
   NAVBAR ACTIVE LINK
================================== */

.navbar-nav .nav-link{
    position:relative;
    color:#475569;
    font-weight:600;
    transition:.3s;
    padding:8px 14px !important;
}

.navbar-nav .nav-link:hover{
    color:#4F46E5;
}

.navbar-nav .nav-link.active{
    color:#4F46E5 !important;
    font-weight:700;
}

.navbar{
    backdrop-filter:blur(20px);
    background:rgba(255,255,255,.85)!important;
    box-shadow:0 1px 20px rgba(0,0,0,.04);
}

/* ==================================
   PREMIUM FAQ
================================== */

.faq-section{
    background:#f8fafc;
}

.faq-title{
    font-size:3rem;
    font-weight:800;
    color:#0f172a;
}

.faq-subtitle{
    color:#64748b;
}

.custom-faq .accordion-item{
    border:none;
    margin-bottom:20px;
    border-radius:24px !important;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.custom-faq .accordion-button{
    padding:28px;
    font-size:20px;
    font-weight:600;
    background:#fff;
    color:#0f172a;
    box-shadow:none;
}

.custom-faq .accordion-button:not(.collapsed){
    background:linear-gradient(
        135deg,
        #4F46E5,
        #6366F1
    );
    color:#fff;
}

.custom-faq .accordion-button:focus{
    box-shadow:none;
}

.custom-faq .accordion-body{
    padding:30px;
    color:#64748b;
    font-size:18px;
    line-height:1.8;
}

.custom-faq .accordion-button::after{
    background-size:18px;
}

.navbar-logo-icon{

    width:42px;
    height:42px;

    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
    linear-gradient(
        135deg,
        #4F46E5,
        #7C3AED
    );

    color:#fff;
}

.navbar-brand{
    font-size:24px;
    font-weight:800 !important;
}

/* =========================================================
   Narrow Left-Center Vertical Scroll Progress Strip
   ========================================================= */
.scroll-progress-strip {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    user-select: none;
    cursor: pointer;
}

.scroll-progress-strip-track {
    width: 3.5px;
    height: 120px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: width 0.2s ease, background 0.3s ease;
}

.scroll-progress-strip:hover .scroll-progress-strip-track {
    width: 5px;
}

[data-theme="dark"] .scroll-progress-strip-track {
    background: rgba(255, 255, 255, 0.16);
}

/* Dynamic Gradient Fill */
.scroll-progress-strip-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border-radius: 4px;
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
    transition: height 0.05s ease-out;
}

/* Mobile top slim progress bar */
.scroll-progress-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5 0%, #a855f7 100%);
    z-index: 1100;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
    transition: width 0.05s ease-out;
}

/* =========================================================
   Floating Quick Scroll Toggle (Single Smart Button)
   ========================================================= */
.scroll-toggle-btn {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
}

[data-theme="dark"] .scroll-toggle-btn {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.55), 0 0 20px rgba(99, 102, 241, 0.18);
}

.scroll-toggle-btn:focus,
.scroll-toggle-btn:focus-visible {
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-toggle-btn:hover {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.08);
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    }
}

.scroll-toggle-btn:active {
    transform: translateY(0) scale(0.95);
}

.scroll-toggle-btn i {
    transition: transform 0.25s ease;
}

@media (max-width: 768px) {
    .scroll-progress-strip {
        display: none !important;
    }
    .scroll-progress-top-bar {
        display: block;
    }
    .scroll-toggle-btn {
        right: 16px;
        bottom: 18px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}