
:root {
    /* ── Sidebar widths ── */
    --sidebar-slim-w: 66px;
    --sidebar-expanded-w: 200px;
    --color-5001DE: #5001DE;
    --color-count-card: #5001DE;

    /* ── Brand / Primary ── */
    --color-primary:         #5001DE;
    --color-suggestion-hover:         #5001DE;
    --color-primary-hover:   #6A65FF;
    --color-primary-light:   #F5F0FF;
    --color-primary-lighter: #EFE8FF;
    --color-primary-faint:   #FDFBFF;
    --color-primary-alpha:   #4e01de49;

    /* ── Gradients ── */
    --grad-main:       linear-gradient(90deg, #6A65FF 0%, #EA7EE6 100%);
    --grad-main-rev:   linear-gradient(90deg, #EA7EE6 0%, #6A65FF 100%);
    --grad-text:       linear-gradient(90deg, #6A65FF 32.21%, #EA7EE6 87.98%);
    --grad-dark-theme: linear-gradient(180deg, #7E3BFF 0%, #5A00FF 100%);
    --grad-search:     linear-gradient(100deg, #6A65FF 0%, #EA7EE6 100%);
    --grad-page-bg:    linear-gradient(180deg, #FFFFFF 0%, #EEE6F8 50%, #FFFFFF 100%);
    --grad-page-bg-card: linear-gradient(180deg, #FFFFFF 0%, #F3ECFA 50%, #FFFFFF 100%);

    /* ── Text ── */
    --color-text-dark:        black;
    --color-text-white:        #fff;
    --color-text-light:        #fff;
    --color-text-body:        #4A495C;
    --color-text-muted:       #9B98B0;
    --color-text-utility3:      #9F9EAC;
    --color-text-heading:     #111827;
    --color-text-black:       #111;
    --color-text-near-black:  #171717;
    --color-text-card:        #333240;
    --color-text-gray1:       #374151;
    --color-text-gray2:       #3A394D;
    --color-text-gray3:       #4A495C;
    --color-text-gray4:       #1f2937;
    --color-text-gray5:       #4b5563;
    --color-text-purple-alt:  #6c47ff;
    --color-text-footer:      #9CA3AF;
    --color-text-footer-copy: #6a618c;
    --color-text-utility1:    #E2DEE8;
    --color-text-utility2:    #9CA3AF;
    --color-text-1A1A1A:      #1A1A1A;
    --color-text-92929D:      #92929D;
    --color-black-white:      black;

    /* ── Borders ── */
    --color-border-light:    #E9ECF0;
    --color-border-medium:   #E3E0E8;
    --color-border-card:     #EAE8ED;
    --color-border-tool:     #DAD6E0;
    --color-border-mobile-tool: #F1EDF7;
    --color-border-search:   #E0DFE1;
    --color-border-trust:    #E3DFEB;
    --color-border-nav:      #E2DCEA;
    --color-border-faq:      #e6e5e7;
    --color-border-mobile:   #e5e7eb;
    --color-border-divider:  #f3f4f6;
    --color-border-price:    #F2F2F2;
    --color-border-input-search:    #4A495C;
    --color-border-black10:  #00000010;
    --color-border-white10:  rgba(255, 255, 255, 0.1);
    --color-border-white8:   #58447C;
    --color-border-white26:  #FFFFFF26;
    --color-border-input:  #DAD6E0;
    --color-border-success: #18AF7B;
    --color-border-warning: #FC9C21;
    --color-border-danger: #FF282C;
    --color-border-primary: #5001DE;
    --color-border-F3F4F6:     #F3F4F6;
    --color-border-e6e8ed: #E6E8ED;
    --color-border-E5E7EB: #E5E7EB;
    --color-border-EAEAEA: #EAEAEA;
    --color-border-EBEBEBA: #EBEBEB;

    /* ── Backgrounds ── */
    --color-bg-white:         #fff;
    --color-bg-black:         black;
    --color-bg-tools-sec:     #FAF7FE;
    --color-bg-white-faint:   #FAFAFF;
    --color-bg-sidebar-icon:  #F6F6F7;
    --color-bg-menu-pane:     #F6F2FD;
    --color-bg-browse-btn:    #F1EEF7;
    --color-bg-marquee-mask:  #f4edfb;
    --color-bg-tool-icon:     #F5F0FF;
    --color-bg-tool-icon-alt: #F6F1FF;
    --color-bg-tool-hover:    #F7F2FF;
    --color-bg-view-more:     #F3EEFF;
    --color-bg-card-faint:    #FDFBFF;
    --color-bg-chose-icon:    #FEF1FF;
    --color-bg-trust:         #F7F6F9;
    --color-bg-premium:       #FFF8D7;
    --color-bg-dark-sidebar:  #140036;
    --color-bg-theme-switch:  #180033;
    --color-bg-scrollbar:     #f1f1f1;
    --color-bg-scrollbar-thumb: #6c63ff;
    --color-bg-scrollbar-hover: #5448ff;
    --color-bg-mobile-hover:  #fafafa;
    --color-bg-ai-card:  #F5EFFF;
    --color-bg-chip:  #EEE5FD;
    --color-bg-card-check:  #321862;
    --color-bg-EDECFF: #EDECFF;
    --color-bg-image-border-div: #5001DE08;
    --color-bg-primary:  #5001DE;
    --color-bg-f6f3fb: #F6F3FB;
    --color-bg-1D004Eb: #F5F0FF;
    --color-bg-171919: white;
    --color-bg-1F0C40: #F6F6F7;
    --color-bg-202124: white;
    --color-bg-cards:   white;
    --color-bg-F8F4FF:   #F8F4FF;
    --color-bg-ex-sidebar-icons:#F6F6F7;
    --color-bg-ex-sidebar-hover-icons: white;
    --color-bg-dd-free:white;

    /* ── Shadows & Overlays ── */
    --color-shadow-card:     #00000012;
    --color-shadow-price:    #00000014;
    --color-shadow-black8:   rgba(0, 0, 0, 0.08);
    --color-shadow-black6:   rgba(0, 0, 0, 0.06);
    --color-shadow-black12:  rgba(0, 0, 0, 0.12);
    --color-shadow-black15:  rgba(0, 0, 0, 0.15);
    --color-shadow-tool:     rgba(19, 0, 54, 0.11);
    --color-shadow-purple:   rgba(107, 33, 255, 0.4);
    --color-overlay-black40: rgba(0, 0, 0, 0.4);
    --color-overlay-dark45:  rgba(15, 12, 26, 0.45);
    --color-overlay-white30: rgba(255, 255, 255, 0.3);
    --color-overlay-white20: rgba(255, 255, 255, 0.2);
    --color-overlay-white15: rgba(255, 255, 255, 0.15);
    --color-overlay-white8:  rgba(255, 255, 255, 0.08);
    --color-overlay-white5:  rgba(255, 255, 255, 0.05);
    --color-overlay-white70: rgba(255, 255, 255, 0.7);

    /* ── Result Section Colors ── */
    --color-result-purple: #5B21D6;
    --color-result-purple-hover: #4C1CB8;
    --color-result-purple-light: #F1EBFD;
    --color-result-primary: #5001DE;
    --color-success: #18AF7B;
    --color-success-bg: #E4F7F0;
    --color-warning: #FC9C21;
    --color-warning-bg: #FFF0E2;
    --color-warning-bg-light: #FFF3E8;
    --color-danger: #FF282C;
    --color-danger-bg: #FFE5E5;
    --color-danger-highlight: #FFF2F3;
    --color-info-bg: #F4F4F6;
    --color-border-scs:#EBE8EE;
    --color-section-bg: #EFEEF2;
    --color-ring-track: #ECECF3;
    --color-card-border: #EBE8EE;
    --color-card-border-light: #E3E1EE;
    --color-card-shadow: rgba(30,15,80,.04);
    --color-paywall-shadow: rgba(40,20,90,.14);
    --color-overlay-fade: rgba(255,255,255,.92);
    --trust-card-hover-bg: url("../images/common/gradient-comma-bg.svg");
    --trust-card-hover-icon: url("../images/common/gradient-comma.svg");
    --sidebar-nav-icon-filter: invert(29%) sepia(8%) saturate(643%) hue-rotate(206deg) brightness(92%) contrast(89%);
    --sidebar-nav-icon-filter-hover: brightness(0) saturate(100%);
    --btn-dark-white: black;
    --search-icon-filter: none;
    --color-border-bottom-EBE8EE:     #EBE8EE;
    --active-icon-filter: brightness(0) saturate(100%) invert(11%) sepia(98%) saturate(7086%) hue-rotate(262deg) brightness(88%) contrast(130%);
}

/* ==============================================
   DARK MODE — just override these variables
   ============================================== */

[data-theme="dark"] {
    --color-suggestion-hover: white;
    --color-primary-light:    #5001DE;
    --color-primary-lighter:  #2a0f52;
    --color-primary-faint:    #12082a;
    --color-bg-ai-card:       #19023D;
    --color-5001DE: #C7BFD0;
    --color-count-card: #6A65FF;

    --color-text-dark:        white;
    --color-text-light:        black;
    --color-black-white:       white;
    --color-text-body:        #C7BFD0;
    --color-text-heading:     #ffffff;
    --color-text-black:       #ffffff;
    --color-text-near-black:  #E2DEE8;
    --color-text-card:        #C1BECD;
    --color-text-gray1:       #9B98B0;
    --color-text-gray2:       #9B98B0;
    --color-text-gray3:       white;
    --color-text-gray4:       #C1BECD;
    --color-text-gray5:       #9B98B0;
    --color-text-1A1A1A:      #ffffff;
    --color-text-92929D:      #92929D;

    --color-border-light:     #2a2740;
    --color-border-medium:    #2a2740;
    --color-border-card:      #2a2740;
    --color-border-tool:      #383838;
    --color-border-mobile-tool: #2a2740;
    --color-border-search:    #2a2740;
    --color-border-trust:     #2a2740;
    --color-border-nav:      #2a2740;
    --color-border-faq:      #2a2740;
    --color-border-mobile:   #3A3A3A;
    --color-border-divider:  #2a2740;
    --color-border-price:    #2a2740;
    --color-border-input:     #524F57;
    --color-border-F3F4F6:     #343434;
    --color-border-e6e8ed: #3E3E3E;
    --color-border-black10:   rgba(255,255,255,0.08);
    --color-border-E5E7EB:     #3A3A3A;
    --color-border-bottom-EBE8EE: #37393A;
    --color-card-border: #37393A;
    --color-border-EAEAEA: #2B2B2B;
    --color-border-EBEBEBA: #272727;

    --color-success-bg: #1B3930;
    --color-warning-bg: #3F301E;
    --color-danger-bg: #401D20;
    --color-danger-highlight: #401D20;
    --color-result-purple-light: #261644;

    --color-bg-white:         #171919;
    --color-bg-black:         white;
    --color-bg-white-faint:   #1a1726;
    --color-bg-sidebar-icon:  transparent;
    --color-bg-menu-pane:     #171919;
    --color-bg-browse-btn:    #292A2C;
    --color-bg-marquee-mask:  #0f0d1a;
    --color-bg-tool-icon:     #1e0a3c;
    --color-bg-tool-icon-alt: #1F0C40;
    --color-bg-tool-hover:    #1a1030;
    --color-bg-view-more:     #1e0a3c;
    --color-bg-card-faint:    #12082a;
    --color-bg-chose-icon:    #271648;
    --color-bg-f6f3fb:        black;
    --color-bg-trust:         #202124;
    --color-bg-dd-free:       #202124;
    --color-bg-mobile-hover:  #1a1726;
    --color-bg-premium:       #362B1F;
    --color-bg-1D004Eb:       #1D004E;
    --color-bg-171919:        #171919;
    --color-section-bg:       #292A2C;
    --color-bg-scrollbar:     #1C0146;
    --color-bg-ex-sidebar-icons:#1F0C40;
    --color-bg-ex-sidebar-hover-icons: #1F0C40;

    --color-overlay-white30:  rgba(255, 255, 255, 0.03);
    --color-overlay-white20:  rgba(255, 255, 255, 0.03);

    /* ── Dark Page Gradients ── */
    --grad-page-bg-card: #171919;

    --grad-page-bg:
        radial-gradient(70% 65% at 50% 45%, rgba(124, 58, 237, 0.30) 0%, rgba(124, 58, 237, 0) 70%),
        radial-gradient(50% 55% at 15% 55%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0) 75%),
        radial-gradient(50% 55% at 85% 60%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0) 75%),
        linear-gradient(180deg, #171919 0%, #171919 100%);

    --hero-bg-dark:
        radial-gradient(70% 65% at 50% 45%, rgba(124, 58, 237, 0.30) 0%, rgba(124, 58, 237, 0) 70%),
        radial-gradient(50% 55% at 15% 55%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0) 75%),
        radial-gradient(50% 55% at 85% 60%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0) 75%),
        linear-gradient(180deg, #171919 0%, #171919 100%);

    --color-bg-202124: #202124;
    --color-info-bg: #1B1C1F;
    --color-border-scs:#37393A;
    --color-bg-1F0C40: #1F0C40;
    --trust-card-hover-bg: url("../images/common/gradient-comma-bg-dark.svg");
    --trust-card-hover-icon: url("../images/common/gradient-comma.svg");
    --sidebar-nav-icon-filter: invert(67%) sepia(0%) saturate(0%) hue-rotate(163deg) brightness(95%) contrast(88%);
    --sidebar-nav-icon-filter-hover: brightness(0) saturate(100%) invert(100%);
    --btn-dark-white: white;
    --search-icon-filter: brightness(0) saturate(100%) invert(100%);
    --color-bg-cards:   #171919;
    --color-ring-track: #37393A;
    --color-bg-tools-sec:     #171919;
    --color-bg-F8F4FF: black;
    --color-bg-chip: #5001DE;
    --color-danger: #FF282C;

}
html[data-theme="dark"] .bg-dark-gradient-ai-content {
    background: var(--hero-bg-dark);
}

[data-theme="dark"] .icon-dark-white {
    filter: brightness(0) invert(1) !important;
}
/* Dark Theme */
[data-theme="dark"] .bg-hero {
    background: var(--hero-bg-dark);
}
[data-theme="dark"] .dropdown-arrow-icon {
    filter: brightness(0) saturate(100%) invert(1); /* forces white, dark theme */
}
/* =========================
   DARK THEME
========================= */

[data-theme="dark"] .menu-tabs-pane .menu-tab-link {
    color: #BBB4C7;
}
[data-theme="dark"] .menu-icon.filter-color-4A495 {
    filter: none !important;
}
[data-theme="dark"] .menu-tabs-pane .menu-tab-link:hover,
[data-theme="dark"] .menu-tabs-pane .menu-tab-link.active,
[data-theme="dark"] .menu-tabs-pane .menu-tab-link:focus {
    background: var(--color-bg-1D004Eb);
    color: #fff;
    border-left-color: #fff;
}
/* Dark Mode - White Icon */
[data-theme="dark"] .menu-tabs-pane .menu-tab-link:hover .menu-icon.filter-color-4A495,
[data-theme="dark"] .menu-tabs-pane .menu-tab-link.active .menu-icon.filter-color-4A495,
[data-theme="dark"] .menu-tabs-pane .menu-tab-link:focus .menu-icon.filter-color-4A495 {
    filter: brightness(0) saturate(100%) invert(100%) !important;
}
/* Hover + Active */
[data-theme="dark"] .tool-card-item:hover,
[data-theme="dark"] .tool-card-item.active {
    background-color: var(--color-primary-light);
    color: var(--color-text-white);
}
/* Text White */
[data-theme="dark"] .tool-card-item:hover > span:last-child,
[data-theme="dark"] .tool-card-item.active > span:last-child {
    color: var(--color-text-white);
}
[data-theme="dark"] .tool-card-item .tool-icon img,
[data-theme="dark"] .tool-card-item .tool-icon img {
    filter: brightness(0) saturate(100%)
        invert(67%) sepia(0%) saturate(0%)
        hue-rotate(180deg) brightness(93%) contrast(89%);
}

.arrow-btn-right-icon {
    filter: brightness(0) saturate(100%) invert(29%) sepia(8%) saturate(1000%)
            hue-rotate(210deg) brightness(90%) contrast(90%);
}

/* SVG White */
[data-theme="dark"] .tool-card-item:hover .tool-icon img,
[data-theme="dark"] .tool-card-item.active .tool-icon img {
    filter: brightness(0) invert(1);
}
/* Dark Mode only */
[data-theme="dark"] .tool-card-item:hover .tool-icon,
[data-theme="dark"] .tool-card-item.active .tool-icon {
    background-color: var(--color-bg-1F0C40);
}
/* Dark Theme */
[data-theme="dark"] .s-icon {
    filter: brightness(0) saturate(100%) invert(100%);
}
html[data-theme="dark"] .logo_items img {
    filter: brightness(0) invert(1);
}
html[data-theme="dark"] .light-theme-img {
    display: none;
}
html[data-theme="dark"] .dark-theme-img {
    display: block;
}


.fs-10 { font-size: 10px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-36 { font-size: 36px; }
.fs-32 { font-size: 32px; }
.fs-42 { font-size: 42px; }
.fs-48 { font-size: 48px; }
/* ── Utilities ── */
.color-E2DEE8          { color: var(--color-text-utility1); }
.color-9CA3AF          { color: var(--color-text-utility2); }
.color-1A1A1A          { color: var(--color-text-1A1A1A); }
.color-4A495C          { color: var(--color-text-body); }
.color-text-black         { color: var(--color-text-black) !important; }
.border-top-FFFFFF26   { border-top: 1px solid var(--color-border-white26); }
.border-right-FFFFFF26 { border-right: 1px solid var(--color-border-white26); }
.bg-140036             { background-color: var(--color-bg-dark-sidebar); }
.bg-FAF7FE             { background-color: var(--color-bg-tools-sec); }
.bg-F5EFFF             { background-color: var(--color-bg-ai-card); }
.rad-42                { border-radius: 42px; }
.rad-42-bottom-left    { border-bottom-left-radius: 42px; }
.rad-42-bottom-right   { border-bottom-right-radius: 42px; }
.h-49                  { height: 49px; }
.border-bottom-EBE8EE{
    border-bottom: 1px solid var(--color-border-bottom-EBE8EE);
}

.dd-free .dropdown-item:hover,
.dd-free .dropdown-item:focus,
.dd-free .dropdown-item:active,
.dd-free .dropdown-item.active {
    background-color: #FAF7FE !important;
}

.btn-purple{background-color: var(--color-bg-primary);}
.btn-purple:hover{background-color: var(--color-primary-hover);}

.btn-dark-white {
    background-color: var(--btn-dark-white);
    color: var(--color-text-light) !important;
}

.btn-dark-white:hover {
    background: var(--grad-main);
    color: white !important;
}

.header-tools-dark {
    display: none;
}

html[data-theme="dark"] .header-tools-light {
    display: none;
}

html[data-theme="dark"] .header-tools-dark {
    display: block;
}


/* ---------- Trigger ---------- */
.login-dropdown__toggle {
    padding: 4px 12px 4px 4px;
    border: 1px solid transparent;      /* default: border nahi dikhega */
    border-radius: 50rem;
    background: transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.login-dropdown__toggle:hover,
.login-dropdown__toggle:focus-visible,
.login-dropdown__toggle[aria-expanded="true"],
.login-dropdown__toggle.show {
    border-color: #e5e7eb;
    background: transparent;
}
.login-dropdown__toggle:hover,
.login-dropdown__toggle[aria-expanded="true"] {
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.login-dropdown__chevron { color: #6b7280; transition: transform .25s ease; }
.login-dropdown__toggle[aria-expanded="true"] .login-dropdown__chevron { transform: rotate(180deg); }

/* ---------- Menu ---------- */
.login-dropdown__menu {
    width: 300px;
    padding: 16px;
    margin-top: 10px !important;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    background-color: var(--color-bg-dd-free);
}

/* Open hone pe upar se neeche slide + fade.
   `translate` property use ki hai taake Popper ke inline `transform` se clash na ho */
.login-dropdown__menu.show {
    animation: loginDropdownSlide .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes loginDropdownSlide {
    from { opacity: 0; translate: 0 -12px; }
    to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .login-dropdown__menu.show { animation: none; }
}

.login-dropdown__user { padding-bottom: 14px; }

/* ---------- Credits box ---------- */
.login-dropdown__credits {
    padding: 12px;
    margin-bottom: 12px;
    background: #f1ecff;
    border-radius: 12px;
}
.login-dropdown__buy {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: background .2s;
}
.login-dropdown__buy:hover { background: #f8f6ff; color: #000; }

/* ---------- Items ---------- */
.login-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
}
.login-dropdown__item:hover { background: #f5f5f7; color: #000; }
.login-dropdown__item--danger { color: #ef4444; }
.login-dropdown__item--danger:hover { background: #fef2f2; color: #dc2626; }
.login-dropdown__divider { height: 1px; margin: 8px 0; background: #eee; }

@media (max-width: 400px) {
    .login-dropdown__menu { width: 270px; }
}

.color-text-label {color: var(--color-text-1A1A1A) ;}
body {
    font-family: "Figtree", sans-serif;
    background-color: var(--color-bg-white) !important;
    color: var(--color-text-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.sidebar-slim a,
.sidebar-expanded a,
.toggle-btn-sidebar,
.sidebar-nav-link,
.pointer {
    cursor: pointer !important;
}
.btn-dark-white:focus,
.btn-dark-white:focus-visible,
.btn-dark-white:active,
.btn-dark-white:not(:disabled):not(.disabled):active,
.btn-dark-white.show {
    background-color: var(--btn-dark-white) !important;
    color: var(--color-text-light) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
}

/* ==============================================
   LOGO MARQUEE
   ============================================== */
.logos {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    contain: layout style paint;
    isolation: isolate;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        var(--color-bg-marquee-mask) 10%,
        var(--color-bg-marquee-mask) 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        var(--color-bg-marquee-mask) 10%,
        var(--color-bg-marquee-mask) 90%,
        transparent 100%
    );
}
.logo_track {
    display: flex;
    width: max-content;
    animation: marquee 10s linear infinite;
}

.logo_items {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    flex-shrink: 0;
}

.logo_items img {
    height: 28px;
    width: auto;
    flex-shrink: 0;
}

@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.logos:hover .logo_track {
    animation-play-state: paused;
}

/* ==============================================
   ICON COLOR FILTERS
   ============================================== */
/* icons-colors-hovers */

/* .filter-color-4A495 {
    filter: brightness(0) saturate(100%) invert(28%) sepia(11%) saturate(627%)  hue-rotate(205deg) brightness(95%) contrast(90%) !important;
} */

.filter-color-icon--4A495{
    filter: brightness(0) saturate(100%) invert(28%) sepia(11%) saturate(627%)  hue-rotate(205deg) brightness(95%) contrast(90%) !important;
}

/* Default sidebar icon */
.sidebar-nav-link img.filter-color-4A495 {
    filter: brightness(0) saturate(100%)
            invert(28%) sepia(11%) saturate(627%)
            hue-rotate(205deg) brightness(95%) contrast(90%) !important;
}

/* Hover + Active */
.sidebar-nav-link:hover img.filter-color-4A495,
.sidebar-nav-link.active img.filter-color-4A495 {
    filter: var(--active-icon-filter) !important;
}

/* .filter-color-4A495:hover {
    filter: invert(12%) sepia(98%) saturate(6871%) hue-rotate(264deg) brightness(87%) contrast(100%);
} */

.color-5001DE{
    color: var(--color-5001DE);
}

.filter-color-5001DE {
    filter: brightness(0) saturate(100%) invert(12%) sepia(99%) saturate(7483%) hue-rotate(260deg) brightness(92%) contrast(122%);
}

html[data-theme="dark"] .filter-color-dark-A2A2A2 {
    filter: brightness(0) saturate(100%) invert(64%) !important; /* #A2A2A2 */
}


.ai-detector-sidebar-exp-icon {
    content: url("../images/common/ai-detector-sidebar-exp-icon.svg");
}

/* Light Hover + Active */
.sidebar-nav-link:hover .ai-detector-sidebar-exp-icon,
.sidebar-nav-link.active .ai-detector-sidebar-exp-icon {
    content: url("../images/common/ai-detector-sidebar-exp-active-icon.svg");
}

/* Dark Default */
html[data-theme="dark"] .ai-detector-sidebar-exp-icon {
    content: url("../images/common/ai-detector-sidebar-exp-icon-dark.svg");
}

/* Dark Hover + Active */
html[data-theme="dark"] .sidebar-nav-link:hover .ai-detector-sidebar-exp-icon,
html[data-theme="dark"] .sidebar-nav-link.active .ai-detector-sidebar-exp-icon {
    content: url("../images/common/ai-detector-sidebar-exp-active-icon-dark.svg");
}


.ai-image-detector-sidebar-exp-icon {
    content: url("../images/common/ai-image-detector-sidebar-exp-icon.svg");
}

/* Light Hover + Active */
.sidebar-nav-link:hover .ai-image-detector-sidebar-exp-icon,
.sidebar-nav-link.active .ai-image-detector-sidebar-exp-icon {
    content: url("../images/common/ai-image-detector-sidebar-exp-active-icon.svg");
}

/* Dark Default */
html[data-theme="dark"] .ai-image-detector-sidebar-exp-icon {
    content: url("../images/common/ai-image-detector-sidebar-exp-icon-dark.svg");
}

/* Dark Hover + Active */
html[data-theme="dark"] .sidebar-nav-link:hover .ai-image-detector-sidebar-exp-icon,
html[data-theme="dark"] .sidebar-nav-link.active .ai-image-detector-sidebar-exp-icon {
    content: url("../images/common/ai-image-detector-sidebar-exp-active-icon-dark.svg");
}

/* Light Mode - Hover & Active */
.menu-tabs-pane .menu-tab-link:hover .menu-icon.filter-color-4A495,
.menu-tabs-pane .menu-tab-link.active .menu-icon.filter-color-4A495,
.menu-tabs-pane .menu-tab-link:focus .menu-icon.filter-color-4A495 {
    filter: brightness(0) saturate(100%)  invert(11%) sepia(99%) saturate(7432%) hue-rotate(266deg) brightness(89%) contrast(118%) !important;
}

/* ==============================================
   LAYOUT / APP SHELL
   ============================================== */
.bg-grad-div-card {
    width: 100%;
    background: var(--grad-page-bg-card);
    padding: 1px 0;
}
.bg-grad-div {
    width: 100%;
    background: var(--grad-page-bg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 1px 0;
}
.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}
.app-layout.has-panel .main-area {
    margin-left: calc(var(--sidebar-slim-w) + var(--sidebar-expanded-w));
    width: calc(100% - var(--sidebar-slim-w) - var(--sidebar-expanded-w));
}
.main-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: width 0.25s ease, margin-left 0.25s ease;
}
.wrapper-main {
    flex: 1;
    overflow-y: auto;
}

/* ==============================================
   SIDEBAR
   ============================================== */
/* ── Sidebar ── */
.sidebar-slim {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 100dvh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 66px;
    flex-shrink: 0;
    background: var(--color-bg-white);
    border-right: 1px solid var(--color-border-light);
    z-index: 2000;
    padding: 14px 0;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar-expanded {
    width: 0;
    flex-shrink: 0;
    overflow: hidden;
    height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    background: var(--color-bg-white);
    border-right: 1px solid var(--color-border-light);
    z-index: 99;
    box-sizing: border-box;
}
.sidebar-expanded.expanded-open {
    width: 200px;
    padding: 20px 14px;
    overflow-x: hidden;
    overflow-y: auto;
}
.slim-middle {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.slim-bottom {
    margin-top: auto;
}
.sidebar-slim a,
.sidebar-expanded a {
    text-decoration: none;
}
.toggle-btn-sidebar {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}
.toggle-btn-sidebar:hover,
.toggle-btn-sidebar.active {
    background: var(--color-bg-1D004Eb);
    z-index: 10;
}
.toggle-btn-sidebar img {
    display: block;
}
.toggle-btn-sidebar.nav-link {
    padding: 0 !important;
    margin: 0 !important;
}
.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    text-decoration: none;
    border-radius: 12px;
    background-color: var(--color-bg-white);
    
}
.sidebar-nav-link .icon-box {
    background-color: var(--color-bg-ex-sidebar-icons);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    flex-shrink: 0;
    
}
.sidebar-nav-link .link-text {
    color: var(--color-text-body);
    transition: color 0.2s ease;
}
.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background-color: var(--color-primary-light);
}
.sidebar-nav-link:hover .icon-box,
.sidebar-nav-link.active .icon-box {
    background-color: var(--color-bg-ex-sidebar-hover-icons);
}
.sidebar-nav-link:hover .link-text {
    color: var(--color-text-dark);
}
.sidebar-nav-link.active .link-text {
     color: var(--color-text-dark);
}
.sidebar-darkmode-bg {
    height: 50px;
    width: 50px;
    background-color: var(--color-bg-1D004Eb);
    border-radius: 12px;
}
.sidebar-premium-bg {
    height: 50px;
    width: 50px;
    background-color: var(--color-bg-premium);
    border-radius: 12px;
}
.sidebar-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.sidebar-search-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
    opacity: 0.5;
}
.sidebar-search-input {
    background-color: var(--color-bg-white) !important;
    border: 1px solid var(--color-border-medium) !important;
    border-radius: 1234px !important;
    padding: 8px 12px 8px 38px !important;
    color: var(--color-text-dark) !important;
    transition: border-color 0.2s ease;
}
.sidebar-search-input::placeholder {
    font-size: 12px;
    color: var(--color-text-dark) !important;
}
.sidebar-search-input:focus {
    box-shadow: none !important;
    border-color: var(--color-primary) !important;
}
/* ── Purple filter (shared active/hover states) ── */
.navbar .dropdown-toggle.show .dropdown-arrow-icon,
.navbar .dropdown-toggle:hover .dropdown-arrow-icon,
.menu-tabs-pane .menu-tab-link:hover img,
.menu-tabs-pane .menu-tab-link.active img,
.tool-card-item:hover img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(94%) saturate(7492%) hue-rotate(258deg);
}

.toggle-btn-sidebar.home:hover img,
.toggle-btn-sidebar.home.active img {
    content: url("../images/common/sidebar-home-active-icon.svg");
}

html[data-theme="dark"] {
    .toggle-btn-sidebar.home:hover img,
.toggle-btn-sidebar.home.active img {
    content: url("../images/common/sidebar-home-active-dark-icon.svg");
}
}

.toggle-btn-sidebar.ai-text-tools:hover img,
.toggle-btn-sidebar.ai-text-tools.active img {
    content: url("../images/common/sidebar-ai-text-tools-active-icon.svg");
}

html[data-theme="dark"] {
    .toggle-btn-sidebar.ai-text-tools:hover img,
.toggle-btn-sidebar.ai-text-tools.active img {
    content: url("../images/common/sidebar-ai-text-tools-active-dark-icon.svg");
}
}

.toggle-btn-sidebar.ai-image-tools:hover img,
.toggle-btn-sidebar.ai-image-tools.active img {
    content: url("../images/common/sidebar-ai-image-tools-active-icon.svg");
}

html[data-theme="dark"] {
    .toggle-btn-sidebar.ai-image-tools:hover img,
.toggle-btn-sidebar.ai-image-tools.active img {
    content: url("../images/common/sidebar-ai-image-tools-active-dark-icon.svg");
}
}


.theme-icon-dark {
    display: block;
}

.theme-icon-light {
    display: none;
}

html[data-theme="dark"] .theme-icon-dark {
    display: none;
}

html[data-theme="dark"] .theme-icon-light {
    display: block;
}





html[data-theme="dark"] .navbar .dropdown-toggle.show .dropdown-arrow-icon,
html[data-theme="dark"] .navbar .dropdown-toggle:hover .dropdown-arrow-icon {
    filter: brightness(0) saturate(100%) invert(82%) sepia(8%) saturate(453%) hue-rotate(234deg) brightness(88%) contrast(87%) !important;
}
/* ==============================================
   NAVBAR / HEADER / DROPDOWN / MEGA MENU
   ============================================== */
/* ── Main header ── */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
    background: var(--color-overlay-white30);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    transition: background 0.3s ease;
}
.main-header.scrolled {
    background: var(--color-overlay-white20) !important;
}
.nav-actions {
    min-width: 0;
    flex-shrink: 0;
}
.navbar .nav-item.dropdown {
    position: static;
}
/* ── Mega menu ── */
.navbar .dropdown-menu.mega-menu-panel {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 35%;
    transform: translate(-50%, 10px);
    width: min(780px, 95vw);
    background: var(--color-bg-171919);
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1025;
    box-shadow: 0 10px 30px var(--color-shadow-black8) !important;
}
.navbar .dropdown-menu.mega-menu-panel.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.navbar .nav-link{
    color: var(--color-text-black);
}
.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .dropdown-toggle.show {
    color: var(--color-5001DE) !important;
}

/* Remove Bootstrap default arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Default Arrow */
.dropdown-arrow-icon {
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: brightness(0) saturate(100%);
}

/* Hover, Active & Open State */
.navbar .nav-link:hover .dropdown-arrow-icon,
.navbar .nav-link.active .dropdown-arrow-icon,
.navbar .dropdown-toggle.show .dropdown-arrow-icon {
    filter: brightness(0) saturate(100%)
            invert(11%) sepia(99%) saturate(7432%)
            hue-rotate(264deg) brightness(95%) contrast(113%);
}

/* Rotate when dropdown is open */
.navbar .dropdown-toggle.show .dropdown-arrow-icon {
    transform: rotate(180deg);
}
.login-btn {
    flex-shrink: 0;
}




/* ==============================================
   SEARCH
   ============================================== */
/* ── Search ── */

.search-trigger .search-icon {
    filter: var(--search-icon-filter);
    transition: filter .2s ease;
}
.search-container,
.search-container * {
    box-sizing: border-box !important;
}
.search-container {
    position: relative;
    display: flex;
    flex-direction: column;
}
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-trigger,
.search-inner,
.suggestion-item,
.search-close-btn {
    display: flex;
    align-items: center;
}
.search-trigger {
    transition: opacity .25s ease;
    z-index: 2;
}
.search-inner {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(.95);
    transform-origin: right center;
    width: 36.5vw;
    max-width: 830px;
    min-width: 280px;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--color-border-input-search);
    border-radius: 131px;
    background: var(--color-bg-white);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s;
}
.search-box.active .search-trigger {
    opacity: 0;
    pointer-events: none;
}
.search-box.active .search-inner {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scaleX(1);
}
.search-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(69%) sepia(8%) saturate(500%) hue-rotate(205deg) brightness(92%) contrast(87%);
}
.search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-text-dark);
}
.search-close-btn {
    display: none;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}
.search-box.active .search-close-btn {
    display: flex;
}
#searchSuggestions,
.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 36vw;
    max-width: 830px;
    min-width: 280px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-search);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 10px 40px var(--color-shadow-black6);
    z-index: 999;
}
.suggestions-header {
    color: var(--color-text-dark);
    margin-bottom: 10px;
}
.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 7px;
    color: var(--color-text-body);
    text-decoration: none;
    border-radius: 10px;
    transition: .2s ease;
}
.suggestion-item:hover {
    background: var(--color-primary-light);
    color: var(--color-suggestion-hover);
}
.s-icon {
    width: 15px;
    height: 15px;
    opacity: .7;
    transition: filter .2s ease, opacity .2s ease;
    filter: none;
}
/* Hover */
.suggestion-item:hover .s-icon {
    opacity: 1;
}
/* ── Tooltip ── */
.tooltip {
    z-index: 1060 !important;
}
.tooltip .tooltip-arrow {
    display: none !important;
}
.tooltip-inner {
    padding: 6px 12px !important;
    border-radius: 8px !important;
    background-color: var(--color-bg-black);
    color: var(--color-text-light);
}

/* ==============================================
   MENU TABS PANE
   ============================================== */
.menu-tabs-pane {
    width: 146px;
    min-width: 146px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 0px;
    background: var(--color-bg-menu-pane);
    border-right: 1px solid var(--color-border-light);
}
.menu-tabs-pane .menu-tab-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 14px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: var(--color-text-body);
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
/* Icon */
.menu-tabs-pane .menu-tab-link .menu-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: filter .2s ease;
     filter: brightness(0) saturate(100%)
            invert(28%) sepia(11%) saturate(627%)
            hue-rotate(205deg) brightness(95%) contrast(90%) !important;
            -webkit-filter: var(--filter-color-4A495);
}
/* =========================
   LIGHT THEME
========================= */

.menu-tabs-pane .menu-tab-link:hover,
.menu-tabs-pane .menu-tab-link.active,
.menu-tabs-pane .menu-tab-link:focus {
    background: var(--color-bg-white);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

/* ==============================================
   TOOL CARDS & TOOL TABS SECTION
   ============================================== */
/* ── Tool cards ───────────────────────────── */
.tool-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--color-bg-171919);
    border: 1px solid var(--color-border-card);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-card);
    
    height: 48px;
}
/* Tool name */
.tool-card-item > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
    transition: color 0.2s ease;
}
/* Icon */
.tool-card-item .tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-1F0C40);
    
}
.tool-card-item .tool-icon img {
    width: 20px;
    height: 20px;
    transition: filter 0.2s ease;
}
.tool-card-item:hover{
    background-color: var( --color-primary-light);
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary) !important;
    background: var(--color-primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    
}

