:root {
    --ink: #0f172a;
    --muted: #64748b;
    --bg: #f1f3f7;
    --line: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

.page-wrapper {
    min-height: 100vh;
}

.main-offset {
    padding-top: 62px;
}

.nav-shell,
.home-wrap,
.site-footer .container,
.why-block .container {
    max-width: 1240px;
}

.site-navbar {
    background: #f3f4f6;
    border-bottom: 1px solid var(--line);
    min-height: 62px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.brand-mark [data-lucide] {
    width: 18px;
    height: 18px;
}

.brand-text {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.nav-main-links {
    gap: 4px;
}

.site-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    border-radius: 9px;
    padding: 9px 12px;
    font-weight: 600;
    font-size: 0.97rem;
}

.site-navbar .nav-link [data-lucide],
.nav-icon-btn [data-lucide],
.nav-profile [data-lucide],
.btn-create [data-lucide] {
    width: 16px;
    height: 16px;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    color: var(--primary-dark);
    background: rgba(30, 58, 138, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

.btn-create {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-create:hover {
    background: var(--primary-dark);
    color: #fff;
}

.nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    text-decoration: none;
}

.avatar-dot {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #cbd5e1;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.hero-full {
    width: 100%;
    min-height: 760px;
    padding: 98px 0 80px;
    background:
        radial-gradient(1200px 520px at 80% 0%, rgb(30 58 138 / .2), transparent 65%),
        radial-gradient(900px 400px at 20% 80%, rgb(30 58 138 / .2), transparent 65%),
        linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
}

.hero-inner {
    max-width: 940px;
}

.hero-badge {
    display: inline-block;
    color: #84b5ff;
    border: 1px solid rgba(136, 164, 255, 0.35);
    background: rgba(95, 110, 221, 0.22);
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.7rem, 4.8vw, 4rem);
    font-weight: 800;
    color: #eef2ff;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-accent {
    background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    color: #d6dbff;
    max-width: 740px;
    font-size: clamp(1.18rem, 1.7vw, 1.9rem);
    line-height: 1.4;
}

.hero-search {
    max-width: 675px;
    background: #fff;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 14px 24px rgba(17, 24, 39, 0.22);
}

.hero-search .input-group-text,
.hero-search .form-control,
.hero-search .btn {
    border: 0;
}

.hero-search .input-group-text [data-lucide],
.btn-search-icon [data-lucide] {
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.hero-search .form-control {
    box-shadow: none;
    padding-left: 0;
    font-size: 1rem;
}

.btn-search-icon {
    background: transparent;
    color: #94a3b8;
    border-radius: 10px !important;
}

.hero-search .btn-primary {
    min-width: 94px;
    border-radius: 14px !important;
    font-weight: 700;
    font-size: 1rem;
    background: #2563eb;
}

.hero-search .btn-primary:hover {
    background: #1d4ed8;
}

.hero-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-quick .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 10px;
    padding-inline: 20px;
    font-size: 1.02rem;
    font-weight: 600;
}

.hero-quick .btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.hero-stats {
    margin-top: 56px;
}

.hero-stat-item {
    color: #dbeafe;
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
}

.hero-stat-icon [data-lucide] {
    width: 22px;
    height: 22px;
    color: #89b4ff;
}

.hero-stat-value {
    font-size: clamp(2.4rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.hero-stat-label {
    color: #b8c3ff;
    font-size: 1.1rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
    font-weight: 800;
    color: #0f172a;
}

.section-sub {
    color: #64748b;
    font-size: 1.1rem;
}

.section-link {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-link [data-lucide] {
    width: 14px;
    height: 14px;
}

.col-xl-15 {
    width: 12.5%;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #1f2937;
    background: #f7f8fa;
    border: 1px solid #dce2ea;
    border-radius: 14px;
    min-height: 96px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
}

.cat-card:hover {
    border-color: #cbd5e1;
}

.cat-emoji {
    font-size: 1.85rem;
    line-height: 1;
}

.cat-name {
    font-size: 1.02rem;
    font-weight: 600;
}

.product-home-card,
.rfq-home-card {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.product-media {
    height: 292px;
    background: #e9edf5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wish-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe3ef;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.1);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wish-btn [data-lucide] {
    width: 18px;
    height: 18px;
}

.product-media .wish-btn {
    position: absolute;
    right: 14px;
    top: 14px;
}

.product-letter {
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: #dfe5f0;
    color: #8a96ab;
    font-size: 2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-media-foot {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag-soft {
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    font-size: 0.86rem;
    color: #4b5563;
    padding: 4px 8px;
}

.tag-mint {
    background: #d9f9e5;
    color: #047857;
    border-color: #bbf7d0;
}

.tag-violet {
    background: #f2e8ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.tag-neutral {
    background: #f8fafc;
    color: #374151;
    border-color: #e5e7eb;
}

.views-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(55, 65, 81, 0.78);
    color: #fff;
    font-size: 0.8rem;
}

.views-pill [data-lucide] {
    width: 13px;
    height: 13px;
}

.product-body {
    padding: 14px 14px 12px;
}

.product-title {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.company-line {
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.98rem;
    text-decoration: none;
}

.company-line [data-lucide] {
    width: 14px;
    height: 14px;
}

.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    border: 1px solid #e5e7eb;
    padding: 3px 8px;
    font-size: 0.86rem;
    color: #1f2937;
    background: #f8fafc;
}

.chip-violet {
    background: #ede9fe;
    color: #5b21b6;
}

.chip-green {
    background: #dcfce7;
    color: #166534;
}

.card-actions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 10px;
    background: #fff;
}

.mini-btn [data-lucide] {
    width: 14px;
    height: 14px;
}

.details-link {
    margin-left: auto;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.details-link [data-lucide] {
    width: 14px;
    height: 14px;
}

.rfq-home-card {
    padding: 18px;
}

.rfq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rfq-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rfq-title {
    font-size: 2.05rem;
    margin-bottom: 10px;
}

.rfq-desc {
    color: #4b5563;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.rfq-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin-bottom: 10px;
}

.rfq-meta span {
    color: #4b5563;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rfq-meta [data-lucide] {
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

.restricted-box {
    margin-top: 10px;
    border: 1px solid #e8df96;
    background: #f9f7e8;
    border-radius: 10px;
    padding: 10px;
}

.restricted-box small {
    color: #7c5e2d;
    font-weight: 600;
}

.rfq-bottom-row {
    margin-top: 14px;
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rfq-bottom-row [data-lucide] {
    width: 16px;
    height: 16px;
}

.rfq-footer {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rfq-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
}

.rfq-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

.why-block {
    background:
        radial-gradient(900px 260px at 50% 0%, rgb(30 58 138 / .2), transparent 70%),
        linear-gradient(160deg, #0f172a 0%, #1e3a8a 65%, #1e40af 100%);
    padding: 70px 0;
}

.why-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
}

.why-card {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(52, 60, 145, 0.45);
    border-radius: 14px;
    padding: 26px 22px;
    color: #d9e3ff;
}

.why-card h3 {
    color: #fff;
    margin: 12px 0 8px;
    font-size: 2.25rem;
}

.why-card p {
    margin: 0;
    color: #c4d1ff;
    font-size: 1.05rem;
    line-height: 1.45;
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
}

.why-icon [data-lucide] {
    width: 24px;
    height: 24px;
}

.cta-band {
    border-radius: 14px;
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    color: #eef2ff;
    padding: 36px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

.cta-band h2 {
    margin: 0 0 4px;
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-band p {
    margin: 0;
    color: #c7d2fe;
    font-size: 1.2rem;
}

.site-footer {
    background: #0b143a;
    color: #94a3b8;
}

.footer-text {
    color: #94a3b8;
    font-size: 1.05rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #93a2c6;
    text-decoration: none;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #c7d2fe;
}

.footer-sep {
    border-color: rgba(148, 163, 184, 0.25);
}

.footer-copy {
    color: #8fa0c9;
    font-size: 1rem;
}

@media (max-width: 1399.98px) {
    .col-xl-15 {
        width: 25%;
    }
}

@media (max-width: 1199.98px) {
    .brand-text {
        font-size: 1.5rem;
    }

    .hero-full {
        min-height: 640px;
        padding: 78px 0 64px;
    }

    .hero-search {
        max-width: 640px;
    }

    .hero-quick .btn {
        font-size: 0.95rem;
    }

    .hero-stat-label {
        font-size: 0.95rem;
    }

    .rfq-title {
        font-size: 1.4rem;
    }

    .why-card h3 {
        font-size: 1.45rem;
    }

    .cta-band h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .main-offset {
        padding-top: 56px;
    }

    .nav-actions {
        margin-top: 10px;
    }

    .hero-full {
        min-height: auto;
        padding: 56px 0 54px;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .hero-search .form-control {
        font-size: 0.95rem;
    }

    .hero-quick .btn {
        font-size: 0.88rem;
    }

    .hero-stat-label {
        font-size: 0.88rem;
    }

    .col-xl-15 {
        width: 33.3333%;
    }

    .section-head {
        align-items: center;
    }

    .rfq-title {
        font-size: 1.2rem;
    }

    .cta-band {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band h2 {
        font-size: 1.7rem;
    }

    .cta-band p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .brand-text {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-quick .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-search {
        border-radius: 14px;
    }

    .hero-search .btn-primary {
        min-width: 84px;
    }

    .col-xl-15 {
        width: 50%;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-media {
        height: 220px;
    }

    .card-actions {
        flex-wrap: wrap;
    }

    .details-link {
        margin-left: 0;
    }

    .rfq-meta {
        grid-template-columns: 1fr;
    }

    .rfq-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .rfq-btn {
        width: 100%;
        justify-content: center;
    }
}
