:root {
    --blue: #063476;
    --blue-dark: #03306f;
    --blue-deep: #022a62;
    --green: #109e56;
    --green-soft: #e9f7ef;
    --blue-soft: #e9f3ff;
    --ink: #082d68;
    --text: #071a30;
    --muted: #4c5d76;
    --line: #d5e2f1;
    --page-width: 90%;
}

/* ===== MASTER SITE HEADER (standalone from hero) ===== */
.pbm-site-header {
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    z-index: 500;
    width: 100%;
}

.pbm-site-header .site-nav {
    width: 90%;
    /* max-width: 1400px; */
    padding-top: 8px;
    padding-bottom: 8px;
}

.pbm-hdr-dropdown {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(6, 52, 118, 0.1);
    padding: 6px;
    min-width: 168px;
}

.pbm-hdr-dropdown .dropdown-item {
    padding: 8px 12px;
    color: var(--text);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.15s;
}

.pbm-hdr-dropdown .dropdown-item:hover {
    background: var(--blue-soft);
    color: var(--blue);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

.site-shell {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: none;
    overflow: visible;
}

.hero {
    position: relative;
    /* height: 586px; */
    padding: 100px 0 57px;
    background:
        linear-gradient(
            90deg,
            rgba(244, 250, 255, 0.98) 0%,
            rgba(243, 250, 255, 0.94) 34%,
            rgba(237, 247, 255, 0.35) 63%,
            rgba(240, 248, 255, 0.75) 100%
        ),
        radial-gradient(
            circle at 64% 16%,
            rgba(255, 242, 215, 0.95),
            transparent 21%
        ),
        linear-gradient(180deg, #eaf5ff 0%, #f3f9ff 63%, #edf5fd 100%);
}

.hero:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(97deg, #f4f9fe 32%, transparent 45%);
}

.site-nav {
    position: relative;
    z-index: 3;
    width: var(--page-width);
    margin: 0 auto;
    padding: 0;
}

.navbar-brand {
    padding: 0;
    margin-right: 20px;
}

.navbar-brand img {
    width: 282px;
    display: block;
}

.navbar-nav {
    align-items: center;
    gap: 20px;
}

.site-nav .nav-link {
    position: relative;
    padding: 12px 0 17px;
    color: #07101d;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: var(--blue);
}

.site-nav .nav-link.active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    content: "";
    background: var(--green);
    border-radius: 99px;
}

.nav-actions .btn {
    min-width: 56px;
    /* height: 38px; */
    padding: 7px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
}

.btn-login {
    color: var(--blue);
    border: 1px solid var(--blue);
    background: rgba(255, 255, 255, 0.8);
}

.btn-register {
    color: #fff;
    border: 1px solid var(--blue);
    background: var(--blue);
}

.hero-art {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 92px;
    width: 100%;
    height: 474px;
    background:
        linear-gradient(
            90deg,
            rgba(244, 250, 255, 0.98) 0%,
            rgba(244, 250, 255, 0.88) 28%,
            rgba(244, 250, 255, 0.25) 52%,
            rgba(244, 250, 255, 0.02) 100%
        ),
        url("assets/hero-bg-clean.png") center / cover no-repeat;
}

.hero-feature-stack {
    position: absolute;
    z-index: 3;
    top: 136px;
    right: calc(10% + 0px);
    display: grid;
    gap: 10px;
    width: 250px;
}

.hero-feature-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 13px 13px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(34, 54, 77, 0.13);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
}

.feature-icon.navy {
    background: var(--blue);
}

.feature-icon.green {
    background: var(--green);
}

.hero-feature-card strong {
    display: block;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.hero-feature-card small {
    display: block;
    margin-top: 5px;
    color: #07101d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: var(--page-width);
    margin: 0 auto;
    padding-top: 39px;
}

.hero-copy {
    max-width: 700px;
}

.hero-copy h1 {
    margin: 0 0 15px;
    color: var(--blue);
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}

.hero-copy h2 {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
}

.hero-copy h2 span {
    color: var(--green);
}

.hero-copy p {
    max-width: 564px;
    width: 100%;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.65;
}

.hero-cards {
    max-width: 566px;
    margin-top: 22px;
    width: 100%;
}

.action-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    /* height: 149px; */
    padding: 21px 14px;
    border-radius: 10px;
}

.buyer-card {
    background: rgba(223, 237, 253, 0.94);
}

.seller-card {
    background: rgba(232, 245, 239, 0.94);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #fff;
    border-radius: 50%;
    font-size: 25px;
    box-shadow: inset 0 14px 18px rgba(255, 255, 255, 0.18);
}

