/* --- 1. 容器布局 --- */
.redefine-section {
    padding: 100px 20px;
    background-color: var(--theme-palette-color-7); /* Color 7: Site background */
    overflow: visible; /* 允许 sticky 生效 */
}

.redefine-container {
    margin: 0 auto;
    display: flex;
    gap: 60px; /* 左右两栏的间距 */
    position: relative;
}

/* --- 2. 左侧 Sticky 区域 --- */
.redefine-left {
    flex: 1;
    min-width: 300px; 
}

.sticky-wrapper {
    position: sticky;
    top: 100px; /* 滚动到距离顶部 100px 时固定住 */
    text-align: left;
}

.redefine-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--theme-palette-color-4); /* Color 4: Headings */
    margin-bottom: 25px;
}

.highlight-text {
    color: var(--theme-palette-color-1); /* Color 1: Primary */
}

.redefine-desc {
    font-family: 'Inter', sans-serif;
    color: var(--theme-palette-color-3); /* Color 3: Base text */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- 3. 视觉占位图 (紫色光晕球体) --- */
.visual-placeholder {
    position: relative;
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent 70%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-palette-color-1), var(--theme-palette-color-2));
    filter: blur(40px); /* 模糊光晕效果 */
    opacity: 0.6;
    position: absolute;
}

.ui-glass-card {
    position: relative;
    width: 220px;
    padding: 20px;
    background: rgba(51, 65, 85, 0.4); /* 玻璃拟态背景 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: var(--theme-palette-color-4);
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: rotate(-5deg); /* 稍微倾斜 */
}

.loading-bar {
    height: 4px;
    width: 60%;
    background: var(--theme-palette-color-1);
    margin-top: 10px;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--theme-palette-color-1);
}

/* --- 4. 右侧功能列表 --- */
.redefine-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px; /* 卡片之间的间距 */
    padding-top: 20px;
}

.feature-box {
    background-color: var(--theme-palette-color-5); /* Color 5: Card UI */
    border: 1px solid rgba(51, 65, 85, 0.5);
    padding: 40px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--theme-palette-color-1);
}

/* 核心修改：让 H3 和 图标在一行 */
.feature-box h3 {
    display: flex; /* 使用 Flexbox */
    align-items: center; /* 垂直居中对齐 */
    gap: 12px; /* 图标和文字的间距 */
    
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--theme-palette-color-4);
    margin-bottom: 15px;
    line-height: 1.3;
}

.inline-icon {
    font-size: 1em; /* 跟随 H3 的字体大小 */
    line-height: 1;
    flex-shrink: 0; /* 防止图标被挤压 */
}

.feature-box p {
    font-family: 'Inter', sans-serif;
    color: var(--theme-palette-color-3);
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 5px;
}

/* --- 5. 移动端适配 --- */
@media (max-width: 900px) {
    .redefine-container {
        flex-direction: column; /* 变为上下排列 */
        gap: 40px;
    }
    
    .redefine-left {
        min-width: 100%;
    }
    
    .sticky-wrapper {
        position: relative; /* 移动端不需要 sticky */
        top: 0;
    }
    
    .redefine-title {
        font-size: 2.2rem;
    }
    
    .visual-placeholder {
        height: 200px;
        margin-bottom: 20px;
    }
}
