/* Shared marketing shell — toolkit & contact pages under unified topbar */
body.mkt-page {
    margin: 0;
}

.mkt-site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#marketing-topbar {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 40;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

#marketing-topbar .home-topbar {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    margin-bottom: 0;
}

.mkt-site-wrap > .home-shell,
.mkt-site-wrap > .ac-shell,
.mkt-site-wrap > .store-public-shell {
    flex: 1;
}

body.mkt-toolkit-page .home-shell.store-public-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 20px 24px;
}

body.mkt-toolkit-page .store-public-toolkit {
    margin-top: 8px;
    margin-bottom: 0;
}

body.mkt-contact-page .ac-shell {
    width: min(100%, 1120px);
}

body.mkt-contact-page .ac-topbar {
    display: none;
}

#marketing-footer {
    flex-shrink: 0;
}

body.mkt-toolkit-page #marketing-footer {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 16px 24px;
}

body.mkt-toolkit-page #marketing-footer .home-footer {
    margin-top: 24px;
    border-top-color: #e2e8f0;
    color: #64748b;
}

.mkt-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mkt-lang-switch {
    display: inline-flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.mkt-lang-btn {
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.mkt-lang-btn.is-active {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.mkt-nav-toggle {
    display: none;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

.mkt-topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mkt-topbar-cta:hover {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.home-topbar.mkt-topbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#marketing-topbar .home-topnav a {
    color: #334155;
}

#marketing-topbar .home-topnav a:hover,
#marketing-topbar .home-topnav a[aria-current="page"] {
    color: #0284c7;
}

@media (max-width: 900px) {
    .mkt-nav-toggle {
        display: inline-flex;
    }

    .mkt-topbar-cta {
        display: none;
    }

    #marketing-topbar .home-topnav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 0 12px;
        order: 10;
    }

    #marketing-topbar .home-topnav.is-open {
        display: flex;
    }

    #marketing-topbar .home-topnav a {
        padding: 10px 12px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }

    .home-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .home-brand-tag {
        display: none;
    }
}

@media (max-width: 767px) {
    #marketing-footer .home-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-launch-band,
    .toolkit-plg-band {
        flex-direction: column;
        align-items: stretch;
    }

    .home-launch-band .home-btn,
    .toolkit-plg-band .home-btn {
        width: 100%;
        text-align: center;
    }

    .home-hero.mkt-hero {
        flex-direction: column;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-actions .home-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Natural document scroll — hero/modules sit above tab panels */
    body.mkt-toolkit-page .mkt-site-wrap {
        min-height: 100dvh;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    body.mkt-toolkit-page .store-public-shell {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        max-height: none;
    }

    .mkt-floating-hotline {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: 12px;
    }

    .mkt-hotline-btn .mkt-hotline-label {
        font-size: 0;
        width: 0;
        overflow: hidden;
    }

    .mkt-hotline-btn {
        min-width: 44px;
        padding: 10px 12px;
        justify-content: center;
    }

    .mkt-hotline-wa .mkt-hotline-wa-dot {
        font-size: 1.1rem;
    }
}

.mkt-floating-hotline {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: calc(24px + env(safe-area-inset-right, 0px));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.mkt-floating-hotline .mkt-hotline-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mkt-floating-hotline .mkt-hotline-btn:hover,
.mkt-floating-hotline .mkt-hotline-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.mkt-hotline-wa {
    background: #22c55e;
    color: #fff;
}

.mkt-hotline-kakao {
    background: #fee500;
    color: #191919;
}

.modal-conversion-action {
    margin-top: 16px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.modal-conversion-action-title {
    font-weight: 700;
    color: #f8fafc;
    font-size: 14px;
}

.modal-conversion-action-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.modal-conversion-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-conversion-action .btn-action-rfq,
.modal-conversion-action .btn-action-wa {
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.modal-conversion-action .btn-action-rfq {
    background: #0284c7;
}

.modal-conversion-action .btn-action-wa {
    background: #22c55e;
}
