:root {
    --accent: #ed8416;
    --accent-hi: #f0ad4e;
    --accent-soft: rgba(221, 150, 61, 0.16);
    --glass-bg: rgba(8, 18, 45, 0.28);
    --glass-bg-d: rgba(8, 14, 34, 0.8);
    --glass-bd: rgba(255, 255, 255, 0.16);
    --glass-hi: rgba(255, 255, 255, 0.22);
    --blur: blur(24px) saturate(185%);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.72);
    --hover: rgba(255, 255, 255, 0.08);
    --pill-bg: rgba(255, 255, 255, 0.12);
    --pill-bd: rgba(255, 255, 255, 0.18);
    --r-nav: 18px;
    --r-drop: 16px;
    --r-btn: 12px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-liquid: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --layana-content-width: min(1200px, calc(100% - 2rem));
    --cassiopeia-font-family-body: "Inter", "Noto Sans TC", "Noto Sans", "Segoe UI", Arial, sans-serif;
    --cassiopeia-font-family-headings: "Inter", "Noto Sans TC", "Noto Sans", "Segoe UI", Arial, sans-serif;
}

#navbar.over-light {
    --glass-bg: rgba(5, 12, 32, 0.82);
    --glass-bg-d: rgba(8, 14, 34, 0.8);
    --glass-bd: rgba(255, 255, 255, 0.1);
    --glass-hi: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.78);
    --hover: rgba(255, 255, 255, 0.1);
    --pill-bg: rgba(255, 255, 255, 0.14);
    --pill-bd: rgba(255, 255, 255, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.layana-site {
    margin: 0;
    color: var(--body-color, #171717);
    background: var(--body-bg, #ffffff);
    font-family: var(--cassiopeia-font-family-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.layana-site:has(.layana-raw-article) {
    color: var(--j-text, var(--body-color, #171717));
    background: var(--j-bg, var(--body-bg, #ffffff));
    font-family: var(--sans, var(--cassiopeia-font-family-body));
    line-height: 1.6;
}

body.layana-site button,
body.layana-site input,
body.layana-site select,
body.layana-site textarea {
    font: inherit;
}

.layana-site img,
.layana-site svg,
.layana-site video {
    max-width: 100%;
    height: auto;
}

.layana-site a {
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.35s var(--ease-liquid), box-shadow 0.3s var(--ease);
}

#navbar {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1340px;
    z-index: 9000;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--r-nav);
    border: 1px solid var(--glass-bd);
    box-shadow: 0 0 0 1px var(--glass-hi) inset, 0 8px 32px rgba(0, 0, 0, 0.25);
    height: 58px;
    padding: 0 10px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: visible;
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    clip-path: inset(0 round var(--r-nav));
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.06) 48%, rgba(221, 150, 61, 0.08) 50%, rgba(255, 255, 255, 0.06) 52%, transparent 70%);
    background-size: 220% 100%;
    background-position: 200% 0;
    pointer-events: none;
    opacity: 0.6;
    animation: sheen 9s ease-in-out infinite;
    z-index: 0;
}

@keyframes sheen {
    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: -50% 0;
    }
}

#navbar.over-light::before {
    opacity: 0.25;
}

#navbar.scrolled {
    background: var(--glass-bg);
    box-shadow: 0 0 0 1px var(--glass-hi) inset, 0 10px 40px rgba(0, 0, 0, 0.45);
}

#navbar > * {
    position: relative;
    z-index: 1;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.layana-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    display: block;
    max-height: 2rem;
}

.layana-brand-symbol {
    width: 22px;
    height: 22px;
    max-height: none;
    flex: 0 0 auto;
    object-fit: contain;
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.logo-name,
.layana-wordmark {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
}

.logo:hover .logo-name,
.logo:hover .layana-wordmark {
    text-shadow: 0 0 18px rgba(221, 150, 61, 0.55);
}

.logo:hover .layana-brand-symbol {
    transform: translateY(-1px) scale(1.04);
    filter: drop-shadow(0 0 10px rgba(221, 150, 61, 0.35));
}

.nav-centre {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 0;
}

#indicator {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 36px;
    margin-top: -18px;
    border-radius: 50px;
    background: radial-gradient(120% 140% at 50% 0%, rgba(221, 150, 61, 0.18) 0%, transparent 55%), var(--pill-bg);
    border: 1px solid var(--pill-bd);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 6px 18px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    opacity: 0;
    will-change: transform, width, opacity;
    transition: transform 0.55s var(--ease-liquid), width 0.55s var(--ease-liquid), opacity 0.22s var(--ease);
}

#indicator::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) 50%, rgba(221, 150, 61, 0.28), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.nav-items {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 34px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14.25px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 0.25s var(--ease), transform 0.35s var(--ease-liquid);
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
#navbar .nav-link:hover,
#navbar .nav-link:focus-visible,
#navbar .nav-item:hover > .nav-link,
#navbar .nav-item:focus-within > .nav-link {
    color: #fff !important;
}

