/* ============================================================
   迈科思 MAKSYS — 品牌设计系统
   科技蓝 + 亮绿点缀
   ============================================================ */

/* --- 设计令牌 (Design Tokens) --- */
:root {
    /* 主色调：科技蓝 (LOGO #0099E6) */
    --blue-700: #0066AA;
    --blue-600: #0099E6;
    --blue-500: #33BBFF;
    --blue-400: #66CCFF;
    --blue-100: #E6F4FB;
    --blue-50:  #F0F9FE;

    /* 中性色 */
    --gray-900: #1A1A1A;
    --gray-800: #333333;
    --gray-700: #4A4A4A;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #B3B3B3;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --gray-50:  #FAFAFA;
    --white:    #FFFFFF;

    /* 语义色 */
    --color-primary: var(--blue-600);
    --color-primary-dark: var(--blue-700);
    --color-primary-light: var(--blue-100);
    --color-bg: var(--white);
    --color-surface: var(--gray-100);
    --color-text: var(--gray-800);
    --color-text-secondary: var(--gray-600);
    --color-text-muted: var(--gray-400);
    --color-border: var(--gray-200);

    /* 字体 */
    --font-body: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* 间距节奏 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

    /* 过渡 */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
}

/* --- 基础重置 --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- 排版系统 --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

/* 节标题样式 */
.section-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--blue-600);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 520px;
    line-height: 1.7;
}

/* ============================================================
   导航栏 — 简洁白底
   ============================================================ */
.navbar {
    background-color: var(--white) !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 72px;
}

.navbar-brand {
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 0 !important;
}

.navbar-brand .brand-cn {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 700;
}

.navbar-brand .brand-en {
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* 导航链接 */
.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 0 !important;
    margin: 0 16px;
    position: relative;
    transition: color var(--duration-fast) ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-normal) var(--ease-out);
}

.navbar-nav .nav-link:hover {
    color: var(--blue-600) !important;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 导航搜索框 */
.navbar .form-control {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    font-size: 14px;
    border-radius: var(--radius-full);
    padding: 8px 16px;
    width: 180px;
    transition: all var(--duration-normal) var(--ease-out);
}

.navbar .form-control::placeholder {
    color: var(--gray-400);
}

.navbar .form-control:focus {
    background: var(--white);
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0,153,230,0.15);
    outline: none;
    width: 220px;
}

/* 导航按钮 */
.navbar .btn {
    background: var(--blue-600);
    color: var(--white);
    border: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) ease;
}

.navbar .btn:hover {
    background: var(--blue-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,153,230,0.3);
}

/* 导航用户下拉菜单 */
.navbar .dropdown-menu {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    padding: 8px 0;
}

.navbar .dropdown-item {
    color: var(--gray-700);
    font-size: 14px;
    padding: 10px 20px;
    transition: all var(--duration-fast) ease;
}

.navbar .dropdown-item:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

/* 移动端汉堡菜单 */
.navbar-toggler {
    border: 1px solid var(--gray-200) !important;
    padding: 6px 10px !important;
    border-radius: var(--radius-md);
}

/* ============================================================
   英雄区域 — 大图背景
   ============================================================ */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

/* 装饰圆形 */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-banner h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.hero-banner h1 .accent {
    color: rgba(255,255,255,0.9);
}

.hero-banner .lead {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.hero-banner .hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

/* 英雄按钮 */
.hero-banner .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
    border: none;
    cursor: pointer;
}

.hero-banner .btn-hero-primary {
    background: var(--white);
    color: var(--blue-700);
}

.hero-banner .btn-hero-primary:hover {
    background: var(--gray-50);
    color: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-banner .btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-banner .btn-hero-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.hero-banner .hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-banner .hero-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-banner .hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

/* ============================================================
   快捷入口 — 卡片网格
   ============================================================ */
.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.quick-entry-item {
    background: var(--white);
    padding: var(--space-xl);
    text-decoration: none;
    color: var(--color-text);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
    text-align: center;
}

.quick-entry-item:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.quick-entry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.quick-entry-item:hover .quick-entry-icon {
    background: var(--blue-600);
    color: var(--white);
}

.quick-entry-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.quick-entry-desc {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================================
   产品卡片
   ============================================================ */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-400);
}

.product-card .product-image {
    /* 产品图为正方形，容器也设为 1:1，图片可正好铺满且不裁切 */
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .product-image > img {
    width: 100%;
    height: 100%;
    /* 容器与产品图同为 1:1，cover 可铺满且无裁切 */
    object-fit: cover;
    z-index: 1;
    transition: transform .4s ease;
}

.product-card:hover .product-image > img {
    transform: scale(1.06);
}

.product-card .product-image .material-icon {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue-600);
    opacity: 0.3;
    z-index: 1;
}

