/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --accent-color: #0071e3;
    --text-dark: #1d1d1f;
    --text-light: #86868b;
    --bg-light: #fbfbfd;
    --bg-white: #ffffff;
    --bg-dark: #f5f5f7;
    --border-color: #d2d2d7;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* 全局去除超链接下划线 */
a {
    text-decoration: none;
}

/* 全局按钮样式重置 */
button {
    border: none;
    outline: none;
}

button:focus {
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo a:hover {
    transform: scale(1.02);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    white-space: nowrap;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--accent-color);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

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

.nav-actions > * {
    flex-shrink: 0;
}

/* 用户按钮容器 - 添加左侧分隔 */
#userBtnContainer {
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.search-btn,
.reservation-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.search-btn:hover,
.reservation-btn:hover,
.mobile-menu-btn:hover {
    background: var(--bg-light);
    color: #1a1a1a;
}

/* 隐藏预约按钮和预约数量徽章 */
.reservation-btn {
    display: none !important;
}

.reservation-count {
    display: none !important;
}

.reservation-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #0071e3;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.mobile-menu-btn {
    display: none;
}

/* Logo响应式 */
@media (max-width: 968px) {
    .logo-img {
        height: 50px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .nav-list {
        gap: 25px;
    }
    
    .nav-list a {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .nav-list {
        gap: 15px;
}

    .nav-list a {
        font-size: 14px;
    }

    .accessories-filter {
        gap: 15px;
    }

    .filter-btn {
        font-size: 14px;
    }
}

/* 全屏 Banner 样式 */
.hero-banner {
    position: relative;
    height: calc(100vh - 60px);
    min-height: 600px;
    max-height: 900px;
    margin-top: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 视频背景样式 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* 视频加载失败时的备用背景 */
.hero-bg-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 遮罩层，让文字更清晰 */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.hero-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-content .container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* 产品名称 - 较小，在上方，参考图2 */
.hero-product-name {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-dark);
    opacity: 0.85;
    animation: heroTitleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.08em;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 48px;
    line-height: 1.3;
    animation: heroTitleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.03em;
    transform-origin: center;
    color: #1a1a1a;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 32px;
    margin-bottom: 56px;
    color: var(--text-light);
    animation: heroSubtitleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.08em;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: heroButtonsIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
    justify-content: center;
    align-items: center;
}

/* 首页Hero区按钮统一样式 - 优化美观 */
.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 160px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
    background: #0056b3;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

.hero-buttons .btn-outline {
    border: 2px solid rgba(0, 113, 227, 0.9);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-buttons .btn-outline:hover {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.25);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 震撼视觉效果动画 */
@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroSubtitleIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroButtonsIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 全局按钮样式：简洁、偏苹果风 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 113, 227, 0.85);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
    background: #ffffff;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* 小号按钮：用于卡片、列表等场景 */
.btn-small {
    padding: 10px 22px;
    font-size: 14px;
}

/* 实心主按钮：用于主要操作 */
.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.26);
}

/* 线框按钮：用于次级操作 */
.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border-color: rgba(0, 113, 227, 0.85);
    box-shadow: none;
}

/* 悬停与按下态：统一动效 */
.btn:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transform: translateY(-2px);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.btn-outline:hover {
    background: rgba(0, 113, 227, 0.06);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.hero-buttons .btn {
    padding: 18px 44px;
    font-size: 18px;
    font-weight: 700;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 16px 36px rgba(0, 113, 227, 0.28);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.35);
}

/* Banner响应式 */
@media (max-width: 968px) {
    .hero-banner {
        height: calc(100vh - 70px);
        min-height: 500px;
        max-height: 700px;
        margin-top: 70px;
}

    .hero-title {
        font-size: 64px;
        font-weight: 800;
        margin-bottom: 32px;
        letter-spacing: 0.03em;
        line-height: 1.35;
}

    .hero-subtitle {
        font-size: 26px;
        font-weight: 300;
        margin-bottom: 48px;
        letter-spacing: 0.08em;
        line-height: 1.7;
}

    .hero-buttons .btn {
        padding: 18px 40px;
        font-size: 18px;
    }
}

/* 区块通用样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 12px;
}

/* 产品展示区 */
.products-section {
    background: var(--bg-light);
}

.home-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: stretch;
}

.home-product-featured {
    grid-row: 1 / span 2;
    /* 默认隐藏边框和阴影，与页面融为一体 */
    box-shadow: none !important;
    border: none;
    background: transparent;
    border-radius: 0;
}