html[data-theme="dark"] .view-all-btn {
    color: var(--color-text-white) !important;
}
.view-all-btn:hover {
    background: var(--color-primary);
    transform: translateX(2px);
    color: var(--color-text-white) !important;
}
.view-all-btn:hover img {
    filter: brightness(0) invert(1);
}
html[data-theme="dark"] .view-all-btn img {
    filter: brightness(0) invert(1);
}
.view-arrow {
    transition: transform 0.3s ease;
}
.view-arrow.rotate {
    transform: rotate(180deg);
}
.gradient-text,
.tool-tabs-main-title-accent {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ── Tool tabs section ── */
.tool-tabs-main {
    padding: 95px 0;
}
.tool-tabs-main-header {
    text-align: center;
    margin-bottom: 36px;
}
.tool-tabs-main-subtitle {
    color: var(--color-text-body);
    margin-bottom: 24px;
}
.tool-tabs-main__search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 50px;
    max-width: 480px;
    margin: 0 auto 32px;
    padding: 1px 1.5px 3.5px;
    background: var(--grad-search);
}
.tool-tabs-main__search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 50px;
    border: none;
    background: var(--color-bg-white);
    font-size: 16px;
    color: var(--color-text-dark);
    outline: none;
}
.tool-tabs-main__search-input::placeholder {
    color: var(--color-text-utility3);
}
.tool-tabs-main-search-icon {
    position: absolute;
    left: 20px;
    font-size: 18px;
    color: var(--color-text-gray2);
    pointer-events: none;
}
.tool-tabs-main-nav-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tool-tabs-main-nav-wrap::-webkit-scrollbar {
    display: none;
}
.tool-tabs-main-nav {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
    white-space: nowrap;
    padding: 4px 0;
}
.tool-tabs-main-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: 12px;
    border: 1.5px solid var(--color-border-medium);
    background: var(--color-bg-white);
    color: var(--color-text-body) !important;
    font-size: 14px;
    font-weight: 500;
    
    white-space: nowrap;
}
.tool-tabs-main-nav-link img {
    transition: filter 0.2s ease;
}
.tool-tabs-main-nav-link:not(.active):hover img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(94%) saturate(7492%) hue-rotate(258deg);
}
.tool-tabs-main-nav-link.active img {
    filter: brightness(0) invert(1);
}
.tool-tabs-main-nav-link:hover {
    border-color: var(--color-border-nav);
    color: var(--color-primary) !important;
    background: var(--color-bg-tool-hover);
}
.tool-tabs-main-nav-link.active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}
.tool-tabs-main-nav-link.active i {
    color: #fff;
}
.tool-tabs-main-content {
    margin-top: 32px;
}
.tool-tabs-main-tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--color-border-tool);
    border-radius: 20px;
    background: var(--color-bg-white);
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: 500;
    
    width: 100%;
}
.tool-tabs-main-tool-icon {
    width: 36px;
    height: 36px;
    background: var(--color-bg-tool-icon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tool-tabs-main-tool-name {
    flex: 1;
}
.tool-tabs-main-tool-arrow {
    display: inline-block;
    vertical-align: middle;
    color: var(--color-text-muted);
    font-size: 16px;
    transition: all 0.3s ease;
}
.tool-tabs-main-tool-card:hover {
    border-color: var(--color-primary-alpha);
    background: var(--color-bg-card-faint);
    box-shadow: 0 15px 35px var(--color-shadow-tool);
    transform: scale(1.01);
}
.tool-tabs-main-tool-card:hover .tool-tabs-main-tool-arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* ==============================================
   HERO & BADGES
   ============================================== */
/* ── Hero ── */
/* Light Theme */
.bg-hero {
    background: url("../images/home/hero-bg.svg") center center / cover no-repeat;
    width: 100%;
    min-height: 839px;
}
.pad-y-100 {
    padding: 100px 0 50px;
}
.bg-header-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-desc {
    color: var(--color-text-body);
    max-width: 80%;
}
/* ── Badge & gradient text ── */
.badge-ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    position: relative;
    background: var(--color-bg-white);
    border-radius: 50px;
    z-index: 1;
}
.badge-ai::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: var(--grad-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}
.writer-div          { position: absolute; top: -26px; }
.summarizer-div      { position: absolute; top: 23px;  left: 35px; }
.image-generator-div { position: absolute; top: 23px;  right: 35px; }
.design-div          { position: absolute; top: 161px; left: -3px; }
.voice-div           { position: absolute; top: 161px; right: -18px; }
.video-generator-div { position: absolute; bottom: -23px; }
.ai-chat-div         { position: absolute; bottom: 25px; left: 35px; }
.ai-audio-div        { position: absolute; bottom: 25px; right: 35px; }

/* ==============================================
   BUTTONS
   ============================================== */
/* ── Buttons ── */
.btn-primary-gradient {
    background: var(--grad-main);
    color: #fff !important;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s ease;
}
.btn-primary-gradient .btn-text,
.btn-primary-gradient .btn-icon {
    transition: transform 0.35s ease;
}
.btn-primary-gradient:hover {
    background: var(--grad-main-rev);
    opacity: 0.9;
}
.btn-primary-gradient:hover .btn-text {
    transform: translateX(-4px);
}
.btn-primary-gradient:hover .btn-icon {
    transform: translateX(6px);
}
.btn-back {
    background-color: var(--color-bg-white);
    color: var(--color-text-black);
}

.btn-back:hover {
    background-color: #4A495C !important;
    color: white;
}

.btn-back:hover img {
    filter: brightness(0) invert(1);
}

/* Dark mode only */
html[data-theme="dark"] .btn-back img {
    filter: brightness(0) saturate(100%) invert(100%);
}
.btn-recheck{
    background-color: var(--color-bg-white);
}
.btn-recheck:hover {
    background-color: var(--color-bg-EDECFF);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-recheck:hover img {
    filter: brightness(0) saturate(100%) invert(17%) sepia(96%) saturate(6500%) hue-rotate(255deg) brightness(90%) contrast(115%);
}
.btn-browse-ai {
    background-color: var(--color-bg-browse-btn);
    color: var(--color-text-gray3) !important;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    transition: all .2s ease;
}

.btn-browse-ai:hover {
    background-color: #FFFFFF;
    color: #1E1E1E !important;
}
.btn-price {
    color: var(--color-primary);
    background-color: var(--color-bg-browse-btn);
}
.btn-price:hover {
    color: #fff;
    background-color: var(--color-primary);
}
.pro-btn-price {
    background-color: var(--color-primary);
    color: #fff;
}
.pro-btn-price:hover {
    background-color: var(--color-primary-hover);
}
.btn-scan {
    background: var(--color-primary);
    color: white;
    border: 0;
    border-radius: 22px;
    padding: .5rem 1.4rem;
    transition: .25s ease;
}
.btn-scan:hover {
    background: var(--color-primary-hover);
    color: white;
}

/* ==============================================
   AVATARS, SOCIAL PROOF & AI CARDS
   ============================================== */
/* ── Avatars ── */
.avatar-group {
    display: flex;
    align-items: center;
}
.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--color-bg-white-faint);
    object-fit: cover;
    margin-right: -12px;
    transition: transform 0.2s ease;
}
.avatar-img:hover {
    transform: translateY(-4px);
    z-index: 10;
}
.social-proof-text {
    color: var(--color-text-near-black);
}
/* ── Hero AI cards ── */
.ai-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background-color: var(--color-bg-white);
    box-sizing: border-box;
    width: 166px;
    height: 76px;
    border-radius: 12.58px;
    box-shadow: 0 3.14px 18.87px 0 var(--color-shadow-card);
    cursor: pointer;
    text-decoration: none;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}