.chev {
    width: 10px;
    height: 10px;
    color: currentColor;
    opacity: 0.7;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-liquid), opacity 0.2s;
}

.nav-item:hover > .nav-link .chev {
    transform: rotate(180deg);
    opacity: 1;
}

.cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 100%);
    color: #0a1630 !important;
    font-size: 13.25px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    border-radius: var(--r-btn);
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 220, 140, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 22px rgba(221, 150, 61, 0.4), 0 3px 12px rgba(221, 150, 61, 0.28);
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow 0.3s var(--ease), transform 0.35s var(--ease-liquid);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.75s var(--ease-out);
    z-index: -1;
}

.cta:hover::before {
    transform: translateX(130%);
}

.cta:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 32px rgba(221, 150, 61, 0.65), 0 6px 18px rgba(221, 150, 61, 0.45);
    transform: translateY(-1.5px);
}

.cta:active {
    transform: translateY(0) scale(0.97);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.sep {
    width: 1px;
    height: 18px;
    background: var(--glass-bd);
    margin: 0 4px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    outline: none;
    transition: background 0.2s, color 0.2s, transform 0.35s var(--ease-liquid);
}

.icon-btn:hover {
    background: var(--hover);
    color: #fff !important;
    transform: scale(1.08);
}

.lang-wrap {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    height: 34px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-dim);
    font: 600 12.75px "Inter", sans-serif;
    letter-spacing: 0.5px;
    outline: none;
    transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
    background: var(--hover);
    color: #fff !important;
}

.lang-drop {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--glass-bg-d);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-bd);
    border-radius: var(--r-drop);
    padding: 6px;
    min-width: 170px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s var(--ease), transform 0.32s var(--ease-liquid), visibility 0.22s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.lang-wrap:hover .lang-drop,
.lang-wrap:focus-within .lang-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13.75px;
    transition: background 0.15s, color 0.15s, padding-left 0.2s var(--ease-out);
}

.lang-opt:hover {
    background: var(--hover);
    padding-left: 15px;
}

.lang-opt.active {
    color: var(--accent);
    font-weight: 600;
}

.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    font-size: 10.75px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
}

.lang-opt.active .lang-code {
    border-color: rgba(221, 150, 61, 0.45);
    color: var(--accent);
    background: rgba(221, 150, 61, 0.12);
}

.drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(0.97);
    background: var(--glass-bg-d);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-bd);
    border-radius: var(--r-drop);
    padding: 18px 20px;
    min-width: 220px;
    z-index: 9100;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.22s var(--ease), transform 0.36s var(--ease-liquid), visibility 0.22s;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 20px 60px rgba(0, 0, 0, 0.55);
}

.nav-item:hover > .drop,
.nav-item:focus-within > .drop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.drop-mega {
    min-width: 680px;
}

.drop-mega-r {
    min-width: 580px;
}

.drop-grid {
    display: grid;
    gap: 22px 28px;
}

.drop-grid.c4 {
    grid-template-columns: repeat(4, 1fr);
}

.drop-grid.c3 {
    grid-template-columns: repeat(3, 1fr);
}

.drop-head {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(221, 150, 61, 0.22);
}

.drop-list {
    display: flex;
    flex-direction: column;
}

.drop-link {
    position: relative;
    display: block;
    padding: 6px 10px;
    margin: 1px -10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13.25px;
    transition: background 0.18s var(--ease), color 0.18s, padding-left 0.24s var(--ease-liquid), transform 0.24s var(--ease-liquid);
    overflow: hidden;
}

