﻿@font-face {
    font-family: 'GigabinFont';
    src: url('/font/vazir.woff2') format('woff2'), url('/font/vazir.woff') format('woff'), url('/font/Vazir.woff2') format('woff2'), url('/font/Vazir.woff') format('woff'), url('/font/vazir/vazir.woff2') format('woff2'), url('/font/vazir/vazir.woff') format('woff'), url('/font/vazir/Vazir.woff2') format('woff2'), url('/font/vazir/Vazir.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --gb-dark: #07111f;
    --gb-dark-2: #0b1728;
    --gb-bg: #f4f8ff;
    --gb-card: #ffffff;
    --gb-text: #111827;
    --gb-muted: #64748b;
    --gb-border: #dbe7f5;
    --gb-blue: #2563eb;
    --gb-blue-2: #1d4ed8;
    --gb-cyan: #06b6d4;
    --gb-cyan-2: #22d3ee;
    --gb-purple: #6d28d9;
    --gb-green: #10b981;
    --gb-orange: #f97316;
    --gb-red: #e11d48;
    --gb-soft-blue: #eaf1ff;
    --gb-soft-cyan: #ecfeff;
    --gb-soft-green: #ecfdf5;
    --gb-soft-orange: #fff7ed;
    --gb-radius: 20px;
    --gb-radius-lg: 30px;
    --gb-shadow: 0 18px 50px rgba(15, 23, 42, .11);
    --gb-shadow-sm: 0 10px 28px rgba(15, 23, 42, .075);
    --gb-bottom-nav-height: 74px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

html,
body,
body *,
button,
input,
select,
textarea {
    font-family: 'GigabinFont', Tahoma, Arial, sans-serif !important;
}

body {
    min-height: 100%;
    margin: 0;
    direction: rtl;
    color: var(--gb-text);
    background: radial-gradient(circle at top right, rgba(6, 182, 212, .12), transparent 27rem), radial-gradient(circle at top left, rgba(37, 99, 235, .10), transparent 28rem), linear-gradient(180deg, #edf6ff 0%, #f8fbff 55%, #ffffff 100%);
    padding-bottom: var(--gb-bottom-nav-height);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: inherit;
    }

img {
    max-width: 100%;
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.gb-app {
    min-height: 100vh;
}

.gb-container {
    width: min(1120px, calc(100% - 24px));
    margin-inline: auto;
}

/* Header */

.gb-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(90deg, rgba(7, 17, 31, .98), rgba(11, 23, 40, .97));
    border-bottom: 1px solid rgba(125, 211, 252, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.gb-header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gb-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gb-brand-logo {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(15, 23, 42, .78), rgba(8, 47, 73, .56));
    border: 1px solid rgba(125, 211, 252, .20);
    box-shadow: 0 10px 26px rgba(3, 7, 18, .18);
}

    .gb-brand-logo img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        object-fit: contain !important;
        display: block !important;
    }

.gb-brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .gb-brand-name strong {
        color: #ffffff;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .gb-brand-name small {
        color: #a8b3c7;
        font-size: .72rem;
        font-weight: 400;
        white-space: nowrap;
    }

/* Desktop nav */

.gb-desktop-nav {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(125, 211, 252, .12);
}

    .gb-desktop-nav a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 13px;
        border-radius: 999px;
        color: #cbd5e1;
        font-size: .8rem;
        font-weight: 700;
        transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    }

        .gb-desktop-nav a:hover {
            background: rgba(255, 255, 255, .08);
            color: #ffffff;
        }

        .gb-desktop-nav a.is-active {
            background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue), var(--gb-purple));
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
        }

/* Hamburger */

.gb-menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

    .gb-menu-button span {
        width: 18px;
        height: 2px;
        border-radius: 99px;
        background: #ffffff;
        transition: transform .18s ease, opacity .18s ease;
    }

    .gb-menu-button.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .gb-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .gb-menu-button.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.gb-mobile-menu {
    display: none;
    background: rgba(7, 17, 31, .98);
    border-top: 1px solid rgba(125, 211, 252, .10);
}

    .gb-mobile-menu.is-open {
        display: block;
    }

.gb-mobile-menu-inner {
    display: grid;
    gap: 8px;
    padding: 12px 0 16px;
}

.gb-mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(125, 211, 252, .10);
    color: #e9f1ff;
    font-size: .88rem;
    font-weight: 700;
}

    .gb-mobile-menu a.is-active {
        background: linear-gradient(135deg, rgba(6, 182, 212, .22), rgba(37, 99, 235, .26));
        border-color: rgba(6, 182, 212, .36);
    }

/* Main */

.gb-main {
    min-height: calc(100vh - 170px);
}

/* Home */

.gb-home {
    position: relative;
    overflow: hidden;
    padding: 18px 0 34px;
    direction: rtl;
}

.gb-home-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 82% 12%, rgba(6, 182, 212, .16), transparent 22rem), radial-gradient(circle at 12% 18%, rgba(109, 40, 217, .10), transparent 20rem);
    opacity: .95;
}

.gb-home .gb-container {
    position: relative;
    z-index: 1;
}

.gb-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #07111f 0%, #0b1f35 45%, #062c33 100%);
    color: #ffffff;
    box-shadow: var(--gb-shadow);
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .18);
}

    .gb-home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
        background-size: 34px 34px;
        mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent);
        -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent);
        pointer-events: none;
    }

.gb-home-content,
.gb-home-visual {
    position: relative;
    z-index: 2;
}

.gb-home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gb-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: rgba(6, 182, 212, .12);
    border: 1px solid rgba(6, 182, 212, .28);
    color: #a5f3fc;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .2px;
}

    .gb-home-kicker::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--gb-cyan);
        box-shadow: 0 0 16px rgba(6, 182, 212, .8);
    }

.gb-home h1 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.55rem;
    line-height: 1.75;
    font-weight: 700;
    letter-spacing: -.2px;
    text-shadow: 0 12px 34px rgba(0, 0, 0, .26);
}

.gb-home-content > p {
    margin: 10px 0 0;
    color: #b9c7d8;
    font-size: .94rem;
    line-height: 2.05;
    max-width: 650px;
}

.gb-home-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.gb-home-primary,
.gb-home-secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}

.gb-home-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue) 58%, var(--gb-purple));
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

    .gb-home-primary:hover {
        color: #ffffff;
        filter: saturate(1.08);
    }

.gb-home-secondary {
    color: #eaf6ff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(125, 211, 252, .16);
}

    .gb-home-secondary:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, .12);
    }

