:root {
    --primary: #2563eb;       /* 现代紫蓝 */
    --primary-light: #6366f1; /* 亮紫蓝 */
    --primary-dark: #3730a3;  /* 深紫蓝 */
    --accent: #06b6d4;        /* 清新青蓝 */
    --accent-secondary: #2563eb; /* 活力粉 */
    --success: #10b981;       /* 成功绿 */
    --warning: #f59e0b;       /* 警告橙 */
    --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(79, 70, 229, 0.25);  /* 主色发光 */
    --glow-accent: rgba(6, 182, 212, 0.25);   /* 点缀色发光 */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 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&display=swap');
}

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

/* 科技感背景动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    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: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* 简约导航栏 */
header {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.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.2s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

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

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

/* 产品导航菜单 */
.product-menu {
    position: relative;
}

.product-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    min-width: 280px;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

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

.product-dropdown a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    border-radius: 0;
    margin: 0;
    text-align: center;
}

.product-dropdown a:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.product-dropdown a:last-child {
    border-bottom: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

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

.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-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #64748b, #94a3b8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0;
    transition: all 0.3s ease;
}

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

.product-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--dark);
}

.product-info p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 主标题区 */
.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.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 85%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: heroBackground 12s ease-in-out infinite alternate;
}

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

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark);
    background: linear-gradient(to right, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

/* 按钮样式 */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px var(--glow-primary), 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.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.5s;
}

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

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-primary), 0 4px 8px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.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::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: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.08));
    border-radius: 24px;
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
    box-shadow: 0 4px 6px var(--card-shadow);
}

.app-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--glow-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    color: white;
    font-size: 2rem;
}

.app-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px var(--glow-primary);
}

/* 产品图标图片样式 */
.app-icon-image {
    background: linear-gradient(135deg, #e0e7ff, #f0f9ff);
    border-radius: 18px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-image:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--glow-primary);
}

.product-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.app-icon-info {
    text-align: center;
    margin-top: 1rem;
}

.app-icon-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.app-icon-desc {
    font-size: 0.875rem;
    color: var(--gray);
}

/* 模型展示 */
.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 h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
}

.carousel-controls {
    display: flex;
    gap: 0.5rem;
}

.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-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:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.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;
    }

    /* 移动端产品菜单 */
    .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;
    }

    .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;
    }

    .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;
    }

    .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;
    }
}

/* 动画效果 */
@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;
}