.drop-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: opacity 0.22s, transform 0.3s var(--ease-liquid);
}

.drop-link:hover {
    background: var(--hover);
    color: #fff;
    padding-left: 22px;
}

.drop-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.drop-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.hamburger-btn {
    display: none;
    width: 36px;
    height: 36px;
    background: var(--hover);
    border: 1px solid var(--glass-bd);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    outline: none;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hbar {
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-liquid), opacity 0.2s;
}

@media (max-width: 1023px) {
    .nav-centre {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    #navbar {
        padding: 0 10px 0 16px;
    }

    .lang-btn,
    .sep,
    .icon-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hamburger-btn {
        display: none !important;
    }

    #mobile-menu {
        display: none !important;
    }
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 84px;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 720px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 8900;
    background: var(--glass-bg-d);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-bd);
    border-radius: var(--r-drop);
    padding: 10px;
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.28s var(--ease), transform 0.38s var(--ease-liquid);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

@media (max-width: 1023px) {
    #mobile-menu {
        display: block;
    }
}

#mobile-menu.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.m-lang-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    padding: 4px 4px 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.m-lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.m-lang-opt.active {
    color: var(--accent);
    border-color: rgba(221, 150, 61, 0.45);
    background: rgba(221, 150, 61, 0.12);
}

.m-item {
    border-radius: 10px;
    overflow: hidden;
}

.m-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    color: #fff;
    text-decoration: none;
    font-size: 15.25px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    border-radius: 10px;
    transition: background 0.18s;
}

.m-row:hover {
    background: var(--hover);
}

.m-row .m-chev {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.35s var(--ease-liquid);
}

.m-item.open > .m-row .m-chev {
    transform: rotate(180deg);
    color: var(--accent);
}

.m-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out);
    padding: 0 6px;
}

.m-item.open > .m-sub {
    max-height: 1200px;
}

.m-sub-inner {
    padding: 4px 6px 10px;
}

.m-sub-head {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 10px 10px 6px;
}

.m-sub-link {
    display: block;
    padding: 9px 12px;
    margin: 1px 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 14.25px;
    transition: background 0.18s, color 0.18s, padding-left 0.24s var(--ease-liquid);
}

.m-sub-link:hover {
    background: var(--hover);
    color: #fff;
    padding-left: 18px;
}

.m-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 4px 4px;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hi));
    color: #0a1630;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14.75px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(221, 150, 61, 0.35);
    transition: transform 0.35s var(--ease-liquid), box-shadow 0.3s;
}

.m-cta:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 26px rgba(221, 150, 61, 0.55);
}

.layana-page {
    width: var(--layana-content-width);
    margin-inline: auto;
    padding: 72px 0 3rem;
}

