/* CSS 变量定义 */
:root {
    --primary-color: #9A9AD9; /* 薰衣草紫主色 */
    --primary-dark: #7E7EB8; /* 深薰衣草紫 */
    --primary-light: #D6D6F2; /* 浅薰衣草紫 */
    --primary-lighter: #F1F1FC; /* 更浅的薰衣草紫 */
    --secondary-color: #A7A7D4; /* 辅助色 */
    --accent-color: #8787C3; /* 强调色 */
    --text-color: #4A4A6E; /* 文本颜色 */
    --light-text: #7A7AAE; /* 浅文本颜色 */
    --background-color: #fff; /* 背景色 */
    --light-bg: #F9F9FF; /* 浅背景色 */
    --dark-bg: #3D3D5E; /* 深色背景 */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* 英雄区域统一文字样式 */
.hero-section p, .page-title p, .core-values p {
    font-weight: 300; /* 细体 */
    font-size: 0.875rem; /* 8/7字号 */
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
}

/* 核心价值观样式 - 英雄区域文字居中，并保持与其他页面英雄区域一致的字体和颜色 */
.core-values {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2; /* 确保文字在蒙版之上 */
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.5rem 1.5rem; /* 减少内边距，降低导航栏高度 */
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-link:hover {
    color: var(--primary-color);
}

.navbar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* 英雄区域统一样式 - 首页使用内联样式覆盖 */
.hero-section {
    height: 200px; /* 统一大小，修改为200px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-image: url('../hero-background.jpg'); /* 使用与首页相同的背景图片 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

/* 愿景宣言样式 */
.vision-declaration {
    margin-top: 0;
    padding: 2rem;
    background-color: white;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2; /* 确保文字在蒙版之上 */
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300; /* 细体 */
    white-space: nowrap; /* 确保文字不换行 */
    max-width: 100%; /* 允许文字完全展开 */
    letter-spacing: 0.5px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 次要按钮样式 */
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 左侧固定的关于小艾长方形图标 */
.fixed-about-section {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.rectangle-item {
    width: 180px;
    height: 230px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: white;
    transition: all 0.3s ease;
}

.rectangle-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.rectangle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rectangle-item:hover img {
    transform: scale(1.1);
}

.rectangle-item-label {
    margin-top: 1rem;
    text-align: center;
    color: white;
}

.rectangle-item-label h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.rectangle-item-label p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 轮播组件样式 - 优化为始终在首页上方动态展示 */
.carousel {
    position: relative;
    max-width: 80%;
    margin: 1rem auto 3rem; /* 调整边距 */
    margin-left: auto; /* 确保轮播在右侧 */
    margin-right: 2rem;
    overflow: visible;
    height: 750px;
    z-index: 5; /* 确保在其他内容之上 */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    /* 移除transition以避免与CSS动画冲突 */
    overflow: visible;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 一行显示7个小图形布局 */
.circle-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

/* 滚动条样式 */
.circle-grid::-webkit-scrollbar {
    height: 6px;
}

.circle-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.circle-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* 长方形项目动画效果 */
@keyframes breathe {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
}

/* 快速动画效果 - 用于hover状态 */
@keyframes breathe-fast {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
}

/* 一行显示的小图形基础样式 */
.circle-item {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    animation: breathe 4s ease-in-out infinite;
    border: 2px solid #fff;
    background: #f0f0f0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: 10;
}

/* 所有项目保持相同宽度 - 一行显示7个 */
.circle-grid > a:nth-child(n) {
    width: 120px;
}

/* 清除原有定位样式 */
.circle-item:nth-child(n) { left: auto; top: auto; transform: none; }

/* 关键词样式 - 图形下方显示 */
.circle-item-label {
    position: absolute;
    bottom: -35px;
    width: 100%;
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    z-index: 11;
}

.circle-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    /* 保留原有的定位transform，只添加hover效果 */
    animation: breathe-fast 1s ease-in-out infinite;
}

.circle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.circle-item:hover img {
    transform: scale(1.1);
}

/* 小图形的覆盖层样式 */
.circle-item-overlay {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 180px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
    opacity: 1; /* 默认显示文字 */
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    z-index: 12;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.circle-item:hover .circle-item-overlay {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.circle-item h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.circle-item p {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* 轮播导航按钮样式 */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* 轮播指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
    width: 24px;
    border-radius: 6px;
}

/* 响应式设计 - 一行显示7个小图形 */
/* 14寸屏幕适配 (769px-1024px) */
@media (max-width: 1024px) {
    .circle-grid {
        max-width: 100%;
        height: auto;
        padding: 1.2rem 0.5rem;
    }
    
    .circle-item {
        width: 110px;
        height: 110px;
    }
    
    /* 所有项目保持相同宽度 */
    .circle-grid > a:nth-child(n) {
        width: 110px;
    }
    
    .carousel {
        height: auto;
        overflow: visible;
    }
    
    .carousel-wrapper {
        overflow: visible;
    }
}

/* 中等屏幕适配 (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        height: 200px; /* 保持统一高度，修改为200px */
        min-height: auto; /* 覆盖默认最小高度 */
    }
    
    /* 在中等屏幕上允许文字正常换行 */
    .hero-content p {
        white-space: normal;
    }
    
    /* 在中等屏幕上调整左侧固定图标 */
    .fixed-about-section {
        left: 0.5rem;
    }
    
    .rectangle-item {
        width: 150px;
        height: 190px;
    }
    
    .rectangle-item-label h3 {
        font-size: 0.9rem;
    }
    
    .rectangle-item-label p {
        font-size: 0.75rem;
    }
    
    .carousel {
        height: auto;
        margin: 0.5rem auto 2rem;
        max-width: 90%;
        margin-right: 0;
    }
    
    .circle-grid {
        max-width: 100%;
        height: auto;
        padding: 0.8rem 0.5rem;
        gap: 0.8rem;
    }
    
    /* 中等屏幕上调整长方形排列 - 第一行3个，第二行4个 */
    .circle-item {
        width: calc(31% - 0.6rem); /* 第一行3个项目 */
        height: 130px;
    }
    
    /* 第二行4个项目 */
    .circle-grid > a:nth-child(4),
    .circle-grid > a:nth-child(5),
    .circle-grid > a:nth-child(6),
    .circle-grid > a:nth-child(7) {
        width: calc(23% - 0.6rem);
    }
    
    /* 清除原有定位样式 */
    .circle-item:nth-child(n) { left: auto; top: auto; transform: none; }
    
    .circle-item-overlay {
        width: 100%;
        bottom: -40px;
    }
    
    .circle-item h3 {
        font-size: 0.8rem;
    }
    
    .circle-item p {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 200px; /* 保持统一高度，修改为200px */
        min-height: auto; /* 覆盖默认最小高度 */
    }
    
    /* 在小屏幕上允许文字正常换行 */
    .hero-content p {
        white-space: normal;
    }
    
    /* 在小屏幕上隐藏固定图标 */
    .fixed-about-section {
        display: none;
    }
    
    .carousel {
        max-width: 95%;
        margin: 0 auto 2rem;
    }
    
    .circle-grid {
        max-width: 100%;
        height: auto;
        padding: 0.6rem 0.4rem;
        gap: 0.5rem;
    }
    
    /* 小屏幕上一行显示7个小图形 */
    .circle-item {
        width: 90px;
        height: 90px;
    }
    
    /* 所有项目保持相同宽度 */
    .circle-grid > a:nth-child(n) {
        width: 90px;
    }
    
    .circle-item-overlay {
        width: 100%;
        bottom: -45px;
    }
    
    .circle-item h3 {
        font-size: 0.7rem;
    }
    
    .circle-item p {
        font-size: 0.6rem;
        display: block;
    }
    
    .circle-item-label {
        font-size: 0.7rem;
        bottom: -30px;
    }
}

/* 英雄区域通用样式 - 确保所有页面背景统一 */
.hero-section {
    height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    background-image: url('../hero-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: white !important;
    text-align: center !important;
    position: relative !important;
    margin: 0 !important;
}

/* 英雄区域内容样式 - 确保所有页面文字排版统一 */
.hero-content {
    text-align: center;
    max-width: 800px;
    font-size: 0.875rem; /* 8/7字号，保持一致 */
    color: white;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300; /* 细体 */
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9); /* 添加文字阴影 */
    position: relative;
    z-index: 2; /* 确保文字在蒙版之上 */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* 英雄区域内容段落样式 */
.hero-content p {
    margin: 0.75rem 0 0 0 !important;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    font-size: 0.65rem !important; /* 进一步减小字号并添加!important确保优先级 */
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 页面标题样式 - 统一为英雄区域样式 */
.page-title {
    height: 200px; /* 统一大小，修改为200px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-image: url('../hero-background.jpg'); /* 使用与首页相同的背景图片 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    margin: 0;
}

/* 为非首页的英雄区域添加渐变透明蒙版 - 当前已取消所有蒙版 */
.hero-section::before,
.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* 取消蒙版 */
    pointer-events: none;
    z-index: 1;
}

/* 取消首页英雄区域的渐变蒙版 */
:not(.container) > .hero-section::before {
    display: none;
}

.page-title h1 {
    display: none;
}

.page-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #D1C2D3;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .modules-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .modules-preview {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .module-icon {
        width: 70%;
        font-size: 3rem;
    }
}

/* 学习路径 - 波浪线和箭头样式 */
.learning-path {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 轨迹连接线 - 波浪线样式 */
.path-track {
    position: absolute;
    left: 120px;
    right: 120px;
    top: 50%;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-color) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 1;
}

/* 学习阶段节点 */
.path-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
    z-index: 2;
}

/* 阶段数字 */
.stage-number {
    position: absolute;
    top: -40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-bg);
}

/* 节点圆点 */
.node-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* 节点内容卡片 */
.node-content {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.3s ease;
}

.path-node:hover .node-content {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.node-content h4 {
    color: var(--dark-bg);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.node-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.node-content .step-desc {
    color: #888;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0;
}

/* 箭头样式 */
.arrow {
    position: absolute;
    top: 10px;
    right: -40px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.arrow::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 0;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--primary-color);
}

/* 响应式设计 - 中等屏幕 */
@media (max-width: 768px) {
    .learning-path {
        padding: 1.5rem 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .path-track {
        position: absolute;
        left: 20px;
        top: 20px;
        bottom: 20px;
        width: 4px;
        background: repeating-linear-gradient(
            0deg,
            var(--primary-color),
            var(--primary-color) 10px,
            transparent 10px,
            transparent 20px
        );
    }
    
    .path-node {
        width: 90%;
        flex-direction: row;
        margin-bottom: 20px;
        margin-left: 50px;
    }
    
    .stage-number {
        position: relative;
        top: 0;
        margin-right: 15px;
    }
    
    .node-dot {
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .node-content {
        width: auto;
        flex: 1;
    }
    
    .arrow {
        position: absolute;
        top: auto;
        bottom: -20px;
        left: 10px;
        width: 2px;
        height: 20px;
        background-color: var(--primary-color);
    }
    
    .arrow::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: -4px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--primary-color);
    }
    
    .path-node:last-child .arrow {
        display: none;
    }
    
    .node-content h4 {
        font-size: 0.9rem;
    }
    
    .node-content p,
    .node-content .step-desc {
        font-size: 0.7rem;
    }
    
    /* 调整蜡烛高度比例 */
    .path-node:nth-child(1) .kline-body { height: 60px; }
    .path-node:nth-child(2) .kline-body { height: 120px; }
    .path-node:nth-child(3) .kline-body { height: 80px; }
    .path-node:nth-child(4) .kline-body { height: 180px; }
}

/* 响应式设计 - 小屏幕 */
@media (max-width: 480px) {
    .learning-path {
        padding: 1.5rem 0;
        height: 250px;
        flex-wrap: wrap;
    }
    
    .path-node {
        width: 45%;
        margin-bottom: 1rem;
    }
    
    .kline-body {
        width: 20px;
    }
    
    .node-content {
        width: 100%;
        margin-top: 15px;
        padding: 0.5rem;
    }
    
    .node-content h4 {
        font-size: 0.8rem;
    }
    
    .node-content p,
    .node-content .step-desc {
        font-size: 0.65rem;
    }
    
    /* 在小屏幕上简化K线 */
    .kline-shadow-top,
    .kline-shadow-bottom {
        display: none;
    }
    
    .kline-label {
        top: -20px;
        font-size: 0.7rem;
    }
    
    /* 调整蜡烛高度比例 */
    .path-node:nth-child(1) .kline-body { height: 40px; }
    .path-node:nth-child(2) .kline-body { height: 80px; }
    .path-node:nth-child(3) .kline-body { height: 60px; }
    .path-node:nth-child(4) .kline-body { height: 120px; }
}

/* 版权信息样式 - 压缩版 */
.footer-copyright {
    text-align: center;
    padding: 1rem 0; /* 减小内边距 */
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem; /* 减小顶部边距，使整体底部上移 */
    background-color: transparent; /* 去掉背景颜色 */
}

/* 线上项目概览布局 - 文字在左，图片在右 */
.project-overview-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* 左侧文字内容 */
.project-text-content {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 15px);
}

/* 右侧图片 */
.project-main-image-right {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 15px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-main-image-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-main-image-right img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-main-image-right:hover img {
    transform: scale(1.02);
}

/* 响应式设计 - 中等屏幕 */
@media (max-width: 768px) {
    .project-overview-layout {
        flex-direction: column;
    }
    
    .project-text-content,
    .project-main-image-right {
        max-width: 100%;
    }
}