/* ==========================================================================
   大头Dee CMS 前台样式（配合 Bootstrap 5）
   ========================================================================== */

:root {
    --brand: #3b6ef6;
    --brand-dark: #2f5bdc;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e9f2;
    --soft: #f5f7fb;
}

body {
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #fff;
}

a {
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

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

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
}

/* 导航 */
.site-navbar {
    padding: 14px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #5b8cff, #3358e0);
    box-shadow: 0 6px 14px rgba(59, 110, 246, .3);
}

.brand-text {
    font-size: 17px;
}

.site-navbar .nav-link {
    color: #4b5563;
    font-size: 14.5px;
    padding: 8px 14px !important;
}

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

/* Banner */
.page-banner {
    padding: 56px 0 48px;
    background: linear-gradient(135deg, #f2f6ff 0%, #fbfcff 60%, #f7f9fd 100%);
    border-bottom: 1px solid var(--line);
}

.page-banner--compact {
    padding: 28px 0 22px;
}

.page-banner__title {
    margin: 8px 0 8px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.page-banner__desc {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
}

.page-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.page-breadcrumb a {
    color: var(--muted);
}

.page-breadcrumb a:hover {
    color: var(--brand);
}

/* 首页 Hero */
.hero {
    padding: 84px 0 72px;
    background: radial-gradient(circle at 15% 20%, #eaf0ff, #f8faff 55%, #ffffff 100%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--brand);
    background: #fff;
    border: 1px solid #dbe6ff;
    font-size: 12.5px;
}

.hero-title {
    font-size: 46px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.03em;
}

.hero-desc {
    margin: 18px 0 26px;
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-panel {
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(23, 33, 54, .08);
}

.hero-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    color: var(--muted);
}

.hero-panel__row:last-child {
    border-bottom: none;
}

.hero-panel__row strong {
    color: var(--ink);
    font-size: 20px;
}

/* 区块 */
.section {
    padding: 64px 0;
}

.section--muted {
    background: var(--soft);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    letter-spacing: .08em;
    color: var(--brand);
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.section-more {
    font-size: 13.5px;
    color: var(--muted);
    white-space: nowrap;
}

/* 产品卡片 */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(23, 33, 54, .09);
}

.product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f6fc;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-placeholder {
    padding: 20px;
    color: #9aa3b5;
    font-size: 14px;
    text-align: center;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}

.product-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.product-card__desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.product-card__price {
    color: #d9480f;
    font-size: 16px;
    font-weight: 700;
}

.product-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-card__more {
    font-size: 12.5px;
    color: var(--brand);
}

/* 案例卡片 */
.case-card {
    display: block;
    height: 100%;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.case-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(23, 33, 54, .09);
}

.case-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2fa;
}

.case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card__body {
    padding: 20px;
}

.case-card__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.case-card__body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.case-card__meta,
.case-detail__meta,
.job-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 12.5px;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-item {
    display: block;
    padding: 18px 20px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.article-item:hover {
    color: var(--ink);
    border-color: #c7d5f8;
    box-shadow: 0 12px 28px rgba(23, 33, 54, .07);
}

.article-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.article-item p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.article-item__meta,
.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: #9aa3b5;
    font-size: 12px;
}

.article-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.article-card + .article-card {
    margin-top: 16px;
}

.article-card__media {
    display: block;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16 / 7;
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__title {
    margin: 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.article-card__title a {
    color: var(--ink);
}

.article-card__desc {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.article-card__more {
    font-size: 13px;
    color: var(--brand);
}

/* 招聘 */
.job-list,
.job-page-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-item,
.job-page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.job-item:hover,
.job-page-item:hover {
    color: var(--ink);
    border-color: #c7d5f8;
    box-shadow: 0 12px 28px rgba(23, 33, 54, .07);
}

.job-item h3,
.job-page-item h2 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.job-item__meta,
.job-page-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 12.5px;
}

.job-item__arrow,
.job-arrow {
    color: #b3bac9;
}

.job-page-item__side {
    display: flex;
    align-items: center;
    gap: 14px;
}

.job-salary {
    color: #d9480f;
    font-weight: 700;
}

/* 详情 */
.article-detail {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.article-detail__title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.article-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
}

.article-detail__content {
    color: #374151;
    font-size: 15px;
    line-height: 1.95;
}

.article-detail__content h2,
.article-detail__content h3 {
    margin: 1.6em 0 .7em;
    font-weight: 600;
}

.article-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-detail__content blockquote {
    padding: 12px 18px;
    margin: 18px 0;
    background: var(--soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 8px 8px 0;
}

.article-detail__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 13px;
}

.article-detail__tags a {
    padding: 3px 10px;
    border-radius: 999px;
    color: var(--brand);
    background: #eef3ff;
    font-size: 12.5px;
}

.article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.article-nav__item {
    padding: 14px 18px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.article-nav__item small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.article-nav__item strong {
    font-size: 13.5px;
    font-weight: 500;
}

.article-nav__item--next {
    text-align: right;
}

.article-nav__item.is-empty {
    color: #b3bac9;
    background: #fafbfe;
}

.detail-title {
    font-size: 30px;
    font-weight: 700;
}

.detail-summary {
    margin: 12px 0;
    color: var(--muted);
    line-height: 1.8;
}

.detail-price {
    margin: 16px 0;
    color: #d9480f;
    font-size: 28px;
    font-weight: 700;
}

.detail-spec {
    padding: 14px 16px;
    margin-bottom: 18px;
    background: var(--soft);
    border-radius: 10px;
}

.detail-spec h6 {
    margin: 0 0 6px;
    font-weight: 600;
}

.detail-spec p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.detail-content {
    margin-top: 34px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.detail-content__title {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-weight: 600;
}

.product-gallery,
.case-gallery {
    display: grid;
    gap: 12px;
}

.product-gallery img,
.case-gallery img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    object-fit: cover;
}

.case-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: #9aa3b5;
    background: #f3f6fc;
    border-radius: 12px;
}

/* 侧边栏 */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.sidebar-card + .sidebar-card {
    margin-top: 0;
}

.sidebar-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-text {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12.5px;
}

.sidebar-list li + li {
    margin-top: 6px;
}

/* 分页 */
.site-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.pagination-info {
    color: var(--muted);
    font-size: 12.5px;
}

.page-link {
    color: #4b5563;
}

.page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
}

/* 搜索 */
.search-page-form {
    max-width: 680px;
    margin-top: 20px;
}

.search-result {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.search-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: #9aa3b5;
    font-size: 12px;
}

.search-result__title {
    margin: 8px 0;
    font-size: 19px;
    font-weight: 600;
}

.search-result__title a {
    color: var(--ink);
}

.search-result__desc {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.85;
}

mark {
    padding: 0 2px;
    color: #b02a1f;
    background: #fff1a8;
    border-radius: 3px;
}

/* 会员 */
.member-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.member-avatar-xs {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.member-logout-form {
    margin: 0 0 0 6px;
}

.member-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.member-card__title {
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 600;
}

.member-card__links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.member-sidebar {
    padding: 22px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.member-sidebar__profile {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.member-sidebar__profile h5 {
    margin: 10px 0 2px;
    font-size: 16px;
    font-weight: 600;
}

.member-sidebar__profile span {
    color: var(--muted);
    font-size: 12.5px;
}

.member-avatar-lg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(23, 33, 54, .12);
}

.member-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
}

.member-menu__item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13.5px;
}

.member-menu__item:hover {
    color: var(--brand);
    background: var(--soft);
}

.member-menu__item--button {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
}

.member-menu__logout {
    margin: 6px 0 0;
}

.member-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.member-stat span {
    color: var(--muted);
    font-size: 13px;
}

.member-stat strong {
    font-size: 26px;
    font-weight: 600;
}

.member-stat a {
    font-size: 12.5px;
}

.member-table th {
    width: 120px;
    color: var(--muted);
    font-weight: 500;
}

.member-empty {
    padding: 42px 16px;
    color: #9aa3b5;
    text-align: center;
    background: #fafbfe;
    border: 1px dashed var(--line);
    border-radius: 10px;
    font-size: 13px;
}

.favorite-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}

.favorite-item:last-of-type {
    border-bottom: none;
}

.favorite-item h3 {
    margin: 6px 0;
    font-size: 16px;
    font-weight: 600;
}

.favorite-item h3 a {
    color: var(--ink);
}

.favorite-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.favorite-item__meta,
.message-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #9aa3b5;
    font-size: 12px;
}

.message-item {
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}

.message-item:last-of-type {
    border-bottom: none;
}

.message-item__content {
    margin: 10px 0 6px;
    color: #374151;
    font-size: 13.5px;
    line-height: 1.8;
}

.message-item__contact {
    color: var(--muted);
    font-size: 12px;
}

.inquiry-card {
    margin-top: 34px;
    padding: 26px;
    background: #f8faff;
    border: 1px solid #dbe6ff;
    border-radius: 14px;
}

.inquiry-card__title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 600;
}

