/* ============================================
   Pages CSS - 页面特定样式
   从HTML内联CSS中提取并整理
   ============================================ */

/* ============================================
   通用页面样式 - Common Page Styles
   ============================================ */

/* Page Header - 页面头部（通用） */
.page-header {
    padding: 90px 20px 20px;
    text-align: center;
    background: var(--bg-light);
}

.page-header.about-header {
    padding: 90px 20px 0;
}

.page-header.about-header .page-subtitle {
    margin: 0 auto 30px;
}

/* Page Title - 页面标题（通用） */
.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.page-title::after {
    display: none;
}

.page-title.with-underline::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-soft);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Section Title - 区块标题（通用） */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Why Choose Grid - 选择理由网格（通用） */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.why-card-1 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-2 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-3 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.why-card-icon i,
.why-card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--blurple);
    stroke-width: 2;
}

.why-choose-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-choose-card p {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0;
}

/* Section Label - 区块标签（通用） */
.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blurple);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title-large {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
    line-height: 1.2;
}

/* ============================================
   Creation Lab Page (TTAR) - creation-lab.html
   ============================================ */

/* Types Section */
.types-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.type-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.types-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 10px 0 40px;
    overflow: hidden;
}

.types-carousel {
    position: relative;
    width: 100%;
    height: 560px;
    perspective: 2000px;
    overflow: hidden;
    background: transparent;
}

.types-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.type-card {
    position: absolute;
    padding: 0;
    width: 260px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    opacity: 0.3;
    pointer-events: auto;
    filter: blur(6px) saturate(0.4);
}

.type-card.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: translateX(0) translateZ(0) scale(1);
    filter: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.type-card.prev-1 {
    transform: translateX(-240px) translateZ(-50px) scale(0.75);
    opacity: 0.7;
    filter: none;
    z-index: 5;
    pointer-events: auto;
}

.type-card.prev-2 {
    transform: translateX(-450px) translateZ(-100px) scale(0.65);
    opacity: 0.5;
    filter: none;
    z-index: 4;
    pointer-events: auto;
}

.type-card.next-1 {
    transform: translateX(240px) translateZ(-50px) scale(0.75);
    opacity: 0.7;
    filter: none;
    z-index: 5;
    pointer-events: auto;
}

.type-card.next-2 {
    transform: translateX(450px) translateZ(-100px) scale(0.65);
    opacity: 0.5;
    filter: none;
    z-index: 4;
    pointer-events: auto;
}

.type-card.hidden {
    transform: translateX(-680px) translateZ(-200px) scale(0.4);
    opacity: 0.2;
    filter: blur(4px) saturate(0.6);
    pointer-events: none;
}

.type-card.hidden.right {
    transform: translateX(680px) translateZ(-200px) scale(0.4);
    opacity: 0.2;
    filter: blur(4px) saturate(0.6);
    pointer-events: none;
}

.type-image {
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
}

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

.type-card-content {
    padding: 28px 24px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 140px;
}

.type-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.type-desc {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.type-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.type-feature-item i,
.type-feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--blurple);
    flex-shrink: 0;
}

/* Carousel Controls */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--blurple);
    width: 32px;
    border-radius: 5px;
}

.carousel-dots .dot:hover {
    background: rgba(88, 101, 242, 0.6);
}

/* Capabilities Section */
.capabilities-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.capability-item {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.capability-item-clickable {
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.capability-item i,
.capability-item svg {
    width: 48px;
    height: 48px;
    color: var(--blurple);
    stroke-width: 2;
    margin-bottom: 16px;
}

.capability-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.capability-item p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.capability-card-1 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.capability-card-2 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.capability-card-3 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
}

.capability-card-4 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
}

.capability-card-5 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
}

.capability-card-6 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(236, 72, 153, 0.02));
}

.capability-card-7 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
}

.capability-card-8 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
}

.capability-card-9 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(139, 92, 246, 0.02));
}

.capability-card-10 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(245, 158, 11, 0.02));
}


/* Practices Section */
.practices-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.practices-section .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.practices-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

/* 列表容器 - 两行循环滚动 */
.practices-list-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 60px auto 0;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.practices-row {
    display: flex;
    width: max-content;
    gap: 20px;
    margin-bottom: 24px;
    will-change: transform;
    user-select: none;
    touch-action: pan-y;
}

/* 单个条目 */
.practice-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: 20px;
    padding: 28px;
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    pointer-events: auto;
    transition: border-color 0.3s ease;
    background-size: 200% 200%;
}

/* 鼠标悬停时的流光特效 */
.practice-item:hover {
    background-image: linear-gradient(135deg, rgba(88, 101, 242, 0.05) 0%, rgba(71, 82, 196, 0.05) 25%, rgba(237, 117, 74, 0.05) 50%, rgba(88, 101, 242, 0.02) 75%, rgba(71, 82, 196, 0.05) 100%);
    animation: gradientFlow 3s ease infinite;
    border-color: rgba(88, 101, 242, 0.15);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 当正在拖拽整行时，暂停卡片的hover动画，避免视觉冲突 */
.practices-row.active .practice-item:hover {
    animation: none;
    background: var(--glass-bg);
}

.practice-item-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    line-height: 1.4;
}

.practice-item-title h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.practice-item-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
    flex: 1;
}

/* Filter Workflow Section */
.workflow-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

/* Section Title */
.workflow-title-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 40px;
}

.workflow-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Step tabs wrapper - 居中显示在顶部 */
.workflow-tabs-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

/* --- 主舞台区域 --- */
.stage-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* --- 左侧：控制台 --- */
.controls-col {
    flex: 0 0 480px;
    max-width: 480px;
    padding-top: 20px;
}

/* Tabs 胶囊设计 */
.step-tabs,
.entry-tabs {
    display: inline-flex;
    background: #EBECEF;
    padding: 4px;
    border-radius: 12px;
}

.tab-pill {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #5F6368;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
    border: none;
    background: transparent;
    font-family: inherit;
    white-space: nowrap;
}

.tab-pill:hover { 
    color: #23272A;
}