/* 产品卡 hover 浮层 — 半透明蓝底 + 圆形快捷按钮（借鉴视维模板 solution 卡片遮罩效果） */
.product-card .product-image .product-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(0, 102, 170, 0.82);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .product-overlay-btn {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transform: translateY(8px);
    transition: all var(--duration-fast) ease;
}

.product-card:hover .product-overlay .product-overlay-btn {
    transform: translateY(0);
}

.product-overlay .product-overlay-btn:hover {
    background: var(--white);
    color: var(--blue-700);
    border-color: var(--white);
}

.product-card .card-body {
    padding: var(--space-lg);
}

.product-card .product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.product-card .product-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.product-card .product-rating .star {
    color: #FFB800;
    font-size: 14px;
}

.product-card .product-rating .star.empty {
    color: var(--gray-200);
}

.product-card .product-rating .score {
    font-size: 13px;
    color: var(--gray-500);
    margin-left: 4px;
}

.product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-700);
}

.product-card .price .unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-500);
}

/* 按钮系统 */
.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--blue-600);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.btn-buy:hover {
    background: var(--blue-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,153,230,0.3);
}

.btn-primary-custom {
    background: var(--blue-600) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all var(--duration-fast) ease !important;
}

.btn-primary-custom:hover {
    background: var(--blue-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,153,230,0.3);
}

.btn-outline-custom {
    background: transparent !important;
    color: var(--blue-600) !important;
    border: 1px solid var(--blue-600) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all var(--duration-fast) ease !important;
}

.btn-outline-custom:hover {
    background: var(--blue-600) !important;
    color: var(--white) !important;
}

/* ============================================================
   新闻卡片
   ============================================================ */
.news-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-400);
}

.news-card .news-image {
    height: 180px;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card .news-image .news-icon {
    font-size: 36px;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
}

.news-card .news-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-card .news-date {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-size: 12px;
    color: var(--white);
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 1;
}

.news-card .card-body {
    padding: var(--space-lg);
}

.news-card .news-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-excerpt {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   企业优势
   ============================================================ */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.advantage-item {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
}

.advantage-item:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

/* 优势图标 — 圆形描边 + hover 360° 旋转（借鉴视维模板 service 图标效果） */
.advantage-item {
    position: relative;
    overflow: hidden;
}

/* 底部蓝色下划线 — hover 时浮现（借鉴视维模板 .f_line 效果） */
.advantage-item::after {
    content: '';
    position: absolute;
    left: 5%;
    bottom: 0;
    width: 90%;
    height: 3px;
    background: var(--blue-600);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.advantage-item:hover::after {
    opacity: 1;
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    font-size: 30px;
    transition: transform 0.7s var(--ease-in-out), border-color var(--duration-normal) ease, background var(--duration-normal) ease;
}

.advantage-item:hover .advantage-icon {
    border-color: var(--blue-600);
    background: var(--blue-50);
    transform: rotate(360deg);
}

.advantage-item:hover .advantage-title {
    color: var(--blue-600);
}

.advantage-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.advantage-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================================
   筛选标签
   ============================================================ */
.filter-tag {
    display: inline-block;
    padding: 8px 20px;
    margin: 4px;
    border-radius: var(--radius-full);
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all var(--duration-fast) ease;
    cursor: pointer;
}

.filter-tag:hover,
.filter-tag.active {
    background-color: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
}

/* ============================================================
   分页
   ============================================================ */
.pagination .page-link {
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    font-size: 14px;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: var(--radius-md) !important;
    transition: all var(--duration-fast) ease;
}

.pagination .page-link:hover {
    background: var(--blue-50);
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.pagination .page-item.active .page-link {
    background-color: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
}

/* ============================================================
   论坛帖子
   ============================================================ */
.forum-post-item {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--duration-fast) ease;
}

.forum-post-item:hover {
    background-color: var(--gray-50);
    padding-left: var(--space-md);
}

.badge-official {
    background-color: var(--blue-600);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ============================================================
   问答折叠面板
   ============================================================ */
.qa-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color var(--duration-fast) ease;
}

.qa-item:hover {
    border-color: var(--blue-400);
}

.qa-question {
    padding: var(--space-lg);
    background-color: var(--white);
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-900);
    font-size: 15px;
    transition: background var(--duration-fast) ease;
    border-left: 3px solid transparent;
}

.qa-question:hover {
    background-color: var(--gray-50);
    border-left-color: var(--blue-600);
}

.qa-answer {
    padding: var(--space-lg);
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================================
   招聘卡片
   ============================================================ */
.job-card {
    border-left: 3px solid var(--blue-600);
    padding: var(--space-lg);
    background-color: var(--white);
    margin-bottom: var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-xs);
    border-top: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
}

.job-card:hover {
    border-left-color: var(--blue-700);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

/* ============================================================
   招聘横幅条（借鉴视维模板 .join 招聘横幅效果）
   ============================================================ */
.recruit-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-600) 60%, var(--blue-500) 100%);
    padding: var(--space-2xl) 0;
}