.layana-page:has(.layana-raw-article) {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.layana-page:has(.layana-case-study) {
    width: 100%;
    padding-top: 0;
}

.layana-page:has(.layana-raw-article) > .alert {
    width: var(--layana-content-width);
    margin-inline: auto;
}

.layana-page .layana-raw-article {
    margin: 0;
}

.layana-page > .alert {
    margin-bottom: 1rem;
}

.layana-page > *:last-child {
    margin-bottom: 0;
}

.layana-page .com-content-article,
.layana-page .blog,
.layana-page .blog-featured,
.layana-page .categories-list,
.layana-page .category-list {
    margin: 0;
}

.layana-article,
.layana-article__body {
    width: 100%;
}

.layana-article__body > :first-child {
    margin-top: 0;
}

.layana-article__body > :last-child {
    margin-bottom: 0;
}

.layana-article__body iframe,
.layana-article__body table {
    max-width: 100%;
}

@media (max-width: 1023px) {
    .layana-page {
        padding-top: 68px;
    }
}

@media (max-width: 767.98px) {
    #navbar {
        width: calc(100% - 20px);
        padding: 0 10px 0 14px;
    }

    .layana-brand {
        gap: 8px;
    }

    .layana-brand-symbol {
        width: 18px;
        height: 18px;
    }

    .logo-name,
    .layana-wordmark {
        font-size: 14px;
        letter-spacing: 2.4px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    position: relative;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(1400px 500px at 15% 0%, rgba(10, 45, 110, 0.55), transparent 60%),
        radial-gradient(1100px 600px at 90% 20%, rgba(237, 132, 22, 0.1), transparent 70%),
        linear-gradient(180deg, #050e24 0%, #030814 100%);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 49px, rgba(255, 255, 255, 0.025) 49px 50px),
        repeating-linear-gradient(90deg, transparent 0 49px, rgba(255, 255, 255, 0.025) 49px 50px);
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
    mask-image: radial-gradient(1200px 600px at 50% 40%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(1200px 600px at 50% 40%, #000 40%, transparent 80%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    animation: footer-float 18s ease-in-out infinite;
}

.orb.o1 {
    width: 420px;
    height: 420px;
    background: #0a2d6e;
    top: -120px;
    left: -120px;
}

.orb.o2 {
    width: 320px;
    height: 320px;
    background: var(--accent);
    bottom: -140px;
    right: 8%;
    opacity: 0.25;
    animation-delay: -6s;
}

.orb.o3 {
    width: 260px;
    height: 260px;
    background: #4facfe;
    top: 40%;
    right: -80px;
    opacity: 0.18;
    animation-delay: -12s;
}

@keyframes footer-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(30px, -20px, 0) scale(1.06);
    }
}

.site-footer > :not(.orb) {
    position: relative;
    z-index: 1;
}

.f-cta {
    max-width: 1340px;
    margin: 0 auto;
    padding: 34px 16px 34px;
}

.f-cta-inner {
    position: relative;
    overflow: hidden;
    padding: 44px 48px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 45, 110, 0.55) 0%, rgba(6, 12, 36, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 4px 20px rgba(237, 132, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.f-cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.05) 48%, rgba(237, 132, 22, 0.08) 50%, rgba(255, 255, 255, 0.05) 52%, transparent 70%);
    background-size: 220% 100%;
    background-position: 200% 0;
    animation: sheen 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.f-cta-inner > * {
    position: relative;
    z-index: 1;
}

.f-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.f-cta-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.f-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    max-width: 620px;
    margin: 0;
    color: #ffffff;
}

.f-cta h2 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent) 0%, #ffa043 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.f-cta p {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    max-width: 540px;
    line-height: 1.65;
}

.f-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent) 0%, #ffa043 100%);
    color: #0a1630 !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 220, 140, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 30px rgba(237, 132, 22, 0.45),
        0 6px 18px rgba(237, 132, 22, 0.35);
    overflow: hidden;
    isolation: isolate;
    flex-shrink: 0;
    transition: box-shadow 0.3s var(--ease), transform 0.35s var(--ease-liquid);
}

.f-cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.8s var(--ease-out);
    z-index: -1;
}

.f-cta-btn:hover::before {
    transform: translateX(130%);
}

.f-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 0 42px rgba(237, 132, 22, 0.7),
        0 10px 28px rgba(237, 132, 22, 0.5);
}

.f-cta-btn:active {
    transform: translateY(0) scale(0.97);
}

.f-cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--ease-liquid);
}

.f-cta-btn:hover svg {
    transform: translateX(4px);
}

.f-main {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 48px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 56px 40px;
    align-items: start;
}

.f-main > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.f-col-head {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(237, 132, 22, 0.28);
}

.f-main .f-link-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 761px) {
    .f-main .f-link-list {
        max-height: 440px;
        overflow-y: hidden;
        overflow-x: hidden;
        scrollbar-width: none;
        scroll-behavior: smooth;
        overscroll-behavior: contain;
    }

    .f-main .f-link-list::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .f-main .f-link-list.is-scrollable {
        overflow-y: auto;
        cursor: grab;
        scrollbar-width: thin;
        scrollbar-color: rgba(237, 132, 22, 0.45) transparent;
        mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 20px), transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 20px), transparent 100%);
    }

    .f-main .f-link-list.is-scrollable::-webkit-scrollbar {
        width: 3px;
    }

    .f-main .f-link-list.is-scrollable::-webkit-scrollbar-track {
        background: transparent;
    }

    .f-main .f-link-list.is-scrollable::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--accent), #ffa043);
        border-radius: 4px;
    }

    .f-main .f-link-list.is-scrollable.dragging {
        cursor: grabbing;
        user-select: none;
        scroll-behavior: auto;
    }
}

.f-brand-col {
    min-width: 260px;
    order: 99;
}