.tab-pill.active {
    background: #FFFFFF;
    color: var(--blurple);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Entry description below tabs */
.workflow-description-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.entry-description {
    display: none;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-description.active {
    display: block;
    margin-top: -15px; /* 向上移动，让文字更高 */
}

/* 内容组与标题 */

.section-header h2 {
    font-size: 28px;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 0 30px 0;
    font-size: 15px;
}


/* --- 右侧：手机演示 --- */
.phone-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    min-width: 0;
}

/* Phone chain - three phones in a row */
.phone-chain {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: center;
    padding: 0;
    margin-top: 0;
    position: relative;
}

.chain-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chain-step-label {
    display: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #5b6576;
    font-weight: 600;
}

.mobile-entry-switch {
    display: none;
}

/* === Navigation Pill Component === */
.nav-pill-container {
    position: relative;
    width: 64px;
    height: 256px;
    background: var(--bg-light);
    border-radius: 32px;
    border: 1px solid #E5E7EB;
    flex-shrink: 0;
}

/* 液体层 (核心动画层) */
.liquid-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url('#vector-goo');
    border-radius: 32px;
    transform: translateZ(0);
    overflow: hidden;
}

/* 通用球体样式 */
.blob {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ccc3f8;
    border-radius: 50%;
    top: 16.66%; /* 默认停留在第一个位置 */
}

/* 主球 (Leader): 响应快，负责定位 */
#main-blob {
    width: 48px;
    height: 48px;
    z-index: 2;
    transition: top 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

/* 拖尾球 (Trailer): 响应慢，负责拉丝 */
#trail-blob {
    width: 40px;
    height: 40px;
    z-index: 1;
    transition: top 0.7s cubic-bezier(0.5, -0.1, 0.1, 1.2);
}

/* 图标交互层 */
.icons-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-item {
    flex: 1; /* 三等分高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.nav-icon {
    width: 22px;
    height: 22px;
    color: #A0A4AB;
    transition: color 0.3s ease; /* 移除 transform 过渡，保持大小不变 */
    z-index: 11;
}

/* Lucide 生成的 SVG 图标样式 */
.nav-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

/* 选中状态 */
.nav-item.active .nav-icon {
    color: #FFFFFF;
    /* 移除 transform: scale，保持图标大小不变 */
}

.nav-item.active .nav-icon svg {
    stroke: #FFFFFF;
    fill: none;
}

/* 隐藏滤镜 SVG 定义 */
.svg-filter-hide {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.chain-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 10px;
    position: relative;
}

.chain-arrow-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(88, 101, 242, 0.3));
    animation: arrowPulse 2s ease-in-out infinite;
    overflow: visible; /* 确保加粗的描边不会被切掉 */
}

.chain-arrow-svg path {
    fill: #5865F2;
    stroke: #5865F2;
    stroke-width: 3;
    stroke-linejoin: round;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(4px);
        opacity: 0.8;
    }
}

/* ============================================
   Phone Frame Styles - 简化为图片容器
   ============================================ */

/* Phone frame base styles */
.phone-frame {
    width: 280px;
    height: 604px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.25), 0 0 0 8px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(139, 92, 246, 0.12), rgba(88, 101, 242, 0.08));
    flex-shrink: 0;
    transform: translateZ(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* --- 滑动特效 CSS --- */
.scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    
    /* 核心动画：模拟手机滑动的物理惯性 */
    transition: 
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.6s ease,
        opacity 0.6s ease;
        
    /* 默认初始化状态：都在下面 */
    transform: translateY(100%);
    opacity: 0;
    z-index: 1;
}

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

/* --- 三种状态定义 --- */

/* 1. 当前激活 (Active) */
.scene.active {
    transform: translateY(0);
    opacity: 1;
    filter: brightness(1);
    z-index: 10; /* 最上层 */
}

/* 2. 上一张 (Prev) - 模拟被顶上去 */
.scene.prev {
    transform: translateY(-100%);
    opacity: 1;
    filter: brightness(0.4); /* 变暗 */
    z-index: 5;
    border-radius: 0 0 32px 32px; /* 离开时下边角变圆 */
}

/* 3. 下一张 (Next) - 在下面等待 */
.scene.next {
    transform: translateY(100%);
    opacity: 1; /* 保持可见，随时准备上来 */
    z-index: 10;
}


/* ============================================
   Responsive Styles - Creation Lab Page
   ============================================ */