/* 右上角装饰圆环 */
.recruit-strip .recruit-bg-deco {
    position: absolute;
    top: -60px;
    right: 8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.recruit-strip .recruit-bg-deco::after {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.recruit-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.recruit-text h3 {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.recruit-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.recruit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--white);
    color: var(--blue-700);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

.recruit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   页脚 — 深蓝背景
   ============================================================ */
.footer {
    background: var(--blue-700) !important;
    color: rgba(255,255,255,0.8) !important;
    padding: var(--space-3xl) 0 var(--space-xl) !important;
    margin-top: 0 !important;
}

.footer h5,
.footer h6 {
    color: var(--white) !important;
    font-weight: 600;
}

.footer .brand-cn {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer .brand-en {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-left: 6px;
    font-weight: 500;
}

.footer .footer-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-top: var(--space-md);
    color: rgba(255,255,255,0.6);
}

.footer .footer-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white) !important;
    margin-bottom: var(--space-lg);
}

.footer .list-unstyled li {
    margin-bottom: var(--space-sm);
}

.footer .list-unstyled a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: all var(--duration-fast) ease;
    display: inline-block;
}

.footer .list-unstyled a:hover {
    color: var(--white) !important;
    transform: translateX(4px);
}

.footer .footer-contact-item {
    font-size: 14px;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.footer .footer-contact-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    min-width: 40px;
    flex-shrink: 0;
}

.footer .btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9) !important;
    font-size: 13px;
    border-radius: var(--radius-full);
    text-decoration: none !important;
    transition: all var(--duration-fast) ease;
}

.footer .btn-footer:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--blue-700) !important;
}

.footer hr {
    border-color: rgba(255,255,255,0.1) !important;
    margin: var(--space-xl) 0 var(--space-lg);
}

.footer .copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer .footer-icp {
    margin-top: 8px;
}

.footer .footer-icp a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer .footer-icp a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================================
   询价弹窗
   ============================================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--blue-600) !important;
    color: var(--white) !important;
    border-bottom: none;
    padding: var(--space-lg) var(--space-xl) !important;
}

.modal-header .modal-title {
    font-size: 16px;
    font-weight: 600;
}

.modal-body {
    padding: var(--space-xl) !important;
}

.modal-body .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.modal-body .form-control,
.modal-body .form-select {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 14px;
    transition: all var(--duration-fast) ease;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0,153,230,0.15);
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--space-lg) var(--space-xl) !important;
}

.modal-footer .btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
}

.modal-footer .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.modal-footer .btn-submit {
    background: var(--blue-600) !important;
    color: var(--white) !important;
    border: none !important;
}

.modal-footer .btn-submit:hover {
    background: var(--blue-700) !important;
}

/* ============================================================
   卡片覆盖 — 消除 Bootstrap 默认
   ============================================================ */
.card {
    border: none !important;
    border-radius: var(--radius-md) !important;
    background: var(--white);
    transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* ============================================================
   后台管理
   ============================================================ */
.admin-sidebar {
    min-height: 100vh;
    background-color: var(--gray-900) !important;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.6) !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    font-size: 14px;
    border-left: 2px solid transparent;
    transition: all var(--duration-fast) ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255,255,255,0.05) !important;
    border-left-color: var(--blue-600);
}

.stat-card {
    padding: var(--space-xl);
    border-radius: var(--radius-md) !important;
    color: #fff;
    border: none;
}

.stat-card.blue   { background: var(--blue-700) !important; }
.stat-card.orange  { background: var(--blue-600) !important; }
.stat-card.green   { background: var(--blue-500) !important; }
.stat-card.dark    { background: var(--gray-800) !important; }

/* ============================================================
   通用工具类
   ============================================================ */
.text-accent  { color: var(--blue-600) !important; }
.text-action  { color: var(--blue-700) !important; }
.text-navy    { color: var(--gray-900) !important; }
.bg-warm      { background-color: var(--gray-50) !important; }
.bg-section   { background-color: var(--white) !important; }

/* 节间距 */
.section-lg { padding: var(--space-3xl) 0; }
.section-md { padding: var(--space-2xl) 0; }

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn var(--duration-slow) var(--ease-out) both;
}