.gb-home-visual {
    min-height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gb-home-visual::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(6, 182, 212, .28), rgba(37, 99, 235, .20));
        filter: blur(2px);
    }

.gb-home-logo-card {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(15, 23, 42, .78), rgba(8, 47, 73, .62));
    border: 1px solid rgba(125, 211, 252, .22);
    box-shadow: 0 24px 60px rgba(3, 7, 18, .32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

    .gb-home-logo-card img {
        width: 116px !important;
        height: 116px !important;
        max-width: 116px !important;
        max-height: 116px !important;
        object-fit: contain !important;
    }

.gb-home-stat {
    position: absolute;
    z-index: 3;
    width: 148px;
    border-radius: 20px;
    padding: 12px;
    background: rgba(2, 8, 23, .74);
    border: 1px solid rgba(125, 211, 252, .20);
    box-shadow: 0 18px 42px rgba(3, 7, 18, .18);
    color: #e5f6ff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

    .gb-home-stat strong {
        display: block;
        direction: ltr;
        text-align: right;
        font-size: 1rem;
        font-weight: 700;
        color: #67e8f9;
    }

    .gb-home-stat span {
        display: block;
        margin-top: 4px;
        color: #cbd5e1;
        font-size: .72rem;
        line-height: 1.7;
        font-weight: 400;
    }

.gb-home-stat-1 {
    top: 12px;
    right: 0;
}

.gb-home-stat-2 {
    left: 0;
    bottom: 12px;
}

.gb-home-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
}

.gb-home-tool-card {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241, 248, 255, .92));
    border: 1px solid var(--gb-border);
    box-shadow: var(--gb-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .gb-home-tool-card::after {
        content: "";
        position: absolute;
        left: -36px;
        bottom: -36px;
        width: 105px;
        height: 105px;
        border-radius: 999px;
        background: rgba(37, 99, 235, .08);
    }

    .gb-home-tool-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--gb-shadow);
        border-color: rgba(37, 99, 235, .24);
    }

    .gb-home-tool-card span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 28px;
        padding: 0 10px;
        margin-bottom: 13px;
        border-radius: 999px;
        background: #ecfeff;
        color: #0891b2;
        font-size: .75rem;
        font-weight: 700;
        direction: ltr;
    }

    .gb-home-tool-card strong {
        color: var(--gb-text);
        font-size: 1.02rem;
        font-weight: 700;
    }

    .gb-home-tool-card p {
        margin: 8px 0 0;
        color: var(--gb-muted);
        font-size: .84rem;
        line-height: 1.9;
    }

/* Shared tool pages */

.gb-page {
    padding: 18px 0 34px;
    direction: rtl;
}

.gb-shell {
    width: min(980px, calc(100% - 20px));
    margin-inline: auto;
}

.gb-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--gb-radius-lg);
    padding: 20px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0b1f35 45%, #062c33 100%);
    color: #ffffff;
    box-shadow: var(--gb-shadow);
    border: 1px solid rgba(125, 211, 252, .16);
}

    .gb-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
        background-size: 34px 34px;
        mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
        -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
        pointer-events: none;
    }

    .gb-hero > * {
        position: relative;
        z-index: 1;
    }

.gb-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(6, 182, 212, .12);
    border: 1px solid rgba(6, 182, 212, .28);
    color: #a5f3fc;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 10px;
}

    .gb-badge::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 99px;
        background: var(--gb-cyan);
        box-shadow: 0 0 16px rgba(6, 182, 212, .8);
    }

.gb-title {
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.8;
    font-weight: 700;
    margin: 0 0 8px;
}

.gb-desc {
    color: #c7d2e5;
    font-size: .92rem;
    line-height: 2;
    margin: 0;
}

.gb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.gb-card {
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--gb-shadow-sm);
    overflow: hidden;
}

.gb-card-body {
    padding: 16px;
}

.gb-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 13px;
    color: var(--gb-text);
}

    .gb-section-title span {
        width: 10px;
        height: 10px;
        border-radius: 99px;
        background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue));
        box-shadow: 0 0 0 6px rgba(6, 182, 212, .12);
    }

.gb-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
}

.gb-label {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: #26344d;
}

.gb-input,
.gb-select {
    min-height: 53px;
    border-radius: 16px !important;
    border: 1px solid #d7e2f2 !important;
    background: #f9fcff !important;
    font-size: 1rem;
    font-weight: 400;
    color: var(--gb-text) !important;
    box-shadow: none !important;
}

.gb-select {
    direction: rtl !important;
    text-align: right !important;
    padding-right: 1rem !important;
    padding-left: 3rem !important;
    background-position: left 1rem center !important;
}

    .gb-input:focus,
    .gb-select:focus {
        border-color: rgba(6, 182, 212, .7) !important;
        box-shadow: 0 0 0 4px rgba(6, 182, 212, .12) !important;
    }

.gb-help {
    color: var(--gb-muted);
    font-size: .78rem;
    line-height: 1.8;
    margin-top: 6px;
}

.gb-submit {
    min-height: 55px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue) 55%, var(--gb-purple));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

    .gb-submit:hover {
        color: #ffffff;
        filter: saturate(1.08);
    }

.gb-alert {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #be123c;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: .88rem;
    line-height: 1.9;
    margin-top: 12px;
}

.gb-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.gb-info-item {
    border: 1px solid var(--gb-border);
    border-radius: 17px;
    background: #fbfdff;
    padding: 12px;
}

    .gb-info-item strong {
        display: block;
        font-size: .88rem;
        font-weight: 700;
        margin-bottom: 5px;
        color: #23314a;
    }

    .gb-info-item p {
        color: var(--gb-muted);
        font-size: .82rem;
        line-height: 1.9;
        margin: 0;
    }

.gb-mini-note {
    margin-top: 12px;
    border-radius: 17px;
    background: var(--gb-soft-orange);
    color: #c2410c;
    padding: 12px;
    font-size: .82rem;
    line-height: 1.9;
}

/* Result modal */

.gb-result-box {
    border-radius: 20px;
    background: linear-gradient(135deg, #eefaff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    padding: 14px;
}

.gb-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #d6e1f0;
    font-size: .9rem;
}

    .gb-result-row:last-child {
        border-bottom: 0;
    }

    .gb-result-row span:first-child {
        color: var(--gb-muted);
        white-space: nowrap;
    }

    .gb-result-row span:last-child {
        font-weight: 700;
        color: var(--gb-text);
        text-align: left;
    }

.gb-value-ltr {
    direction: ltr;
    unicode-bidi: embed;
    text-align: left;
}

.gb-value-rtl {
    direction: rtl;
    unicode-bidi: embed;
    text-align: left;
}