@media (max-width: 968px) {
    .workflow-section {
        padding: 62px 0 70px;
    }

    .workflow-title-wrapper {
        margin-bottom: 30px;
    }

    .workflow-section-title {
        font-size: 32px;
    }

    .workflow-tabs-wrapper {
        margin-bottom: 24px;
    }

    .workflow-description-wrapper {
        margin-bottom: 24px;
    }

    .entry-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-pill {
        padding: 8px 16px;
        font-size: 13px;
    }

    .stage-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .controls-col {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .workflow-section .phone-col {
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-entry-switch {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 0 16px;
    }

    .mobile-entry-btn {
        height: 36px;
        border: 1px solid #d4dced;
        border-radius: 10px;
        background: #fff;
        color: #4a5568;
        font-size: 12px;
        font-weight: 600;
        font-family: inherit;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    .mobile-entry-btn.active {
        border-color: #5865F2;
        background: rgba(88, 101, 242, 0.1);
        color: #4152df;
    }
    
    .workflow-section .phone-chain {
        gap: 18px;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding: 0 20px 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .workflow-section .phone-chain::-webkit-scrollbar {
        display: none;
    }

    .workflow-section .phone-chain .chain-slide {
        flex: 0 0 clamp(184px, 52vw, 230px);
        width: clamp(184px, 52vw, 230px);
        scroll-snap-align: start;
    }

    .workflow-section .chain-step-label {
        display: block;
    }

    .workflow-section .phone-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 280 / 604;
        border-radius: 24px;
        box-shadow: 0 10px 22px rgba(88, 101, 242, 0.2), 0 0 0 5px rgba(139, 92, 246, 0.24);
    }

    .workflow-section .nav-pill-container,
    .workflow-section .chain-arrow {
        display: none;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .type-buttons {
        gap: 12px;
        margin-bottom: 40px;
    }

    .type-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .types-carousel-wrapper {
        padding: 8px 0 30px;
    }

    .types-carousel {
        height: 500px;
        overflow: hidden;
    }

    .type-card {
        width: 240px;
    }

    .type-image {
        height: 280px;
    }

    .type-card-content {
        padding: 24px 20px;
        min-height: 120px;
    }

    .type-card.prev-1 {
        transform: translateX(-210px) translateZ(-50px) scale(0.75);
    }

    .type-card.prev-2 {
        transform: translateX(-390px) translateZ(-100px) scale(0.65);
    }

    .type-card.next-1 {
        transform: translateX(210px) translateZ(-50px) scale(0.75);
    }

    .type-card.next-2 {
        transform: translateX(390px) translateZ(-100px) scale(0.65);
    }

    .practice-item {
        width: 320px;
    }
}

@media (max-width: 640px) {
    .workflow-section {
        padding: 48px 0 56px;
    }

    .workflow-title-wrapper {
        margin-bottom: 24px;
    }

    .workflow-section-title {
        font-size: 28px;
    }

    .workflow-tabs-wrapper {
        margin-bottom: 20px;
    }

    .workflow-description-wrapper {
        margin-bottom: 20px;
    }

    .entry-description {
        font-size: 14px;
        padding: 0 10px;
    }

    .tab-pill {
        padding: 8px 12px;
        font-size: 12px;
    }

    .stage-container {
        gap: 24px;
    }
    
    .controls-col {
        padding-top: 0;
    }
    
    .mobile-entry-switch {
        gap: 6px;
        padding: 0 12px;
    }

    .mobile-entry-btn {
        height: 34px;
        font-size: 11px;
        border-radius: 9px;
    }

    .workflow-section .phone-chain {
        gap: 16px;
        padding: 0 16px 8px;
    }

    .workflow-section .phone-chain .chain-slide {
        flex-basis: clamp(164px, 58vw, 204px);
        width: clamp(164px, 58vw, 204px);
    }

    .workflow-section .phone-frame {
        border-radius: 20px;
        box-shadow: 0 8px 18px rgba(88, 101, 242, 0.16), 0 0 0 4px rgba(139, 92, 246, 0.22);
    }

    .workflow-section .chain-step-label {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
        margin-bottom: 24px;
    }

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

    .page-subtitle {
        font-size: 18px;
    }

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

    .type-buttons {
        gap: 8px;
        margin-bottom: 30px;
    }

    .type-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .types-carousel-wrapper {
        padding: 6px 0 24px;
    }

    .types-carousel {
        height: 480px;
        overflow: hidden;
    }

    .type-card {
        width: 90%;
        max-width: 240px;
    }

    .type-image {
        height: 260px;
    }

    .type-card-content {
        padding: 24px 20px;
        min-height: 120px;
    }

    .type-card h3 {
        font-size: 22px;
    }

    .type-desc {
        font-size: 14px;
    }

    .type-card.prev-1 {
        transform: translateX(-180px) translateZ(-50px) scale(0.75);
    }

    .type-card.prev-2 {
        transform: translateX(-330px) translateZ(-100px) scale(0.65);
    }

    .type-card.next-1 {
        transform: translateX(180px) translateZ(-50px) scale(0.75);
    }

    .type-card.next-2 {
        transform: translateX(330px) translateZ(-100px) scale(0.65);
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .practice-item {
        width: 280px;
        padding: 24px;
    }

    .practice-body-inner {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .practice-visual-wrapper {
        width: 100%;
        height: 60px;
    }

    .practice-item-title {
        font-size: 16px;
    }
}


/* ============================================
   Index Page (Homepage) - index.html
   ============================================ */

/* What is AR Section */
.what-is-ar-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.what-is-ar-wrapper {
    width: 100%;
}

.what-is-ar-card {
    padding: 0;
    position: relative;
    border: 1px solid rgba(88, 101, 242, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 247, 255, 0.9) 100%);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: 24px;
    overflow: visible;
    display: flex;
    gap: 0;
}

.what-is-ar-image-placeholder {
    width: 240px;
    height: 240px;
    min-width: 240px;
    background: var(--blurple);
    border-radius: 20px;
    flex-shrink: 0;
    margin: 20px 0 20px 20px;
    overflow: hidden;
}

.what-is-ar-content {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.what-is-ar-content .section-title-large {
    text-align: left;
    margin-bottom: 24px;
    font-size: 36px;
}

.ar-description {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* Why Choose AR Section */
.why-choose-ar-section {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-header .section-title-large {
    font-size: 36px;
}

.why-card-4 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-5 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-6 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(88, 101, 242, 0.1);
    line-height: 1;
}

@media (max-width: 968px) {
    .what-is-ar-section {
        padding: 56px 16px 64px;
    }

    .why-choose-ar-section {
        padding: 64px 16px;
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .what-is-ar-card {
        flex-direction: column;
    }

    .what-is-ar-image-placeholder {
        width: calc(100% - 40px);
        height: 200px;
        min-width: calc(100% - 40px);
        border-radius: 20px;
        margin: 20px;
    }

    .what-is-ar-content {
        padding: 40px 40px;
    }

    .what-is-ar-content .section-title-large {
        text-align: center;
        font-size: 28px;
    }

    .why-choose-header .section-title-large {
        font-size: 28px;
    }

    .ar-description {
        text-align: center;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .what-is-ar-section {
        padding: 36px 12px 46px;
    }

    .why-choose-ar-section {
        padding: 46px 12px;
    }

    .why-choose-header {
        margin-bottom: 28px;
    }

    .what-is-ar-image-placeholder {
        width: calc(100% - 28px);
        height: 180px;
        min-width: calc(100% - 28px);
        border-radius: 16px;
        margin: 14px;
    }

    .what-is-ar-content {
        padding: 24px 18px;
    }

    .what-is-ar-content .section-title-large {
        font-size: 28px;
    }

    .why-choose-header .section-title-large {
        font-size: 28px;
    }
}

/* ============================================
   About Page - about.html
   ============================================ */

.about-content-section {
    padding: 20px 20px 72px;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--blurple);
}

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

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--blurple), var(--blurple-dark));
    border-radius: 16px;
    opacity: 0.3;
}

.contact-section {
    padding: 72px 20px 88px;
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 0;
    align-items: start;
}

.contact-form {
    padding: 28px 26px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.contact-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-row.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.contact-field span {
    font-size: 13px;
    font-weight: 600;
    color: #253045;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #d8e2f1;
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark);
    font-size: 14px;
    font-family: inherit;
    padding: 11px 12px;
    box-sizing: border-box;
}

.contact-field textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(88, 101, 242, 0.55);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.12);
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-submit-btn {
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.contact-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-status {
    margin: 0;
    font-size: 13px;
    min-height: 20px;
    color: var(--text-soft);
}

.contact-status.show.ok {
    color: #0f7b42;
}

.contact-status.show.err {
    color: #b42318;
}

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-row.two-col {
        grid-template-columns: 1fr;
    }
}

        /* --- 使用网站标准变量 --- */
        body {
            background-color: var(--bg-light) !important;
            color: var(--text-dark);
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }

        /* --- 容器 --- */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            box-sizing: border-box;
        }
        
        /* 页面头部 */
        .page-header {
            background: var(--bg-light);
        }

        /* 性能基础概念 - 与头部相同背景 */
        .basics-section {
            padding: 80px 20px;
        }

        /* 资产优化策略 - 白色背景 */
        .asset-optimization-section {
            padding: var(--section-padding);
            background: var(--bg-secondary);
        }

        /* 性能优化策略 - 浅色背景 */
        .performance-optimization-section {
            padding: var(--section-padding);
            background: var(--bg-light);
        }

        .section-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 16px;
            text-align: center;
            color: var(--text-dark);
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--text-soft);
            text-align: center;
            max-width: 800px;
            margin: 0 auto 50px;
            line-height: 1.8;
        }
        .section-title span { color: var(--text-dark); }
        .section-title::after {
            display: none;
        }

        /* --- Bento Grid (便当盒布局) --- */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, auto);
            gap: 24px;
        }

        /* Basics Section Cards */
        .basics-card {
            padding: 32px 28px;
            position: relative;
            transition: all var(--transition-base);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .basics-card-1 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .basics-card-2 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .basics-card-3 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
        }

        .basics-card-4 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
        }

        .basics-card-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .basics-card-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(88, 101, 242, 0.1);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .basics-card-icon i,
        .basics-card-icon svg {
            width: 24px;
            height: 24px;
            color: var(--blurple);
            stroke-width: 2;
        }

        .basics-card h3 { 
            font-size: 20px; 
            margin: 0; 
            font-weight: 700; 
            color: var(--text-dark);
            flex: 1;
        }

        .basics-card-desc {
            color: var(--text-soft); 
            font-size: 15px; 
            margin: 0 0 20px 0; 
            line-height: 1.6;
        }

        .basics-card-note {
            font-size: 13px;
            color: var(--text-soft);
            margin-top: auto;
            padding-top: 16px;
            line-height: 1.6;
            font-style: italic;
        }
        
        .tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            border: 1px solid var(--glass-border);
        }
        .tag.red { color: #f43f5e; background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.2); }
        .tag.cyan { color: var(--blurple); background: var(--primary-soft); border-color: rgba(88, 101, 242, 0.2); }
        .tag.amber { color: var(--accent-orange); background: rgba(237, 117, 74, 0.1); border-color: rgba(237, 117, 74, 0.2); }

        /* Grid Spans */
        .col-span-2 { grid-column: span 2; }
        .col-span-4 { grid-column: span 4; }
        .row-span-2 { grid-row: span 2; }

        /* --- Feature Lists inside Cards --- */
        .spec-list li {
            padding: 8px 0;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            justify-content: space-between;
            color: var(--text-soft);
            font-size: 14px;
        }
        .spec-list li:last-child { border-bottom: none; }
        .spec-list li strong { color: var(--text-dark); font-weight: 600; }

        /* --- Asset Optimization Section (Split) --- */
        .split-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 0;
        }

        /* Optimization Panels */
        .optimization-layout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .optimization-panel {
            background: #fff;
            border-radius: 16px;
            padding: 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .optimization-panel:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }

        .optimization-panel-header {
            display: flex;
            align-items: center;
            padding: 25px 30px;
            border-bottom: 1px solid var(--glass-border);
            background: linear-gradient(135deg, var(--blurple) 0%, var(--blurple-dark) 100%);
        }

        .optimization-panel-icon-box {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .optimization-panel-icon-box svg {
            width: 24px;
            height: 24px;
        }

        .optimization-panel-title-text h2 {
            margin: 0;
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            line-height: 1.2;
        }

        .optimization-panel-body {
            padding: 20px 30px 30px 30px;
        }

        .optimization-spec-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .optimization-spec-item {
            margin-bottom: 25px;
            position: relative;
        }

        .optimization-spec-item:last-child {
            margin-bottom: 0;
        }

        .optimization-item-title {
            font-weight: 700;
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .optimization-item-title::before {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            background-color: var(--blurple);
            border-radius: 50%;
            margin-right: 10px;
            opacity: 0.7;
            flex-shrink: 0;
        }

        .optimization-item-desc {
            font-size: 15px;
            color: var(--text-soft);
            margin: 0;
            padding-left: 16px;
            line-height: 1.7;
        }

        .optimization-detail-list {
            margin-top: 8px;
            padding-left: 16px;
            list-style: none;
        }

        .optimization-detail-list li {
            font-size: 14px;
            color: var(--text-soft);
            margin-bottom: 6px;
            position: relative;
            padding-left: 12px;
            line-height: 1.6;
        }

        .optimization-detail-list li::before {
            content: "-";
            position: absolute;
            left: 0;
            color: #cbd5e0;
            font-weight: 600;
        }

        .optimization-detail-list strong {
            color: var(--text-dark);
            font-weight: 600;
        }

        /* Asset Optimization Tabs */
        .primary-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 50px;
        }

        .primary-tabs-inner {
            display: inline-flex;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            border-radius: 24px;
            padding: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .primary-tab {
            min-width: 120px;
            padding: 8px 18px;
            border-radius: 20px;
            border: none;
            background: transparent;
            font-weight: 500;
            color: var(--text-soft);
            cursor: pointer;
            transition: all var(--transition-base);
            font-family: inherit;
            font-size: 15px;
        }

        .primary-tab:hover {
            color: var(--text-dark);
        }

        .primary-tab.active {
            background: var(--blurple);
            color: #ffffff;
        }

        .primary-tab.active:hover {
            background: var(--blurple-dark);
        }

        /* Asset Panel */
        .asset-optimization-content {
            position: relative;
        }

        .asset-panel {
            display: none;
        }

        .asset-panel.active {
            display: block;
        }

        /* Asset Card Wrapper - 参考 what-is-ar-card 样式 */
        .asset-card-wrapper {
            width: 100%;
        }

        .asset-card-list {
            padding: 0;
            position: relative;
            border: 1px solid rgba(88, 101, 242, 0.15);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 247, 255, 0.9) 100%);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            border-radius: 24px;
            overflow: visible;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .asset-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 24px;
        }

        .asset-item-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            background: rgba(88, 101, 242, 0.1);
            border-radius: 12px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 20px;
            color: var(--blurple);
        }

        .asset-item-icon.warn {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
        }

        .asset-item-content {
            flex: 1;
        }

        .asset-item-content h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 6px 0;
            line-height: 1.4;
        }

        .asset-item-content p {
            font-size: 14px;
            color: var(--text-soft);
            line-height: 1.6;
            margin: 0;
        }

        /* --- Troubleshooting --- */
        .faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .faq-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            padding: 24px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .faq-q { 
            color: var(--text-dark); 
            font-weight: 700; 
            margin-bottom: 8px; 
            font-size: 18px;
        }
        .faq-a { 
            color: var(--text-soft); 
            font-size: 14px; 
            line-height: 1.7;
        }
        .solution { 
            display: block; 
            margin-top: 12px; 
            color: var(--blurple); 
            font-size: 14px; 
            font-weight: 600;
        }

        /* --- Why Choose Style Cards --- */
        .why-choose-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        .why-choose-card {
            padding: 32px 28px;
            position: relative;
            transition: all var(--transition-base);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
        }


        .why-card-1 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-2 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-3 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-4 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-5 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-6 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-number {
            position: absolute;
            top: 20px;
            right: 24px;
            font-size: 48px;
            font-weight: 800;
            color: rgba(88, 101, 242, 0.1);
            line-height: 1;
        }

        .why-card-icon {
            margin-bottom: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
        }

        .why-card-icon i,
        .why-card-icon svg {
            width: 48px;
            height: 48px;
            color: var(--blurple);
            stroke-width: 2;
        }

        .why-choose-card h4 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .why-choose-card p {
            font-size: 15px;
            color: var(--text-soft);
            line-height: 1.7;
            margin: 0;
        }


        /* --- Responsive --- */
        @media (max-width: 1024px) {
            .bento-grid { grid-template-columns: 1fr 1fr; }
            .col-span-2 { grid-column: span 1; }
            .col-span-4 { grid-column: span 2; }
            .section-title { font-size: 32px; }
            .why-choose-grid {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            }
            .resource-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .bento-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; }
            .split-section { 
                grid-template-columns: 1fr; 
                gap: 24px;
            }
            .optimization-layout-grid {
                grid-template-columns: 1fr;
            }
            .optimization-panel-header {
                padding: 20px 24px;
            }
            .optimization-panel-body {
                padding: 16px 24px 24px 24px;
            }
            .primary-tabs-inner {
                padding: 3px;
            }
            .primary-tab {
                min-width: 100px;
                padding: 6px 14px;
                font-size: 14px;
            }
            .asset-card-list {
                grid-template-columns: 1fr;
            }
            .section-title { font-size: 28px; }
            .basics-section,
            .asset-optimization-section,
            .performance-optimization-section {
                padding: 60px 20px;
            }
            .why-choose-grid {
                grid-template-columns: 1fr;
            }
            .resource-tabs {
                gap: 8px;
            }
            .resource-tab {
                padding: 10px 16px;
                font-size: 14px;
            }
            .resource-tab span {
                display: none;
            }
            .resource-tab i,
            .resource-tab svg {
                width: 18px;
                height: 18px;
            }
        }