.text-black-white{
    color: var(--color-black-white);
}
.card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-black);
    margin-bottom: 2px;
}
.card-desc {
    color: var(--color-text-body);
}

/* ==============================================
   PRICING
   ============================================== */
/* ── Pricing ── */
.price-card {
    background: var(--color-bg-202124);
    border-radius: 26px;
    box-shadow: 0 0 30px 0 var(--color-shadow-price);
}
.bg-card-pro {
    background: var(--grad-main);
    padding: 3px;
    border-radius: 28px;
}
.hr-price {
    border: none;
    border-top: 1px solid var(--color-border-price);
    opacity: 1;
}

/* ==============================================
   WHY CHOOSE & TRUST CARDS
   ============================================== */
/* ── Why choose cards ── */
.card-whychoose {
    background-color: var( --color-bg-cards);
    border-radius: 26px;
    border: 1px solid var(--color-border-black10) !important;
}
.card-whychoose:hover {
    box-shadow: 0 4px 10px var(--color-shadow-black8);
}
.chose-box-img {
    background-color: var(--color-bg-chose-icon);
    height: 48px;
    width: 48px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-whychoose:hover .chose-box-img {
    background: var(--grad-main);
}
.card-whychoose:hover .chose-box-img img {
    filter: brightness(0) invert(1);
}
/* ── Trust cards ── */
.trust-card {
    background-color: var(--color-bg-trust);
    border: 1px solid var(--color-border-trust);
    border-radius: 32px;
}
.trust-card:hover {
    background-image: var(--trust-card-hover-bg);
    background-size: cover;
    background-repeat: no-repeat;
}
.trust-card:hover .comma-icon {
    content: var(--trust-card-hover-icon);
}

/* ==============================================
   MISC BACKGROUNDS / HOVER UTILITIES
   ============================================== */
/* ── Misc ── */
.bg-checkboxes {
    background: url("../images/common/bg-checks.svg") center / cover no-repeat;
    min-height: 293px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
}
.bg-content-gradient {
    background-image: url("../images/common/gradient-content-needs.svg");
    background-repeat: no-repeat;
    background-size: 100%;
}
.content-hover:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* ==============================================
   FAQ ACCORDION
============================================== */

.faq-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-wrap .accordion-item {
    background: var(--color-bg-white);
    border: 1.5px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: border-color .25s ease;
}

.faq-wrap .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--color-border-primary);
}