.gb-result-summary {
    margin-top: 12px;
    border-radius: 16px;
    background: var(--gb-soft-green);
    color: #047857;
    padding: 12px;
    font-size: .88rem;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
}

.gb-modal .modal-content {
    border-radius: 24px;
    border: 0;
    overflow: hidden;
}

.gb-modal .modal-header {
    background: linear-gradient(135deg, #07111f, #172554);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.gb-modal .modal-title {
    font-weight: 700;
}

.gb-modal .btn-close {
    filter: invert(1);
}

.gb-action-btn {
    border-radius: 14px !important;
    min-height: 44px;
    font-weight: 700;
}

/* Footer */

.gb-footer {
    position: relative;
    overflow: hidden;
    margin-top: 38px;
    padding: 26px 0 calc(28px + var(--gb-bottom-nav-height));
    border-top: 1px solid rgba(148, 163, 184, .22);
    background: radial-gradient(circle at 85% 20%, rgba(6, 182, 212, .14), transparent 18rem), radial-gradient(circle at 15% 80%, rgba(37, 99, 235, .10), transparent 18rem), linear-gradient(135deg, #07111f 0%, #0b1728 55%, #061f26 100%);
    color: #e5f6ff;
}

    .gb-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
        background-size: 32px 32px;
        opacity: .55;
        pointer-events: none;
    }

.gb-footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.gb-footer-copy {
    display: grid;
    gap: 8px;
}

    .gb-footer-copy strong {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        font-size: 1.05rem;
        font-weight: 700;
    }

        .gb-footer-copy strong::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: #22d3ee;
            box-shadow: 0 0 18px rgba(34, 211, 238, .85);
        }

    .gb-footer-copy p {
        max-width: 620px;
        margin: 0;
        color: #aab8cc;
        font-size: .84rem;
        line-height: 2;
    }

.gb-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

    .gb-footer-links a {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 12px;
        border-radius: 15px;
        color: #dbeafe;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .09);
        font-size: .78rem;
        font-weight: 700;
        transition: background .18s ease, transform .18s ease, border-color .18s ease;
    }

        .gb-footer-links a:hover {
            color: #ffffff;
            background: rgba(6, 182, 212, .13);
            border-color: rgba(6, 182, 212, .28);
            transform: translateY(-2px);
        }

/* Bottom mobile nav */

.gb-bottom-nav {
    position: fixed;
    z-index: 1040;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 58px;
    border-radius: 22px;
    background: rgba(7, 17, 31, .94);
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow: 0 18px 48px rgba(3, 7, 18, .28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
}

    .gb-bottom-nav a {
        border-radius: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #aab7cf;
        font-size: .76rem;
        font-weight: 700;
    }

        .gb-bottom-nav a.is-active {
            background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue));
            color: #ffffff;
        }

/* Logo limit */

.gb-home-logo-card img,
.gb-main img[src*="gigabin-logo"] {
    max-width: 132px !important;
    max-height: 132px !important;
    object-fit: contain !important;
}

/* Validation */

.text-danger {
    font-size: .78rem;
    margin-top: 5px;
}

/* Desktop */

@media (min-width: 900px) {
    body {
        padding-bottom: 0;
    }

    .gb-desktop-nav {
        display: inline-flex;
    }

    .gb-menu-button,
    .gb-mobile-menu,
    .gb-bottom-nav {
        display: none !important;
    }

    .gb-header-inner {
        min-height: 74px;
    }

    .gb-home {
        padding: 34px 0 50px;
    }

    .gb-home-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
        gap: 26px;
        padding: 34px;
        min-height: 430px;
    }

    .gb-home h1 {
        font-size: 2.2rem;
        line-height: 1.65;
    }

    .gb-home-content > p {
        font-size: 1rem;
        max-width: 680px;
    }

    .gb-home-actions {
        width: auto;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .gb-home-primary,
    .gb-home-secondary {
        min-width: 210px;
    }

    .gb-home-visual {
        min-height: 340px;
    }

    .gb-home-logo-card {
        width: 178px;
        height: 178px;
        border-radius: 42px;
    }

        .gb-home-logo-card img {
            width: 132px !important;
            height: 132px !important;
            max-width: 132px !important;
            max-height: 132px !important;
        }

    .gb-home-stat {
        width: 168px;
        padding: 14px;
    }

    .gb-home-stat-1 {
        top: 36px;
        right: 24px;
    }

    .gb-home-stat-2 {
        left: 24px;
        bottom: 34px;
    }

    .gb-home-tools {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        margin-top: 16px;
    }

    .gb-home-tool-card {
        min-height: 172px;
        padding: 18px;
    }

    .gb-page {
        padding: 28px 0 46px;
    }

    .gb-hero {
        padding: 28px;
        margin-bottom: 18px;
    }

    .gb-title {
        font-size: 1.85rem;
    }

    .gb-desc {
        font-size: .98rem;
        max-width: 760px;
    }

    .gb-grid {
        grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr);
        align-items: start;
    }

    .gb-card-body {
        padding: 22px;
    }

    .gb-form {
        grid-template-columns: 1fr 190px;
        align-items: end;
    }

    .gb-submit-wrap {
        grid-column: 1 / -1;
    }

    .gb-footer {
        padding: 30px 0;
    }

    .gb-footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(460px, auto);
        align-items: center;
    }

    .gb-footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* Small phones */

@media (max-width: 380px) {
    .gb-container {
        width: min(100% - 18px, 1120px);
    }

    .gb-brand-name small {
        display: none;
    }

    .gb-home h1 {
        font-size: 1.34rem;
    }

    .gb-home-hero {
        padding: 15px;
        border-radius: 24px;
    }

    .gb-home-stat {
        width: 132px;
    }

        .gb-home-stat span {
            font-size: .68rem;
        }

    .gb-footer-links {
        grid-template-columns: 1fr;
    }
}

/* Print */

@media print {
    body * {
        visibility: hidden;
    }

    #resultModal,
    #resultModal * {
        visibility: visible;
    }

    #resultModal {
        position: absolute;
        inset: 0;
    }

    .modal-footer,
    .btn-close,
    .gb-header,
    .gb-bottom-nav,
    .gb-footer {
        display: none !important;
    }
}
/* ================================
   Layout polish - Mobile First
   Add at the END of gigabin.css
================================ */

.gb-header {
    box-shadow: 0 14px 34px rgba(3, 7, 18, .18);
}

.gb-header-inner {
    min-height: 62px;
}

.gb-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gb-header-tool-link {
    min-height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(125, 211, 252, .14);
    color: #eaf6ff;
    font-size: .78rem;
    font-weight: 700;
}

    .gb-header-tool-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, .12);
    }