.animate-slide-in {
    animation: slideInLeft var(--duration-slow) var(--ease-out) both;
}

.animate-scale-in {
    animation: scaleIn var(--duration-normal) var(--ease-out) both;
}

/* 交错动画延迟 */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.10s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.20s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.30s; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
    .quick-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-banner .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 0 60px;
    }

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

    .advantage-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-banner .hero-stats {
        gap: var(--space-md);
    }

    .hero-banner .hero-stat-number {
        font-size: 24px;
    }

    .section-lg {
        padding: var(--space-2xl) 0;
    }

    .navbar .form-control {
        width: 120px;
        margin-bottom: var(--space-sm);
    }

    .navbar .form-control:focus {
        width: 160px;
    }
}

@media (max-width: 576px) {
    .quick-entry-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   Hero 轮播图样式
   ============================================================ */

/* 轮播图基础 */
#heroCarousel {
    position: relative;
}

#heroCarousel .carousel-inner {
    min-height: 0;
}

#heroCarousel .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

/* 指示器 */
.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hero-indicators button {
    width: 32px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-indicators button.active {
    background: var(--white);
    width: 48px;
}

.hero-indicators button:hover {
    background: rgba(255,255,255,0.6);
}

/* 左右控制按钮隐藏 */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    display: none;
}

/* ============================================================
   素材案例页 — 蓝图文件卡（Blueprint 文件画廊风格）
   ============================================================ */

/* 页头：标题 + 统计 */
.mat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.mat-total {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.mat-total b {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-700);
    margin: 0 4px;
}

/* 分类筛选 chips */
.mat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: var(--space-lg) 0 var(--space-xl);
}

.mat-chip {
    display: inline-block;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.mat-chip:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.mat-chip.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(0, 102, 170, 0.3);
}

/* 文件卡 */
.mat-card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

.mat-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue-400);
    box-shadow: 0 16px 40px rgba(0, 60, 120, 0.14);
}

/* 封面 — 蓝图网格背景 */
.mat-cover {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-50);
    background-image:
        linear-gradient(rgba(0, 102, 170, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 170, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* 图片集类型 — 暖色网格区分 */
.mat-cover-img {
    background-color: #FFF6EC;
    background-image:
        linear-gradient(rgba(226, 144, 30, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 144, 30, 0.10) 1px, transparent 1px);
}

/* 封面中央大字标 */
.mat-cover-mark {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue-700);
    opacity: 0.18;
    transition: all var(--duration-normal) var(--ease-out);
}

.mat-cover-img .mat-cover-mark {
    color: #D28A26;
}

.mat-card:hover .mat-cover-mark {
    opacity: 0.45;
    transform: scale(1.06);
}

.mat-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mat-cover .mat-type-badge,
.mat-cover .mat-corner {
    z-index: 1;
}

/* 类型角标 */
.mat-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--blue-100);
    color: var(--blue-700);
}

.mat-cover-img .mat-type-badge {
    border-color: #F5DDB8;
    color: #B26A0E;
}

/* 四角括号 — hover 时向外浮现 */
.mat-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--blue-600);
    opacity: 0;
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
}

.mat-corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.mat-corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.mat-corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.mat-corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

.mat-card:hover .mat-corner { opacity: 1; }
.mat-card:hover .mat-corner.tl { top: 10px; left: 10px; }
.mat-card:hover .mat-corner.tr { top: 10px; right: 10px; }
.mat-card:hover .mat-corner.bl { bottom: 10px; left: 10px; }
.mat-card:hover .mat-corner.br { bottom: 10px; right: 10px; }

/* 卡体 */
.mat-body {
    padding: 16px 18px;
}

.mat-cat {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
}

.mat-cat::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
    margin-right: 6px;
    vertical-align: 1px;
}

.mat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 6px 0;
    min-height: 22px;
    line-height: 1.4;
}

.mat-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    min-height: 42px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 元信息：耗材标签 + 难度点 */
.mat-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.mat-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    color: var(--blue-700);
}

.mat-diff {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mat-diff-label {
    font-size: 11px;
    color: var(--gray-400);
}

.mat-dots {
    display: inline-flex;
    gap: 3px;
}

.mat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: transparent;
}

.mat-dot.on {
    background: var(--blue-600);
    border-color: var(--blue-600);
}

/* 卡脚：下载量 + 详情 */
.mat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--gray-200);
}

.mat-dl {
    font-size: 12px;
    color: var(--gray-500);
}

.mat-dl b {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    color: var(--gray-700);
}

.mat-go {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
}

.mat-go::after {
    content: '→';
    display: inline-block;
    margin-left: 4px;
    transition: transform var(--duration-fast) ease;
}