.faq-wrap .accordion-button {
    background: var(--color-bg-white);
    color: var(--color-text-heading);
    padding: 1.15rem 1.35rem;
    border: 0;
    box-shadow: none;
    height: 72px;
}

.faq-wrap .accordion-button:not(.collapsed) {
    background: var(--color-bg-white);
    color: var(--color-text-heading);
}

.faq-wrap .accordion-button:focus {
    box-shadow: none;
}

.faq-wrap .accordion-body {
    background: var(--color-bg-white);
    color: var(--color-text-body);
}

.faq-wrap .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: 20px;
    transition: transform .25s ease;
}

.faq-wrap .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* =========================
   DARK MODE
========================= */

html[data-theme="dark"] .faq-wrap .accordion-item {
    background: var(--color-bg-white);
    border-color: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .faq-wrap .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--color-primary);
}

html[data-theme="dark"] .faq-wrap .accordion-button,
html[data-theme="dark"] .faq-wrap .accordion-button:not(.collapsed),
html[data-theme="dark"] .faq-wrap .accordion-body {
    background: var(--color-bg-white);
    color: var(--color-text-white);
}

html[data-theme="dark"] .faq-wrap .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* ── Footer ── */
.site-footer {
    background: url("../images/common/bg-footer.svg") center / cover no-repeat;
}
.site-footer .footer-links-list a:hover,
.site-footer .bottom-nav-links a:hover {
    color: #fff;
}
.site-footer .footer-divider {
    border-top: 1px solid var(--color-border-white8);
    opacity: 1;
}
.site-footer .bottom-nav-links a {
    color: var(--color-text-footer);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.site-footer .copyright-text {
    font-size: 13px;
}
.site-footer .back-to-top-btn {
    width: 32px;
    height: 32px;
    background-color: var(--color-overlay-white5);
    border: 1px solid var(--color-border-white10);
    border-radius: 6px;
    color: var(--color-text-footer);
    text-decoration: none;
    
}
.site-footer .back-to-top-btn:hover {
    color: #fff;
    border-color: white;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3.5rem;
    padding-top: .85rem;
    border-top: 1px solid var(--color-border-tool);
}
.footer span {
    color: var(--color-text-muted);
    font-size: .85rem;
}

.social-link:hover img {
    filter: brightness(0) invert(1);
}

/* ==============================================
   THEME SWITCH
   ============================================== */
/* ── Theme switch ── */
.theme-switch-wrapper {
    width: 168px;
    max-width: 100%;
    height: 40px;
    background: var(--color-bg-theme-switch);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
}
.theme-btn {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: var(--color-overlay-white70);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-btn.active {
    color: #fff;
    background: var(--grad-dark-theme);
    box-shadow: inset 0 1px 1px var(--color-overlay-white15), 0 6px 20px var(--color-shadow-purple);
}
.theme-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(69%) sepia(7%) saturate(482%) hue-rotate(205deg) brightness(89%) contrast(85%);
    transition: 0.3s ease;
}
.theme-btn.active img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* ==============================================
   AI DETECTOR CARDS
   ============================================== */
.cards-ai-detector{
    border-radius: 22px;
    box-shadow: 0px 0px 17px 2px #00000014;
}
html[data-theme="dark"] .cards-ai-detector {
    background-color: var(--color-bg-trust);
}
.cards-ai-detector span{
    color: var(--color-count-card);
}
.detector-img-card{
    height: 38px;
    width: 38px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==============================================
   LIGHT / DARK IMAGE TOGGLE
   ============================================== */
.light-theme-img {
    display: block;
}
.dark-theme-img {
    display: none;
}

@media (min-width: 1200px) {
    .navbar .collapse.d-none {
        display: block !important;
    }

    #mobileToolsNavbar,
    .mobile-tools-dropdown {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .sidebar-slim {
        position: sticky;
        top: 0;
        left: 0;
        transform: translateX(0) !important;
        z-index: 100;
    }

    #expandedSidebar {
        position: sticky;
        top: 0;
        left: 66px;
        transform: translateX(0) !important;
        box-shadow: none;
    }

    .hamburger-menu-btn,
    .tools-menu-trigger,
    .mobile-toggle-btn-sidebar {
        display: none !important;
    }

    .navbar-collapse {
        display: flex !important;
        position: static !important;
        height: 20px !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
    }

    .navbar-nav .nav-item {
        display: flex;
        align-items: center;
    }

    #mobileToolsNavbar {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .fs-16 { font-size: 15px; }

    .footer-arrow {
        transition: transform 0.3s ease;
    }

    .footer-arrow.rotate {
        transform: rotate(180deg);
    }

    .footer-links-list.collapsed li:nth-child(n+6) {
        display: none;
    }

    .btn-primary-gradient {
        padding: 16px 14px;
    }

    .tool-tabs-main {
        padding: 50px 0;
    }

    .tool-tabs-main-pane .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .tool-tabs-main-pane .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .tool-tabs-main-tool-card {
        padding: 12px 16px;
        border: 1px solid var(--color-border-mobile-tool);
        border-radius: 16px;
        box-shadow: none;
        margin-bottom: 0 !important;
    }

    .tool-tabs-main-view-more {
        display: none;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px;
        margin: 12px 0 0 0 !important;
        border: none;
        border-radius: 24px;
        background: var(--color-bg-view-more);
        color: var(--color-primary);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .tool-tabs-main-view-more .btn-arrow-icon {
        width: 14px;
        height: auto;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .tool-tabs-main-view-more.expanded .btn-arrow-icon {
        transform: rotate(-90deg);
    }

    .content-hover:hover {
        background-color: transparent;
    }

    .bg-hero {
        min-height: auto;
    }

    .pad-y-100 {
        padding: 50px 0;
    }

    .main-header {
        position: static !important;
        height: 60px;
    }

    .brand-logo {
        height: 26px;
        width: auto;
    }

    .login-btn {
        padding: 6px 16px !important;
    }

    .nav-actions {
        position: static;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-actions.search-active {
        flex: 1;
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        padding: 0 12px;
        z-index: 10;
        background: var(--color-bg-white);
    }

    .nav-actions.search-active .login-btn,
    .nav-actions.search-active .tools-menu-trigger {
        display: none !important;
    }

    #mobileSearchOverlay {
        display: none;
        position: absolute;
        inset: 0;
        background: var(--color-bg-white);
        z-index: 1055;
        align-items: center;
        gap: 10px;
        padding: 0 12px;
        border: 1px solid var(--color-border-input);
        border-radius: 131px;
    }

    #mobileSearchOverlay .search-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        opacity: .6;
    }

    #mobileSearchOverlay .search-input-overlay {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 15px;
        color: var(--color-text-dark);
        font-family: "Figtree", sans-serif;
    }

    #mobileSearchOverlay .search-input-overlay::placeholder {
        color: var(--color-text-utility3);
    }

    #mobileSearchOverlay #overlaySearchClose {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        text-decoration: none;
    }

    .main-header .container {
        position: relative;
    }

    .search-suggestions {
        position: fixed !important;
        top: 62px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        padding: 16px !important;
        border-radius: 18px !important;
        transform: none !important;
        z-index: 999999 !important;
        box-shadow: 0 10px 40px var(--color-shadow-black12) !important;
        border: 1px solid var(--color-border-search) !important;
    }

    .suggestion-item {
        padding: 8px 10px;
    }

    body.sidebar-lock {
        overflow: hidden;
        height: 100vh;
    }

    body.sidebar-lock::before {
        content: "";
        position: fixed;
        inset: 0;
        background: var(--color-overlay-black40);
        z-index: 1029;
    }

    body.search-overlay-open {
        overflow: hidden;
        touch-action: none;
    }

    #mobileSearchOverlay,
    #searchSuggestions {
        touch-action: auto;
    }

    body,
    .wrapper-main,
    #app-container,
    .main-layout-parent {
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .content-body,
    .main-content,
    main,
    .dashboard-page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        /* padding: 0 15px !important; */
        
    }

    .sidebar-slim {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 66px;
        height: 100dvh;
        min-height: 100dvh;
        z-index: 1051 !important;
        transform: translateX(-100%);
        transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    }

    .sidebar-slim.mobile-open {
        transform: translateX(0);
    }

    #expandedSidebar {
        position: fixed !important;
        top: 0;
        left: 66px;
        width: 260px;
        height: 100vh;
        z-index: 1031 !important;
        transform: translateX(-150%);
        transition: transform .35s cubic-bezier(.4, 0, .2, 1);
        box-shadow: 10px 0 30px var(--color-shadow-black15);
    }

    #expandedSidebar.mobile-open {
        transform: translateX(0);
        padding: 13px;
    }

    body.sidebar-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: var(--color-overlay-dark45);
        backdrop-filter: blur(4px);
        z-index: 1045;
        pointer-events: none;
    }

    body.sidebar-open .wrapper-main,
    body.sidebar-open .main-header {
        transform: translateX(15px) translateY(15px) scale(.98);
        filter: blur(2px);
        opacity: .85;
        pointer-events: none;
    }

    .wrapper-main,
    .main-header {
        position: relative;
        transition: all .3s ease;
    }

    /* Mobile tools drawer */
    #mobileToolsNavbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: var(--color-bg-white) !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: none;
        scrollbar-width: thin;
        scrollbar-color: var(--color-bg-scrollbar-thumb) var(--color-bg-scrollbar);
    }

    #mobileToolsNavbar.show {
        display: block !important;
    }

    #mobileToolsNavbar::-webkit-scrollbar { width: 8px; }
    #mobileToolsNavbar::-webkit-scrollbar-track { background: var(--color-bg-scrollbar); border-radius: 10px; }
    #mobileToolsNavbar::-webkit-scrollbar-thumb { background: var(--color-bg-scrollbar-thumb); border-radius: 10px; }
    #mobileToolsNavbar::-webkit-scrollbar-thumb:hover { background: var(--color-bg-scrollbar-hover); }

    .dropdown-inner-card {
        padding: 16px;
        background: var(--color-bg-white);
    }

    .mobile-pricing-link {
        font-size: 16px;
        font-weight: 500;
        color: var(--color-text-gray1) !important;
        text-decoration: none;
        transition: all .3s ease;
    }

    .mobile-pricing-link:hover,
    .mobile-pricing-link.active {
        color: var(--color-text-purple-alt) !important;
    }

    .pricing-title {
        font-size: 20px;
        font-weight: 500;
        color: var(--color-text-gray4);
        letter-spacing: -0.3px;
    }

    .mobile-tools-dropdown .btn-close {
        font-size: 14px;
        opacity: 0.8;
        box-shadow: none !important;
        outline: none !important;
    }
    html[data-theme="dark"] .mobile-tools-dropdown .btn-close {
            filter: brightness(0) invert(1);
        }

    .all-tools-header {
        color: var(--color-primary);
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border-divider);
    }

    .all-tools-header img,
    .all-tools-header i {
        transition: transform 0.3s ease;
    }

    .all-tools-header[aria-expanded="true"] img,
    .all-tools-header[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .mobile-tools-dropdown .accordion-item {
        border-bottom: 1px solid var(--color-border-divider) !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        background: transparent;
    }

    .mobile-tools-dropdown .accordion-button {
        font-size: 13px;
        font-weight: 500 !important;
        color: var(--color-text-gray1) !important;
        padding: 12px 4px !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex;
        align-items: center;
    }

    .mobile-tools-dropdown .accordion-button:focus {
        box-shadow: none !important;
        border: none !important;
    }

  .mobile-tools-dropdown .accordion-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 12px;
    transition: all .3s ease;
    opacity: 0.8;

    filter: brightness(0) saturate(100%)
            invert(28%) sepia(8%) saturate(1000%)
            hue-rotate(205deg) brightness(90%) contrast(90%) !important;
}


    .mobile-tools-dropdown .accordion-button:not(.collapsed) {
        color: var(--color-primary) !important;
    }