.article-detail__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.favorite-form {
    display: inline-flex;
    margin: 0;
}

@media (max-width: 575px) {
    .favorite-item {
        flex-direction: column;
    }

    .member-card,
    .member-sidebar,
    .inquiry-card {
        padding: 18px;
    }
}

/* 空状态 */
.empty-box {
    padding: 46px 20px;
    color: #9aa3b5;
    text-align: center;
    background: #fafbfe;
    border: 1px dashed var(--line);
    border-radius: 12px;
    font-size: 13.5px;
}

/* 页脚 */
.site-footer {
    padding: 48px 0 22px;
    color: #c3cbe0;
    background: #161d2f;
}

.footer-title {
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.footer-desc {
    color: #8b95ac;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.footer-links li + li {
    margin-top: 7px;
}

.footer-links a {
    color: #aab3c8;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #6d778f;
    font-size: 12px;
}

@media (max-width: 991px) {
    .hero {
        padding: 56px 0 48px;
    }

    .hero-title {
        font-size: 34px;
    }

    .section {
        padding: 44px 0;
    }

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

    .article-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-nav__item--next {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .page-banner {
        padding: 38px 0 32px;
    }

    .page-banner__title {
        font-size: 26px;
    }

    .hero-title {
        font-size: 28px;
    }

    .article-detail {
        padding: 18px;
    }

    .article-detail__title,
    .detail-title {
        font-size: 24px;
    }

    .case-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   前台视觉升级：日间 / 夜间模式 + Naive 清爽风
   ========================================================================== */
:root {
    --f-primary: #2080f0;
    --f-primary-strong: #1f6feb;
    --f-bg: #f6f8fb;
    --f-card: #ffffff;
    --f-text: #1d2129;
    --f-muted: #6b7280;
    --f-border: #e8ecf3;
    --f-soft: #eef4ff;
    --f-radius: 16px;
    --f-shadow: 0 10px 30px rgba(30, 41, 59, .07);
    --f-navbar: rgba(255, 255, 255, .92);
}

body.site-theme-dark {
    --f-primary: #4098fc;
    --f-primary-strong: #2f89f7;
    --f-bg: #0f1115;
    --f-card: #171a21;
    --f-text: #e6e8ec;
    --f-muted: #9aa1ad;
    --f-border: #262b35;
    --f-soft: #1b2433;
    --f-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --f-navbar: rgba(15, 17, 21, .92);
}

body {
    background: var(--f-bg);
    color: var(--f-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    transition: background .2s ease, color .2s ease;
}

a { color: inherit; }
.text-primary { color: var(--f-primary) !important; }

.site-navbar {
    padding: 10px 0;
    background: var(--f-navbar);
    border-bottom: 1px solid var(--f-border);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--f-text);
    font-weight: 600;
}

.site-logo {
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5b8cff, #3358e0);
    color: #fff;
    font-weight: 700;
}

.site-nav .nav-link {
    padding: 8px 14px !important;
    border-radius: 10px;
    color: var(--f-muted);
    font-size: 14px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--f-primary);
    background: var(--f-soft);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-ghost {
    border: 1px solid transparent;
    background: transparent;
    color: var(--f-muted);
    border-radius: 9px;
}

.btn-ghost:hover {
    color: var(--f-primary);
    background: var(--f-soft);
}

.site-cta {
    border-radius: 9px;
}

.btn-primary {
    background: var(--f-primary);
    border-color: var(--f-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--f-primary-strong);
    border-color: var(--f-primary-strong);
}

.front-theme-btn .theme-icon {
    font-size: 15px;
    line-height: 1;
}

.site-member {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    background: var(--f-soft);
    color: var(--f-text);
    font-size: 13px;
    text-decoration: none;
}

.member-avatar-xs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.member-logout-form { display: inline-flex; }

.site-theme-dark .navbar-toggler {
    border-color: var(--f-border);
}

.site-theme-dark .navbar-toggler-icon {
    filter: invert(1);
}

.site-theme-dark .dropdown-menu {
    background: var(--f-card);
    border-color: var(--f-border);
}

.site-theme-dark .dropdown-item {
    color: var(--f-text);
}

.site-theme-dark .dropdown-item:hover,
.site-theme-dark .dropdown-item.active {
    background: var(--f-soft);
    color: var(--f-primary);
}

.site-flash {
    padding: 12px 16px;
    border: 1px solid var(--f-border);
    border-radius: 12px;
    background: var(--f-card);
    color: var(--f-text);
    font-size: 13px;
}

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(900px 420px at 15% 10%, rgba(32, 128, 240, .14), transparent 60%),
        radial-gradient(700px 380px at 90% 20%, rgba(99, 102, 241, .12), transparent 60%),
        var(--f-bg);
}

.hero-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--f-soft);
    color: var(--f-primary);
    font-size: 12.5px;
}