/* 鼠标悬停时显示边框和阴影效果 */
.home-product-featured:hover {
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.12) !important;
    transform: translateY(-10px);
    background: white;
    border-radius: 12px;
}

.home-product-featured:hover::before {
    transform: scaleX(1);
}

.home-products-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

/* 首页精选产品：主推卡片视觉优化 - 高度等于右侧两个卡片的总高度 */
.home-product-featured .product-image {
    position: relative;
    min-height: 500px;
    width: 100%;
}

.home-product-featured .product-image .placeholder-img {
    height: 500px !important; /* 200px + 24px gap + 200px = 424px，匹配右侧两个卡片图片区域总高度 */
    min-height: 500px !important;
    width: 100% !important;
    display: block !important;
    background-color: #f8f9fa !important; /* 浅灰背景，确保可见 */
}

/* 首页主推大图：三张仿生旗舰产品图，完整展示 */
.home-product-hero {
    /* 默认样式，但允许 JavaScript 覆盖 */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    min-height: 500px;
    width: 100%;
    display: block;
}

.home-products-side .product-image .placeholder-img {
    height: 200px;
}

/* 右侧小卡片中的产品图片：完整展示，不裁剪 */
.home-products-side .product-image .placeholder-img[style*="products/"] {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* 浅灰背景，填充空白区域 */
}

.home-product-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1f2937;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 3;
}

.home-product-nav.prev {
    left: 16px;
}

.home-product-nav.next {
    right: 16px;
}

.home-product-nav:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.home-product-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.home-product-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.6);
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-product-dots .dot.is-active {
    width: 18px;
    background: #2563eb;
    transform: translateY(-1px);
}

@media (max-width: 968px) {
    .home-products-layout {
        grid-template-columns: 1fr;
    }

    .home-products-side {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .home-product-nav.prev {
        left: 8px;
    }

    .home-product-nav.next {
        right: 8px;
    }
}

.home-product-featured .product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

/* 未开放产品卡片样式 */
.product-card.coming-soon {
    opacity: 0.7;
    pointer-events: none;
}

.product-card.coming-soon:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.product-card.coming-soon::before {
    display: none;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image .placeholder-img {
    background-image: url('../assets/images/banners/576b7e7e8dfa3b7b699706711e2583b3.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    width: 100%;
}

/* 产品中心页面：产品图片完整展示 */
.products-grid .product-image .placeholder-img[style*="products/"] {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* 浅灰背景，填充空白区域 */
}

/* 新闻卡片图片也统一使用 banner 图（默认） */
.news-image .placeholder-img {
    background-image: url('../assets/images/banners/576b7e7e8dfa3b7b699706711e2583b3.jpg');
    background-size: cover;
    background-position: center;
}

/* 新闻卡片中的产品图片：完整展示，不裁剪 */
.news-image .placeholder-img[style*="products/"] {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* 浅灰背景，填充空白区域 */
}

/* 去掉新闻图片里的灰色图标 */
.news-image .placeholder-img i {
    display: none;
}

/* 去掉产品和配件卡片里的灰色图标 */
.product-image .placeholder-img i {
    display: none;
}

.placeholder-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.3);
    font-size: 24px;
    transition: var(--transition);
    background: var(--bg-dark);
    flex-shrink: 0;
}

.product-card:hover .placeholder-img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--text-dark);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    z-index: 1;
    letter-spacing: 0.02em;
}

.product-badge.hot {
    background: var(--accent-color);
}

.product-info {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.product-desc {
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.7;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.product-footer .btn-small {
    flex-shrink: 0;
}

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

/* 套装推荐等打折价格组合展示 */
.price-group {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

.price-group .current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
}

.price-group .original-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
    position: relative;
    top: -1px;
}

.price-group .current-price::first-letter {
    font-size: 16px;
    margin-right: 2px;
}

/* Tools 等未开放卡片中的“敬请期待”字体稍微收小，避免过于抢眼 */
#software .product-price {
    font-size: 16px;
    font-weight: 600;
}

/* 特性展示区 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: transparent;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #111111;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 特性图标：使用标准颜色 */
.feature-card:nth-child(1) .feature-icon {
    color: #ff6b6b; /* 红色 - 创新技术 */
}

.feature-card:nth-child(2) .feature-icon {
    color: #4ecdc4; /* 青色 - 品质保证 */
}