.card-icon.blue {
    background: linear-gradient(135deg, #3c7ec7, #003f8b);
}

.card-icon.green {
    background: linear-gradient(135deg, #61bf8f, #0e934f);
}

.action-card h3 {
    margin: 7px 0 9px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.seller-card h3 {
    color: var(--green);
}

.action-card p {
    min-height: 60px;
    margin: 0 0 13px;
    color: #0c2d63;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.action-card .btn {
    min-width: 109px;
    padding: 8px 12px;
    border: 0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 800;
}

.action-card .btn i {
    margin-left: 8px;
}

.btn-primary {
    background: var(--blue);
}

.btn-success {
    background: var(--green);
}

.about-section {
    width: var(--page-width);
    margin: 0 auto;
    padding: 30px 0px 30px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.about-section h2 {
    margin: 0 0 13px;
    color: var(--blue);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
}

.about-section h2 span {
    color: var(--green);
}

.about-section p {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.85;
}

.mission-img {
    width: 100%;
    min-height: 258px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.mission-wrap {
    width: 100%;
    min-height: 258px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.mission-card {
    padding: 78px 36px 88px;
    text-align: center;
    max-width: 465px;
    width: 100%;
}

.mission-icon-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: #fff;
    overflow: hidden;
}

.mission-icon-ring i {
    font-size: 26px;
    color: var(--blue);
}

.mission-card h3 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 30px;
    font-weight: 800;
}

.mission-card p {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.stat {
    min-height: 76px;
    padding-top: 8px;
    text-align: center;
    border-right: 1px solid var(--line);
    margin-top: 17px;
}

.stat:last-child {
    border-right: 0;
}

.stat i {
    display: block;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
}

.green-text {
    color: var(--green) !important;
}

.stat strong {
    display: block;
    margin-top: 8px;
    color: var(--blue);
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.stat span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 700;
}

.why-section {
    width: var(--page-width);
    margin: 0 auto;
    padding: 7px 0px 36px;
    text-align: center;
}

.why-section h2,
.faq-section h2 {
    margin: 0;
    color: var(--blue);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-line {
    width: 32px;
    height: 2px;
    margin: 10px auto 22px;
    background: var(--blue);
    border-radius: 99px;
}

.why-section .section-line {
    margin-bottom: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.why-item {
    min-width: 0;
}

.why-icon {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin: 0 auto 12px;
    border-radius: 50%;
    font-size: 28px;
}

.why-icon.blue-light {
    color: var(--blue);
    background: #eaf3ff;
}

.why-icon.green-light {
    color: var(--green);
    background: #e8f7ef;
}

.why-item h3 {
    margin: 0 0 7px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.why-item p {
    margin: 0;
    color: #2e5493;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.insights-section {
    position: relative;
    display: grid;
    grid-template-columns: 225px 1fr 479px;
    align-items: center;
    min-height: 158px;
    width: var(--page-width);
    margin: 0 auto 14px;
    padding: 18px 30px 18px 10px;
    overflow: hidden;
    color: #fff;
    background: var(--blue-deep);
    border-radius: 13px;
}

.insights-city {
    align-self: end;
    width: 258px;
    margin: 0 0 -24px -16px;
    opacity: 0.92;
}

.insights-copy {
    position: relative;
    z-index: 1;
    padding-left: 70px;
}

.insights-copy span {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.insights-copy h2 {
    margin: 8px 0 14px;
    color: #fff;
    font-size: 33px;
    font-weight: 800;
    line-height: 1.25;
}

.insights-copy p {
    margin: 0;
    max-width: 377px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.75;
}

.insights-form {
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

.subscribe-form {
    display: flex;
    width: 480px;
    max-width: 100%;
    height: 62px;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
}

.subscribe-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 17px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    outline: none;
}

.subscribe-form input::placeholder {
    color: #9aaac0;
}

.subscribe-form button {
    width: 140px;
    border: 0;
    color: #fff;
    background: var(--green);
    font-size: 15px;
    font-weight: 800;
}

.insights-tags {
    display: flex;
    justify-content: space-between;
    gap: 11px;
    margin-top: 20px;
    color: #dfeeff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.insights-tags i {
    color: var(--green);
    font-size: 14px;
    vertical-align: -2px;
}

.app-section {
    position: relative;
    display: grid;
    grid-template-columns: 425px 169px 169px 1fr;
    align-items: center;
    min-height: 178px;
    width: var(--page-width);
    margin: 0 auto 17px;
    padding: 43px 21px 39px 25px;
    overflow: hidden;
    background: #eaf3ff;
    border-radius: 9px;
}

.app-copy h2 {
    margin: 0 0 15px;
    color: var(--blue);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.32;
}

.app-copy p {
    max-width: 300px;
    margin: 0;
    color: #103675;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.store-block {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.qr {
    width: 104px;
    height: 84px;
    object-fit: cover;
    padding: 0px;
    /* border: 3px solid #fff; */
    border-radius: 3px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 130px;
    height: 35px;
    padding: 4px 8px;
    color: #fff;
    background: #030303;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.05;
}

.store-badge:hover {
    color: #fff;
}

.store-badge i {
    font-size: 17px;
}

.store-badge strong {
    font-size: 15px;
}

.app-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 485px;
    max-width: 39%;
}

.faq-section {
    width: var(--page-width);
    margin: 0 auto;
    padding: 0 0px 34px;
    text-align: center;
}

.faq-section .section-line {
    margin-bottom: 18px;
}

.faq-item {
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #d9e5f3;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 20px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    flex: 0 0 auto;
    margin-left: 14px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 800;
    transition: transform 0.2s;
}

.faq-answer {
    display: none;
    padding: 0 20px 16px;
    color: #6b84a3;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i::before {
    content: "\F2EA";
}

.site-footer {
    position: relative;
    display: block;
    min-height: 168px !important;
    padding: 15px 34px 24px;
    overflow: hidden;
    color: #fff;
    background: var(--blue-deep);
}

.site-footer::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: var(--blue-deep);
}

.site-footer > .row {
    position: relative;
    z-index: 1;
    width: var(--page-width);
    margin: 0 auto;
}

.footer-bridge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 394px;
    opacity: 1;
}

.footer-logo {
    display: block;
    width: 150px;
    margin-bottom: 6px;
}

.site-footer p {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    max-width: 218px;
    color: #e6effb;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.site-footer h3 {
    position: relative;
    z-index: 1;
    margin: 3px 0 9px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}

.site-footer a {
    position: relative;
    z-index: 1;
    display: block;
    color: #e6effb;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.62;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--blue);
    background: #d8e7f7;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: none !important;
    margin-bottom: 10px !important;
}

.contact-line i {
    color: #e8f2ff;
    font-size: 14px;
}

.copyright {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    color: #e8f2ff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 1440px) {
    .hero-feature-stack {
        right: calc(5% + 0px);
    }

    .hero-copy {
        max-width: 597px;
    }

    .hero-copy h1 {
        font-size: 47px;
    }

    .mission-card {
        padding: 51px 36px 63px;
    }

    .about-section h2 {
        font-size: 31px;
    }

    .insights-copy {
        padding-left: 0;
    }

    .insights-city {
        align-self: end;
        width: 219px;
    }
}

@media (max-width: 1199px) {
    .navbar-nav {
        align-items: center;
        gap: 8px;
    }

    .site-nav .nav-link {
        font-size: 12px;
    }

    .insights-section {
        grid-template-columns: 170px 1fr 378px;
    }

    .insights-tags {
        font-size: 9px;
    }

    .insights-city {
        width: 181px;
    }
    .insights-copy h2 {
        font-size: 30px;
    }
}

@media (max-width: 900px) {
    .navbar-nav {
        gap: 14px;
    }

    .site-nav .nav-link {
        font-size: 9px;
    }

    .hero-art {
        opacity: 0.96;
    }

    .hero-feature-stack {
        right: 20px;
    }

    .hero-copy h1 {
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .site-shell {
        box-shadow: none;
    }

    .site-nav,
    .hero-content,
    .about-section,
    .why-section,
    .faq-section,
    .site-footer > .row {
        width: 100%;
    }

    .hero {
        height: auto;
        min-height: 586px;
        padding: 16px;
    }

    .navbar-brand img {
        width: 150px;
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #d9e5f3;
        border-radius: 10px;
    }

    .navbar-nav {
        align-items: flex-start;
        gap: 2px;
    }

    .site-nav .nav-link {
        padding: 9px 0;
        font-size: 12px;
    }

    .site-nav .nav-link.active::after {
        display: none;
    }

    .hero-art {
        top: auto;
        right: -105px;
        bottom: 135px;
        width: 360px;
        height: 360px;
        opacity: 0.6;
    }

    .hero-feature-stack {
        display: none;
    }

    .hero-content {
        padding-top: 42px;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-copy h2 {
        font-size: 25px;
    }

    .hero-cards {
        width: 100%;
    }

    .hero-cards .col-6 {
        width: 100%;
    }

    .action-card {
        min-height: 132px;
        height: auto;
    }

    .about-section,
    .why-section,
    .faq-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .insights-section {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 12px;
        margin-left: 16px;
        margin-right: 16px;
        padding: 22px;
    }

    .insights-city {
        display: none;
    }

    .insights-form {
        padding-top: 0;
    }

    .insights-tags {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .app-section {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-left: 16px;
        margin-right: 16px;
        padding: 22px;
    }

    .app-copy {
        grid-column: 1 / -1;
    }

    .app-phone {
        position: static;
        grid-column: 1 / -1;
        justify-self: end;
        max-width: 260px;
        width: 70%;
    }

    .site-footer {
        height: auto !important;
        min-height: 134px !important;
        padding-left: 22px;
        padding-right: 22px;
    }

    .copyright {
        position: relative;
        bottom: auto;
        margin-top: 12px;
    }
    .subscribe-form {
        width: 100%;
    }
    .insights-copy h2,
    .app-copy h2,
    .about-section h2 {
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 28px;
    }

    .hero-copy h2 {
        font-size: 22px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        display: grid;
        height: auto;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        height: 45px;
    }
}