.hero-title {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.5px;
}

.hero-desc {
    max-width: 620px;
    color: var(--f-muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    border-radius: 10px;
    padding: 12px 22px;
}

.hero-actions .btn-outline-secondary {
    border-color: var(--f-border);
    color: var(--f-text);
    background: var(--f-card);
}

.hero-panel {
    padding: 22px;
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    box-shadow: var(--f-shadow);
}

.hero-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    border-bottom: 1px dashed var(--f-border);
    color: var(--f-muted);
    font-size: 13.5px;
}

.hero-panel__row:last-child { border-bottom: 0; }
.hero-panel__row strong { color: var(--f-text); font-size: 20px; }

/* 区块与卡片 */
.section { padding: 64px 0; }
.section--muted { background: var(--f-soft); }
.section-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--f-primary);
    font-size: 12px;
    letter-spacing: 1px;
}

.section-title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-more {
    color: var(--f-primary);
    font-size: 13px;
    text-decoration: none;
}

.product-card,
.case-card,
.article-item,
.job-item {
    display: block;
    overflow: hidden;
    background: var(--f-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    box-shadow: var(--f-shadow);
    color: var(--f-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover,
.case-card:hover,
.article-item:hover,
.job-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(30, 41, 59, .12);
    color: var(--f-text);
}

.product-card__media,
.case-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--f-soft);
}

