﻿/* =========================================================
   Gigabin App UI Override
   Clean mobile-first layer for Layout + Home + Tools
========================================================= */

:root {
    --app-bg: #f5f8fc;
    --app-card: #ffffff;
    --app-text: #0f172a;
    --app-muted: #64748b;
    --app-border: rgba(203, 213, 225, .78);
    --app-blue: #2563eb;
    --app-cyan: #06b6d4;
    --app-green: #10b981;
    --app-dark: #07111f;
    --app-radius: 22px;
    --app-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--app-bg) !important;
    color: var(--app-text);
}

.gb-container {
    width: min(1120px, calc(100% - 20px)) !important;
    margin-inline: auto;
}

.gb-main {
    min-height: 70vh;
    padding-bottom: 78px;
}

/* ================= Header ================= */

.gb-header,
.gb-app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92) !important;
    border-bottom: 1px solid var(--app-border) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gb-header-inner {
    min-height: 62px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gb-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gb-brand-logo {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08) !important;
}

    .gb-brand-logo img {
        width: 36px !important;
        height: 36px !important;
        object-fit: contain !important;
    }

.gb-brand-name strong {
    color: var(--app-text) !important;
    font-size: .94rem !important;
    font-weight: 950 !important;
}

.gb-brand-name small {
    color: var(--app-muted) !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
}

.gb-desktop-nav {
    display: none !important;
}

.gb-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gb-header-phone-link {
    display: none;
}

.gb-menu-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

    .gb-menu-button span {
        background: #0f172a !important;
    }

/* ================= Mobile Menu ================= */

.gb-mobile-backdrop {
    position: fixed;
    z-index: 1025;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(4px);
}

    .gb-mobile-backdrop[hidden] {
        display: none !important;
    }

body.gb-menu-open {
    overflow: hidden;
}

.gb-mobile-menu {
    position: fixed !important;
    z-index: 1035 !important;
    top: 62px !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    display: none;
    border-radius: 0 0 24px 24px !important;
    background: #ffffff !important;
    border: 1px solid var(--app-border) !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .20) !important;
}

    .gb-mobile-menu.is-open {
        display: block !important;
    }

.gb-mobile-menu-inner {
    padding: 13px !important;
}

.gb-mobile-menu-head {
    display: grid;
    gap: 3px;
    padding: 4px 2px 11px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(203, 213, 225, .7);
}

    .gb-mobile-menu-head strong {
        color: var(--app-text);
        font-size: .94rem;
        font-weight: 950;
    }

    .gb-mobile-menu-head span {
        color: var(--app-muted);
        font-size: .76rem;
    }

.gb-mobile-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

    .gb-mobile-menu-grid a,
    .gb-mobile-menu a {
        min-height: 56px !important;
        display: grid !important;
        align-content: center;
        gap: 2px;
        padding: 10px 12px !important;
        border-radius: 17px !important;
        color: var(--app-text) !important;
        background: #f8fbff !important;
        border: 1px solid rgba(203, 213, 225, .82) !important;
    }

        .gb-mobile-menu-grid a strong {
            color: var(--app-text);
            font-size: .84rem;
            font-weight: 950;
        }

        .gb-mobile-menu-grid a span {
            color: var(--app-muted);
            font-size: .72rem;
            line-height: 1.7;
        }

        .gb-mobile-menu-grid a.is-active {
            background: linear-gradient(135deg, rgba(6, 182, 212, .12), rgba(37, 99, 235, .10)) !important;
            border-color: rgba(37, 99, 235, .24) !important;
        }

/* ================= Bottom Nav ================= */

.gb-bottom-nav {
    position: fixed;
    z-index: 1040;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 58px;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px;
    padding: 5px;
    border-radius: 21px;
    background: rgba(7, 17, 31, .94);
    border: 1px solid rgba(125, 211, 252, .16);
    box-shadow: 0 18px 48px rgba(3, 7, 18, .28);
    backdrop-filter: blur(16px);
}

    .gb-bottom-nav a {
        min-width: 0;
        border-radius: 16px;
        color: #aab7cf;
        font-size: .70rem;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

        .gb-bottom-nav a.is-active {
            color: #ffffff;
            background: linear-gradient(135deg, var(--app-cyan), var(--app-blue));
        }

/* ================= Home App Page ================= */

.gb-home-app {
    padding: 10px 0 16px;
}

.gb-app-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.gb-app-hero-content {
    border-radius: 24px;
    padding: 17px;
    background: radial-gradient(circle at top left, rgba(6, 182, 212, .12), transparent 40%), linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
}

.gb-app-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--app-blue);
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .14);
    font-size: .70rem;
    font-weight: 950;
    margin-bottom: 9px;
}