.mat-card:hover .mat-go::after {
    transform: translateX(4px);
}

/* 空状态 */
.mat-empty {
    text-align: center;
    padding: 80px 0;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    color: var(--gray-500);
}

.mat-empty-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.mat-empty p {
    font-size: 14px;
    color: var(--gray-500);
}

/* 分页 */
.mat-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-xl);
}

.mat-pager-btn {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-600);
    font-size: 13px;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.mat-pager-btn:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.mat-pager-btn.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
}

/* ============================================================
   在线采购页 — 工业工单 / 台账风格（PO 单质感，去 emoji）
   ============================================================ */
.purchase-page {
    background: var(--gray-50);
}

/* 工单头 */
.po-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

/* 工单编号牌 */
.po-serial {
    display: inline-block;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--blue-700);
    border: 1px solid var(--blue-600);
    padding: 3px 10px;
    margin-bottom: 10px;
}

.po-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

/* 双线印章 */
.po-stamp {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.3;
    text-align: center;
    color: var(--blue-700);
    border: 2px solid var(--blue-700);
    outline: 1px solid var(--blue-700);
    outline-offset: 3px;
    padding: 8px 16px;
    user-select: none;
}

/* 卡片基座：工单表单 / 台账面板 / 锁定面板 */
.po-form, .po-panel, .po-locked {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

/* 工单表单 */
.po-form {
    overflow: hidden;
}

.po-form-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

/* 分段编号牌 */
.po-seg {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    background: var(--blue-50);
    padding: 2px 8px;
}

.po-seg-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.po-grid {
    padding: 20px;
}

/* 台账式字段：等宽小标签 */
.po-label {
    display: block;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.po-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 3px;
    background: var(--white);
    font-size: 14px;
    color: var(--gray-900);
    transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.po-input:focus {
    outline: 0;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0, 153, 230, 0.15);
}

.po-input-num {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* 优惠档位输出框 — 随数量实时变化 */
.po-tier-output {
    min-height: 41px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px dashed var(--gray-300);
    border-radius: 3px;
    background: var(--gray-50);
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gray-500);
    transition: all var(--duration-fast) ease;
}

.po-tier-output.t1 {
    color: var(--gray-700);
    border-color: var(--gray-400);
}

.po-tier-output.t2 {
    color: var(--blue-700);
    border: 1px solid var(--blue-600);
    background: var(--blue-50);
}

.po-tier-output.t3 {
    color: var(--white);
    border: 1px solid var(--blue-700);
    background: var(--blue-700);
}

/* 表单底栏 */
.po-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.po-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-700);
    color: var(--white);
    border: 0;
    border-radius: 2px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.po-submit span {
    transition: transform var(--duration-normal) var(--ease-out);
}

.po-submit:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 102, 170, 0.25);
}

.po-submit:hover span {
    transform: translateX(4px);
}

.po-hint {
    font-size: 12px;
    color: var(--gray-500);
}

/* 未登录锁定面板 */
.po-locked {
    padding: 48px 24px;
    text-align: center;
    border-width: 2px;
    border-style: dashed;
}

.po-locked-stamp {
    display: inline-block;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.4;
    text-align: center;
    color: var(--blue-700);
    border: 2px solid var(--blue-700);
    outline: 1px solid var(--blue-700);
    outline-offset: 3px;
    padding: 8px 14px;
    transform: rotate(-6deg);
    margin-bottom: 20px;
}

.po-locked h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.po-locked p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0 0 22px;
}

.po-login-btn {
    display: inline-block;
    padding: 10px 28px;
    margin: 0 6px;
    background: var(--blue-700);
    color: var(--white);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.po-login-btn:hover {
    background: var(--blue-600);
}

.po-login-btn.ghost {
    background: transparent;
    color: var(--blue-700);
    border: 1px solid var(--blue-700);
}

.po-login-btn.ghost:hover {
    background: var(--blue-50);
}

/* 侧边台账面板 */
.po-panel {
    padding: 18px 20px;
    margin-bottom: 20px;
}

.po-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.po-idx {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 2px 7px;
}

.po-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.po-panel-note {
    margin-left: auto;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gray-400);
}

/* 阶梯价格台账 */
.po-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.po-table th {
    text-align: left;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gray-500);
    padding: 8px 6px;
    border-bottom: 1px solid var(--gray-200);
}

.po-table td {
    padding: 10px 6px;
    border-bottom: 1px dashed var(--gray-200);
    color: var(--gray-700);
}

.po-table td:first-child {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-weight: 600;
    color: var(--gray-800);
}

.po-table tr:last-child td {
    border-bottom: 0;
}