/* ============================================
   Resources Performance Page - resources-performance.html
   ============================================ */
        /* --- 使用网站标准变量 --- */
        body {
            background-color: var(--bg-light) !important;
            color: var(--text-dark);
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }

        /* --- 容器 --- */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            box-sizing: border-box;
        }
        
        /* 页面头部 */
        .page-header {
            background: var(--bg-light);
        }

        /* 性能基础概念 - 与头部相同背景 */
        .basics-section {
            padding: 80px 20px;
        }

        /* 资产优化策略 - 白色背景 */
        .asset-optimization-section {
            padding: var(--section-padding);
            background: var(--bg-secondary);
        }

        /* 性能优化策略 - 浅色背景 */
        .performance-optimization-section {
            padding: var(--section-padding);
            background: var(--bg-light);
        }

        .section-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 16px;
            text-align: center;
            color: var(--text-dark);
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--text-soft);
            text-align: center;
            max-width: 800px;
            margin: 0 auto 50px;
            line-height: 1.8;
        }
        .section-title span { color: var(--text-dark); }
        .section-title::after {
            display: none;
        }

        /* --- Bento Grid (便当盒布局) --- */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, auto);
            gap: 24px;
        }

        /* Basics Section Cards */
        .basics-card {
            padding: 32px 28px;
            position: relative;
            transition: all var(--transition-base);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .basics-card-1 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .basics-card-2 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .basics-card-3 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
        }

        .basics-card-4 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
        }

        .basics-card-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .basics-card-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(88, 101, 242, 0.1);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .basics-card-icon i,
        .basics-card-icon svg {
            width: 24px;
            height: 24px;
            color: var(--blurple);
            stroke-width: 2;
        }

        .basics-card h3 { 
            font-size: 20px; 
            margin: 0; 
            font-weight: 700; 
            color: var(--text-dark);
            flex: 1;
        }

        .basics-card-desc {
            color: var(--text-soft); 
            font-size: 15px; 
            margin: 0 0 20px 0; 
            line-height: 1.6;
        }

        .basics-card-note {
            font-size: 13px;
            color: var(--text-soft);
            margin-top: auto;
            padding-top: 16px;
            line-height: 1.6;
            font-style: italic;
        }
        
        .tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            border: 1px solid var(--glass-border);
        }
        .tag.red { color: #f43f5e; background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.2); }
        .tag.cyan { color: var(--blurple); background: var(--primary-soft); border-color: rgba(88, 101, 242, 0.2); }
        .tag.amber { color: var(--accent-orange); background: rgba(237, 117, 74, 0.1); border-color: rgba(237, 117, 74, 0.2); }

        /* Grid Spans */
        .col-span-2 { grid-column: span 2; }
        .col-span-4 { grid-column: span 4; }
        .row-span-2 { grid-row: span 2; }

        /* --- Feature Lists inside Cards --- */
        .spec-list li {
            padding: 8px 0;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            justify-content: space-between;
            color: var(--text-soft);
            font-size: 14px;
        }
        .spec-list li:last-child { border-bottom: none; }
        .spec-list li strong { color: var(--text-dark); font-weight: 600; }

        /* --- Asset Optimization Section (Split) --- */
        .split-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 0;
        }

        /* Optimization Panels */
        .optimization-layout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .optimization-panel {
            background: #fff;
            border-radius: 16px;
            padding: 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .optimization-panel:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }

        .optimization-panel-header {
            display: flex;
            align-items: center;
            padding: 25px 30px;
            border-bottom: 1px solid var(--glass-border);
            background: linear-gradient(135deg, var(--blurple) 0%, var(--blurple-dark) 100%);
        }

        .optimization-panel-icon-box {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .optimization-panel-icon-box svg {
            width: 24px;
            height: 24px;
        }

        .optimization-panel-title-text h2 {
            margin: 0;
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            line-height: 1.2;
        }

        .optimization-panel-body {
            padding: 20px 30px 30px 30px;
        }

        .optimization-spec-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .optimization-spec-item {
            margin-bottom: 25px;
            position: relative;
        }

        .optimization-spec-item:last-child {
            margin-bottom: 0;
        }

        .optimization-item-title {
            font-weight: 700;
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .optimization-item-title::before {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            background-color: var(--blurple);
            border-radius: 50%;
            margin-right: 10px;
            opacity: 0.7;
            flex-shrink: 0;
        }

        .optimization-item-desc {
            font-size: 15px;
            color: var(--text-soft);
            margin: 0;
            padding-left: 16px;
            line-height: 1.7;
        }

        .optimization-detail-list {
            margin-top: 8px;
            padding-left: 16px;
            list-style: none;
        }

        .optimization-detail-list li {
            font-size: 14px;
            color: var(--text-soft);
            margin-bottom: 6px;
            position: relative;
            padding-left: 12px;
            line-height: 1.6;
        }

        .optimization-detail-list li::before {
            content: "-";
            position: absolute;
            left: 0;
            color: #cbd5e0;
            font-weight: 600;
        }

        .optimization-detail-list strong {
            color: var(--text-dark);
            font-weight: 600;
        }

        /* Asset Optimization Tabs */
        .primary-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 50px;
        }

        .primary-tabs-inner {
            display: inline-flex;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            border-radius: 24px;
            padding: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .primary-tab {
            min-width: 120px;
            padding: 8px 18px;
            border-radius: 20px;
            border: none;
            background: transparent;
            font-weight: 500;
            color: var(--text-soft);
            cursor: pointer;
            transition: all var(--transition-base);
            font-family: inherit;
            font-size: 15px;
        }

        .primary-tab:hover {
            color: var(--text-dark);
        }

        .primary-tab.active {
            background: var(--blurple);
            color: #ffffff;
        }

        .primary-tab.active:hover {
            background: var(--blurple-dark);
        }

        /* Asset Panel */
        .asset-optimization-content {
            position: relative;
        }

        .asset-panel {
            display: none;
        }

        .asset-panel.active {
            display: block;
        }

        /* Asset Card Wrapper - 参考 what-is-ar-card 样式 */
        .asset-card-wrapper {
            width: 100%;
        }

        .asset-card-list {
            padding: 0;
            position: relative;
            border: 1px solid rgba(88, 101, 242, 0.15);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 247, 255, 0.9) 100%);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            border-radius: 24px;
            overflow: visible;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .asset-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 24px;
        }

        .asset-item-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            background: rgba(88, 101, 242, 0.1);
            border-radius: 12px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 20px;
            color: var(--blurple);
        }

        .asset-item-icon.warn {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
        }

        .asset-item-content {
            flex: 1;
        }

        .asset-item-content h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 6px 0;
            line-height: 1.4;
        }

        .asset-item-content p {
            font-size: 14px;
            color: var(--text-soft);
            line-height: 1.6;
            margin: 0;
        }

        /* --- Troubleshooting --- */
        .faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .faq-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
            padding: 24px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .faq-q { 
            color: var(--text-dark); 
            font-weight: 700; 
            margin-bottom: 8px; 
            font-size: 18px;
        }
        .faq-a { 
            color: var(--text-soft); 
            font-size: 14px; 
            line-height: 1.7;
        }
        .solution { 
            display: block; 
            margin-top: 12px; 
            color: var(--blurple); 
            font-size: 14px; 
            font-weight: 600;
        }

        /* --- Why Choose Style Cards --- */
        .why-choose-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        .why-choose-card {
            padding: 32px 28px;
            position: relative;
            transition: all var(--transition-base);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(var(--blur-amount));
            -webkit-backdrop-filter: blur(var(--blur-amount));
        }


        .why-card-1 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-2 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-3 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-4 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-5 {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
        }

        .why-card-6 {
            background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
        }

        .why-card-number {
            position: absolute;
            top: 20px;
            right: 24px;
            font-size: 48px;
            font-weight: 800;
            color: rgba(88, 101, 242, 0.1);
            line-height: 1;
        }

        .why-card-icon {
            margin-bottom: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
        }

        .why-card-icon i,
        .why-card-icon svg {
            width: 48px;
            height: 48px;
            color: var(--blurple);
            stroke-width: 2;
        }

        .why-choose-card h4 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .why-choose-card p {
            font-size: 15px;
            color: var(--text-soft);
            line-height: 1.7;
            margin: 0;
        }

        /* --- Responsive --- */
        @media (max-width: 1024px) {
            .bento-grid { grid-template-columns: 1fr 1fr; }
            .col-span-2 { grid-column: span 1; }
            .col-span-4 { grid-column: span 2; }
            .section-title { font-size: 32px; }
            .why-choose-grid {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            }
            .resource-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .bento-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; }
            .split-section { 
                grid-template-columns: 1fr; 
                gap: 24px;
            }
            .optimization-layout-grid {
                grid-template-columns: 1fr;
            }
            .optimization-panel-header {
                padding: 20px 24px;
            }
            .optimization-panel-body {
                padding: 16px 24px 24px 24px;
            }
            .primary-tabs-inner {
                padding: 3px;
            }
            .primary-tab {
                min-width: 100px;
                padding: 6px 14px;
                font-size: 14px;
            }
            .asset-card-list {
                grid-template-columns: 1fr;
            }
            .section-title { font-size: 28px; }
            .basics-section,
            .asset-optimization-section,
            .performance-optimization-section {
                padding: 60px 20px;
            }
            .why-choose-grid {
                grid-template-columns: 1fr;
            }
            .resource-tabs {
                gap: 8px;
            }
            .resource-tab {
                padding: 10px 16px;
                font-size: 14px;
            }
            .resource-tab span {
                display: none;
            }
            .resource-tab i,
            .resource-tab svg {
                width: 18px;
                height: 18px;
            }
        }