.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: 13px;
}

    .gb-brand-logo img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

.gb-brand-name strong {
    font-size: .94rem;
}

.gb-brand-name small {
    font-size: .68rem;
}

.gb-menu-button {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.gb-mobile-backdrop {
    position: fixed;
    z-index: 1025;
    inset: 0;
    background: rgba(2, 8, 23, .46);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

    .gb-mobile-backdrop[hidden] {
        display: none !important;
    }

body.gb-menu-open {
    overflow: hidden;
}

.gb-mobile-menu {
    position: fixed;
    z-index: 1035;
    top: 62px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 88px - var(--gb-bottom-nav-height));
    overflow-y: auto;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, rgba(7, 17, 31, .98), rgba(11, 23, 40, .98));
    border: 1px solid rgba(125, 211, 252, .14);
    box-shadow: 0 22px 56px rgba(3, 7, 18, .34);
    display: none;
}

    .gb-mobile-menu.is-open {
        display: block;
    }

.gb-mobile-menu-inner {
    padding: 13px;
}

.gb-mobile-menu-head {
    display: grid;
    gap: 3px;
    margin-bottom: 10px;
    padding: 4px 3px 10px;
    border-bottom: 1px solid rgba(125, 211, 252, .10);
}

    .gb-mobile-menu-head strong {
        color: #ffffff;
        font-size: .94rem;
        font-weight: 700;
    }

    .gb-mobile-menu-head span {
        color: #a8b3c7;
        font-size: .76rem;
        line-height: 1.8;
    }

.gb-mobile-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

    .gb-mobile-menu-grid a {
        min-height: 58px;
        display: grid;
        align-content: center;
        gap: 3px;
        padding: 11px 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(125, 211, 252, .10);
        color: #e9f1ff;
    }

        .gb-mobile-menu-grid a strong {
            font-size: .86rem;
            font-weight: 700;
            color: #ffffff;
        }

        .gb-mobile-menu-grid a span {
            color: #aab8cc;
            font-size: .72rem;
            line-height: 1.7;
        }

        .gb-mobile-menu-grid a.is-active {
            background: linear-gradient(135deg, rgba(6, 182, 212, .22), rgba(37, 99, 235, .26));
            border-color: rgba(6, 182, 212, .36);
        }

.gb-bottom-nav {
    height: 60px;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .gb-bottom-nav a {
        min-width: 0;
        font-size: .74rem;
        white-space: nowrap;
    }

.gb-footer {
    margin-top: 26px;
}

@media (min-width: 520px) and (max-width: 899px) {
    .gb-mobile-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 700px) and (max-width: 899px) {
    .gb-header-tool-link {
        display: inline-flex;
    }
}

@media (min-width: 900px) {
    .gb-header-inner {
        min-height: 72px;
    }

    .gb-brand-logo {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }

        .gb-brand-logo img {
            width: 40px !important;
            height: 40px !important;
            max-width: 40px !important;
            max-height: 40px !important;
        }

    .gb-brand-name strong {
        font-size: 1rem;
    }

    .gb-brand-name small {
        font-size: .72rem;
    }

    .gb-header-tool-link {
        display: none;
    }

    .gb-mobile-backdrop {
        display: none !important;
    }

    .gb-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .gb-header-inner {
        min-height: 58px;
        gap: 8px;
    }

    .gb-brand {
        gap: 7px;
    }

    .gb-brand-logo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

        .gb-brand-logo img {
            width: 34px !important;
            height: 34px !important;
            max-width: 34px !important;
            max-height: 34px !important;
        }

    .gb-brand-name strong {
        font-size: .88rem;
    }

    .gb-menu-button {
        width: 38px;
        height: 38px;
    }

    .gb-mobile-menu {
        top: 58px;
        left: 8px;
        right: 8px;
    }

    .gb-bottom-nav {
        left: 8px;
        right: 8px;
    }

        .gb-bottom-nav a {
            font-size: .7rem;
        }
}
/* ================================
   Tools Index Page - Polished Mobile UI
   /Tools
================================ */

.gb-tools-page .gb-shell {
    width: min(1040px, calc(100% - 18px));
}

.gb-tools-page .gb-hero {
    padding: 18px;
    border-radius: 26px;
    margin-bottom: 12px;
}

.gb-tools-page .gb-title {
    font-size: 1.32rem;
    line-height: 1.75;
}

.gb-tools-page .gb-desc {
    font-size: .88rem;
    line-height: 2;
}

.gb-tools-page .gb-hero .d-grid {
    margin-top: 14px !important;
}

.gb-tools-page .gb-hero .btn {
    min-height: 48px;
    border-radius: 16px;
    font-size: .88rem;
    font-weight: 800;
}

.gb-tools-page .gb-card {
    border-radius: 22px;
}

.gb-tools-page .gb-card-body {
    padding: 15px;
}

/* Filter card */

.gb-tools-page form.gb-form {
    gap: 11px;
}

.gb-tools-page .gb-label {
    font-size: .82rem;
    margin-bottom: 6px;
}

.gb-tools-page .gb-input,
.gb-tools-page .gb-select {
    min-height: 49px;
    border-radius: 15px !important;
    font-size: .92rem;
}

/* Tools grid */

.gb-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.gb-tool-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at 0% 0%, rgba(6, 182, 212, .10), transparent 12rem), linear-gradient(180deg, rgba(255,255,255,.98), rgba(248, 251, 255, .96));
    border: 1px solid rgba(203, 213, 225, .78);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .075);
}

    .gb-tool-card::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(180deg, var(--gb-cyan), var(--gb-blue), var(--gb-purple));
        opacity: .95;
    }

    .gb-tool-card::after {
        content: "";
        position: absolute;
        left: -38px;
        bottom: -38px;
        width: 105px;
        height: 105px;
        border-radius: 999px;
        background: rgba(37, 99, 235, .07);
        pointer-events: none;
    }

    .gb-tool-card .gb-card-body {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 15px 17px 15px 15px;
    }

    .gb-tool-card .gb-badge {
        margin-bottom: 0;
        padding: 6px 10px;
        font-size: .68rem;
        color: #075985;
        background: rgba(224, 242, 254, .92);
        border-color: rgba(14, 165, 233, .22);
    }

        .gb-tool-card .gb-badge::before {
            width: 7px;
            height: 7px;
        }

.gb-featured-badge {
    font-size: .68rem;
    font-weight: 900;
    color: #047857;
    background: rgba(16, 185, 129, .11);
    border: 1px solid rgba(16, 185, 129, .24);
    border-radius: 999px;
    padding: 6px 9px;
    white-space: nowrap;
}

