:root {
    /* 现代化配色方案 */
    --primary: #6366f1;       /* 现代靛蓝 */
    --primary-light: #818cf8; /* 亮靛蓝 */
    --primary-dark: #4f46e5;  /* 深靛蓝 */
    --accent: #06b6d4;        /* 清新青蓝 */
    --accent-secondary: #ec4899; /* 现代粉红 */
    --success: #10b981;       /* 成功绿 */
    --warning: #f59e0b;       /* 警告橙 */
    --error: #ef4444;         /* 错误红 */
    --dark: #0f172a;          /* 深空灰 */
    --gray: #64748b;          /* 中灰色 */
    --gray-light: #94a3b8;    /* 浅灰色 */
    --light: #f8fafc;         /* 背景浅色 */
    --white: #ffffff;         /* 纯白 */
    --border: #e2e8f0;        /* 边框色 */
    --border-light: #f1f5f9;  /* 浅边框 */
    --card-bg: #ffffff;       /* 卡片背景 */
    --card-shadow: rgba(15, 23, 42, 0.08); /* 卡片阴影 */
    --glow-primary: rgba(99, 102, 241, 0.25);  /* 主色发光 */
    --glow-accent: rgba(6, 182, 212, 0.25);   /* 点缀色发光 */
    
    /* 现代化渐变 */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* 现代化阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 现代化圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@font-face {
    font-family: 'Inter';
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
}

body {
    background: var(--gradient-bg);
    color: var(--dark);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 现代化背景动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* 现代化粒子效果 */
.tech-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 8s infinite ease-in-out;
    box-shadow: 0 0 6px var(--primary);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.2); 
        opacity: 0.8; 
    }
}

/* 现代化导航栏 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 80%;
}

/* 现代化产品菜单 */
.product-menu {
    position: relative;
}

.product-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    min-width: 280px;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

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

.product-dropdown a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0;
    text-align: center;
}

.product-dropdown a:first-child {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

.product-dropdown a:last-child {
    border-bottom: none;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

.product-dropdown a:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

.product-dropdown a:hover .product-icon {
    background: var(--gradient-primary);
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gray), var(--gray-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
    margin: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.product-info {
    flex: 1;
    min-width: 0;
    text-align: center;
    width: 100%;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--dark);
    text-align: center;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    margin: 0;
}

/* 现代化英雄区域 */
.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 35%, var(--glow-primary) 0%, transparent 60%),
        radial-gradient(circle at 75% 25%, var(--glow-accent) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    z-index: -1;
    animation: heroBackground 15s ease-in-out infinite alternate;
}

@keyframes heroBackground {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(3deg) scale(1.05); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--dark);
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

/* 更新产品描述 */
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* 现代化特性标签 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto 3rem;
    max-width: 800px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    color: var(--dark);
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.95);
}

.feature-tag i {
    font-size: 1rem;
    color: var(--primary);
}

/* 现代化按钮样式 */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* 新增：按钮内 SVG 图标统一尺寸 */
.btn img.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 图片展示区 */
.screenshot-container {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 20px;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容区块 */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

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

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* 功能卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px var(--card-shadow), 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--glow-primary), 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
    color: white;
}

.feature-card:hover::after {
    opacity: 0.95;
}

.feature-card:hover .card-title,
.feature-card:hover .card-desc {
    color: white;
    position: relative;
    z-index: 1;
}

/* 推荐卡片样式 */
.feature-card.recommended {
    position: relative;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.feature-card.recommended::before {
    background: var(--gradient-primary);
    opacity: 0.1;
}

.recommend-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    z-index: 10;
    animation: pulse 2s infinite;
}

.recommend-badge i {
    margin-right: 4px;
    color: #ffd700;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card.recommended:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.25);
}

.feature-card.recommended:hover .recommend-badge {
    animation: none;
    transform: scale(1.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s;
}

.feature-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.feature-card:hover .card-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 图标增强样式 */
.icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px var(--glow-primary);
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.icon-modern:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px var(--glow-primary);
}

.fa-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* 程序图标展示区域 */
.app-icon-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.app-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    min-height: 200px;
    justify-content: center;
}

.app-icon-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-light);
}