.product-card__media img,
.case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__body,
.case-card__body {
    padding: 18px 20px 20px;
}

.product-card__title,
.case-card__body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.product-card__desc,
.case-card__body p,
.article-item__body p {
    margin: 0;
    color: var(--f-muted);
    font-size: 13px;
    line-height: 1.8;
}

.product-card__price {
    margin-top: 12px;
    color: var(--f-primary);
    font-weight: 600;
}

.article-list,
.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-item { padding: 18px 20px; }
.article-item__body h3 { margin: 0 0 6px; font-size: 15.5px; }

.article-item__meta,
.job-item__meta,
.case-card__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: var(--f-muted);
    font-size: 12px;
}

.job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

.job-item h3 { margin: 0 0 4px; font-size: 15px; }
.job-item__arrow { color: var(--f-primary); }

.media-placeholder {
    color: var(--f-muted);
    font-size: 13px;
}

.empty-box {
    padding: 46px 20px;
    border: 1px dashed var(--f-border);
    border-radius: var(--f-radius);
    background: var(--f-card);
    color: var(--f-muted);
    text-align: center;
    font-size: 13px;
}

/* 广告位 */
.home-banner {
    padding-top: 24px;
}

.home-banner img,
.footer-ad img {
    width: 100%;
    border-radius: var(--f-radius);
    box-shadow: var(--f-shadow);
}

.footer-ad {
    padding: 26px 0 0;
}

.footer-ad__text {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--f-border);
    border-radius: 12px;
    background: var(--f-card);
    color: var(--f-text);
    text-align: center;
    text-decoration: none;
}

/* 页脚 */
.site-footer {
    padding: 56px 0 24px;
    background: #0e1626;
    color: #cbd5e1;
}

.site-theme-dark .site-footer {
    background: #0a0d13;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.footer-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 13px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

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

.footer-friends {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, .18);
    color: #94a3b8;
    font-size: 12.5px;
}

.footer-friends a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-friends a:hover { color: #fff; }
.footer-friends img { height: 24px; width: auto; object-fit: contain; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .18);
    color: #7c8aa0;
    font-size: 12.5px;
}

@media (max-width: 991px) {
    .site-actions {
        margin-top: 12px;
    }

    .hero {
        padding: 48px 0 42px;
    }

    .section {
        padding: 46px 0;
    }
}