.gb-tool-title {
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.75;
    margin: 12px 0 6px;
    color: #0f172a;
}

.gb-tool-desc {
    font-size: .84rem;
    line-height: 1.95;
    color: #536174;
    margin: 0 0 11px;
}

.gb-tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}

    .gb-tool-meta span {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        border: 1px solid rgba(148, 163, 184, .40);
        border-radius: 999px;
        padding: 4px 9px;
        background: rgba(248, 250, 252, .95);
        color: #475569;
        font-size: .72rem;
        font-weight: 800;
    }

.gb-tag-list {
    display: flex;
    gap: 6px;
    margin-top: 11px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .gb-tag-list::-webkit-scrollbar {
        display: none;
    }

    .gb-tag-list span {
        flex: 0 0 auto;
        font-size: .70rem;
        color: #475569;
        background: rgba(241, 245, 249, .96);
        border: 1px solid rgba(203, 213, 225, .75);
        border-radius: 999px;
        padding: 4px 8px;
        white-space: nowrap;
    }

.gb-tool-card .d-grid.mt-3 {
    margin-top: auto !important;
    padding-top: 14px;
}

.gb-tool-card .gb-submit {
    min-height: 48px;
    border-radius: 16px;
    font-size: .88rem;
}

/* Summary row card */

.gb-tools-page .gb-result-row {
    align-items: flex-start;
    padding: 8px 0;
}

    .gb-tools-page .gb-result-row span:first-child {
        font-size: .82rem;
    }

    .gb-tools-page .gb-result-row span:last-child {
        font-size: .9rem;
    }

/* Bottom explanation */

.gb-tools-page .gb-info-list {
    gap: 9px;
}

.gb-tools-page .gb-info-item {
    border-radius: 18px;
    padding: 11px;
}

    .gb-tools-page .gb-info-item strong {
        font-size: .86rem;
    }

    .gb-tools-page .gb-info-item p {
        font-size: .80rem;
        line-height: 1.9;
    }

/* Very small phones */

@media (max-width: 380px) {
    .gb-tools-page .gb-shell {
        width: min(100% - 14px, 1040px);
    }

    .gb-tools-page .gb-hero {
        padding: 15px;
        border-radius: 22px;
    }

    .gb-tools-page .gb-title {
        font-size: 1.18rem;
    }

    .gb-tools-page .gb-desc {
        font-size: .82rem;
    }

    .gb-tool-title {
        font-size: .96rem;
    }

    .gb-tool-desc {
        font-size: .80rem;
    }

    .gb-tool-meta span,
    .gb-tag-list span {
        font-size: .68rem;
    }
}

/* Tablet */

@media (min-width: 700px) {
    .gb-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Desktop */

@media (min-width: 900px) {
    .gb-tools-page .gb-hero {
        padding: 30px;
        margin-bottom: 18px;
    }

    .gb-tools-page .gb-title {
        font-size: 1.9rem;
    }

    .gb-tools-page .gb-desc {
        font-size: .98rem;
    }

    .gb-tools-page form.gb-form {
        grid-template-columns: 220px minmax(0, 1fr) 190px;
        align-items: end;
    }

        .gb-tools-page form.gb-form .d-grid {
            grid-template-columns: 1fr;
        }

    .gb-tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .gb-tool-card {
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

        .gb-tool-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--gb-shadow);
            border-color: rgba(37, 99, 235, .24);
        }

        .gb-tool-card .gb-card-body {
            padding: 18px 20px 18px 18px;
        }

    .gb-tool-title {
        font-size: 1.06rem;
    }

    .gb-tool-desc {
        font-size: .86rem;
    }
    /* ================================
   Camera Memory Calculator Polish
   Add at the END of gigabin.css
================================ */

    .gb-camera-memory-page .gb-shell {
        width: min(1080px, calc(100% - 18px));
    }

    .gb-camera-memory-page .gb-grid {
        gap: 14px;
    }

    .gb-camera-memory-page .gb-card {
        border-radius: 24px;
    }

    .gb-camera-memory-page .gb-card-body {
        padding: 16px;
    }

    .gb-camera-memory-page .gb-section-title {
        margin-bottom: 14px;
    }

    .gb-camera-memory-page .gb-form {
        gap: 12px;
    }

    .gb-camera-memory-page .gb-input,
    .gb-camera-memory-page .gb-select {
        min-height: 50px;
        font-size: .94rem;
    }

    .gb-camera-memory-page .gb-submit {
        min-height: 56px;
        font-size: .94rem;
    }

    .gb-camera-memory-page .gb-info-item {
        background: linear-gradient(180deg, #ffffff, #f8fbff);
    }

    .gb-camera-memory-page .gb-mini-note {
        border: 1px solid rgba(249, 115, 22, .18);
    }

    .gb-camera-memory-page .gb-camera-cta {
        margin-top: 12px;
        border-radius: 20px;
        padding: 14px;
        background: linear-gradient(135deg, rgba(6, 182, 212, .10), rgba(37, 99, 235, .08));
        border: 1px solid rgba(37, 99, 235, .14);
    }

        .gb-camera-memory-page .gb-camera-cta strong {
            display: block;
            font-size: .9rem;
            font-weight: 900;
            color: #0f172a;
            margin-bottom: 6px;
        }

        .gb-camera-memory-page .gb-camera-cta p {
            margin: 0;
            color: #536174;
            font-size: .82rem;
            line-height: 1.9;
        }

        .gb-camera-memory-page .gb-camera-cta a {
            min-height: 44px;
            margin-top: 11px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            padding: 9px 14px;
            color: #ffffff;
            background: linear-gradient(135deg, var(--gb-cyan), var(--gb-blue));
            font-size: .82rem;
            font-weight: 900;
            box-shadow: 0 12px 26px rgba(37, 99, 235, .18);
        }

    .gb-camera-memory-page .gb-result-box {
        display: grid;
        gap: 8px;
    }

    .gb-camera-memory-page .gb-result-row {
        border-bottom: 0;
        border-radius: 14px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, .72);
        border: 1px solid rgba(219, 234, 254, .8);
    }

        .gb-camera-memory-page .gb-result-row span:first-child {
            font-size: .78rem;
        }

        .gb-camera-memory-page .gb-result-row span:last-child {
            font-size: .86rem;
        }

    .gb-camera-memory-page .gb-result-summary {
        margin-top: 6px;
    }

    @media (max-width: 520px) {
        .gb-camera-memory-page .gb-hero {
            padding: 16px;
            border-radius: 24px;
        }

        .gb-camera-memory-page .gb-title {
            font-size: 1.22rem;
        }

        .gb-camera-memory-page .gb-desc {
            font-size: .84rem;
            line-height: 2;
        }

        .gb-camera-memory-page .gb-card-body {
            padding: 14px;
        }

        .gb-camera-memory-page .gb-form {
            gap: 11px;
        }

        .gb-camera-memory-page .gb-result-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4px;
            text-align: right;
        }

            .gb-camera-memory-page .gb-result-row span:last-child {
                text-align: right;
            }

        .gb-camera-memory-page .gb-value-ltr {
            text-align: right;
        }
    }

    @media (min-width: 900px) {
        .gb-camera-memory-page .gb-grid {
            grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
        }

        .gb-camera-memory-page .gb-form {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gb-camera-memory-page .gb-submit {
            max-width: 360px;
            margin-inline: auto;
        }
    }
    /* ================================
   Camera Profile Memory Calculator
   Add at the END of gigabin.css
================================ */

    .gb-camera-profile-memory-page .gb-shell {
        width: min(1080px, calc(100% - 18px));
    }

    .gb-camera-profile-memory-page .gb-grid {
        gap: 14px;
    }

    .gb-camera-profile-memory-page .gb-card {
        border-radius: 24px;
    }

    .gb-camera-profile-memory-page .gb-card-body {
        padding: 16px;
    }

    .gb-camera-profile-memory-page .gb-form {
        gap: 12px;
    }

    .gb-camera-profile-memory-page .gb-input,
    .gb-camera-profile-memory-page .gb-select {
        min-height: 50px;
        font-size: .94rem;
    }

    .gb-camera-profile-memory-page .gb-submit {
        min-height: 56px;
        font-size: .94rem;
    }

    .gb-camera-profile-memory-page .gb-info-item {
        background: linear-gradient(180deg, #ffffff, #f8fbff);
    }

    .gb-camera-profile-memory-page .gb-result-box {
        display: grid;
        gap: 8px;
    }

    .gb-camera-profile-memory-page .gb-result-row {
        border-bottom: 0;
        border-radius: 14px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, .72);
        border: 1px solid rgba(219, 234, 254, .8);
    }

        .gb-camera-profile-memory-page .gb-result-row span:first-child {
            font-size: .78rem;
        }

        .gb-camera-profile-memory-page .gb-result-row span:last-child {
            font-size: .86rem;
        }

    .gb-camera-profile-memory-page .gb-profile-product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gb-camera-profile-memory-page .gb-profile-offer-card {
        border-radius: 18px;
        padding: 12px;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
        border: 1px solid rgba(203, 213, 225, .78);
    }

        .gb-camera-profile-memory-page .gb-profile-offer-card img {
            max-width: 132px;
            max-height: 132px;
            object-fit: contain;
            margin-inline: auto;
            border-radius: 14px;
        }

    @media (max-width: 520px) {
        .gb-camera-profile-memory-page .gb-hero {
            padding: 16px;
            border-radius: 24px;
        }

        .gb-camera-profile-memory-page .gb-title {
            font-size: 1.22rem;
        }

        .gb-camera-profile-memory-page .gb-desc {
            font-size: .84rem;
            line-height: 2;
        }

        .gb-camera-profile-memory-page .gb-card-body {
            padding: 14px;
        }

        .gb-camera-profile-memory-page .gb-result-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4px;
            text-align: right;
        }

            .gb-camera-profile-memory-page .gb-result-row span:last-child,
            .gb-camera-profile-memory-page .gb-value-ltr {
                text-align: right;
            }
    }

    @media (min-width: 700px) {
        .gb-camera-profile-memory-page .gb-profile-product-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 900px) {
        .gb-camera-profile-memory-page .gb-grid {
            grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
        }

        .gb-camera-profile-memory-page .gb-form {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gb-camera-profile-memory-page .gb-submit {
            max-width: 360px;
            margin-inline: auto;
        }
    }
    /* ================================
   Tools Index Page Polish
   Add at the END of gigabin.css
================================ */

    .gb-tools-page .gb-shell {
        width: min(1120px, calc(100% - 18px));
    }

    .gb-tools-page .gb-hero {
        position: relative;
        overflow: hidden;
    }

        .gb-tools-page .gb-hero::after {
            content: "";
            position: absolute;
            inset-inline-start: -70px;
            inset-block-end: -90px;
            width: 220px;
            height: 220px;
            border-radius: 999px;
            background: radial-gradient(circle, rgba(6, 182, 212, .16), transparent 65%);
            pointer-events: none;
        }

    .gb-tools-page .gb-form {
        gap: 12px;
    }

    .gb-tools-page .gb-input,
    .gb-tools-page .gb-select {
        min-height: 50px;
        font-size: .94rem;
    }

    .gb-tools-page .gb-submit {
        min-height: 50px;
    }

    .gb-tools-page .gb-tools-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gb-tools-page .gb-tool-card {
        border-radius: 24px;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

        .gb-tools-page .gb-tool-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
            border-color: rgba(37, 99, 235, .20);
        }

    .gb-tools-page .gb-tool-title {
        margin: 0 0 8px;
        font-size: 1rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1.8;
    }

    .gb-tools-page .gb-tool-desc {
        margin: 0;
        color: #536174;
        font-size: .86rem;
        line-height: 2;
    }

    .gb-tools-page .gb-tool-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 12px;
    }

        .gb-tools-page .gb-tool-meta span {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            border-radius: 999px;
            padding: 4px 10px;
            background: #f8fbff;
            border: 1px solid rgba(203, 213, 225, .75);
            color: #475569;
            font-size: .76rem;
            font-weight: 800;
        }

    .gb-tools-page .gb-tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 12px;
    }

        .gb-tools-page .gb-tag-list span {
            display: inline-flex;
            align-items: center;
            min-height: 26px;
            border-radius: 999px;
            padding: 3px 9px;
            background: rgba(37, 99, 235, .06);
            color: #1e40af;
            font-size: .72rem;
            font-weight: 800;
        }

    .gb-tools-page .gb-featured-badge {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        border-radius: 999px;
        padding: 4px 10px;
        background: linear-gradient(135deg, rgba(16, 185, 129, .14), rgba(6, 182, 212, .12));
        color: #047857;
        border: 1px solid rgba(16, 185, 129, .22);
        font-size: .74rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .gb-tools-page .gb-info-item {
        background: linear-gradient(180deg, #ffffff, #f8fbff);
    }

    @media (max-width: 520px) {
        .gb-tools-page .gb-hero {
            padding: 16px;
            border-radius: 24px;
        }

        .gb-tools-page .gb-title {
            font-size: 1.24rem;
        }

        .gb-tools-page .gb-desc {
            font-size: .84rem;
            line-height: 2;
        }

        .gb-tools-page .gb-card-body {
            padding: 14px;
        }

        .gb-tools-page .gb-tool-card .gb-card-body {
            padding: 15px;
        }

        .gb-tools-page .gb-tool-title {
            font-size: .96rem;
        }

        .gb-tools-page .gb-tool-desc {
            font-size: .82rem;
        }
    }

    @media (min-width: 700px) {
        .gb-tools-page .gb-tools-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 1040px) {
        .gb-tools-page .gb-tools-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .gb-tools-page form.gb-form {
            grid-template-columns: minmax(180px, .7fr) minmax(260px, 1fr) minmax(190px, .65fr);
            align-items: end;
        }
    }
    /* ================================
   Home Page Professional Polish
   Add at the END of gigabin.css
================================ */

    .gb-home-pro .gb-container {
        width: min(1120px, calc(100% - 18px));
        margin-inline: auto;
    }

    .gb-home-pro .gb-home-hero {
        min-height: 520px;
        align-items: center;
    }

    .gb-home-pro .gb-home-content h1 {
        max-width: 760px;
    }

    .gb-home-pro .gb-home-content p {
        max-width: 720px;
    }

    .gb-home-trust {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
    }

        .gb-home-trust span {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            border-radius: 999px;
            padding: 5px 11px;
            background: rgba(255, 255, 255, .72);
            border: 1px solid rgba(203, 213, 225, .75);
            color: #334155;
            font-size: .76rem;
            font-weight: 900;
            backdrop-filter: blur(10px);
        }

    .gb-home-stat-3 {
        position: absolute;
        inset-inline-start: 10%;
        inset-block-end: 14%;
    }

    .gb-home-tools-featured {
        grid-template-columns: 1fr;
    }

    .gb-home-tool-card-main {
        position: relative;
        overflow: hidden;
    }

        .gb-home-tool-card-main::after {
            content: "";
            position: absolute;
            inset-inline-start: -50px;
            inset-block-end: -60px;
            width: 150px;
            height: 150px;
            border-radius: 999px;
            background: radial-gradient(circle, rgba(6, 182, 212, .14), transparent 65%);
            pointer-events: none;
        }

    .gb-home-section {
        margin-top: 18px;
        border-radius: 28px;
        padding: 18px;
        background: rgba(255, 255, 255, .82);
        border: 1px solid rgba(203, 213, 225, .72);
        box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
        backdrop-filter: blur(14px);
    }

    .gb-home-section-head {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        align-items: flex-start;
        margin-bottom: 14px;
    }

        .gb-home-section-head span {
            display: inline-flex;
            margin-bottom: 6px;
            color: #2563eb;
            font-size: .76rem;
            font-weight: 900;
            letter-spacing: .03em;
        }

        .gb-home-section-head h2 {
            margin: 0;
            color: #0f172a;
            font-size: 1.12rem;
            font-weight: 950;
            line-height: 1.8;
        }

        .gb-home-section-head a {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            border-radius: 999px;
            padding: 7px 13px;
            color: #2563eb;
            background: rgba(37, 99, 235, .07);
            border: 1px solid rgba(37, 99, 235, .14);
            font-size: .8rem;
            font-weight: 900;
        }

    .gb-home-mini-grid,
    .gb-home-info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gb-home-mini-card,
    .gb-home-info-card {
        display: block;
        border-radius: 20px;
        padding: 14px;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
        border: 1px solid rgba(203, 213, 225, .72);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

        .gb-home-mini-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
            border-color: rgba(37, 99, 235, .22);
        }

        .gb-home-mini-card strong,
        .gb-home-info-card strong {
            display: block;
            color: #0f172a;
            font-size: .94rem;
            font-weight: 950;
            line-height: 1.8;
            margin-bottom: 5px;
        }

        .gb-home-mini-card p,
        .gb-home-info-card p {
            margin: 0;
            color: #536174;
            font-size: .82rem;
            line-height: 2;
        }

    .gb-home-sales-section {
        background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(37, 99, 235, .06)), rgba(255,255,255,.84);
    }

    .gb-home-cta {
        margin-top: 18px;
        border-radius: 30px;
        padding: 20px;
        background: linear-gradient(135deg, #0f172a, #1e293b);
        color: #ffffff;
        display: grid;
        gap: 16px;
        box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
    }

        .gb-home-cta span {
            display: inline-flex;
            color: #67e8f9;
            font-size: .78rem;
            font-weight: 900;
            margin-bottom: 7px;
        }

        .gb-home-cta h2 {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 950;
            line-height: 1.8;
        }

        .gb-home-cta p {
            margin: 8px 0 0;
            color: rgba(255, 255, 255, .76);
            font-size: .86rem;
            line-height: 2;
        }

    .gb-home-cta-actions {
        display: grid;
        gap: 10px;
        align-content: center;
    }

    .gb-home-cta .gb-home-secondary {
        background: rgba(255, 255, 255, .08);
        color: #ffffff;
        border-color: rgba(255, 255, 255, .18);
    }

    @media (max-width: 640px) {
        .gb-home-pro .gb-home-hero {
            min-height: auto;
            padding-top: 18px;
        }

        .gb-home-trust {
            gap: 6px;
        }

            .gb-home-trust span {
                font-size: .72rem;
                min-height: 28px;
            }

        .gb-home-stat-3 {
            display: none;
        }

        .gb-home-section {
            border-radius: 24px;
            padding: 14px;
        }

        .gb-home-section-head {
            display: grid;
        }

            .gb-home-section-head a {
                justify-content: center;
            }

        .gb-home-cta {
            border-radius: 24px;
            padding: 16px;
        }
    }

    @media (min-width: 720px) {
        .gb-home-tools-featured {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gb-home-mini-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gb-home-info-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .gb-home-cta {
            grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
            align-items: center;
        }
    }

    @media (min-width: 1040px) {
        .gb-home-mini-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }
    /* ================================
   Header / Footer / Contact Polish
   Add at the END of gigabin.css
================================ */

    .gb-topbar {
        border-bottom: 1px solid rgba(203, 213, 225, .55);
        background: rgba(248, 251, 255, .92);
        backdrop-filter: blur(14px);
    }

    .gb-topbar-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .gb-topbar-text {
        color: #475569;
        font-size: .78rem;
        font-weight: 800;
    }

    .gb-topbar-links {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .gb-topbar-links a {
            color: #2563eb;
            font-size: .78rem;
            font-weight: 900;
        }

    .gb-header-contact-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        border-radius: 999px;
        padding: 8px 14px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--gb-green), var(--gb-blue));
        font-size: .8rem;
        font-weight: 950;
        box-shadow: 0 12px 28px rgba(37, 99, 235, .16);
    }

    .gb-mobile-quick-contact {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 12px;
    }

        .gb-mobile-quick-contact a {
            min-height: 42px;
            border-radius: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(6, 182, 212, .08));
            border: 1px solid rgba(37, 99, 235, .14);
            color: #1e40af;
            font-size: .78rem;
            font-weight: 950;
        }

    .gb-footer-pro {
        margin-top: 28px;
        padding: 28px 0 calc(88px + env(safe-area-inset-bottom));
        background: radial-gradient(circle at top right, rgba(6, 182, 212, .10), transparent 36%), linear-gradient(135deg, #07111f, #0f172a);
        color: #e5eefc;
    }

    .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 {
            border-radius: 16px;
            background: #ffffff;
        }

        .gb-footer-brand span {
            display: grid;
            gap: 2px;
        }

        .gb-footer-brand strong {
            color: #ffffff;
            font-size: 1.02rem;
            font-weight: 950;
        }

        .gb-footer-brand small {
            color: rgba(226, 232, 240, .76);
            font-size: .78rem;
            font-weight: 800;
        }

    .gb-footer-brand-block p {
        margin: 14px 0 0;
        color: rgba(226, 232, 240, .76);
        font-size: .84rem;
        line-height: 2;
        max-width: 420px;
    }

    .gb-footer-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

        .gb-footer-socials a {
            display: inline-flex;
            align-items: center;
            min-height: 34px;
            border-radius: 999px;
            padding: 6px 11px;
            color: #e0f2fe;
            background: rgba(255, 255, 255, .07);
            border: 1px solid rgba(255, 255, 255, .12);
            font-size: .78rem;
            font-weight: 900;
        }

    .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: .94rem;
            font-weight: 950;
        }

        .gb-footer-col a {
            color: rgba(226, 232, 240, .78);
            font-size: .82rem;
            line-height: 1.9;
            font-weight: 800;
        }

            .gb-footer-col a:hover,
            .gb-footer-socials a:hover {
                color: #67e8f9;
            }

    .gb-footer-contact-item {
        display: grid;
        gap: 3px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .10);
    }

        .gb-footer-contact-item strong {
            color: #93c5fd;
            font-size: .76rem;
            font-weight: 950;
        }

        .gb-footer-contact-item span,
        .gb-footer-contact-item a {
            color: rgba(226, 232, 240, .84);
            font-size: .82rem;
            line-height: 1.9;
            font-weight: 800;
        }

    .gb-footer-contact-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 4px;
    }

        .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: .8rem;
            font-weight: 950;
        }

    .gb-footer-bottom {
        margin-top: 22px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .10);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        color: rgba(226, 232, 240, .62);
        font-size: .76rem;
        font-weight: 800;
    }

    @media (max-width: 860px) {
        .gb-topbar {
            display: none;
        }

        .gb-header-contact-link {
            display: none;
        }

        .gb-mobile-quick-contact {
            grid-template-columns: 1fr;
        }
    }

    @media (min-width: 720px) {
        .gb-footer-main {
            grid-template-columns: 1.4fr .8fr .8fr 1fr;
        }

        .gb-footer-contact-actions {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    /* ================================
   Clean Header + Professional Footer
================================ */

    .gb-header-phone-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        border-radius: 999px;
        padding: 8px 14px;
        color: #0f172a;
        background: #ffffff;
        border: 1px solid rgba(203, 213, 225, .9);
        font-size: .82rem;
        font-weight: 950;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
        direction: ltr;
    }

        .gb-header-phone-link:hover {
            color: #2563eb;
            border-color: rgba(37, 99, 235, .24);
        }

    .gb-footer-pro {
        margin-top: 28px;
        padding: 30px 0 calc(88px + env(safe-area-inset-bottom));
        background: radial-gradient(circle at top right, rgba(6, 182, 212, .10), transparent 34%), radial-gradient(circle at bottom left, rgba(16, 185, 129, .08), transparent 32%), linear-gradient(135deg, #07111f, #0f172a);
        color: #e5eefc;
    }

    .gb-footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gb-footer-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #ffffff;
    }

        .gb-footer-brand img {
            border-radius: 16px;
            background: #ffffff;
        }

        .gb-footer-brand span {
            display: grid;
            gap: 2px;
        }

        .gb-footer-brand strong {
            color: #ffffff;
            font-size: 1.04rem;
            font-weight: 950;
        }

        .gb-footer-brand small {
            color: rgba(226, 232, 240, .72);
            font-size: .78rem;
            font-weight: 800;
        }

    .gb-footer-brand-block p {
        margin: 14px 0 0;
        color: rgba(226, 232, 240, .76);
        font-size: .84rem;
        line-height: 2;
        max-width: 430px;
    }

    .gb-footer-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 15px;
    }

    .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);
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }

        .gb-social-btn span {
            font-size: .78rem;
            font-weight: 950;
            letter-spacing: .02em;
        }

        .gb-social-btn:hover {
            transform: translateY(-3px);
            filter: brightness(1.06);
            box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
        }

    .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: .94rem;
            font-weight: 950;
        }

        .gb-footer-col a {
            color: rgba(226, 232, 240, .78);
            font-size: .82rem;
            line-height: 1.9;
            font-weight: 800;
        }

            .gb-footer-col a:hover,
            .gb-footer-contact-item a:hover {
                color: #67e8f9;
            }

    .gb-footer-contact-item {
        display: grid;
        gap: 3px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .055);
        border: 1px solid rgba(255, 255, 255, .10);
    }

        .gb-footer-contact-item strong {
            color: #93c5fd;
            font-size: .76rem;
            font-weight: 950;
        }

        .gb-footer-contact-item span,
        .gb-footer-contact-item a {
            color: rgba(226, 232, 240, .84);
            font-size: .82rem;
            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;
        margin-top: 4px;
    }

        .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: .8rem;
            font-weight: 950;
        }

    .gb-footer-bottom {
        margin-top: 22px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .10);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        color: rgba(226, 232, 240, .62);
        font-size: .76rem;
        font-weight: 800;
    }

    @media (max-width: 860px) {
        .gb-header-phone-link {
            display: none;
        }
    }

    @media (min-width: 720px) {
        .gb-footer-main {
            grid-template-columns: 1.35fr .8fr .8fr 1fr;
        }

        .gb-footer-contact-actions {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
}