/* Light + Open */
.mobile-tools-dropdown .accordion-button:not(.collapsed) .accordion-icon {
    opacity: 1;
    transform: scale(1.08);

    filter: brightness(0) saturate(100%)
            invert(12%) sepia(99%) saturate(7483%)
            hue-rotate(260deg) brightness(92%) contrast(122%) !important;
}

/* Dark — Closed + Open (same color, same opacity) */
html[data-theme="dark"] .mobile-tools-dropdown .accordion-icon,
html[data-theme="dark"] .mobile-tools-dropdown .accordion-button:not(.collapsed) .accordion-icon {
    opacity: 0.8;
    filter: brightness(0) saturate(100%)
            invert(78%) sepia(8%) saturate(350%)
            hue-rotate(245deg) brightness(90%) contrast(85%) !important;
}

/* Dark + Open — sirf scale */
html[data-theme="dark"] .mobile-tools-dropdown .accordion-button:not(.collapsed) .accordion-icon {
    transform: scale(1.08);
}

/* Dark + Open — text ka color icon ke saath match */
html[data-theme="dark"] .mobile-tools-dropdown .accordion-button:not(.collapsed) {
    color: var(--color-5001DE) !important;
}

.mobile-tools-dropdown .accordion-button::after,
.mobile-tools-dropdown .accordion-button:not(.collapsed)::after {
    background-image: url("../images/common/dropdown-acc.svg");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(12%) !important; /* #1E1E1E */
}

