/*
Theme Name: Technoleet
Theme URI: https://technoleet.com/
Description: Premium Enterprise Software & Cloud SaaS WordPress Theme.
Author: Technoleet Team
Author URI: https://technoleet.com/
Version: 1.0.0
Text Domain: technoleet
*/

:root {
    --primary: #0066FF;
    --primary-light: #388EFF;
    --primary-dark: #0048CE;
    --accent-cyan: #00D2FF;
    --accent-emerald: #10B981;
    --accent-purple: #8B5CF6;
    --text-heading: #0F172A;
    --text-body: #475569;
    --bg-light: #ffffff;
    --bg-page: #F8FAFC;
    
    /* Gradients */
    --gradient-text: linear-gradient(135deg, #0066FF 0%, #00D2FF 50%, #8B5CF6 100%);
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
    --gradient-dark: linear-gradient(135deg, #060C19 0%, #0F172A 100%);
    
    /* Node Colors */
    --node-blue: #0066FF;
    --node-orange: #FF7A00;
    --node-green: #10B981;
    --node-purple: #8B5CF6;
    --node-red: #F43F5E;
    --node-teal: #06B6D4;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: flex-end;
}

ul.nav-links,
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item,
ul.nav-links > li,
.nav-links > li {
    position: relative;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.nav-links a.nav-link,
ul.nav-links li a,
.nav-links li a {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a.nav-link::after,
ul.nav-links li a::after,
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a.nav-link:hover,
ul.nav-links li a:hover,
.nav-links li a:hover {
    color: var(--primary);
}

.nav-links a.nav-link:hover::after,
ul.nav-links li a:hover::after,
.nav-links li a:hover::after {
    width: 100%;
}

/* Submenu dropdowns for WordPress native menu */
.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

ul.sub-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    width: 230px;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    list-style: none;
}

li:hover > ul.sub-menu,
.nav-item:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

ul.sub-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
}

ul.sub-menu li a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-heading);
}

ul.sub-menu li a:hover {
    background: #f0f7ff;
    color: var(--primary);
}

/* Dropdowns & Mega Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    width: 250px;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
}

.nav-item:hover > .dropdown-menu,
li:hover > .dropdown-menu,
li.menu-item-has-children:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-heading);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f0f7ff;
    color: var(--primary);
}

/* Mega Menu */
.megamenu {
    position: absolute;
    top: 100%;
    left: -150px;
    width: 960px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(16, 24, 40, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
}

.nav-item:hover > .megamenu,
li:hover > .megamenu,
li.menu-item-has-children:hover > .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.text-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
}
.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-round {
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 24px;
    color: var(--primary);
}
.btn-outline-round:hover {
    border-color: var(--primary);
    background-color: rgba(0, 126, 221, 0.05);
}

.btn-primary-round {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50px;
    padding: 10px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 126, 221, 0.3);
}
.btn-primary-round:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 126, 221, 0.4);
}

.btn-primary-large {
    background: linear-gradient(135deg, #0380de, #33b794);
    color: white;
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 16px;
    border: none;
    box-shadow: 0 8px 20px rgba(51, 183, 148, 0.3);
}
.btn-primary-large:hover {
    background: linear-gradient(135deg, #026bb8, #2a9b7c);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(51, 183, 148, 0.4);
}

.btn-outline-large {
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 16px;
    color: var(--text-heading);
}
.btn-outline-large:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(0,126,221,0.02);
}

/* Hero Section */
.hero {
    padding: 90px 0;
    background: 
        radial-gradient(circle at 85% 20%, rgba(0, 102, 255, 0.08) 0%, rgba(0, 210, 255, 0.04) 40%, transparent 70%),
        radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
        #ffffff;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-cursor {
    display: inline-block;
    margin-left: 4px;
    font-weight: 700;
    color: #007edd;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-illustration {
    flex: 1;
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-hub {
    background: white;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    z-index: 10;
    position: relative;
}

.center-hub p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 4px;
}

.center-hub strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-heading);
}