/* ============================================
   Resources Performance Page - resources-performance.html
   ============================================ */

/* 性能基础概念 - 与头部相同背景 */
.basics-section {
    padding: 80px 20px;
}

/* 资产优化策略 - 白色背景 */
.asset-optimization-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

/* 性能优化策略 - 浅色背景 */
.performance-optimization-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-title span { color: var(--text-dark); }

/* --- Bento Grid (便当盒布局) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
}

/* Basics Section Cards */
.basics-card {
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    display: flex;
    flex-direction: column;
    height: 100%;
}

.basics-card-1 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.basics-card-2 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.basics-card-3 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
}

.basics-card-4 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
}

.basics-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.basics-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.basics-card-icon i,
.basics-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blurple);
    stroke-width: 2;
}

.basics-card h3 { 
    font-size: 20px; 
    margin: 0; 
    font-weight: 700; 
    color: var(--text-dark);
    flex: 1;
}

.basics-card-desc {
    color: var(--text-soft); 
    font-size: 15px; 
    margin: 0 0 20px 0; 
    line-height: 1.6;
}

.basics-card-note {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: auto;
    padding-top: 16px;
    line-height: 1.6;
    font-style: italic;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--glass-border);
}
.tag.red { color: #f43f5e; background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.2); }
.tag.cyan { color: var(--blurple); background: var(--primary-soft); border-color: rgba(88, 101, 242, 0.2); }
.tag.amber { color: var(--accent-orange); background: rgba(237, 117, 74, 0.1); border-color: rgba(237, 117, 74, 0.2); }

/* Grid Spans */
.col-span-2 { grid-column: span 2; }
.col-span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

/* --- Feature Lists inside Cards --- */
.spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-soft);
    font-size: 14px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li strong { color: var(--text-dark); font-weight: 600; }