/* 命中档位高亮（JS 随数量切换） */
.po-table tr.on {
    background: var(--blue-50);
}

.po-table tr.on td {
    color: var(--blue-700);
}

.po-hot {
    display: inline-block;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-weight: 700;
    color: var(--blue-700);
    border: 1px solid var(--blue-600);
    padding: 1px 6px;
}

.po-table-note {
    font-size: 12px;
    color: var(--gray-400);
    margin: 10px 0 0;
}

/* 规格快捷选配 */
.po-chip-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.po-chip-label {
    width: 40px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.po-chip {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 2px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.po-chip:hover {
    border-color: var(--blue-600);
    color: var(--blue-700);
}

.po-chip.on {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

/* 履约承诺 — 方块标记代替 emoji */
.po-promises {
    list-style: none;
    padding: 0;
    margin: 0;
}

.po-promises li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
    border-bottom: 1px dashed var(--gray-100);
}

.po-promises li:last-child {
    border-bottom: 0;
}

.po-promises li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--blue-600);
}

/* ── 询价流程 ─────────────────────────────── */
.po-flow {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 16px;
}

.po-flow-head,
.po-notes-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.po-flow-steps {
    display: flex;
    align-items: stretch;
}

.po-flow-step {
    flex: 1;
    padding: 14px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.po-flow-step:hover {
    border-color: var(--blue-600);
    background: var(--blue-50);
}

.po-flow-step-num {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-600);
    display: block;
    margin-bottom: 6px;
}

.po-flow-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.po-flow-step-desc {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 虚线连接符 */
.po-flow-line {
    width: 18px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.po-flow-line::after {
    content: '';
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--blue-600) 0, var(--blue-600) 3px,
        transparent 3px, transparent 7px
    );
}

/* ── 采购须知 ─────────────────────────────── */
.po-notes {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 16px;
}

.po-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.po-notes-list li {
    position: relative;
    padding: 9px 10px 9px 24px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
    background: var(--gray-50);
    border-radius: 3px;
}

.po-notes-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 15px;
    width: 6px;
    height: 6px;
    background: var(--blue-600);
}

@media (max-width: 576px) {
    .po-flow-steps { flex-direction: column; gap: 0; }
    .po-flow-line {
        width: auto;
        height: 14px;
        align-items: center;
        justify-content: center;
    }
    .po-flow-line::after {
        width: 2px;
        height: 100%;
        background: repeating-linear-gradient(
            180deg,
            var(--blue-600) 0, var(--blue-600) 3px,
            transparent 3px, transparent 7px
        );
    }
    .po-flow-step {
        padding: 12px 14px;
    }
    .po-notes-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FDM 代打服务页 — 打印工单 / 生产管线（Print Job Ticket）
   ============================================================ */
.ps-page {
    background: var(--gray-50);
}

/* 工单头 */
.ps-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 32px;
    margin-bottom: 24px;
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(0, 153, 230, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 230, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.ps-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--blue-600);
}

.ps-serial {
    font-family: ui-monospace, "SF Mono", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--blue-700);
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--blue-500);
    border-radius: 3px;
    background: var(--blue-50);
    margin-bottom: 12px;
}

.ps-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--gray-900);
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.ps-sub {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* 打印层叠装饰 — 模拟 FDM 逐层堆叠 */
.ps-layers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 170px;
    padding-right: 6px;
}

.ps-layers span {
    display: block;
    height: 6px;
    border-radius: 2px;
    background: var(--blue-100);
}

/* 宽度自下而上递减，形成 3D 截面 */
.ps-layers > span:nth-child(1) { width: 34px; }
.ps-layers > span:nth-child(2) { width: 52px; }
.ps-layers > span:nth-child(3) { width: 72px; }
.ps-layers > span:nth-child(4) { width: 94px; }
.ps-layers > span:nth-child(5) { width: 118px; }
.ps-layers > span:nth-child(6) { width: 144px; }
.ps-layers > span:nth-child(7) { width: 168px; }
.ps-layers > span:nth-child(8) { width: 168px; }

/* 顶部"正在打印"层 */
.ps-layers > .ps-layers-tip {
    background: var(--blue-600);
    position: relative;
    animation: ps-print 1.8s var(--ease-in-out) infinite;
}

.ps-layers > .ps-layers-tip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    width: 3px;
    height: 8px;
    background: var(--blue-700);
    transform: translateX(-50%);
}