.gb-app-hero-content h1 {
    margin: 0;
    color: var(--app-text);
    font-size: 1.28rem;
    line-height: 1.85;
    font-weight: 950;
    letter-spacing: -.02em;
}

.gb-app-hero-content p {
    margin: 9px 0 0;
    color: #536174;
    font-size: .82rem;
    line-height: 2;
}

.gb-app-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 13px;
}

.gb-app-primary,
.gb-app-secondary {
    width: 100%;
    min-height: 46px;
    border-radius: 15px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .84rem;
    font-weight: 950;
    text-align: center;
}

.gb-app-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--app-cyan), var(--app-blue));
    box-shadow: 0 14px 30px rgba(37, 99, 235, .18);
}

.gb-app-secondary {
    color: var(--app-text);
    background: #ffffff;
    border: 1px solid var(--app-border);
}

.gb-app-hero-panel {
    display: none;
}

.gb-app-quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 10px;
}

.gb-app-tool-card {
    display: block;
    border-radius: 18px;
    padding: 13px;
    background: #ffffff;
    border: 1px solid var(--app-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

    .gb-app-tool-card span {
        width: 28px;
        height: 28px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--app-blue);
        background: rgba(37, 99, 235, .08);
        font-size: .72rem;
        font-weight: 950;
        margin-bottom: 7px;
    }

    .gb-app-tool-card strong {
        display: block;
        color: var(--app-text);
        font-size: .90rem;
        font-weight: 950;
        line-height: 1.8;
    }

    .gb-app-tool-card p {
        margin: 4px 0 0;
        color: var(--app-muted);
        font-size: .77rem;
        line-height: 1.85;
    }

.gb-app-tool-hot {
    background: radial-gradient(circle at top left, rgba(16, 185, 129, .12), transparent 38%), #ffffff;
    border-color: rgba(16, 185, 129, .22);
}

.gb-app-section {
    margin-top: 10px;
    border-radius: 20px;
    padding: 13px;
    background: #ffffff;
    border: 1px solid var(--app-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.gb-app-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 9px;
}

    .gb-app-section-head span {
        color: var(--app-blue);
        font-size: .70rem;
        font-weight: 950;
    }

    .gb-app-section-head h2 {
        margin: 3px 0 0;
        color: var(--app-text);
        font-size: .96rem;
        line-height: 1.8;
        font-weight: 950;
    }

    .gb-app-section-head a {
        min-height: 38px;
        border-radius: 14px;
        padding: 7px 12px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        color: var(--app-blue);
        background: rgba(37, 99, 235, .07);
        border: 1px solid rgba(37, 99, 235, .14);
        font-size: .78rem;
        font-weight: 950;
    }

.gb-app-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.gb-app-mini-card {
    display: block;
    border-radius: 15px;
    padding: 11px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(203, 213, 225, .72);
}

    .gb-app-mini-card strong {
        display: block;
        color: var(--app-text);
        font-size: .84rem;
        font-weight: 950;
        line-height: 1.8;
    }

    .gb-app-mini-card p {
        margin: 3px 0 0;
        color: var(--app-muted);
        font-size: .74rem;
        line-height: 1.85;
    }

.gb-app-buy-section {
    margin-top: 10px;
    border-radius: 20px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

    .gb-app-buy-section span {
        color: #67e8f9;
        font-size: .72rem;
        font-weight: 950;
    }

    .gb-app-buy-section h2 {
        margin: 5px 0 0;
        color: #ffffff;
        font-size: .98rem;
        line-height: 1.8;
        font-weight: 950;
    }

    .gb-app-buy-section p {
        margin: 6px 0 0;
        color: rgba(226, 232, 240, .76);
        font-size: .78rem;
        line-height: 1.9;
    }

.gb-app-buy-actions {
    display: grid;
    gap: 8px;
}

/* ================= Footer ================= */

.gb-footer,
.gb-footer-pro {
    margin-top: 18px !important;
    padding: 22px 0 calc(88px + env(safe-area-inset-bottom)) !important;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, .10), transparent 34%), linear-gradient(135deg, #07111f, #0f172a) !important;
    color: #e5eefc !important;
}

.gb-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.gb-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

    .gb-footer-brand img {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: #ffffff;
    }

    .gb-footer-brand span {
        display: grid;
        gap: 2px;
    }

    .gb-footer-brand strong {
        color: #ffffff;
        font-size: 1rem;
        font-weight: 950;
    }

    .gb-footer-brand small {
        color: rgba(226, 232, 240, .72);
        font-size: .76rem;
        font-weight: 800;
    }

.gb-footer-brand-block p {
    margin: 13px 0 0;
    color: rgba(226, 232, 240, .76);
    font-size: .82rem;
    line-height: 2;
}

.gb-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.gb-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

    .gb-social-btn span {
        font-size: .78rem;
        font-weight: 950;
    }

.gb-social-bale {
    background: linear-gradient(135deg, #00a3ff, #2563eb);
}

.gb-social-telegram {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.gb-social-rubika {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.gb-social-instagram {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 18%, transparent 36%), linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.gb-footer-col,
.gb-footer-contact {
    display: grid;
    gap: 8px;
}

    .gb-footer-col h3,
    .gb-footer-contact h3 {
        margin: 0 0 5px;
        color: #ffffff;
        font-size: .92rem;
        font-weight: 950;
    }

    .gb-footer-col a {
        color: rgba(226, 232, 240, .78);
        font-size: .80rem;
        line-height: 1.9;
        font-weight: 800;
    }

.gb-footer-contact-item {
    display: grid;
    gap: 3px;
    padding: 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .10);
}

    .gb-footer-contact-item strong {
        color: #93c5fd;
        font-size: .74rem;
        font-weight: 950;
    }

    .gb-footer-contact-item span,
    .gb-footer-contact-item a {
        color: rgba(226, 232, 240, .84);
        font-size: .80rem;
        line-height: 1.9;
        font-weight: 800;
    }

    .gb-footer-contact-item a {
        direction: ltr;
        justify-self: start;
    }

.gb-footer-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

    .gb-footer-contact-actions a {
        min-height: 40px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(135deg, rgba(6, 182, 212, .22), rgba(37, 99, 235, .24));
        border: 1px solid rgba(147, 197, 253, .18);
        font-size: .78rem;
        font-weight: 950;
    }

.gb-footer-bottom {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: grid;
    gap: 6px;
    text-align: center;
    color: rgba(226, 232, 240, .62);
    font-size: .74rem;
    font-weight: 800;
}

/* =========================================================
   Tools Page - Clean App Style
========================================================= */

.tools-app {
    width: min(1080px, calc(100% - 22px));
    margin: 0 auto;
    padding: 14px 0 30px;
}

.tools-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
    gap: 14px;
    align-items: stretch;
}

.tools-hero-text {
    min-height: 280px;
    border-radius: 30px;
    padding: 28px;
    display: grid;
    align-content: center;
    background: radial-gradient(circle at 10% 10%, rgba(6, 182, 212, .18), transparent 32%), linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, .16);
}

.tools-kicker {
    width: fit-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    color: #67e8f9;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(125, 211, 252, .18);
    font-size: .72rem;
    font-weight: 950;
    margin-bottom: 10px;
}

.tools-hero h1 {
    margin: 0;
    max-width: 720px;
    color: #fff;
    font-size: 1.85rem;
    line-height: 1.7;
    font-weight: 950;
}

.tools-hero p {
    margin: 10px 0 0;
    max-width: 680px;
    color: rgba(226, 232, 240, .78);
    font-size: .92rem;
    line-height: 2;
}

.tools-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.tools-primary,
.tools-secondary {
    min-height: 44px;
    border-radius: 15px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .84rem;
    font-weight: 950;
    text-decoration: none;
}

.tools-primary {
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .20);
}

.tools-secondary {
    color: #e2e8f0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

.tools-hero-panel {
    display: grid;
    gap: 10px;
}

.tools-panel-card,
.tools-panel-stats div,
.tools-path-card,
.tools-filter-card,
.tools-item {
    background: #fff;
    border: 1px solid rgba(203, 213, 225, .86);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.tools-panel-card {
    border-radius: 26px;
    padding: 20px;
}

.tools-panel-main {
    min-height: 195px;
    display: grid;
    align-content: center;
}

.tools-panel-card span,
.tools-filter-head span {
    color: #2563eb;
    font-size: .74rem;
    font-weight: 950;
}

.tools-panel-card strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: 1.18rem;
    line-height: 1.8;
    font-weight: 950;
}

.tools-panel-card p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.9;
}

.tools-panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    .tools-panel-stats div {
        border-radius: 20px;
        padding: 16px;
    }

    .tools-panel-stats strong {
        display: block;
        color: #0f172a;
        font-size: 1.25rem;
        font-weight: 950;
    }

    .tools-panel-stats span {
        display: block;
        margin-top: 3px;
        color: #64748b;
        font-size: .74rem;
        font-weight: 850;
    }

.tools-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.tools-path-card {
    min-height: 145px;
    border-radius: 22px;
    padding: 16px;
    text-decoration: none;
}

    .tools-path-card span {
        width: fit-content;
        min-height: 24px;
        border-radius: 999px;
        padding: 3px 8px;
        display: inline-flex;
        align-items: center;
        color: #2563eb;
        background: rgba(37, 99, 235, .08);
        font-size: .70rem;
        font-weight: 950;
    }

    .tools-path-card strong {
        display: block;
        margin-top: 10px;
        color: #0f172a;
        font-size: .94rem;
        line-height: 1.8;
        font-weight: 950;
    }

    .tools-path-card p {
        margin: 5px 0 0;
        color: #64748b;
        font-size: .76rem;
        line-height: 1.85;
    }

.tools-filter-card {
    margin-top: 12px;
    border-radius: 22px;
    padding: 14px;
}

.tools-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .tools-filter-head strong {
        display: block;
        margin-top: 2px;
        color: #0f172a;
        font-size: .96rem;
        font-weight: 950;
    }

    .tools-filter-head small {
        color: #64748b;
        font-size: .74rem;
        font-weight: 850;
    }

.tools-filter-form {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 100px auto;
    gap: 8px;
    align-items: center;
}

    .tools-filter-form .form-control,
    .tools-filter-form .form-select {
        min-height: 44px;
        border-radius: 15px;
        border: 1px solid rgba(203, 213, 225, .95);
        background: #f8fbff;
        font-size: .82rem;
    }

    .tools-filter-form button,
    .tools-filter-form a {
        min-height: 44px;
        border-radius: 15px;
        border: 0;
        padding: 9px 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .82rem;
        font-weight: 950;
        text-decoration: none;
    }

    .tools-filter-form button {
        color: #fff;
        background: linear-gradient(135deg, #06b6d4, #2563eb);
    }

    .tools-filter-form a {
        color: #334155;
        background: #f1f5f9;
    }

.tools-empty {
    margin-top: 12px;
    border-radius: 22px;
    padding: 18px;
    background: #fff7ed;
    border: 1px solid rgba(251, 146, 60, .28);
}

    .tools-empty strong {
        color: #9a3412;
        font-size: .96rem;
        font-weight: 950;
    }

    .tools-empty p {
        margin: 6px 0 0;
        color: #9a3412;
        font-size: .82rem;
        line-height: 1.85;
    }

.tools-list {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.tools-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 12px;
    align-items: center;
    border-radius: 22px;
    padding: 13px;
    text-decoration: none;
}

    .tools-item:hover {
        border-color: rgba(37, 99, 235, .28);
        box-shadow: 0 16px 38px rgba(15, 23, 42, .075);
    }

    .tools-item.is-featured {
        border-color: rgba(37, 99, 235, .22);
        background: radial-gradient(circle at top right, rgba(6, 182, 212, .08), transparent 32%), #fff;
    }

.tools-item-main {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.tools-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: -.02em;
}

.tools-item-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

    .tools-item-top span,
    .tools-item-top em {
        min-height: 23px;
        border-radius: 999px;
        padding: 3px 8px;
        display: inline-flex;
        align-items: center;
        font-size: .68rem;
        font-weight: 950;
        font-style: normal;
    }

    .tools-item-top span {
        color: #2563eb;
        background: rgba(37, 99, 235, .08);
    }

    .tools-item-top em {
        color: #047857;
        background: rgba(16, 185, 129, .10);
    }

.tools-item h2 {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: .95rem;
    line-height: 1.75;
    font-weight: 950;
}

.tools-item p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.8;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

    .tools-tags span {
        min-height: 22px;
        border-radius: 999px;
        padding: 2px 7px;
        color: #64748b;
        background: #f1f5f9;
        font-size: .66rem;
        font-weight: 800;
    }

.tools-item-action {
    min-width: 68px;
    min-height: 36px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: rgba(37, 99, 235, .08);
    font-size: .76rem;
    font-weight: 950;
}

.tools-bottom-cta {
    margin-top: 14px;
    border-radius: 26px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .14);
}

    .tools-bottom-cta span {
        color: #67e8f9;
        font-size: .74rem;
        font-weight: 950;
    }

    .tools-bottom-cta strong {
        display: block;
        margin-top: 5px;
        color: #fff;
        font-size: 1.04rem;
        font-weight: 950;
        line-height: 1.8;
    }

    .tools-bottom-cta p {
        margin: 5px 0 0;
        color: rgba(226, 232, 240, .76);
        font-size: .82rem;
        line-height: 1.85;
    }

.tools-bottom-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

/* ================= Desktop ================= */

@media (min-width: 900px) {
    body {
        padding-bottom: 0 !important;
    }

    .gb-main {
        padding-bottom: 0;
    }

    .gb-header-inner {
        min-height: 72px !important;
    }

    .gb-desktop-nav {
        display: inline-flex !important;
        align-items: center;
        gap: 5px;
        padding: 5px;
        border-radius: 999px;
        background: #f8fbff;
        border: 1px solid rgba(203, 213, 225, .85);
    }

        .gb-desktop-nav a {
            min-height: 36px;
            padding: 8px 12px;
            border-radius: 999px;
            color: #475569;
            font-size: .78rem;
            font-weight: 950;
        }

            .gb-desktop-nav a:hover {
                background: rgba(37, 99, 235, .07);
                color: var(--app-blue);
            }

            .gb-desktop-nav a.is-active {
                color: #ffffff;
                background: linear-gradient(135deg, var(--app-cyan), var(--app-blue));
                box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
            }

    .gb-header-phone-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        border-radius: 999px;
        padding: 8px 14px;
        color: var(--app-text);
        background: #ffffff;
        border: 1px solid rgba(203, 213, 225, .9);
        font-size: .82rem;
        font-weight: 950;
        direction: ltr;
    }

    .gb-menu-button,
    .gb-mobile-menu,
    .gb-mobile-backdrop,
    .gb-bottom-nav {
        display: none !important;
    }

    .gb-home-app {
        padding: 22px 0 30px;
    }

    .gb-app-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr);
        gap: 16px;
        align-items: stretch;
    }

    .gb-app-hero-content {
        border-radius: 30px;
        padding: 28px;
    }

        .gb-app-hero-content h1 {
            font-size: 2.35rem;
            line-height: 1.65;
        }

        .gb-app-hero-content p {
            font-size: .98rem;
            max-width: 720px;
        }

    .gb-app-actions {
        display: flex;
        flex-wrap: wrap;
        width: auto;
    }

    .gb-app-primary,
    .gb-app-secondary {
        width: auto;
        min-width: 190px;
    }

    .gb-app-hero-panel {
        display: grid;
        align-content: center;
        gap: 12px;
        min-height: 310px;
        border-radius: 30px;
        padding: 22px;
        background: radial-gradient(circle at 30% 15%, rgba(103, 232, 249, .30), transparent 36%), linear-gradient(135deg, #0f172a, #1e293b);
        box-shadow: 0 22px 60px rgba(15, 23, 42, .16);
    }

    .gb-app-logo-box {
        width: 94px;
        height: 94px;
        border-radius: 28px;
        display: grid;
        place-items: center;
        background: #ffffff;
        margin-inline: auto;
    }

        .gb-app-logo-box img {
            width: 72px;
            height: 72px;
            object-fit: contain;
        }

    .gb-app-stat {
        border-radius: 20px;
        padding: 13px;
        background: rgba(255, 255, 255, .09);
        border: 1px solid rgba(255, 255, 255, .14);
    }

        .gb-app-stat span {
            color: #67e8f9;
            font-size: .72rem;
            font-weight: 950;
        }

        .gb-app-stat strong {
            display: block;
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 950;
            margin-top: 4px;
        }

        .gb-app-stat small {
            display: block;
            color: rgba(226, 232, 240, .76);
            font-size: .78rem;
            line-height: 1.8;
        }

    .gb-app-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 14px;
    }

    .gb-app-section {
        margin-top: 14px;
        border-radius: 26px;
        padding: 18px;
    }

    .gb-app-section-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }

    .gb-app-mini-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .gb-app-buy-section {
        grid-template-columns: minmax(0, 1fr) minmax(240px, .38fr);
        border-radius: 28px;
        padding: 20px;
    }

    .gb-footer-pro {
        padding: 30px 0 !important;
    }

    .gb-footer-main {
        grid-template-columns: 1.35fr .8fr .8fr 1fr;
        gap: 20px;
    }

    .gb-footer-contact-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gb-footer-bottom {
        display: flex;
        justify-content: space-between;
        text-align: right;
    }
}