/* Arrow — Dark (closed + open dono icon jaisa color) */
html[data-theme="dark"] .mobile-tools-dropdown .accordion-button::after,
html[data-theme="dark"] .mobile-tools-dropdown .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%)
            invert(78%) sepia(8%) saturate(350%)
            hue-rotate(245deg) brightness(90%) contrast(85%) !important;
}

    .mobile-tools-dropdown .accordion-button::after {
        background-image: url("../images/common/dropdown-acc.svg");
        background-size: 12px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile-tools-dropdown .accordion-button:not(.collapsed)::after {
        filter: invert(17%) sepia(100%) saturate(7464%) hue-rotate(265deg) brightness(78%) contrast(125%);
    }

    .tool-sub-items {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sub-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        border: 1px solid var(--color-border-tool) !important;
        border-radius: 12px !important;
        text-decoration: none !important;
        background: var(--color-bg-white);
        
    }

    .sub-item:hover {
        background: var(--color-bg-mobile-hover);
        border-color: var(--color-border-mobile) !important;
    }

    .sub-item-text {
        font-size: 15px;
        font-weight: 400;
        color: var(--color-text-gray5);
    }

    .icon-box {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg-tool-icon-alt);
        color: var(--color-primary);
        border-radius: 8px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .show-more-link {
        display: inline-flex;
        align-items: center;
        font-size: 15px;
        font-weight: 500;
        color: var(--color-primary) !important;
        text-decoration: none !important;
        padding: 8px 4px;
        width: max-content;
    }

    .show-more-link i {
        font-size: 14px;
        transition: transform 0.2s ease;
    }

    .show-more-link:hover i {
        transform: translateY(2px);
    }
}

