/**
 * 妙易典办公助手官网样式文件
 * 
 * 【重要提示 - 修改指南】
 * 
 * ==========================================
 * 1. 浏览器标签Logo (Favicon) 修改位置
 * ==========================================
 * 文件位置: index.html 第7-8行
 * 
 * 当前代码:
 * <link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
 * 
 * 修改方法:
 * - 将实际的favicon.ico文件放入 assets/images/ 目录
 * - 或修改 href 属性指向你的favicon文件路径
 * - 支持格式: .ico, .png, .svg (推荐使用 .ico 或 .png)
 * - 建议尺寸: 16x16, 32x32, 或 48x48 像素
 * 
 * ==========================================
 * 2. 右上角Logo修改位置
 * ==========================================
 * 文件位置: index.html 第611-615行 (导航栏) 和 第859-861行 (页脚)
 * 
 * 当前代码:
 * <a href="#" class="logo">
 *     <i class="fas fa-magic"></i>
 *     妙易典
 * </a>
 * 
 * 修改方法一: 使用图标 (推荐)
 * - 保持当前结构,修改 href="#" 为实际链接
 * - 修改 "fas fa-magic" 为其他Font Awesome图标类名
 * - 或将 <i> 标签替换为 <img> 标签:
 *   <img src="assets/images/logo.png" alt="妙易典Logo" class="logo-img">
 * 
 * 修改方法二: 使用图片
 * - 将logo图片放入 assets/images/ 目录
 * - 建议尺寸: 40-50px 高度
 * - 建议格式: PNG (支持透明背景) 或 SVG
 * - 示例:
 *   <a href="#" class="logo">
 *       <img src="assets/images/logo.png" alt="妙易典Logo" style="height: 40px;">
 *       妙易典
 *   </a>
 * 
 * CSS样式修改位置 (本文件):
 * .logo { 第61-68行 }
 * .footer-logo { 第442-447行 }
 * 
 * ==========================================
 * 3. TDK (Title, Description, Keywords) 修改位置
 * ==========================================
 * 文件位置: index.html 第3-6行
 * 
 * 当前代码:
 * <title>妙易典 - 智能桌面办公助手,让电脑办公更高效</title>
 * <meta name="description" content="妙易典是一款智能桌面办公助手软件,解决电脑办公中的工具多、信息散、操作繁等痛点,提升办公效率">
 * <meta name="keywords" content="妙易典,办公助手,桌面工具,效率软件,智能助手,AI工具,快捷键提示,办公软件">
 * 
 * 修改建议:
 * - Title: 控制浏览器标签页显示的标题,建议控制在30字以内
 * - Description: 搜索结果中显示的描述,建议控制在120-160字
 * - Keywords: 搜索引擎索引关键词,用英文逗号分隔
 * 
 * ==========================================
 * 4. 轮播图图片修改位置
 * ==========================================
 * 文件位置: index.html 第644-657行
 * 
 * 当前代码结构:
 * <div class="carousel-slide active">
 *     <img src="https://images.unsplash.com/..." alt="妙易典软件界面示意图1">
 *     <div class="carousel-caption">智能桌面助手,提升办公效率</div>
 * </div>
 * 
 * 修改方法:
 * - 将轮播图片放入 assets/images/ 目录
 * - 建议尺寸: 1170x400 像素 (宽x高)
 * - 建议格式: JPG, PNG, 或 WEBP
 * - 修改 img src 属性为本地路径,如:
 *   <img src="assets/images/carousel-slide1.jpg" alt="...">
 * 
 * 轮播图CSS样式修改位置 (本文件):
 * .carousel-container { 第159-166行 } - 容器样式
 * .carousel-slide { 第168-180行 } - 幻灯片样式
 * .carousel-slide img { 第183-187行 } - 图片样式
 * .carousel-caption { 第189-198行 } - 标题文字样式
 * 
 * JavaScript轮播控制位置:
 * assets/js/main.js 第950-1043行
 * - 自动轮播间隔: 第1038行 (5000ms = 5秒)
 * - 切换动画时间: 第175行 (1s = 1秒)
 * 
 * ==========================================
 * 5. 其他图片资源修改位置
 * ==========================================
 * 
 * 图标系统:
 * - 当前使用 Font Awesome 6.4.0 图标库 (index.html 第7行)
 * - 访问: https://fontawesome.com/search 查找更多图标
 * - 替换方法: 修改 i 标签的 class 属性
 *   示例: <i class="fas fa-user"></i> 改为 <i class="fas fa-home"></i>
 * 
 * 自定义图片:
 * - 如需添加自定义图片,请放入 assets/images/ 目录
 * - 使用相对路径引用: assets/images/your-image.jpg
 * 
 * ==========================================
 */

:root {
    /* 颜色变量 - 可在此修改网站主题色 */
    --primary-color: #0096FF;
    --primary-dark: #3a5ce5;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --success-color: #28a745;
    
    /* 其他样式变量 */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 头部和导航 ========== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* 【修改位置 2 - 右上角Logo样式】 */
.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 28px;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(74, 108, 247, 0.2);
}

/* ========== 主视觉区域 - 轮播图 ========== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* 【修改位置 4 - 轮播图样式】 */
.carousel-container {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark-color);
    transition: var(--transition);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* ========== 痛点部分 ========== */
.pain-points {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pain-point-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pain-point-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.pain-point-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ========== 功能部分 ========== */
.features {
    padding: 100px 0;
    background-color: #f9fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    display: flex;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-content {
    padding: 30px;
    flex: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-content ul {
    list-style: none;
    margin-top: 15px;
}

.feature-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-content li:before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
}

/* ========== 用户群体部分 ========== */
.user-groups {
    padding: 100px 0;
    background-color: #fff;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.user-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.user-card:hover {
    transform: translateY(-5px);
}

.user-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
}

/* ========== 下载部分 ========== */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== 页脚 ========== */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* 【修改位置 2 - 页脚Logo样式】 */
.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.footer-about {
    flex: 1;
    max-width: 350px;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-between;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #fff;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* ========== 响应式设计 ========== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .user-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-about {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 5px 15px;
    }
    
    .hero {
        padding: 200px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
    
    .user-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .user-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel-container {
        height: 250px;
    }
}