/* ================= Tablet Tools ================= */

@media (max-width: 980px) {
    .tools-hero {
        grid-template-columns: 1fr;
    }

    .tools-paths {
        grid-template-columns: 1fr;
    }

    .tools-filter-form {
        grid-template-columns: 1fr;
    }

    .tools-bottom-cta {
        grid-template-columns: 1fr;
    }
}

/* ================= Mobile Tools ================= */

@media (max-width: 680px) {
    .tools-app {
        width: min(100% - 18px, 1080px);
        padding-top: 10px;
    }

    .tools-hero-text {
        min-height: auto;
        border-radius: 24px;
        padding: 19px;
    }

    .tools-hero h1 {
        font-size: 1.28rem;
    }

    .tools-hero p {
        font-size: .80rem;
    }

    .tools-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tools-panel-main {
        min-height: auto;
    }

    .tools-panel-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tools-filter-head {
        display: grid;
    }

    .tools-item {
        grid-template-columns: 1fr;
    }

    .tools-item-main {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .tools-item-icon {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: .68rem;
    }

    .tools-item-action {
        width: 100%;
    }

    .tools-bottom-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tools-primary,
    .tools-secondary {
        width: 100%;
    }
}

/* ================= Very small phones ================= */

@media (max-width: 380px) {
    .gb-container {
        width: min(100% - 16px, 1120px) !important;
    }

    .gb-brand-name small {
        display: none;
    }

    .gb-app-hero-content h1 {
        font-size: 1.18rem;
    }

    .gb-app-hero-content p,
    .gb-app-tool-card p,
    .gb-app-mini-card p {
        font-size: .73rem;
    }

    .gb-bottom-nav {
        left: 7px;
        right: 7px;
    }

        .gb-bottom-nav a {
            font-size: .66rem;
        }
    .gb-result-box {
        padding: 16px;
        border-radius: 20px;
        background: radial-gradient(circle at top left, rgba(6, 182, 212, .12), transparent 34%), linear-gradient(180deg, #ffffff, #f8fbff);
        border: 1px solid rgba(203, 213, 225, .86);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
    }

        .gb-result-box strong {
            display: block;
            color: #0f172a;
            font-size: .96rem;
            font-weight: 950;
            line-height: 1.8;
        }

        .gb-result-box p {
            margin: 8px 0 0;
            color: #475569;
            font-size: .84rem;
            line-height: 2;
        }

    .gb-tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

        .gb-tag-list span {
            min-height: 26px;
            border-radius: 999px;
            padding: 4px 9px;
            color: #2563eb;
            background: rgba(37, 99, 235, .08);
            border: 1px solid rgba(37, 99, 235, .14);
            font-size: .72rem;
            font-weight: 900;
        }
}