.feature-card:nth-child(3) .feature-icon {
    color: #45b7d1; /* 蓝色 - 专业服务 */
}

.feature-card:nth-child(4) .feature-icon {
    color: #96ceb4; /* 绿色 - 灵羲实验室 */
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
    letter-spacing: -0.2px;
}

.feature-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* 开发者平台区 */
.developer-section {
    background: var(--bg-dark);
    color: var(--text-dark);
}

.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.developer-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.developer-intro {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.developer-features {
    list-style: none;
    margin-bottom: 30px;
}

.developer-features li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.developer-features i {
    color: #1a1a1a;
}

.developer-buttons {
    display: flex;
    gap: 15px;
}

.developer-buttons .btn-primary,
.developer-buttons .btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 113, 227, 0.85);
}

/* 代码预览 */
.code-preview {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: #0f172a;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #e2e8f0;
}

.code-keyword { color: #c792ea; }
.code-function { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-comment { color: #546e7a; font-style: italic; }

/* 新闻动态区 */
.news-section {
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 113, 227, 0.12);
}

.news-image .placeholder-img {
    height: 200px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.news-category {
    color: var(--primary-color);
    font-weight: 600;
}

.news-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-excerpt {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-link:hover {
    gap: 10px;
}

/* 合作伙伴区 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    align-items: center;
    padding: 20px 0;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 14px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 72px;
}

.partner-logo img {
    max-width: 140px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo svg {
    width: 100%;
    height: auto;
    max-width: 140px;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.1);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

.partner-placeholder {
    width: 150px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    border: 2px solid var(--border-color);
}

/* 页脚样式 */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: var(--text-dark);
    font-size: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.social-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.social-icon {
    flex: 1;
    max-width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-icon:hover {
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.08);
    transform: translateY(-2px);
}

/* 小红书图标特殊样式 */
.xiaohongshu-icon svg {
    width: 24px;
    height: 24px;
}

/* 确保社交图标容器和订阅框同宽 */
.footer-section .social-links {
    width: 100%;
}

/* 右侧“关注我们”列：整体左对齐，图标有间距 */
.footer-section:last-child {
    text-align: left;
}

.footer-section:last-child .social-links {
    justify-content: flex-start;
    gap: 24px;
}

/* 底部联系电话信息（右侧列） */
.footer-contact-summary {
    text-align: left;
    margin-bottom: 16px;
}

.footer-phone {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
    text-align: left;
}

.footer-time {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    text-align: left;
}

.newsletter {
    margin-top: 20px;
    width: 100%;
}

.newsletter p {
    margin-bottom: 10px;
    color: #a0aec0;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #999999;
}

.newsletter-form button {
    padding: 10px 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

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

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: var(--text-dark);
}

/* 备案信息 - 底部居中一行 */
.footer-record {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-record a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
}

.footer-record a:hover {
    color: var(--text-dark);
}

.footer-record .police-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url('../assets/images/icons/police-badge.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--text-light);
}

/* 页面Hero区样式 */
.page-hero {
    position: relative;
    /* 其他页面保持原来的略高 Banner */
    height: 280px;
    overflow: hidden;
    background: #f5f5f7;
    margin-top: 60px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* 页面 Banner 视频样式 */
.page-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
}

/* 视频加载失败时的备用背景 */
.page-hero-bg-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero.page-hero-products {
    /* 统一所有页面banner高度为280px */
    height: 280px;
}

/* 产品中心页面：视频背景，上面额外叠加猫咪形象 */
/* .page-hero-products .page-hero-bg 继承默认样式，视频背景确保铺满宽度 */

/* 产品中心页面右侧小猫（单独 PNG），保证整只猫完整可见 */
.page-hero-products .page-hero-cat {
    position: absolute;
    right: 80px;
    bottom: -6px;                  /* 轻微压到白色内容区，增加层次 */
    height: 88%;                   /* 相对容器高度自适应，整只猫完整显示 */
    z-index: 2;                    /* 在淡白遮罩之上，与文字同层 */
    pointer-events: none;          /* 避免挡住文字或其它交互 */
    /* 阴影与轻微浮起效果，增强立体感 */
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
    transform-origin: bottom center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* 鼠标经过整个标题区时，小猫微微上浮，层次感更明显 */
.page-hero-products:hover .page-hero-cat {
    transform: translateY(-4px);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* 解决方案卡片 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1a1a1a;
}

/* 个性化定制图标：使用标准颜色 */
.solution-card.coming-soon .solution-icon {
    background: transparent;
    color: #1a1a1a;
}

.solution-card.coming-soon:nth-child(1) .solution-icon {
    color: #e91e63; /* 粉红色 - 毛色定制 */
}

.solution-card.coming-soon:nth-child(2) .solution-icon {
    color: #2196f3; /* 蓝色 - 性格定制 */
}

.solution-card.coming-soon:nth-child(3) .solution-icon {
    color: #4caf50; /* 绿色 - 种类定制 */
}

.solution-card.coming-soon:nth-child(4) .solution-icon {
    color: #ff9800; /* 橙色 - 外观定制 */
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.solution-link:hover {
    gap: 10px;
}

/* 个性化定制：即将开放样式 */
.solution-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.solution-card.coming-soon:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.solution-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #94a3b8;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 1;
}

/* 产品规格样式 */
.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-specs span {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 社区统计卡片 */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* 关于我们页面样式 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.value-item {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
}

.value-icon i {
    font-size: 32px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* 创新 - 黄色/橙色 */
.value-item:nth-child(1) .value-icon i {
    color: #ffa726; /* 橙色 - 创新 */
}

/* 用户至上 - 红色/粉色 */
.value-item:nth-child(2) .value-icon i {
    color: #e91e63; /* 粉红色 - 用户至上 */
}

/* 合作共赢 - 蓝色 */
.value-item:nth-child(3) .value-icon i {
    color: #2196f3; /* 蓝色 - 合作共赢 */
}

.value-item:hover .value-icon i {
    transform: scale(1.1);
}

.value-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.value-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .company-values {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 40px;
    }

    .value-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .value-icon i {
        font-size: 40px;
    }

    .value-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .value-desc {
        font-size: 15px;
    }
}

/* 时间线样式 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 80px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: 75px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.timeline-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* 招聘卡片 */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.career-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.career-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.career-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.career-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 联系卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

/* 图标标准颜色 */
.contact-card:nth-child(1) .contact-icon {
    color: #2196f3; /* 蓝色 - 地图/地址 */
}

.contact-card:nth-child(2) .contact-icon {
    color: #4caf50; /* 绿色 - 电话 */
}

.contact-card:nth-child(3) .contact-icon {
    color: #ff5722; /* 橙红色 - 邮箱 */
}

.contact-card:nth-child(4) .contact-icon {
    color: #ff9800; /* 橙色 - 时钟/工作时间 */
}

/* 支持页面的额外图标颜色 */
.contact-card:nth-child(5) .contact-icon {
    color: #9c27b0; /* 紫色 - 在线客服 */
}

.contact-card:nth-child(6) .contact-icon {
    color: #1aad19; /* 微信绿 - 微信客服 */
}

.contact-card:hover .contact-icon {
    transform: translateY(-2px);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-card .contact-info {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    min-height: 52px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-action-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-action-btn:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.contact-action-btn:active {
    transform: translateY(0);
}

.work-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-top: 10px;
    min-height: 40px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.status-indicator.status-online {
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

.status-indicator.status-offline {
    background: #9e9e9e;
    box-shadow: 0 0 8px rgba(158, 158, 158, 0.4);
}

.status-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* 联系卡片响应式优化 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-action-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .contact-link {
        font-size: 14px;
    }
}

/* 服务卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1a1a1a;
}

/* 服务图标：使用标准颜色 */
.service-card:nth-child(1) .service-icon {
    color: #4caf50; /* 绿色 - 质保服务 */
}

.service-card:nth-child(2) .service-icon {
    color: #2196f3; /* 蓝色 - 退换货政策 */
}

.service-card:nth-child(3) .service-icon {
    color: #ff9800; /* 橙色 - 维修服务 */
}

.service-card:nth-child(4) .service-icon {
    color: #9c27b0; /* 紫色 - 技术支持 */
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

/* FAQ样式 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i.fa-question-circle {
    color: #1a1a1a;
    font-size: 20px;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    margin: 0;
}

.faq-toggle {
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px 60px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* 配件筛选器 */
.accessories-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 8px 0;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-color);
}

/* 购买渠道样式 */
.buy-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 968px) {
    .buy-channels {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 500px;
    }
}

.channel-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.1);
}

.channel-icon {
    font-size: 56px;
    color: #1a1a1a !important;
    margin-bottom: 28px;
}

/* 品牌图标样式 */
.brand-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover .brand-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}

/* 品牌logo图片样式 */
.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.channel-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
    letter-spacing: -0.3px;
}

.channel-card > p {
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 15px;
}

.channel-features {
    list-style: none;
    text-align: left;
    margin: 0 0 auto 0;
    padding: 0;
    background: transparent;
    flex: 1;
}

.channel-features li {
    padding: 10px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.channel-features li:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.channel-features i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 渠道卡片按钮 */
.channel-card .btn {
    width: 100%;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    margin-top: 24px;
}

/* 门店卡片 */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 28px;
}

.store-card {
    background: white;
    padding: 32px 32px 26px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 113, 227, 0.1);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.store-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.store-badge {
    background: linear-gradient(135deg, var(--accent-color), #4facfe);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

.store-info p {
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.store-info i {
    color: #1a1a1a;
    margin-top: 3px;
    font-size: 14px;
}

.store-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .store-card {
        padding: 24px 20px 20px;
    }
    
    .store-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* 企业采购样式 */
.enterprise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.enterprise-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.enterprise-feature {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.enterprise-feature:hover {
    background: rgba(0, 113, 227, 0.04);
    transform: translateY(-4px);
}

.enterprise-feature i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.enterprise-feature:hover i {
    transform: scale(1.1);
}

.enterprise-feature h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.enterprise-feature p {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

.enterprise-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.enterprise-contact h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-methods {
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-method i {
    font-size: 28px;
    color: #1a1a1a;
}

.contact-method h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* 购买须知 */
.notice-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.notice-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.notice-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-item h3 i {
    color: #1a1a1a;
}

.notice-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* 实验室样式 - Hero Banner */
.lab-hero-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f7;
    margin-top: 60px;
}

.lab-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* 实验室页面 Banner 视频样式 */
.lab-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
}

/* 视频加载失败时的备用背景 */
.lab-hero-bg-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.lab-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.lab-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.lab-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.lab-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.lab-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666666;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 加入实验室区域 - 使用页面统一风格 */
/* 该区域使用 products-section、section-header、features-grid 等标准样式 */
/* 为"加入实验室"区域的图标设置专业配色 */
.join-lab-section .feature-card:nth-child(1) .feature-icon {
    color: #0071e3; /* 蓝色 - 技术资讯 */
}

.join-lab-section .feature-card:nth-child(2) .feature-icon {
    color: #4ecdc4; /* 青色 - 技术交流 */
}

.join-lab-section .feature-card:nth-child(3) .feature-icon {
    color: #ff6b6b; /* 红色 - 优先体验 */
}

.join-lab-section .feature-card:nth-child(4) .feature-icon {
    color: #96ceb4; /* 绿色 - 专家指导 */
}
.join-lab {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #1a1a1a;
}

.join-lab h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.join-lab > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.lab-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #1a1a1a;
}

.benefit-item i {
    color: #1a1a1a;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 15px;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    .developer-content {
        grid-template-columns: 1fr;
    }

    .hero-product-name {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 48px;
        font-weight: 900;
        margin-bottom: 36px;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 20px;
        font-weight: 300;
        margin-bottom: 40px;
        letter-spacing: 0.08em;
        line-height: 1.7;
    }
    
    .hero-content {
        bottom: 60px;
    }

    .hero-buttons {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        padding: 14px 32px;
        font-size: 15px;
        min-width: 140px;
    }

    .section-title {
        font-size: 36px;
        padding-bottom: 16px;
    }
    
    .section-title::after {
        width: 48px;
        height: 3px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .hero-banner {
        height: calc(100vh - 60px);
        min-height: 450px;
        max-height: 600px;
        padding: 60px 0;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 24px;
        letter-spacing: 0.01em;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 300;
        margin-bottom: 36px;
        letter-spacing: 0.08em;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 18px 36px;
        font-size: 18px;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .accessories-filter {
        gap: 25px;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 0;
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
        padding-bottom: 12px;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

/* ================================
   搜索弹窗样式
   ================================ */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-modal.active {
    display: flex;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* 搜索弹窗头部 */
.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 0 16px;
}

.search-icon {
    color: var(--text-light);
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-dark);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-clear-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    display: none;
    transition: var(--transition);
}

.search-clear-btn:hover {
    color: #1a1a1a;
}

.search-clear-btn.show {
    display: block;
}

.search-close-btn {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-close-btn:hover {
    background: var(--border-color);
}

/* 搜索主体 */
.search-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* 搜索建议 */
.search-suggestions {
    display: block;
}

.suggestions-section {
    margin-bottom: 32px;
}

.suggestions-section:last-child {
    margin-bottom: 0;
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.suggestions-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-history-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.clear-history-btn:hover {
    color: #1a1a1a;
}

.suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-tag:hover {
    background: var(--accent-color);
    color: white;
}

.search-history-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.history-item:hover {
    background: var(--bg-dark);
}

.history-item i {
    color: #1a1a1a;
    font-size: 14px;
}

.history-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.history-item-remove {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: var(--transition);
}

.history-item:hover .history-item-remove {
    opacity: 1;
}

.history-item-remove:hover {
    color: #1a1a1a;
}

/* 搜索结果 */
.search-results {
    display: block;
}

.results-header {
    margin-bottom: 16px;
}

.results-count {
    font-size: 14px;
    color: var(--text-light);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.result-item:hover {
    background: var(--bg-dark);
    transform: translateX(4px);
}

.result-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    background: #1a1a1a;
}

.result-icon.product {
    background: #1a1a1a;
}

.result-icon.article {
    background: #1a1a1a;
}

.result-icon.page {
    background: #1a1a1a;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.result-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.result-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.result-tag {
    font-size: 12px;
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* 空状态 */
.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.search-empty i {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.search-empty p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.search-empty span {
    font-size: 14px;
    color: var(--text-light);
}

/* 搜索弹窗底部 */
.search-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.search-tips {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--text-light);
}

.search-tips kbd {
    display: inline-block;
    padding: 3px 8px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 20px;
    }
    
    .search-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .search-modal-header {
        padding: 16px;
    }
    
    .search-body {
        padding: 16px;
    }
    
    .search-modal-footer {
        padding: 12px 16px;
    }
    
    .result-item {
        flex-direction: column;
    }
    
    .suggestions-tags {
        gap: 6px;
    }
    
    .suggestion-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ================================
   预约功能样式
   ================================ */

/* 预约侧边栏 */
.reservation-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.reservation-sidebar.active {
    pointer-events: all;
}

.reservation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reservation-sidebar.active .reservation-overlay {
    opacity: 1;
}

.reservation-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.reservation-sidebar.active .reservation-content {
    transform: translateX(0);
}

/* 预约头部 */
.reservation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.reservation-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.reservation-close-btn {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.reservation-close-btn:hover {
    background: var(--border-color);
}

/* 预约主体 */
.reservation-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* 空状态 */
.reservation-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    height: 100%;
}

.reservation-empty i {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.reservation-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.reservation-empty span {
    font-size: 14px;
    color: var(--text-light);
}

/* 预约列表 */
.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservation-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.reservation-item:hover {
    background: var(--bg-dark);
}

.reservation-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    position: relative;
}

.reservation-item-image .placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #0056b3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.item-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #f59e0b;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.reservation-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.item-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.original-price {
    font-size: 12px;
    color: var(--text-light);
}

.deposit-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.remove-item-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.remove-item-btn:hover {
    color: #ef4444;
}

/* 预约底部汇总 */
.reservation-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
    background: var(--bg-white);
}

.reservation-summary {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--text-light);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.deposit-amount {
    color: var(--accent-color) !important;
    font-size: 18px !important;
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}

.summary-note i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #1a1a1a;
}

.summary-note.deposit-warning {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.summary-note.deposit-warning i {
    color: #dc2626;
}

.summary-note.deposit-warning strong {
    font-weight: 700;
}

.btn-reserve {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

/* ================================
   预约信息表单弹窗
   ================================ */

.reservation-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.reservation-form-modal.active {
    display: flex;
}

.reservation-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.reservation-form-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.reservation-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.reservation-form-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.reservation-form-close-btn {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.reservation-form-close-btn:hover {
    background: var(--border-color);
}

.reservation-form-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 6px;
    color: #1a1a1a;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.deposit-info {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.deposit-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.deposit-info-row:last-child {
    margin-bottom: 0;
}

.deposit-info-row span {
    font-size: 14px;
    color: var(--text-light);
}

.deposit-info-row strong {
    font-size: 16px;
    color: var(--text-dark);
}

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

.form-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
}

/* 定金协议 */
.deposit-agreement {
    margin: 20px 0;
    padding: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-text {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

.agreement-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
    transition: var(--transition);
}

.agreement-link:hover {
    color: #0056b3;
}

.btn-submit-deposit {
    background: #dc2626;
}

.btn-submit-deposit:hover {
    background: #b91c1c;
}

/* 响应式 */
@media (max-width: 768px) {
    .reservation-content {
        max-width: 100%;
        width: 100%;
    }
    
    .reservation-header,
    .reservation-body,
    .reservation-footer {
        padding: 16px 20px;
    }
    
    .reservation-item {
        padding: 12px;
    }
    
    .reservation-item-image {
        width: 60px;
        height: 60px;
    }
    
    .reservation-item-image .placeholder-img {
        font-size: 24px;
    }
    
    .reservation-form-content {
        max-width: 100%;
        width: 95%;
    }
    
    .reservation-form-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ========================================
   用户系统样式
======================================== */

/* 用户按钮容器 */
#userBtnContainer {
    display: flex;
    align-items: center;
    gap: 0;
}

/* 未登录状态 - 使用图标按钮 */
.user-icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.user-icon-btn:hover {
    background: var(--bg-light);
}

/* 保留原有按钮样式作为备用 */
#userBtnContainer .btn-small {
    padding: 8px 20px;
    font-size: 13px;
    white-space: nowrap;
}

#userBtnContainer .btn-outline,
#userBtnContainer .btn-primary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 113, 227, 0.85);
}

#userBtnContainer .btn-outline:hover,
#userBtnContainer .btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* 访客用户菜单（未登录） */
.guest-user-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 70px 20px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.guest-user-menu.show {
    opacity: 1;
    visibility: visible;
}

.guest-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.guest-menu-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.guest-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.guest-menu-item:hover {
    background: var(--bg-light);
}

.guest-menu-item i {
    width: 18px;
    text-align: center;
    color: #1a1a1a;
}

/* 用户菜单（已登录） */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

/* 灵羲实验室 - 开放实验项目：中间主卡片，两侧次级卡片 */
.lab-projects-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.lab-projects-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    /* 确保可以滚动 */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    /* 确保可以接收鼠标事件 */
    pointer-events: auto;
    /* 确保容器可以滚动 */
    width: 100%;
    min-height: 100px;
}

.lab-projects-wrapper:active {
    cursor: grabbing;
}

/* 确保卡片不会阻止滚动 */
.lab-project-card {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.lab-project-card {
    background: transparent;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lab-project-card.featured {
    transform: translateY(-10px) scale(1.02);
    border: 2px solid rgba(37, 99, 235, 0.6);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.28);
    background: rgba(255, 255, 255, 0.95);
}

.lab-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* 未开放项目卡片样式 */
.lab-project-card.coming-soon {
    opacity: 0.7;
    /* 移除 pointer-events: none; 允许鼠标移动和滚动 */
}

.lab-project-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.lab-project-card.coming-soon.featured {
    transform: none;
    border: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    background: transparent;
}

/* 禁用未开放卡片的按钮交互 */
.lab-project-card.coming-soon .btn-small {
    pointer-events: none;
    cursor: not-allowed;
}

.lab-project-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    margin-bottom: 12px;
}

.lab-project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lab-project-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.lab-project-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.lab-project-meta span i {
    margin-right: 6px;
}

.lab-project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.lab-project-footer .btn-small {
    padding-inline: 18px;
}

.lab-projects-more {
    text-align: center;
    margin-top: 32px;
}

.lab-projects-more a {
    font-size: 14px;
    color: var(--accent-color);
    text-decoration: none;
}

.lab-projects-more a i {
    margin-left: 6px;
}

.lab-projects-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.lab-projects-arrow:hover {
    background: #111827;
    color: #ffffff;
    border-color: transparent;
}

/* 左右导航箭头：左一个右一个 */
.lab-projects-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* 容器本身不拦截事件 */
}

.lab-projects-nav .lab-projects-arrow {
    pointer-events: auto;  /* 只有按钮可以点击 */
}

@media (max-width: 1024px) {
    .lab-projects-wrapper {
        scroll-snap-type: x mandatory;
    }

    .lab-project-card.featured {
        transform: none;
    }
}

@media (max-width: 900px) {
    .home-products-layout {
        grid-template-columns: 1fr;
    }

    .home-product-featured {
        grid-row: auto;
    }

    .home-products-side {
        grid-template-rows: none;
        grid-template-columns: 1fr;
    }
}

/* 灵羲实验室 - 技术博客列表风格 */
.lab-blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lab-blog-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.lab-blog-index {
    font-size: 18px;
    font-weight: 600;
    color: #9ca3af;
    width: 36px;
}

.lab-blog-main {
    flex: 1;
}

.lab-blog-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.lab-blog-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.lab-blog-excerpt {
    font-size: 13px;
    color: var(--text-light);
}

.user-avatar-btn {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}

.user-avatar-btn:hover {
    background: var(--bg-light);
}

.user-avatar-img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* 用户名显示 */
.user-name-short {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: inline-block !important;
    transition: var(--transition);
    flex-shrink: 0;
}

.user-name-full {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 悬停时显示完整用户名 */
.user-avatar-btn:hover .user-name-short {
    display: none !important;
}

.user-avatar-btn:hover .user-name-full {
    display: inline-block !important;
}

/* 保留旧样式以防万一 */
.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.user-dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.user-dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
}

.user-dropdown-item:hover {
    background: var(--bg-light);
}

.user-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #1a1a1a;
}

/* 登录/注册弹窗 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background: #e0e0e0;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.auth-form .form-group label i {
    margin-right: 6px;
    color: #1a1a1a;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    transition: var(--transition);
    box-sizing: border-box;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.auth-form .form-actions {
    margin-top: 30px;
}

.auth-form .agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0;
}

.auth-form .agreement-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--accent-color);
}

.auth-form .agreement-label span {
    flex: 1;
}

.auth-form .agreement-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-form .agreement-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    color: var(--accent-color);
}

/* 登录方式切换标签 */
.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.login-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.login-tab.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: -2px;
}

.login-tab:hover {
    color: var(--accent-color);
}

.login-form-content {
    display: block;
}

/* 个人中心页面 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.profile-avatar {
    flex-shrink: 0;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-light);
}

.profile-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.profile-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin-bottom: 10px;
    font-size: 15px;
}

.profile-info p i {
    width: 20px;
    text-align: center;
    color: #1a1a1a;
}

/* 订单卡片 */
.order-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.order-id {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.order-status {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 12px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.order-products {
    margin-bottom: 15px;
}

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #1a1a1a;
    font-size: 14px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.order-date {
    font-size: 13px;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    color: #666;
}

/* 提示消息 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10003;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast i {
    font-size: 20px;
}

.toast-success i {
    color: #10b981;
}

.toast-error i {
    color: #ef4444;
}

.toast span {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
    .user-name,
    .user-name-short,
    .user-name-full {
        display: none !important;
    }
    
    .user-avatar-btn:hover .user-name-short,
    .user-avatar-btn:hover .user-name-full {
        display: none !important;
    }
    
    .user-avatar-btn {
        padding: 6px;
    }
    
    .user-avatar-img {
        width: 26px;
        height: 26px;
    }
    
    .guest-user-menu {
        padding: 60px 10px 10px 10px;
    }
    
    .guest-menu-content {
        min-width: 160px;
    }
    
    .guest-menu-item {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-info p {
        justify-content: center;
    }
    
    .auth-modal-content {
        padding: 30px 20px;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ================================
   二维码弹窗样式
   ================================ */

.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}

.qrcode-modal.active {
    display: flex;
}

.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.qrcode-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.qrcode-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 18px;
}

.qrcode-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.qrcode-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.qrcode-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.qrcode-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .qrcode-content {
        padding: 30px 20px;
    }
    
    .qrcode-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/* 法律条款页面样式 */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-meta {
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.legal-meta p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: justify;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-section li {
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.8;
}

.legal-section li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 网站地图页面样式 */
.sitemap-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sitemap-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitemap-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sitemap-section h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-section h2 i {
    font-size: 20px;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-section li {
    margin-bottom: 12px;
    padding-left: 0;
}

.sitemap-section a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    padding: 8px 0;
}

.sitemap-section a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.sitemap-section a::before {
    content: "→ ";
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-right: 5px;
}

.sitemap-section a:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .legal-content,
    .sitemap-content {
        padding: 20px 15px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section h3 {
        font-size: 16px;
    }
    
    .sitemap-section {
        padding: 20px;
    }
    
    .sitemap-section h2 {
        font-size: 18px;
    }
}