@media (max-width: 767px) {

    .logo_track {
        animation-duration: 30s !important;
    }

    .rad-42                { border-radius: 20px; }
    
    .feature-list {
        max-height: 50px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .feature-list.show-all {
        max-height: 500px;
    }
    .logo_track {
        animation-duration: 5s;
    }
    .btn-primary-gradient {
        padding: 16px 14px;
    }

    .main-area {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }

    .app-layout.panel-open .main-area {
        margin-left: 0;
        width: 0;
    }

    .fs-sm-38 { font-size: 38px; }
    .fs-sm-30 { font-size: 30px; }
    .fs-sm-24 { font-size: 24px; }
    .fs-sm-20 { font-size: 20px; }
    .fs-sm-18 { font-size: 18px; }
    .fs-sm-16 { font-size: 16px; }
    .fs-sm-14 { font-size: 14px; }
    .fs-sm-12 { font-size: 12px; }
    .fs-sm-11 { font-size: 11px; }
    .fs-sm-10 { font-size: 10px; }

    .tool-tabs-main {
        padding: 5px 0 50px;
    }

    .feature-list li:nth-child(n+3) {
        display: none;
    }

    .feature-list.show-all li {
        display: block;
    }

    .more-features {
        font-size: 14px;
        cursor: pointer;
    }

    .more-arrow.rotate {
        transform: rotate(180deg);
    }

    .more-text {
        color: var(--color-primary);
        text-decoration: underline;
    }

    .testimonial-indicators {
        position: static;
        margin-top: 16px;
    }
    .testimonial-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--color-primary-lighter);
        opacity: 1;
        border: none;
        margin: 0 3px;
        transition: width 0.2s ease, border-radius 0.2s ease;
    }
    .testimonial-indicators .active {
        width: 20px;
        border-radius: 4px;
        background-color: var(--color-primary);
    }
    #testimonialCarousel .carousel-item .trust-card {
        min-height: 260px;
    }
}

@media (max-width: 576px) {
    .hero-desc {
        max-width: 100%;
    }

    .sidebar-slim,
    #expandedSidebar,
    #mobileToolsNavbar {
        height: 100dvh !important;
        min-height: 100dvh;
    }
}