.center-hub span {
    color: var(--primary);
    font-weight: 500;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.orbit-line {
    fill: none;
    stroke: rgba(0, 126, 221, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.floating-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    z-index: 5;
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.floating-node:hover {
    transform: scale(1.1) !important;
    cursor: pointer;
}

.bg-blue { background: var(--node-blue); box-shadow: 0 10px 25px rgba(0, 145, 255, 0.4); }
.bg-orange { background: var(--node-orange); box-shadow: 0 10px 25px rgba(254, 131, 43, 0.4); }
.bg-green { background: var(--node-green); box-shadow: 0 10px 25px rgba(36, 177, 142, 0.4); }
.bg-purple { background: var(--node-purple); box-shadow: 0 10px 25px rgba(122, 79, 250, 0.4); }
.bg-red { background: var(--node-red); box-shadow: 0 10px 25px rgba(230, 27, 115, 0.4); }
.bg-teal { background: var(--node-teal); box-shadow: 0 10px 25px rgba(29, 184, 170, 0.4); }

.node-1 { top: 22%; left: 18%; animation-delay: 0s; }
.node-2 { top: 55%; left: 12%; animation-delay: 1s; }
.node-3 { top: 80%; left: 25%; animation-delay: 2s; }
.node-4 { top: 12%; left: 45%; animation-delay: 1.5s; }
.node-5 { top: 20%; right: 20%; animation-delay: 0.5s; }
.node-6 { top: 10%; right: 2%; animation-delay: 2.5s; }
.node-7 { top: 45%; right: 8%; animation-delay: 1.2s; }
.node-8 { top: 70%; right: 18%; animation-delay: 0.3s; }
.node-9 { top: 85%; right: 5%; animation-delay: 2.1s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 1100px) {
    .nav-menu { gap: 20px; }
    .nav-links { gap: 16px; }
    .hero-content h1 { font-size: 54px; }
    .center-hub { width: 200px; height: 200px; }
    .floating-node { width: 50px; height: 50px; }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { margin: 0 auto 32px auto; }
    .hero-buttons { justify-content: center; }
    .hero-illustration {
        width: 100%;
        max-width: 600px;
        margin-top: 40px;
    }
    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 30px;
        height: 21px;
    }
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-heading);
        height: 3px;
        width: 100%;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
    }
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    .nav-toggle-label span::before { bottom: 9px; }
    .nav-toggle-label span::after { top: 9px; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-bottom: 1px solid #e5e7eb;
        align-items: stretch;
        gap: 20px;
    }
    .nav-toggle:checked ~ .nav-menu { display: flex; }
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: left;
        gap: 12px;
        margin-bottom: 20px;
        align-items: stretch;
    }
    .nav-item { width: 100%; padding: 4px 0; }
    .nav-links a.nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        font-size: 15px;
    }
    .dropdown-menu,
    .megamenu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #f1f5f9 !important;
        background: #ffffff !important;
        padding: 16px !important;
        margin-top: 8px !important;
        border-radius: 16px !important;
        display: none;
    }
    .nav-item.mobile-expanded > .dropdown-menu,
    .nav-item.mobile-expanded > .megamenu,
    .nav-item:hover > .dropdown-menu,
    .nav-item:hover > .megamenu {
        display: block !important;
    }
    .megamenu .grid-cols-12 {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .megamenu .col-span-4 {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 12px;
    }
    .megamenu .col-span-4:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 36px; }
    .hero-content p { font-size: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary-large, .btn-outline-large { width: 100%; }
    .hero-illustration { height: 400px; }
    .center-hub { width: 150px; height: 150px; }
    .center-hub strong { font-size: 18px; }
    .floating-node { width: 40px; height: 40px; }
    .floating-node svg { width: 20px; height: 20px; }
}

/* Stat & Metrics */
@keyframes dataPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes lineGlow {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes flowBar {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-data-pulse { animation: dataPulse 4s ease-in-out infinite; }
.animate-flow-bar {
    background-size: 200% 200%;
    animation: flowBar 3s ease infinite;
}

.stat-card-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 30px rgba(0, 126, 221, 0.12);
}

.dark-stat-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-stat-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 35px rgba(56, 189, 248, 0.15);
}

.counter-val { font-variant-numeric: tabular-nums; }

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.animate-marquee:hover { animation-play-state: paused; }

.tech-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 126, 221, 0.08);
    border-color: rgba(0, 126, 221, 0.2);
}