.f-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 18px;
    transition: text-shadow 0.35s var(--ease);
}

.f-logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.f-logo-symbol {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    object-fit: contain;
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.f-logo-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
}

.f-logo:hover .f-logo-name {
    text-shadow: 0 0 22px rgba(237, 132, 22, 0.6);
}

.f-logo:hover .f-logo-symbol {
    transform: translateY(-1px) scale(1.04);
    filter: drop-shadow(0 0 10px rgba(237, 132, 22, 0.35));
}

.f-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.f-contact a,
.f-contact span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.2s var(--ease), transform 0.3s var(--ease-liquid);
}

.f-contact a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.f-contact svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.85;
}

.f-social {
    display: flex;
    gap: 8px;
}

.f-social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--ease-liquid), box-shadow 0.3s var(--ease);
}

button.f-social-btn {
    appearance: none;
    -webkit-appearance: none;
    cursor: default;
}

.f-social-btn svg {
    width: 16px;
    height: 16px;
}

.f-social-btn:hover {
    background: rgba(237, 132, 22, 0.16);
    border-color: rgba(237, 132, 22, 0.45);
    color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(237, 132, 22, 0.28);
}

.f-duns {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(237, 132, 22, 0.08) 0%, rgba(10, 45, 110, 0.12) 100%);
    border: 1px solid rgba(237, 132, 22, 0.22);
    position: relative;
    overflow: hidden;
}

.f-duns::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 40%, rgba(237, 132, 22, 0.08) 50%, transparent 60%);
    background-size: 200% 100%;
    background-position: 200% 0;
    animation: sheen 14s ease-in-out infinite;
    pointer-events: none;
}

.f-duns-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.f-duns-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.f-duns-note {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
    position: relative;
    margin: 0;
}

.f-link {
    position: relative;
    display: block;
    padding: 8px 10px;
    margin: 2px 0;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.45;
    flex-shrink: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: background 0.2s var(--ease), color 0.2s, padding-left 0.26s var(--ease-liquid), transform 0.26s var(--ease-liquid);
}

.f-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: opacity 0.22s, transform 0.3s var(--ease-liquid);
}

.f-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    padding-left: 24px;
}

.f-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.f-bottom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 22px 48px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.f-copy {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.46);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.f-copy .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(237, 132, 22, 0.6);
    animation: footer-pulse 2.4s ease-in-out infinite;
}

@keyframes footer-pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.f-legal {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.f-legal a {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.f-legal a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.f-legal .sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.f-lang-wrap {
    position: relative;
    display: inline-flex;
}

.f-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

button.f-lang {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.f-lang-wrap:hover .f-lang,
.f-lang-wrap:focus-within .f-lang {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.f-lang-drop {
    top: auto;
    bottom: calc(100% + 10px);
    right: 0;
    transform: translateY(4px) scale(0.98);
    transform-origin: bottom right;
}

.f-lang-wrap:hover .f-lang-drop,
.f-lang-wrap:focus-within .f-lang-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.f-lang svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

@media (max-width: 1100px) {
    .f-main {
        grid-template-columns: 1.3fr 1fr 1.2fr;
        gap: 48px 36px;
        padding: 0 32px 48px;
    }

    .f-main > div:last-child {
        grid-column: 1 / -1;
    }

    .f-bottom {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 760px) {
    .f-cta {
        padding: 24px 12px 24px;
    }

    .f-cta-inner {
        padding: 32px 26px;
        flex-direction: column;
        align-items: flex-start;
    }

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

    .f-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
        padding: 0 20px 40px;
    }

    .f-brand-col {
        grid-column: 1 / -1;
    }

    .f-bottom {
        padding: 20px 20px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .f-lang-drop {
        left: 0;
        right: auto;
        transform-origin: bottom left;
    }
}

@media (max-width: 420px) {
    .f-main {
        grid-template-columns: 1fr;
    }

    .f-logo-name {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .f-logo-mark {
        gap: 10px;
    }

    .f-logo-symbol {
        width: 24px;
        height: 24px;
    }
}

/* D&B DUNS badge: icon 與文字並排 + label 白字 (2026-07-03) */
.f-duns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-duns-text { display: flex; flex-direction: column; }
.f-duns-label { color: #ffffff; }