.app-icon-image {
    background: linear-gradient(135deg, #e0e7ff, #f0f9ff);
    border-radius: var(--radius-xl);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.app-icon-container:hover .app-icon-image {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.product-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.product-icon:hover {
    transform: scale(1.02);
}

.app-icon-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.app-icon-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.app-icon-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.app-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.app-icon-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* 模型展示 */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.model-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.model-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.model-card:hover .model-icon {
    background-color: var(--primary);
    color: white;
    transform: rotate(15deg);
}

.model-name {
    font-weight: 500;
    text-align: center;
    color: var(--dark);
}

/* 角色展示 */
.roles-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

.roles-container::-webkit-scrollbar {
    height: 6px;
}

.roles-container::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 3px;
}

.roles-container::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 3px;
}

.role-card {
    min-width: 280px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.role-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.role-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.role-name {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
}

.role-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 下载区域 */
.download-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
    border-radius: 32px;
    padding: 5rem 2rem;
    margin: 4rem auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 25px var(--card-shadow), 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 20%, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.6;
    z-index: -1;
}

/* 页脚 */
footer {
    background: var(--dark);
    color: white;
    padding: 5rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo .logo {
    color: white;
}

.footer-logo .logo-icon {
    background-color: white;
    color: var(--primary);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    margin-top: 4rem;
    text-align: center;
    color: #64748b;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

/* macOS 风格窗口 */
.mac-window {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 600px; /* 确保窗口有足够高度容纳三图轮播 */
}

/* 标题栏（macOS 风格） */
.mac-title-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 窗口控制按钮（红黄绿） */
.window-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close { background: #ff5f56; }
.minimize { background: #ffbd2e; }
.maximize { background: #27c93f; }

/* 主内容区 */
.mac-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px 0 50px;
    min-height: 600px; /* 增加高度以容纳三图轮播 */
}

/* 主图展示区 */
.mac-main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 550px; /* 增加高度以容纳三图轮播 */
}

.mac-main-image img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    cursor: pointer;
}

.mac-main-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* 左右导航按钮 */
.mac-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    user-select: none;
    z-index: 10;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.mac-content:hover .mac-nav-button {
    opacity: 1;
}

.mac-nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-container {
    display: none;
}

.carousel-button, .carousel-dots {
    display: none;
}

/* 全屏查看优化 */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.fullscreen-image.active {
    opacity: 1;
    pointer-events: all;
}

.fullscreen-image img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 圆点指示器 */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(150, 150, 150, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0;
}

.dot:hover {
    background: rgba(100, 100, 100, 0.8);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* 三图轮播样式 */
.three-image-carousel {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--card-shadow);
    border: 1px solid var(--border-light);
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.carousel-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
}

/* 轮播按钮样式 */

.carousel-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播自动播放提示 */
.carousel-header::after {
    content: "自动播放";
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 增强圆点指示器 */
.three-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.three-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.three-dot:hover {
    background: rgba(99, 102, 241, 0.6);
    transform: scale(1.2);
}

.three-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.three-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--glow-primary);
}

.three-image-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    height: 500px;
}

/* mac-window 内的三图轮播特殊处理 */
.mac-window .three-image-carousel {
    padding: 1.5rem;
    margin: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    max-width: none;
}

.mac-window .three-image-container {
    height: 450px; /* 在mac-window内稍微降低高度但确保显示完整 */
    margin-bottom: 1rem;
}

.side-image {
    flex: 0 0 180px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.side-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-image.left::before {
    content: '❮';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.side-image.right::before {
    content: '❯';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.side-image:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.side-image:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.main-image {
    flex: 1;
    height: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 40px var(--glow-primary);
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.main-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 48px var(--glow-primary);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.main-image:hover .image-overlay {
    transform: translateY(0);
}

.image-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.image-desc {
    font-size: 0.875rem;
    opacity: 0.9;
}

.three-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.three-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0;
}

.three-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.three-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    /* 三图轮播移动端适配 */
    .three-image-carousel {
        margin: 1rem;
        padding: 1rem;
    }
    
    .three-image-container {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }
    
    .side-image {
        flex: none;
        width: 100%;
        height: 220px;
        opacity: 1;
        margin: 0;
    }
    
    .main-image {
        width: 100%;
        height: 300px;
        order: -1;
        margin: 0;
    }
    
    .carousel-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        gap: 1.25rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mac-main-image {
        min-height: 400px; /* 增加移动端高度 */
    }
    
    .mac-window {
        min-height: 500px; /* 移动端窗口高度调整 */
    }
    
    .mac-window .three-image-container {
        height: 400px; /* 移动端三图轮播高度 */
    }
    
    .mac-nav-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* 移动端轮播优化 */
    .three-image-container {
        height: 300px;
        gap: 1rem;
    }
    
    .side-image {
        flex: 0 0 120px;
        height: 200px;
    }
    
    .side-image::before {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .main-image {
        margin: 0 0.5rem;
    }
    
    .three-carousel-dots {
        margin-top: 1rem;
        gap: 6px;
    }
    
    .three-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-header::after {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    /* 移动端产品菜单 */
    .product-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        transform: translateY(0);
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
    }

    .product-dropdown.active {
        opacity: 1;
        visibility: visible;
    }

    .product-dropdown a {
        background: white;
        border-radius: 12px;
        margin: 8px 0;
        width: 100%;
        max-width: 300px;
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border-bottom: none;
        gap: 12px;
        text-align: center;
        min-height: 120px;
    }

    .product-dropdown a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        background: var(--light);
    }

    .product-dropdown a:hover .product-icon {
        background: linear-gradient(135deg, var(--primary), var(--accent));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    }

    .product-dropdown .product-icon {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin: 0;
        background: linear-gradient(135deg, #64748b, #94a3b8);
        color: white;
        border-radius: 14px;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .product-dropdown .product-info {
        flex: 1;
        min-width: 0;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        margin-top: 8px;
    }

    .product-dropdown .product-info h4 {
        margin: 0 0 6px 0;
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark);
        line-height: 1.3;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        word-wrap: break-word;
    }

    .product-dropdown .product-info p {
        margin: 0;
        font-size: 0.875rem;
        color: var(--gray);
        line-height: 1.4;
        word-wrap: break-word;
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        max-width: 100%;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* 产品Logo展示区域样式规范 */
.product-logo-display {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.product-logo-container {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    overflow: hidden;
}

.product-logo-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.3);
}

.product-logo-container img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: scale-down;
    transition: transform 0.3s ease;
}

.product-logo-container:hover img {
    transform: scale(1.1);
}

.product-logo-title {
    margin: 0;
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-logo-desc {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* GPU加速关键动画 */
.animate, .btn, .feature-card, .role-card, .model-card {
    will-change: transform, opacity;
}

/* 滚动性能优化 */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 字体优化 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* 图片懒加载支持 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 加载状态指示器 */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 按钮加载状态 */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* 现代化轮播按钮样式 */
.carousel-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn i {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 小号按钮（离线插件） */
.btn-compact {
	padding: 0.5rem 0.9rem;
	font-weight: 600;
	font-size: 0.875rem;
}

/* 下载区域悬浮提示 */
.download-section { position: relative; }

.download-hint {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 8px);
	background: rgba(15, 23, 42, 0.95);
	color: #fff;
	padding: 8px 12px;
	border-radius: 8px;
	box-shadow: var(--shadow-lg);
	font-size: 12px;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	transition: opacity .25s ease, transform .25s ease;
}
.download-hint:before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom-color: rgba(15, 23, 42, 0.95);
}
.download-section:hover .download-hint {
	opacity: 1;
	transform: translate(-50%, 4px);
}

/* 离线下载下拉菜单 */
.dropdown-wrap {
	position: relative;
	display: inline-block;
}
.download-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 8px;
	min-width: 220px;
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-light);
	border-radius: 12px;
	box-shadow: var(--shadow-xl);
	padding: 8px;
	display: none;
	z-index: 1000;
}
.download-dropdown.show { display: block; }
.download-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--dark);
	text-decoration: none;
	transition: all .2s ease;
}
.download-dropdown a:hover {
	background: rgba(99,102,241,0.06);
	color: var(--primary);
}

/* 仅文字的离线下拉项 */
.download-dropdown a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--dark);
	text-decoration: none;
	transition: all .2s ease;
	line-height: 1.2;
}
.download-dropdown a:hover {
	background: rgba(99,102,241,0.06);
	color: var(--primary);
}

/* 针对单个按钮的气泡提示 */
.btn-with-tip { position: relative; }
.btn-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 6px) scale(0.98);
    transform-origin: bottom center;
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 10;
}
.btn-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15, 23, 42, 0.96);
}
.btn-with-tip:hover .btn-tip,
.btn-with-tip:focus .btn-tip {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

/* 首页产品矩阵：美观增强，限定在 .home-grid-4 内 */
.features-grid.home-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch;
}
.features-grid.home-grid-4 > * { min-width: 0; width: auto !important; }

/* 卡片美化（仅首页矩阵） */
.features-grid.home-grid-4 .feature-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    padding: 1.25rem;
}
.features-grid.home-grid-4 .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.25);
}

/* 图标、标题优化（仅首页矩阵） */
.features-grid.home-grid-4 .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.features-grid.home-grid-4 .card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

/* 响应式降级：<=992px 两列，<=640px 一列 */
@media (max-width: 992px) {
    .features-grid.home-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .features-grid.home-grid-4 { grid-template-columns: 1fr !important; }
}