@keyframes pulseWave {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.orbit-pulse-ring { animation: pulseWave 3s cubic-bezier(0, 0.2, 0.8, 1) infinite; }

.tech-card-item { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.tech-card-item.hidden-card {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    pointer-events: none;
    display: none !important;
}

.code-tab-btn.active-code-tab {
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

.filter-tab-btn.active-filter {
    background-color: #007EDD;
    color: #ffffff;
    border-color: #007EDD;
    box-shadow: 0 4px 14px rgba(0, 126, 221, 0.3);
}

#stats {
    background: linear-gradient(180deg, #060c19 0%, #0a1428 100%) !important;
    color: #ffffff;
}
#stats h2 { color: #ffffff !important; }
#stats p { color: #94a3b8 !important; }
#stats .stat-card-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}
#stats .stat-card-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.25);
}
#stats .counter-val {
    background: linear-gradient(135deg, #00D2FF 0%, #388EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#stats .time-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}
#stats .time-tab-btn.active-time-tab {
    background: linear-gradient(135deg, #0066FF, #00D2FF);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(16, 24, 40, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: 32px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: scale(0.92) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 32px;
}
.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.modal-close-btn:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #007EDD;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 126, 221, 0.4);
    border: none;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#back-to-top.show-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: #0060ad;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 126, 221, 0.5);
}

#toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    background: #101828;
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.nav-links a.nav-link.active-scroll {
    color: var(--primary);
}
.nav-links a.nav-link.active-scroll::after {
    width: 100%;
}

.typing-cursor {
    color: var(--primary);
    font-weight: 800;
    margin-left: 2px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 992px) {
    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-heading);
        height: 3px;
        width: 100%;
        border-radius: 3px;
        position: relative;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }

    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: #ffffff;
        flex-direction: column;
        padding: 24px 20px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        border-bottom: 1px solid #e2e8f0;
        align-items: stretch;
        gap: 16px;
        z-index: 999;
    }
    @media (max-width: 1024px) {
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #f1f5f9;
        cursor: pointer;
        z-index: 110;
        position: relative;
        transition: all 0.2s ease;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: #0f172a;
        height: 2.5px;
        width: 22px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        top: -7px;
    }

    .nav-toggle-label span::after {
        bottom: -7px;
    }

    /* Animate Hamburger into X */
    .nav-toggle:checked ~ .nav-toggle-label span,
    .navbar.menu-open .nav-toggle-label span {
        background: transparent !important;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::before,
    .navbar.menu-open .nav-toggle-label span::before {
        top: 0 !important;
        transform: rotate(45deg);
        background: #0066ff !important;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::after,
    .navbar.menu-open .nav-toggle-label span::after {
        bottom: 0 !important;
        transform: rotate(-45deg);
        background: #0066ff !important;
    }

    /* Mobile Menu Drawer */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 20px 32px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid #e2e8f0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: none;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-toggle:checked ~ .nav-menu,
    .navbar.menu-open .nav-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: left;
        gap: 8px;
        margin-bottom: 16px;
        align-items: stretch;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        position: relative;
    }

    .nav-links a.nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 14px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        font-size: 15px;
        font-weight: 700;
        color: var(--text-heading);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .nav-links a.nav-link:hover,
    .nav-item.open > a.nav-link,
    .nav-item.mobile-expanded > a.nav-link {
        background: #f0f7ff;
        border-color: #bfdbfe;
        color: var(--primary);
    }

    /* Chevron rotation */
    .nav-links a.nav-link i,
    .nav-links a.nav-link [data-lucide="chevron-down"] {
        transition: transform 0.3s ease;
        margin-left: auto;
    }

    .nav-item.open > a.nav-link i,
    .nav-item.open > a.nav-link [data-lucide="chevron-down"],
    .nav-item.mobile-expanded > a.nav-link i,
    .nav-item.mobile-expanded > a.nav-link [data-lucide="chevron-down"] {
        transform: rotate(180deg);
        color: var(--primary);
    }

    /* Mobile Submenu & Mega Menu Accordion */
    ul.sub-menu,
    .dropdown-menu,
    .megamenu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        padding: 12px !important;
        margin-top: 6px !important;
        border-radius: 16px !important;
        display: none !important;
    }

    .nav-item.open > ul.sub-menu,
    .nav-item.open > .dropdown-menu,
    .nav-item.open > .megamenu,
    .nav-item.mobile-expanded > ul.sub-menu,
    .nav-item.mobile-expanded > .dropdown-menu,
    .nav-item.mobile-expanded > .megamenu {
        display: block !important;
    }

    /* Convert Mega Menu Grid to Clean Vertical Stack on Mobile */
    .megamenu .grid,
    .megamenu .grid-cols-12 {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .megamenu .col-span-4 {
        border-right: none !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .dropdown-item {
        padding: 10px 12px !important;
        background: #f8fafc !important;
        margin-bottom: 6px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
    }

    .dropdown-item:last-child {
        margin-bottom: 0 !important;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
    }

    .nav-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
    }
}