/* --- Asset Optimization Section (Split) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 0;
}

/* Optimization Panels */
.optimization-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.optimization-panel {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.optimization-panel:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.optimization-panel-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, var(--blurple) 0%, var(--blurple-dark) 100%);
}

.optimization-panel-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.optimization-panel-icon-box svg {
    width: 24px;
    height: 24px;
}

.optimization-panel-title-text h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.optimization-panel-body {
    padding: 20px 30px 30px 30px;
}

.optimization-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optimization-spec-item {
    margin-bottom: 25px;
    position: relative;
}

.optimization-spec-item:last-child {
    margin-bottom: 0;
}

.optimization-item-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.optimization-item-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--blurple);
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0.7;
    flex-shrink: 0;
}

.optimization-item-desc {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0;
    padding-left: 16px;
    line-height: 1.7;
}

.optimization-detail-list {
    margin-top: 8px;
    padding-left: 16px;
    list-style: none;
}

.optimization-detail-list li {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
    line-height: 1.6;
}

.optimization-detail-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #cbd5e0;
    font-weight: 600;
}

.optimization-detail-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Asset Optimization Tabs */
.primary-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.primary-tabs-inner {
    display: inline-flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: 24px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.primary-tab {
    min-width: 120px;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: transparent;
    font-weight: 500;
    color: var(--text-soft);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
    font-size: 15px;
}

.primary-tab:hover {
    color: var(--text-dark);
}

.primary-tab.active {
    background: var(--blurple);
    color: #ffffff;
}

.primary-tab.active:hover {
    background: var(--blurple-dark);
}

/* Asset Panel */
.asset-optimization-content {
    position: relative;
}

.asset-panel {
    display: none;
}

.asset-panel.active {
    display: block;
}

/* Asset Card Wrapper - 参考 what-is-ar-card 样式 */
.asset-card-wrapper {
    width: 100%;
}

.asset-card-list {
    padding: 0;
    position: relative;
    border: 1px solid rgba(88, 101, 242, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 247, 255, 0.9) 100%);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: 24px;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.asset-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

.asset-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    color: var(--blurple);
}

