

.telegram-chat-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 998;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
    /* CRITICAL: Prevents the "stuck in click state" look */
    border: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.telegram-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.telegram-chat-btn:active {
    transform: scale(0.95);
}

.telegram-chat-btn i {
    color: #ffffff;
    font-size: 32px;
    pointer-events: none; /* Prevents the icon from stealing the click highlight */
}

.telegram-modal {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 999;
    overflow: hidden;
}

/* Animation for when JS opens it */
@keyframes slideUpTg {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.telegram-modal-header {
    background: linear-gradient(135deg, #0088cc, #00aaff);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telegram-modal-header h4 {
    margin: 0;
    font-size: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.telegram-modal-close {
    cursor: pointer;
    font-size: 18px;
    color: white;
    background: none;
    border: none;
    padding: 4px;
}

.telegram-modal-body {
    padding: 20px;
}

.telegram-modal-body p {
    margin: 0 0 15px 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
}

.telegram-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.telegram-input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333333;
}

.telegram-start-btn {
    width: 100%;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.telegram-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* Fallback WhatsApp link styling */
.telegram-modal-body a {
    color: #0088cc;
    text-decoration: underline;
}


/* ========================================
   MOBILE STYLES
   ======================================== */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden !important;
        -webkit-text-size-adjust: 100%;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ========================================
       1. HAMBURGER FIX (High Specificity)
       ======================================== */
    nav.navbar .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        cursor: pointer !important;
        z-index: 1050 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        -webkit-appearance: none !important;
    }

    nav.navbar .nav-toggle span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background: var(--color-secondary) !important;
        border-radius: 2px !important;
        transition: all 0.35s cubic-bezier(.4,2,.6,1) !important;
        transform-origin: center !important;
    }

    nav.navbar .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    nav.navbar .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }

    nav.navbar .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    /* NAVBAR */
    .navbar {
        position: sticky !important;
        top: 0 !important;
        background: rgba(10, 11, 26, 0.95) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    .navbar .container {
        height: 64px !important;
        padding: 0 16px !important;
    }

    /* ========================================
       2. FULL-SCREEN MENU OVERLAY FIX
       Kills backdrop-filter trap when open
       ======================================== */
    body.menu-open .navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(10, 11, 26, 1) !important;
    }

        body.menu-open::before {
        content: "" !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 990 !important; /* Lowered to sit BELOW Telegram (998) and Nova widgets */
    }

    /* Hide menu by default */
    nav.navbar .nav-menu {
        display: none !important;
    }

    /* MOBILE MENU - SPACIOUS & TAPPABLE */
    nav.navbar .nav-menu.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(10, 11, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 40px 28px !important;
        padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 6px !important;
        z-index: 1040 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    nav.navbar .nav-menu.active li {
        width: 100% !important;
    }

    nav.navbar .nav-menu.active .nav-link {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 20px 24px !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        color: var(--color-neutral-light) !important;
        border-radius: 16px !important;
        text-align: left !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
    }

    nav.navbar .nav-menu.active .nav-link:hover,
    nav.navbar .nav-menu.active .nav-link:active {
        background: rgba(0, 240, 255, 0.08) !important;
        color: #ffffff !important;
        transform: translateX(4px) !important;
    }

    /* Big prominent CTA at the bottom */
    nav.navbar .nav-menu.active .nav-cta {
        margin-left: 0 !important;
        margin-top: 24px !important;
        text-align: center !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        padding: 20px 24px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3) !important;
    }

    /* ========================================
       3. HERO SECTION FIX
       ======================================== */
    .hero {
        padding: 100px 0 40px !important;
        min-height: auto !important;
    }

    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero-content {
        text-align: center !important;
    }

    .hero-badge { justify-content: center !important; }
    .hero-subtitle { margin-left: auto !important; margin-right: auto !important; }
    
    .hero-benefits {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-ctas {
        justify-content: center !important;
        flex-direction: column !important;
    }

    .btn-large {
        width: 100% !important;
        max-width: 320px !important;
    }

    .hero-trust {
        justify-content: center !important;
        gap: 24px !important;
        flex-wrap: wrap !important;
    }

    /* ========================================
       4. DASHBOARD MOCKUP FIX
       ======================================== */
    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dashboard-mockup {
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        animation: none !important; 
        transform: none !important;
    }

    .mockup-header {
        padding: 12px 14px !important;
    }

    .mockup-title {
        font-size: 11px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Convert sidebar grid to horizontal tabs */
    .mockup-body {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
    }

    .mockup-sidebar {
        display: flex !important;
        flex-direction: row !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(138, 143, 153, 0.1) !important;
        padding: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Hide scrollbar */
    .mockup-sidebar::-webkit-scrollbar { display: none; }
    .mockup-sidebar { scrollbar-width: none; }

    .sidebar-item {
        padding: 12px 16px !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        border-bottom: 2px solid transparent !important;
        flex-shrink: 0 !important;
    }

    .sidebar-item.active {
        border-bottom-color: var(--color-secondary) !important;
        background: rgba(0, 240, 255, 0.05) !important;
    }

    /* Lead content area */
    .mockup-content {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .lead-card {
        padding: 14px !important;
        margin-bottom: 0 !important;
    }

    .lead-card:hover { transform: none !important; }

    .lead-name { font-size: 14px !important; }
    .lead-message { font-size: 12px !important; }
    
    .lead-ai {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    /* ========================================
       5. WIDGET ALIGNMENT FIX
       ======================================== */
      
    /* Nova Widget (Bottom right corner) */
    .nova-widget {
        bottom: 16px !important;
        right: 16px !important;
    }

    .nova-toggle {
        width: 54px !important;
        height: 54px !important;
        animation: none !important;
        transform: none !important;
    }

    .nova-toggle:hover {
        transform: scale(1.1) !important;
    }

    .nova-icon {
        animation: none !important;
    }

    .nova-chat {
        position: fixed !important;
        bottom: 80px !important;
        right: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-width: none !important;
        height: 70vh !important;
        max-height: 550px !important;
        border-radius: 16px !important;
    }

    /* Telegram Button (Sits directly above Nova) */
    .telegram-chat-btn {
        position: fixed !important;
        bottom: 84px !important;
        right: 22px !important;
        width: 46px !important;
        height: 46px !important;
        z-index: 998 !important;
        animation: none !important;
        box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3) !important;
    }

    .telegram-chat-btn i {
        font-size: 24px !important;
    }

    /* Telegram Modal */
    .telegram-modal {
        position: fixed !important;
        bottom: 140px !important;
        right: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        z-index: 999 !important;
    }

    /* ========================================
       6. SECTIONS GENERAL FIX
       ======================================== */
    .section { padding: 64px 0 !important; }
    
    .section-title { font-size: 26px !important; margin-bottom: 12px !important; }
    .section-subtitle { font-size: 15px !important; }

    .problem-grid,
    .feature-grid,
    .testimonial-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .solution-steps {
        flex-direction: column !important;
    }

    .step-arrow {
        transform: rotate(90deg) !important;
        padding: 8px 0 !important;
    }

    .cta-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .cta-trust {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .pricing-teaser-plans {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .plan-mini {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px 16px !important;
        background: var(--bg-card) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(138, 143, 153, 0.1) !important;
    }

    /* Footer */
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        text-align: center !important;
    }

    .footer-social { justify-content: center !important; }
    
    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
    }
}

/* ========================================
   DESKTOP (Ensure menu stays normal)
   ======================================== */
@media (min-width: 769px) {
    nav.navbar .nav-toggle {
        display: none !important;
    }
}
```