@keyframes ps-print {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* 面板通用卡基 */
.ps-panel {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    padding: 20px 24px;
}

.ps-panel + .ps-panel {
    margin-top: 16px;
}

.ps-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ps-idx {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    background: var(--blue-700);
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.ps-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.ps-note {
    margin-left: auto;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gray-400);
}

/* 服务能力 — 2 列磁贴 */
.ps-cap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ps-cap {
    position: relative;
    padding: 14px 16px 14px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    transition: all var(--duration-fast) var(--ease-out);
}

.ps-cap:hover {
    border-color: var(--blue-400);
    background: var(--blue-50);
    transform: translateY(-2px);
}

.ps-cap-wide {
    grid-column: 1 / -1;
}

.ps-cap-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-600);
    opacity: 0.5;
}

.ps-cap-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 20px 0 4px;
}

.ps-cap-desc {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 打印参数 — 规格表 */
.ps-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.ps-spec {
    background: var(--white);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ps-spec-k {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gray-400);
    text-transform: uppercase;
}

.ps-spec-v {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

/* 服务流程 — 竖向工序时间线 */
.ps-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.ps-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: repeating-linear-gradient(
        180deg,
        var(--blue-500) 0, var(--blue-500) 4px,
        transparent 4px, transparent 9px
    );
}

.ps-timeline li {
    position: relative;
    padding: 0 0 16px 46px;
}

.ps-timeline li:last-child {
    padding-bottom: 0;
}

.ps-step-num {
    position: absolute;
    left: 0;
    top: -1px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--blue-600);
    border-radius: 50%;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-700);
    z-index: 1;
}

.ps-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.ps-step-desc {
    font-size: 12.5px;
    color: var(--gray-500);
}

/* 联系我们 */
.ps-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.ps-contact-list li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-100);
}

.ps-contact-list li:last-child {
    border-bottom: 0;
}

.ps-contact-k {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--blue-600);
    width: 44px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    flex-shrink: 0;
}

.ps-contact-v {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 500;
}

.ps-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-700);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 4px;
    transition: all var(--duration-fast) var(--ease-out);
}

.ps-contact-btn span {
    transition: transform var(--duration-fast) var(--ease-out);
}

.ps-contact-btn:hover {
    background: var(--blue-600);
}

.ps-contact-btn:hover span {
    transform: translateX(4px);
}

@media (max-width: 576px) {
    .ps-head {
        padding: 22px 20px;
    }
    .ps-layers {
        display: none;
    }
    .ps-cap-grid {
        grid-template-columns: 1fr;
    }
    .ps-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   在线招聘页 — 岗位招募令 / 人才台账（Job Requisition）
   ============================================================ */
.rc-page {
    background: var(--gray-50);
}

/* 档案头 */
.rc-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 32px;
    margin-bottom: 24px;
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(0, 153, 230, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 230, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.rc-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--blue-600);
}

.rc-serial {
    font-family: ui-monospace, "SF Mono", Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--blue-700);
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--blue-500);
    border-radius: 3px;
    background: var(--blue-50);
    margin-bottom: 12px;
}

.rc-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--gray-900);
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.rc-sub {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* 开放岗位计数 */
.rc-count {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rc-count-num {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: var(--blue-700);
}

.rc-count-label {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.6;
    color: var(--gray-400);
    border-left: 2px solid var(--gray-200);
    padding-left: 14px;
}

/* 卡片列表 */
.rc-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 招募令卡片 */
.rc-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 24px 28px;
    transition: all var(--duration-normal) var(--ease-out);
}

.rc-card:hover {
    border-color: var(--blue-400);
    box-shadow: 0 12px 32px rgba(0, 60, 120, 0.10);
}

/* 卡片顶：职号 + 岗位名 + 印章 */
.rc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rc-pos-code {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-600);
    display: inline-block;
    margin-bottom: 6px;
}

.rc-pos-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
}

/* 招募中印章 */
.rc-stamp {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
    text-align: center;
    color: var(--blue-700);
    border: 2px solid var(--blue-600);
    border-radius: 3px;
    padding: 6px 12px;
    transform: rotate(6deg);
    flex-shrink: 0;
    opacity: 0.85;
}

/* 规格条：地点 + 薪资 */
.rc-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 18px 0;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: 4px;
}

.rc-spec {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

.rc-spec-k {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gray-400);
    flex-shrink: 0;
}