.asset-item-icon.warn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.asset-item-content {
    flex: 1;
}

.asset-item-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.asset-item-content p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}


/* --- Why Choose Style Cards --- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.why-choose-card {
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
}


.why-card-1 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-2 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-3 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-4 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-5 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(88, 101, 242, 0.02));
}

.why-card-6 {
    background: linear-gradient(135deg, rgba(237, 117, 74, 0.05), rgba(237, 117, 74, 0.02));
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(88, 101, 242, 0.1);
    line-height: 1;
}

.why-card-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.why-card-icon i,
.why-card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--blurple);
    stroke-width: 2;
}

.why-choose-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-choose-card p {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0;
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .col-span-2 { grid-column: span 1; }
    .col-span-4 { grid-column: span 2; }
    .section-title { font-size: 32px; }
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .split-section { 
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    .optimization-layout-grid {
        grid-template-columns: 1fr;
    }
    .optimization-panel-header {
        padding: 20px 24px;
    }
    .optimization-panel-body {
        padding: 16px 24px 24px 24px;
    }
    .primary-tabs-inner {
        padding: 3px;
    }
    .primary-tab {
        min-width: 100px;
        padding: 6px 14px;
        font-size: 14px;
    }
    .asset-card-list {
        grid-template-columns: 1fr;
    }
    .section-title { font-size: 28px; }
    .basics-section,
    .asset-optimization-section,
    .performance-optimization-section {
        padding: 60px 20px;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .resource-tabs {
        gap: 8px;
    }
    .resource-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    .resource-tab span {
        display: none;
    }
    .resource-tab i,
    .resource-tab svg {
        width: 18px;
        height: 18px;
    }
}


/* ============================================
   what-is-ar Page - what-is-ar.html
   ============================================ */
/* 特定页面覆盖样式 - 使用更具体的选择器 */
body:has(.what-is-ar-section) .page-header {
    padding: 140px 20px 80px;
}

body:has(.what-is-ar-section) .page-title {
    font-size: 56px;
    margin-bottom: 24px;
}

body:has(.what-is-ar-section) .page-title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
    display: block;
}

.comparison-section, .faq-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.faq-section {
    background: var(--bg-secondary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    margin-top: 40px;
}

.comparison-card {
    text-align: center;
}

.comparison-card.highlight {
    border-color: var(--blurple);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.2);
}

.comparison-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.comparison-card p {
    color: var(--text-soft);
    line-height: 1.8;
}

.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 24px 32px;
    cursor: pointer;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 24px;
    color: var(--blurple);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-answer p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-top: 12px;
}

.nav-menu a.active {
    color: var(--blurple);
}

/* ============================================
   ar-in-life Page - ar-in-life.html
   ============================================ */
/* 特定页面覆盖样式 - 使用更具体的选择器 */
body:has(.applications-section) .page-header {
    padding: 140px 20px 80px;
}

body:has(.applications-section) .page-title {
    font-size: 56px;
    margin-bottom: 24px;
}

body:has(.applications-section) .page-title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
    display: block;
}

.applications-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.application-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
}

.application-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.application-item:nth-child(even) .application-visual {
    order: -1;
}

.application-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.application-icon {
    font-size: 56px;
}

.application-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--blurple);
}

.application-text p {
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 16px;
}

.application-visual {
    height: 300px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.social-visual {
    background: linear-gradient(135deg, var(--blurple-dark), var(--accent-orange));
}

.commerce-visual {
    background: linear-gradient(135deg, var(--blurple), var(--blurple-dark));
}

.education-visual {
    background: linear-gradient(135deg, var(--accent-orange), var(--blurple));
}

.city-visual {
    background: linear-gradient(135deg, var(--blurple), rgba(237, 117, 74, 0.5));
}

@media (max-width: 968px) {
    .application-item {
        grid-template-columns: 1fr;
    }
    
    .application-item:nth-child(even) .application-visual {
        order: 0;
    }
    
    .application-visual {
        height: 200px;
    }
}

.nav-menu a.active {
    color: var(--blurple);
}

/* ============================================
   recognition-list Page - recognition-list.html
   ============================================ */
.expression-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.expression-item {
    text-align: center;
}

.expression-card {
    width: 100%;
    aspect-ratio: 3 / 5;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expression-image {
    flex: 1;
    overflow: hidden;
    background: var(--bg-light);
}

/* 手势识别专用样式：正方形图片区域 + 纯色背景 */
[data-section-content="gesture"] .expression-image {
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    width: 100%;
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expression-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 手势识别专用样式：图片滤镜效果和显示方式 */
[data-section-content="gesture"] .expression-image img {
    filter: brightness(1.08) saturate(0.8);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 特定图片不使用滤镜 */
[data-section-content="gesture"] .expression-image img[alt="Salute"],
[data-section-content="gesture"] .expression-image img[alt="Wrist V"] {
    filter: none;
}

.expression-label {
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* 手势识别专用样式：固定卡片高度和自适应字体 */
[data-section-content="gesture"] .expression-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

[data-section-content="gesture"] .expression-item {
    height: auto;
    display: flex;
}

[data-section-content="gesture"] .expression-card {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 14px;
    border-color: #dfe5f1;
    display: grid;
    grid-template-rows: auto auto;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    overflow: hidden;
}

[data-section-content="gesture"] .expression-label {
    flex-shrink: 0;
    padding: 8px 8px 10px;
    min-height: 52px;
    height: auto;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-section-content="gesture"] .expression-name {
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: center;
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    text-overflow: initial;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}


.expression-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.expression-name-en {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-soft);
}

@media (max-width: 640px) {
    .expression-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    [data-section-content="gesture"] .expression-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    [data-section-content="gesture"] .expression-label {
        min-height: 48px;
        padding: 6px 8px 8px;
    }

    [data-section-content="gesture"] .expression-name {
        font-size: 12px;
        line-height: 1.35;
    }

    .expression-placeholder {
        border-radius: 12px;
    }

    .expression-name {
        font-size: 14px;
    }

    .expression-name-en {
        font-size: 12px;
    }
}

/* ============================================
   Global Mobile Adaptation - 全站移动端通用收口
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-header {
        padding: 84px 16px 14px;
    }

    .page-header.about-header {
        padding: 84px 16px 0;
    }

    .page-title {
        font-size: clamp(28px, 6vw, 34px);
        line-height: 1.25;
    }

    .page-subtitle {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .section-title,
    .section-title-large {
        font-size: clamp(26px, 5vw, 32px);
        line-height: 1.25;
        margin-bottom: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .glass-card,
    .shell,
    .main-card,
    .detail-card {
        border-radius: 16px;
    }

    .workflow-tabs-wrapper,
    .workflow-description-wrapper,
    .stage-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .stage-container {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .controls-col {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        padding-top: 0;
    }

    .phone-col {
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-header {
        padding: 76px 12px 12px;
    }

    .page-header.about-header {
        padding: 76px 12px 0;
    }

    .page-subtitle,
    .section-subtitle {
        font-size: 15px;
    }

    .glass-card,
    .shell,
    .main-card,
    .detail-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .contact-field input,
    .contact-field textarea,
    .auth-field input {
        font-size: 16px;
    }
}

@media (max-width: 968px) {
    .about-content-section {
        padding: 14px 16px 56px;
    }

    .contact-section {
        padding: 56px 16px 68px;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .application-item {
        gap: 24px;
        padding: 28px 22px;
        margin-bottom: 24px;
        border-radius: 18px;
    }

    .application-icon {
        font-size: 46px;
    }

    .application-text h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .about-content-section {
        padding: 12px 12px 46px;
    }

    .contact-section {
        padding: 46px 12px 56px;
    }

    .contact-form {
        padding: 18px 14px;
    }

    .contact-submit-btn {
        width: 100%;
        min-height: 40px;
    }

    .application-item {
        gap: 18px;
        padding: 20px 14px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .application-icon {
        font-size: 38px;
    }

    .application-text h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .application-text p {
        font-size: 14px;
        line-height: 1.72;
    }
}