.rc-spec-v {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.rc-salary {
    color: var(--blue-700);
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* 职责 / 要求 / 福利 三栏 */
.rc-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.rc-block {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 4px;
    padding: 14px 16px;
}

.rc-block-tag {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-600);
    display: inline-block;
    margin-bottom: 8px;
}

.rc-block-text {
    font-size: 13.5px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

/* 投递登记表 — 完整表单 */
.rc-apply {
    display: block;
    padding: 16px 18px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 4px;
}

.rc-apply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rc-apply-field {
    margin-bottom: 12px;
}

.rc-apply-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 5px;
}

.rc-apply-field label .req {
    color: #dc3545;
    margin-left: 2px;
}

.rc-apply-field .rc-textarea {
    resize: vertical;
    min-height: 72px;
}

.rc-apply-field .rc-file {
    padding: 6px;
    border: 1px dashed var(--gray-400);
    background: var(--white);
}

.rc-field-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.rc-apply .rc-apply-btn {
    margin-top: 4px;
}

/* 未登录锁定态 */
.rc-apply-locked {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: 4px;
}

.rc-locked-stamp {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
    text-align: center;
    color: var(--gray-400);
    border: 1.5px solid var(--gray-400);
    border-radius: 3px;
    padding: 5px 9px;
    transform: rotate(-6deg);
    flex-shrink: 0;
}

.rc-locked-text {
    font-size: 14px;
    color: var(--gray-600);
    align-self: center;
}

.rc-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 3px;
    background: var(--white);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    box-sizing: border-box;
}

.rc-input:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(0, 153, 230, 0.15);
}

.rc-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue-700);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-fast) var(--ease-out);
}

.rc-apply-btn span {
    transition: transform var(--duration-fast) var(--ease-out);
}

.rc-apply-btn:hover {
    background: var(--blue-600);
}

.rc-apply-btn:hover span {
    transform: translateX(4px);
}

/* 空态 */
.rc-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
    font-size: 15px;
    background: var(--white);
    border: 1px dashed var(--gray-300);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .rc-head {
        padding: 22px 20px;
    }
    .rc-count-num {
        font-size: 40px;
    }
    .rc-body {
        grid-template-columns: 1fr;
    }
    .rc-apply {
        grid-template-columns: 1fr;
    }
    .rc-apply-locked {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================================
   产品详情页 — 主图展示
   ============================================================ */

.product-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--gray-50) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder .material-icon-lg {
    font-size: 80px;
    font-weight: 700;
    color: var(--blue-600);
    opacity: 0.28;
}

/* 详情页多图轮播 */
.product-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-carousel .carousel-item .product-detail-image {
    border: none;
    border-radius: 0;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(16, 24, 39, 0.12);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.product-carousel:hover .carousel-control-prev,
.product-carousel:hover .carousel-control-next {
    opacity: 1;
}

.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover {
    background: #fff;
}

.product-carousel .carousel-control-prev {
    left: 14px;
}

.product-carousel .carousel-control-next {
    right: 14px;
}

.product-carousel-arrow {
    color: var(--gray-700);
    font-size: 26px;
    line-height: 1;
    margin-top: -4px;
}

/* 缩略图导航：始终显示 5 张等宽，超出可左右滚动 */
.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.product-thumb {
    flex: 0 0 calc((100% - 40px) / 5);
    width: calc((100% - 40px) / 5);
    height: auto;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumb:hover {
    border-color: var(--blue-400);
}

.product-thumb.active {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 2px rgba(0, 153, 230, 0.18);
}

/* ============================================================
   新闻详情页 — 封面图
   ============================================================ */

.news-cover {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.news-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   首页 Hero 轮播 — Banner 背景图
   ============================================================ */

.hero-banner .carousel-item.has-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-banner .carousel-item.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,60,120,0.72) 0%, rgba(0,100,170,0.55) 100%);
    z-index: 0;
}

.hero-banner .carousel-item.has-bg > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   首页 Hero — 上传背景图铺满整个蓝色区域
   ============================================================ */

/* 背景层：绝对定位铺满整个 .hero-banner（含上下 padding 与右侧留白） */
.hero-banner .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

/* 半透明蓝色遮罩，保证亮色背景图上文字可读（替代原 .has-bg::before） */
.hero-banner .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,60,120,0.72) 0%, rgba(0,100,170,0.55) 100%);
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-banner .hero-bg.show {
    opacity: 1;
}

/* 原图轮播模式：不再叠加半透明蓝膜，直接展示后台上传的原图 */
.hero-banner .hero-bg.show::after {
    opacity: 0;
}

/* Banner 原图轮播 */
.hero-banner .hero-carousel {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-banner .hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

/* Banner 外链/内链：整张图可点击 */
.hero-banner .hero-banner-link {
    display: block;
    cursor: pointer;
    line-height: 0;
    text-decoration: none;
}

.hero-banner .hero-banner-link:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
}

/* 无 Banner 时的文字介绍区 */
.hero-banner .hero-intro {
    padding: 8px 0;
}

/* 内容层叠在背景之上；装饰圆形位于背景与内容之间 */
.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner::before,
.hero-banner::after {
    z-index: 1;
}
