/* ========================================
   思悟数学 - UI全面优化增强样式
   方案A: CSS网格背景 + 全面UI优化
   ======================================== */

/* ==================== 1. 增强背景效果 ==================== */

/* 主背景 - 网格 + 渐变 + 装饰 */
body {
    background:
        /* 精细网格图案 */
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        /* 紫色渐变背景 */
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-position: 0 0, 0 0, 0 0;
    background-attachment: fixed;
}

@media (min-width: 769px) {
    body:has(.ai-assistant-ganyu-theme) {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(180deg, #A8D8EA 0%, #5DADE2 50%, #85C1E9 100%) !important;
        background-size: 50px 50px, 50px 50px, 100% 100% !important;
        background-position: 0 0, 0 0, 0 0 !important;
        background-attachment: fixed !important;
    }

    body.theme-ganyu-page-bg {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(180deg, #A8D8EA 0%, #5DADE2 50%, #85C1E9 100%) !important;
        background-size: 50px 50px, 50px 50px, 100% 100% !important;
        background-position: 0 0, 0 0, 0 0 !important;
        background-attachment: fixed !important;
    }

    body:has(.ai-assistant-ganyu-theme) .bg-animation::before {
        background:
            radial-gradient(circle at 20% 30%, rgba(93, 173, 226, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(133, 193, 233, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 50%) !important;
    }

    body.theme-ganyu-page-bg .bg-animation::before {
        background:
            radial-gradient(circle at 20% 30%, rgba(93, 173, 226, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(133, 193, 233, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 50%) !important;
    }

    /* 覆盖紫色基底背景，统一为冰蓝渐变 */
    body:has(.ai-assistant-ganyu-theme) .bg-animation {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(180deg, #A8D8EA 0%, #5DADE2 50%, #85C1E9 100%) !important;
        background-size: 50px 50px, 50px 50px, 100% 100% !important;
        background-position: 0 0, 0 0, 0 0 !important;
        background-attachment: fixed !important;
    }

    body.theme-ganyu-page-bg .bg-animation {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(180deg, #A8D8EA 0%, #5DADE2 50%, #85C1E9 100%) !important;
        background-size: 50px 50px, 50px 50px, 100% 100% !important;
        background-position: 0 0, 0 0, 0 0 !important;
        background-attachment: fixed !important;
    }
}

/* 动态浮动装饰层 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* 浮动光晕效果 */
.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: floatGlow 40s ease-in-out infinite;
}

/* 斜线装饰效果 */
.bg-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%);
    background-size: 300px 300px;
    animation: floatPattern 60s linear infinite;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(5%, 5%) rotate(120deg);
    }

    66% {
        transform: translate(-5%, 5%) rotate(240deg);
    }
}

@keyframes floatPattern {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 300px 300px, -300px -300px;
    }
}

/* ==================== 2. 增强卡片效果 ==================== */

.card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部光泽效果 */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8) 50%,
            transparent);
}

/* 卡片悬停效果 */
.card:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 30px 80px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

/* ==================== 3. 增强导航栏 ==================== */

.header {
    background: rgba(102, 126, 234, 0.18) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

.nav-item {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* 导航项光泽效果 */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ==================== 4. 增强按钮效果 ==================== */

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow:
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

/* 按钮光泽动画 */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
    animation: buttonGlow 1.5s ease-in-out infinite;
}

@keyframes buttonGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        0 15px 40px rgba(102, 126, 234, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
}

/* ==================== 5. 增强输入框效果 ==================== */

textarea,
input[type="text"],
input[type="number"],
select {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(102, 126, 234, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: #667eea !important;
    box-shadow:
        0 8px 24px rgba(102, 126, 234, 0.2),
        0 0 0 4px rgba(102, 126, 234, 0.1) !important;
    transform: translateY(-2px);
}

/* ==================== 6. 升学冲刺模块标签优化 ==================== */

/* ==========================================================================
   全新清新主题 - 学习模块弹窗 (匹配陪伴学习风格)
   ========================================================================== */

/* 1. 弹窗主容器 - 甘雨冰蓝主题 (精简非滚动版) */
.learning-modal-futuristic {
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F4FF 100%) !important;
    border-radius: 28px !important;
    border: 1px solid #B8E6F5 !important;
    box-shadow: 0 15px 45px rgba(74, 144, 226, 0.2) !important;
    overflow: hidden !important;
    /* 强制不滚动 */
    color: #1e293b;
    max-height: 90vh;
}

.modal-main-content {
    background: transparent !important;
    border: none !important;
}

.sprint-tab-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sprint-tab-card:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
}

.sprint-tab-card.active {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.3) inset !important;
}

/* ==================== 7. 功能卡片网格优化 ==================== */

.sprint-content>div[style*="grid"]>div {
    background: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sprint-content>div[style*="grid"]>div:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow:
        0 15px 35px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}

/* ==================== 8. 模态框优化 ==================== */

.modal {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    border-radius: 24px !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* ==================== 9. 滚动条优化 ==================== */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

/* ==================== 10. 浮动数学符号装饰 ==================== */

.floating-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-symbols .symbol {
    position: absolute;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.08);
    animation: floatSymbol 20s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes floatSymbol {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.08;
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.15;
    }
}

/* 不同符号的变化 */
.floating-symbols .symbol:nth-child(1) {
    font-size: 4rem;
}

.floating-symbols .symbol:nth-child(2) {
    font-size: 3.5rem;
    animation-duration: 25s;
}

.floating-symbols .symbol:nth-child(3) {
    font-size: 3rem;
    animation-duration: 22s;
}

.floating-symbols .symbol:nth-child(4) {
    font-size: 3.8rem;
    animation-duration: 28s;
}

.floating-symbols .symbol:nth-child(5) {
    font-size: 3.2rem;
    animation-duration: 24s;
}

.floating-symbols .symbol:nth-child(6) {
    font-size: 3.6rem;
    animation-duration: 26s;
}

/* ==================== 11. 页面加载动画 ==================== */

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: pageLoad 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 12. 响应式优化 ==================== */

@media (max-width: 768px) {
    .floating-symbols .symbol {
        font-size: 2rem !important;
    }

    .card {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .nav-item {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem;
    }
}

/* ==================== 13. 高级光效 ==================== */

/* 卡片内部光效 */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

/* 按钮脉冲效果 */
@keyframes buttonPulse {

    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(102, 126, 234, 0.4),
            0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow:
            0 10px 30px rgba(102, 126, 234, 0.4),
            0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.btn-primary:not(:hover) {
    animation: buttonPulse 2s ease-in-out infinite;
}

/* ==================== 14. 文字渐变效果 ==================== */

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 15. 微交互优化 ==================== */

/* 所有可点击元素的反馈 */
button,
.btn,
.nav-item,
[onclick] {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

button:active,
.btn:active,
.nav-item:active {
    transform: scale(0.98) !important;
}

/* 输入框标签动画 */
.input-group label {
    transition: all 0.3s ease;
}

.input-group:focus-within label {
    color: #667eea;
    transform: translateX(5px);
}

/* ==================== 16. 加载状态优化 ==================== */

.loading-spinner {
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== 17. 成功/错误状态优化 ==================== */

.success-message {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1), rgba(56, 249, 215, 0.1));
    border-left: 4px solid #43e97b;
    backdrop-filter: blur(10px);
}

.error-message {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(238, 90, 36, 0.1));
    border-left: 4px solid #ff6b6b;
    backdrop-filter: blur(10px);
}

/* ==================== 18. 图片上传区域优化 ==================== */

.image-upload {
    background: rgba(248, 249, 250, 0.9) !important;
    border: 2px dashed rgba(102, 126, 234, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.image-upload:hover {
    background: rgba(102, 126, 234, 0.08) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    transform: scale(1.02) !important;
}

.image-upload.dragover {
    background: rgba(102, 126, 234, 0.15) !important;
    border-color: #667eea !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) !important;
}

/* ==================== 19. 表格优化 ==================== */

table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
}

th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    font-weight: 600;
}

tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* ==================== 20. 最终润色 ==================== */

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #333;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: #333;
}

/* 焦点可见性优化 */
:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 禁用状态优化 */
button:disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

button:disabled:hover,
.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ==================== 21. 方案B - AI装饰图片应用 ==================== */

/* 页面顶部Hero区域 - 完整16:9展示 */
.hero-banner-section {
    width: 100%;
    margin: 0 0 40px 0;
    position: relative;
}

.hero-banner-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    top: -60px;
    /* 整体上移,填补留白区域 */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-title i {
    color: #ffd700;
    margin-right: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 35px 0;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Web端功能卡片布局优化 - 3列卡片式设计 - 现代美学版 */
@media (min-width: 769px) {

    /* 增加父容器宽度以容纳宽大的网格 */
    html body .hero-content {
        max-width: 1200px !important;
        padding-bottom: 60px !important;
        /* 底部留白 */
    }

    html body .hero-buttons {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        max-width: 1100px !important;
        margin: 60px auto 0 !important;
        perspective: 1000px !important;
    }

    html body .hero-buttons .btn-lg {
        display: flex !important;
        flex-direction: row !important;
        /* 改为横向布局，增加横向视觉延伸感 */
        align-items: center !important;
        justify-content: center !important;
        height: 140px !important;
        /* 降低高度，配合横向布局，打造宽卡片效果 */
        padding: 0 35px !important;
        font-size: 1.4rem !important;
        /* 玻璃拟态 - 升级版清新明亮质感 */
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        /* 亮色边框 */
        border-radius: 24px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        color: #fff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* 悬停效果 - 更明亮 */
    html body .hero-buttons .btn-lg:hover {
        transform: translateY(-8px) !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.25) 100%) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(255, 255, 255, 0.3) !important;
        /* 强烈的白色光晕 */
        z-index: 10 !important;
    }

    /* 图标样式 - 适配横向布局 */
    html body .hero-buttons .btn-lg i {
        font-size: 3.5rem !important;
        margin-bottom: 0 !important;
        /* 移除底部间距 */
        margin-right: 25px !important;
        /* 增加右侧间距 */
        /* 图标渐变 - 更明亮的金/白配色 */
        background: linear-gradient(180deg, #fff 0%, #fff 50%, #ffe082 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2)) !important;
        transition: all 0.4s ease !important;
    }

    html body .hero-buttons .btn-lg:hover i {
        transform: scale(1.1) !important;
        filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.4)) !important;
    }

    /* 特殊处理：开始学习按钮 - 更加鲜艳的渐变 */
    html body .hero-buttons .btn-primary {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.25) 100%) !important;
        border-color: rgba(102, 126, 234, 0.6) !important;
        /* 提高边框对比度 */
        box-shadow:
            0 15px 40px rgba(102, 126, 234, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
        /* 内发光 */
    }

    html body .hero-buttons .btn-primary:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.5) 100%) !important;
        /* 悬停时更深邃 */
        border-color: rgba(102, 126, 234, 0.9) !important;
        box-shadow:
            0 30px 60px rgba(102, 126, 234, 0.5),
            inset 0 0 0 1px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(102, 126, 234, 0.6) !important;
        /* 强发光 */
    }

    /* 装饰性光泽动画 */
    html body .hero-buttons .btn-lg::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -50% !important;
        width: 200% !important;
        height: 200% !important;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%) !important;
        /* 提高光泽亮度 */
        opacity: 0 !important;
        transform: scale(0.5) !important;
        transition: all 0.6s ease !important;
    }

    html body .hero-buttons .btn-lg:hover::after {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    /* 去除不必要的 .btn-outline 样式干扰 */
    html body .hero-buttons .btn-outline {
        background: rgba(255, 255, 255, 0.1) !important;
        /* 提高背景亮度 */
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        /* 提高边框对比度 */
    }

    html body .hero-buttons .btn-outline:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        /* 提高悬停背景亮度 */
        border-color: rgba(255, 255, 255, 0.8) !important;
        /* 悬停时边框更亮 */
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
        /* 添加白色发光 */
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 升学冲刺Hero区域 - 完整16:9展示 */
.sprint-hero-section {
    width: 100%;
    margin: 0 0 30px 0;
}

.sprint-hero-wrapper {
    position: relative;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.sprint-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sprint-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(102, 126, 234, 0.2) 0%,
            rgba(118, 75, 162, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sprint-hero-content {
    text-align: center;
    color: white;
    padding: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.sprint-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.sprint-hero-title i {
    color: #ffd700;
    margin-right: 12px;
}

.sprint-hero-subtitle {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

/* 装饰圆形元素 - 可复用 */
.decoration-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    pointer-events: none;
    animation: floatRotate 30s ease-in-out infinite;
}

.decoration-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floatRotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* 响应式优化 - 方案B */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .sprint-hero-title {
        font-size: 2rem;
    }

    .sprint-hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {

    /* Hero区域移动端优化 - 竖屏完美适配 */
    .hero-banner-section {
        margin: 0 0 15px 0;
        /* 减少底部间距 */
    }

    .hero-banner-wrapper {
        border-radius: 15px;
        margin: 0 10px;
        /* 移除固定高度，让内容自适应 */
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        position: relative;
    }

    .hero-banner-img {
        /* 背景图片绝对定位，不占据空间 */
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        z-index: 0;
    }

    .hero-banner-overlay {
        /* 增强遮罩,确保文字清晰可见 */
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.6) 0%,
                rgba(0, 0, 0, 0.8) 100%);
        /* 相对定位，占据空间 */
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        /* 适当padding */
        min-height: 400px;
        /* 确保有足够空间容纳所有按钮 */
    }

    .hero-content {
        position: relative;
        top: 0;
        padding: 12px 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.2rem;
        /* 进一步减小字体 */
        line-height: 1.3;
        margin-bottom: 6px;
        /* 减小间距 */
        word-break: keep-all;
        /* 防止中文断行 */
    }

    .hero-title i {
        font-size: 1.1rem;
        margin-right: 5px;
        display: inline-block;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        /* 进一步减小字体 */
        margin-bottom: 10px;
        /* 减小间距 */
        line-height: 1.4;
        word-break: keep-all;
    }

    .sprint-hero-title {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .sprint-hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* 按钮布局优化 - 2列网格布局，最大化节省垂直空间 */
    .hero-buttons {
        display: grid;
        /* 确保移动端启用Grid布局 */
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2列网格，而非单列 */
        gap: 8px !important;
        /* 适当的间距 */
        max-width: 100%;
        padding: 0;
    }

    .hero-buttons .btn-lg {
        flex-direction: row !important;
        /* 强制横向排列 */
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 8px !important;
        /* 适当的内边距 */
        font-size: 0.75rem !important;
        /* 缩小字体以适应2列布局 */
        white-space: normal !important;
        /* 允许文字换行 */
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px !important;
        /* 保证触摸目标 */
        line-height: 1.2 !important;
        /* 紧凑的行高 */
        border-radius: 50px !important;
        /* 保持移动端圆角风格 */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
        /* 减小阴影 */
    }

    .hero-buttons .btn-lg i {
        font-size: 0.9rem;
        margin-right: 6px;
        margin-bottom: 0 !important;
        /* 清除底部间距 */
        flex-shrink: 0;
    }

    /* 隐藏使用帮助按钮，节省空间 */
    .btn-help {
        display: none !important;
    }

    /* 简化用户信息显示 */
    .user-info {
        font-size: 0.85rem !important;
        padding: 8px 12px !important;
        margin-bottom: 10px !important;
    }

    .decoration-circle {
        width: 100px;
        height: 100px;
        opacity: 0.2;
        /* 降低装饰元素透明度 */
    }
}

/* 超小屏幕优化 - 手机竖屏专用 (375px及以下) */
@media (max-width: 480px) {
    .hero-banner-wrapper {
        margin: 0 5px;
        /* 移除固定高度限制 */
    }

    .hero-banner-overlay {
        padding: 12px 0;
        min-height: 380px;
        /* 稍小一点但仍能容纳所有按钮 */
    }

    .hero-content {
        padding: 10px 10px;
    }

    .hero-title {
        font-size: 1.05rem;
        margin-bottom: 5px;
    }

    .hero-title i {
        font-size: 0.95rem;
        margin-right: 4px;
    }

    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .hero-buttons {
        gap: 6px !important;
        /* 保持适当间距 */
    }

    .hero-buttons .btn-lg {
        padding: 8px 6px !important;
        /* 适当的内边距 */
        font-size: 0.7rem !important;
        /* 进一步缩小字体 */
        min-height: 44px !important;
        /* 保持最小触摸目标 */
    }

    .hero-buttons .btn-lg i {
        font-size: 0.7rem;
        margin-right: 4px !important;
    }

    .user-info {
        font-size: 0.75rem !important;
        padding: 5px 8px !important;
    }
}

/* 增强容器适配 */
.container {
    position: relative;
    z-index: 2;
}

/* 移动端容器优化 */
@media (max-width: 768px) {
    .container {
        padding: 1rem !important;
        max-width: 100%;
        overflow: hidden;
        /* 防止装饰元素超出导致横向滚动 */
    }

    /* 移动端隐藏装饰元素，避免超出屏幕 */
    .decoration-circle {
        display: none !important;
    }

    /* 卡片移动端优化 */
    .card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 16px !important;
    }

    /* 解题区域移动端优化 */
    .solve-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    /* 输入框移动端优化 */
    textarea {
        min-height: 100px;
        font-size: 0.95rem;
    }

    /* 图片上传区域移动端优化 */
    .image-upload {
        padding: 1.5rem;
    }

    .upload-icon {
        font-size: 2.5rem;
    }

    /* 按钮组移动端优化 */
    .btn-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-group .btn {
        width: 100%;
    }

    /* 移动端按钮优化 - 确保易于点击 */
    .btn {
        min-height: 44px;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        min-height: 48px;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* 移动端输入框优化 */
    input,
    select {
        font-size: 16px !important;
        /* 防止iOS自动缩放 */
        min-height: 44px;
    }

    /* 移动端导航栏优化 */
    .header {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    /* 移动端模态框优化 */
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* 为Hero区域添加装饰圆形 */
.hero-banner-section::before,
.hero-banner-section::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url('../images/ai-generated/backgrounds/decoration-circle.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.hero-banner-section::before {
    top: -50px;
    left: -50px;
    animation: floatRotate 25s ease-in-out infinite;
}

.hero-banner-section::after {
    bottom: -50px;
    right: -50px;
    animation: floatRotate 30s ease-in-out infinite reverse;
}

/* ==================== 21. 子页面Hero区域样式 ==================== */

/* 子页面Hero区域 */
.page-hero-section {
    width: 100%;
    margin: 0 0 40px 0;
    position: relative;
    padding: 20px 0;
}

.page-hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* 子页面Hero遮罩层 */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(30, 41, 59, 0.75) 50%,
            rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* 子页面Hero内容 */
.page-hero-content {
    text-align: center;
    max-width: 800px;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 15px 0;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(99, 102, 241, 0.5);
    letter-spacing: 1px;
    animation: titleSlideIn 0.8s ease-out 0.2s both;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero-title i {
    margin-right: 15px;
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.8);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: subtitleSlideIn 0.8s ease-out 0.4s both;
}

@keyframes subtitleSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 装饰圆形元素 */
.decoration-circle {
    position: fixed;
    width: 200px;
    height: 200px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: floatRotate 25s ease-in-out infinite;
}

.decoration-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 响应式 - 子页面Hero */
@media (max-width: 1024px) {
    .page-hero-wrapper {
        max-width: 95%;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .decoration-circle {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        margin: 0 0 30px 0;
        padding: 10px 0;
    }

    .page-hero-wrapper {
        border-radius: 20px;
    }

    .page-hero-img {
        max-height: 250px;
    }

    .page-hero-overlay {
        padding: 30px 20px;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }

    .page-hero-title i {
        margin-right: 10px;
        font-size: 1.3rem;
    }

    .page-hero-subtitle {
        font-size: 0.9rem;
    }

    .decoration-circle {
        display: none;
    }
}

/* ==================== 22. 学习选项弹窗 - 科技感重设计 ==================== */

#learningOptionsModal {
    opacity: 0;
    transition: opacity 0.4s ease;
    /* 确保弹窗居中显示 */
    display: none;
    /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent !important;
    /* 确保背景透明 */
}

@media (max-width: 768px) {
    #learningOptionsModal {
        padding: 24px !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(8px);
    }
    
    #learningOptionsModal .learning-modal-futuristic {
        background: linear-gradient(135deg, #F0F8FF 0%, #E6F4FF 100%) !important;
        /* 冰蓝色渐变背景 - 甘雨主题 */
        border: 1px solid #B8E6F5 !important;
        box-shadow: 0 12px 30px rgba(74, 144, 226, 0.15) !important;
    }
}

#learningOptionsModal[style*="display: flex"] {
    display: flex !important;
}

.learning-modal-futuristic {
    animation: modalScaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: scale(1) translateY(0);
    position: relative;
    width: 90vw !important;
    max-width: 1000px !important;
    height: auto !important;
    max-height: 85vh !important;
    margin: auto !important;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: #ffffff !important;
    /* 强制纯白，拒绝阴暗 */
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.1);
    overflow: hidden;
}

.modal-main-content,
.modal-header-tech,
.modal-body-tech {
    background: transparent !important;
    /* 确保父级纯白背景透出 */
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 简约背景层 */
/* 2. 背景层优化 - 彻底移除科技感 */
.tech-bg-layer {
    display: none !important;
}

.tech-bg-layer::before,
.tech-bg-layer::after {
    display: none !important;
}

/* 主内容区 */
.modal-main-content {
    position: relative;
    z-index: 2;
}

/* 头部设计 */
/* 简约头部内容 */
/* 3. 头部设计 - 精简高度 */
.modal-header-tech {
    padding: 25px 40px 10px !important;
    text-align: center;
    background: transparent !important;
}

.icon-wrapper-large {
    width: 64px !important;
    height: 64px !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 15px !important;
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3) !important;
}

.icon-wrapper-large i {
    font-size: 1.8rem !important;
    color: white !important;
}

.icon-orbit {
    display: none !important;
}

.header-glow {
    display: none !important;
}

.modal-title-tech {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.modal-subtitle-tech {
    color: #64748b !important;
    font-weight: 500 !important;
}

/* 隐藏轨道与科技效果 */
.icon-orbit,
.header-glow,
.tech-bg-layer {
    display: none !important;
}

/* 清新标题 */
.modal-title-tech {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.modal-subtitle-tech {
    font-size: 1rem;
    color: #64748b !important;
    /* 辅助文字颜色 */
    margin: 0;
    font-weight: 500;
}

.modal-subtitle-tech i {
    color: #f59e0b;
    /* 金色图标提示 */
    margin-right: 8px;
}

/* 4. 新增：统计药丸栏 (药丸背景设为纯白以突显) */
.modal-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 25px;
    margin: 10px auto 20px;
    width: fit-content;
    border: 1px solid #B8E6F5;
}

.stat-pill-item {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
}

.stat-pill-item span {
    color: #4facfe;
    font-size: 1.1rem;
    font-weight: 800;
    margin-right: 4px;
}

.stat-divider {
    color: #e2e8f0;
    margin: 0 15px;
    font-weight: 300;
}

/* 关闭按钮 */
.modal-close-tech {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-tech:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* 关闭按钮 */
.modal-close-tech {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    color: #1e293b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-tech:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    transform: scale(1.05);
}

/* 主体区域 */
.modal-body-tech {
    padding: 0 40px 40px;
}

/* 5. 选项网格 - 卡片重新设计 (PC端) */
.learning-options-grid-tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 40px 40px !important;
}

.learning-option-card-tech {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 24px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.learning-option-card-tech:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(79, 172, 254, 0.12) !important;
    border-color: #4facfe !important;
}

.card-tech-bg,
.card-tech-border {
    display: none !important;
}

.icon-circle-tech {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    margin: 0 auto 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05) !important;
}

/* 图标背景渐变 (匹配图片风格) */
.learning-option-card-tech:nth-child(1) .icon-circle-tech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.learning-option-card-tech:nth-child(2) .icon-circle-tech {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.learning-option-card-tech:nth-child(3) .icon-circle-tech {
    background: linear-gradient(135deg, #4fadfe 0%, #00f2fe 100%) !important;
}

.learning-option-card-tech:nth-child(4) .icon-circle-tech {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.icon-circle-tech i {
    font-size: 1.6rem !important;
    color: white !important;
}

.icon-pulse {
    display: none !important;
}

.card-title-tech {
    font-size: 1.25rem !important;
    color: #1e293b !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.card-desc-tech {
    font-size: 1.05rem !important;
    /* 加大字号 */
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
}

.modal-footer-tech {
    display: none !important;
}

/* 移除旧的关闭按钮样式防止冲突 */
.modal-close-tech {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(74, 144, 226, 0.1);
    border: none;
    border-radius: 50%;
    color: #4A90E2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 100;
}

/* 选项卡片网格 */
.learning-options-grid-tech {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* 简约白卡片 */
.learning-option-card-tech {
    position: relative;
    background: #ffffff !important;
    border: 1.5px solid #f1f5f9;
    border-radius: 24px;
    padding: 40px 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    overflow: hidden;
}

.learning-option-card-tech:hover {
    transform: translateY(-8px);
    border-color: #4f46e5;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1);
}

.card-tech-bg {
    display: none;
    /* 移除旧背景层 */
}

.card-tech-bg.pink-gradient {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
}

.card-tech-bg.blue-gradient {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
}

.card-tech-bg.orange-gradient {
    background: linear-gradient(135deg, rgba(255, 153, 102, 0.15) 0%, rgba(255, 102, 102, 0.15) 100%);
}

/* 卡片边框 */
.card-tech-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.learning-option-card-tech:nth-child(2) .card-tech-border {
    border-color: rgba(240, 147, 251, 0.3);
}

.learning-option-card-tech:nth-child(3) .card-tech-border {
    border-color: rgba(79, 172, 254, 0.3);
}

/* 卡片内容 */
.card-tech-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 清新图标圆圈 */
.icon-circle-tech {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4f46e5;
    transition: all 0.3s ease;
}

.learning-option-card-tech:hover .icon-circle-tech {
    background: #4f46e5;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

/* 移除旧动画 */
.icon-pulse {
    display: none;
}

/* 卡片标题 */
.card-title-tech {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.learning-option-card-tech:hover .card-title-tech {
    color: #4f46e5;
}

/* 特性标签 */
.card-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.1);
    /* 浅蓝色背景 */
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #667eea;
    /* 深蓝色文字 */
    font-weight: 600;
}

.feature-tag i {
    font-size: 0.7rem;
    color: #10b981;
}

/* 清新卡片描述 */
.card-desc-tech {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* 卡片箭头 */
.card-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    opacity: 0;
}

/* 简约悬停效果 */
.learning-option-card-tech:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
}

.learning-option-card-tech:hover .card-tech-border {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.4),
        inset 0 0 30px rgba(99, 102, 241, 0.1);
}

.learning-option-card-tech:nth-child(2):hover .card-tech-border {
    border-color: rgba(240, 147, 251, 0.8);
    box-shadow:
        0 0 30px rgba(240, 147, 251, 0.4),
        inset 0 0 30px rgba(240, 147, 251, 0.1);
}

.learning-option-card-tech:nth-child(3):hover .card-tech-border {
    border-color: rgba(79, 172, 254, 0.8);
    box-shadow:
        0 0 30px rgba(79, 172, 254, 0.4),
        inset 0 0 30px rgba(79, 172, 254, 0.1);
}

.learning-option-card-tech:hover .icon-circle-tech {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.learning-option-card-tech:nth-child(2):hover .icon-circle-tech {
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

.learning-option-card-tech:nth-child(3):hover .icon-circle-tech {
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.learning-option-card-tech:hover .card-arrow {
    opacity: 1;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.2);
}

/* 简约底部统计 */
.modal-footer-tech {
    padding: 30px 40px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 24px 24px;
}

.footer-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-item i {
    font-size: 1.3rem;
    color: #4f46e5;
}

/* Hero按钮优化 - 增强视觉反馈 */
.hero-main-btn {
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-main-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-main-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-main-btn:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(99, 102, 241, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.hero-main-btn:active {
    transform: translateY(-4px) scale(1.02) !important;
}

.hero-main-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.hero-main-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* 主按钮特殊效果 */
.hero-main-btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(102, 126, 234, 0.8);
    }
}

.hero-buttons {
    gap: 20px;
    padding: 10px 0;
}

/* 简化版导航栏 */
.header-simplified .nav-container {
    justify-content: space-between;
}

.header-simplified .logo {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.header-simplified .logo:hover {
    transform: scale(1.05);
    color: #ffd700;
}

/* 响应式优化 - 科技感弹窗 */
@media (max-width: 1024px) {
    .learning-options-grid-tech {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .learning-option-card-tech {
        min-height: auto !important;
    }

    .modal-header-tech {
        padding: 40px 30px 30px !important;
    }

    .modal-body-tech {
        padding: 0 30px 30px !important;
    }

    .modal-title-tech {
        font-size: 2rem !important;
    }

    .icon-wrapper-large {
        width: 80px !important;
        height: 80px !important;
    }

    .icon-wrapper-large i {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {

    /* 立即开始学习模态框 - 手机端居中悬浮卡片优化 */
    body.mobile-ui-mode .learning-modal-futuristic,
    .modal .modal-content.learning-modal-futuristic,
    .learning-modal-futuristic {
        width: 92vw !important;
        max-width: 500px !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 80vh !important;
        margin: auto !important;
        padding: 0 !important;
        border-radius: 24px !important;
        /* 保持圆角 */
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #0f172a !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
        /* 极致锁死缩放与动画 */
        transform: scale(1) !important;
        transition: none !important;
        animation: none !important;
    }

    /* 背景层圆角同步 */
    .tech-bg-layer {
        border-radius: 24px !important;
    }

    .modal-header-tech {
        padding: 0 15px !important;
        padding-top: calc(20px + env(safe-area-inset-top, 0px)) !important;
        min-height: auto !important;
    }

    .modal-body-tech {
        padding: 10px 15px !important;
    }

    .modal-title-tech {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
        background: #fff !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    .modal-subtitle-tech {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        opacity: 0.7 !important;
    }

    /* 隐藏刘海区域不需要的装饰 */
    .header-glow,
    .icon-orbit,
    .icon-wrapper-large {
        display: none !important;
    }

    /* 强制单列布局且紧凑 */
    .learning-options-grid-tech {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding-bottom: 20px !important;
    }

    .learning-option-card-tech {
        padding: 12px 15px !important;
        min-height: 60px !important;
        transform: none !important;
        transition: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 15px !important;
    }

    .icon-circle-tech {
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        font-size: 1.2rem !important;
    }

    .card-title-tech {
        font-size: 1rem !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* 简化卡片内容，只保留标题和图标 */
    .card-desc-tech,
    .card-features,
    .card-arrow,
    .icon-pulse {
        display: none !important;
    }

    .modal-footer-tech {
        padding: 15px !important;
        margin-top: 0 !important;
    }

    .footer-stats {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    .stat-item {
        font-size: 0.7rem !important;
    }

    .icon-wrapper-large {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }

    .icon-wrapper-large i {
        font-size: 1.6rem !important;
    }

    /* 隐藏图标轨道动画，节省空间 */
    .icon-orbit {
        display: none !important;
    }

    /* 隐藏头部光晕效果，节省空间 */
    .header-glow {
        display: none !important;
    }

    .learning-option-card-tech {
        padding: 15px 12px !important;
        min-height: auto !important;
    }

    .icon-circle-tech {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.6rem !important;
        margin-bottom: 12px !important;
    }

    .card-title-tech {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }

    .card-desc-tech {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    /* 功能标签优化 */
    .card-features {
        margin: 8px 0 !important;
        gap: 6px !important;
    }

    .feature-tag {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

    /* 底部统计优化 */
    .modal-footer-tech {
        padding: 12px 15px !important;
    }

    .footer-stats {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .stat-item {
        font-size: 0.75rem !important;
    }

    .modal-close-tech {
        width: 48px !important;
        /* 确保触摸目标至少48px */
        height: 48px !important;
        top: 8px !important;
        right: 8px !important;
        font-size: 1.3rem !important;
    }

    /* 确保网格布局为单列 */
    .learning-options-grid-tech {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* 通用模态框手机端优化 */
    .modal-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        border-radius: 0 !important;
        max-height: 100vh !important;
    }

    .modal-header h2,
    .modal-header h3 {
        font-size: 1.3rem !important;
    }

    .modal-close {
        width: 44px !important;
        height: 44px !important;
        top: 10px !important;
        right: 10px !important;
    }

    .hero-buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* 小屏幕单列布局 */
        gap: 10px !important;
        padding: 0 !important;
    }

    .hero-main-btn {
        font-size: 0.9rem !important;
        padding: 14px 20px !important;
        white-space: nowrap;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-main-btn i {
        font-size: 0.95rem !important;
        margin-right: 8px !important;
        flex-shrink: 0;
    }

    /* 移动端导航栏优化 - 防止内容溢出 */
    .header {
        padding: 12px 0 !important;
    }

    .nav-container {
        padding: 0 15px !important;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        font-size: 1.3rem !important;
    }

    .user-info {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-help {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }

    /* 容器优化 */
    .container {
        padding: 15px !important;
    }

    .card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 15px !important;
    }

    /* 模态框移动端优化 */
    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }

    .modal-header h2,
    .modal-header h3 {
        font-size: 1.3rem !important;
    }

    /* 表单元素优化 */
    textarea {
        min-height: 100px !important;
        font-size: 0.95rem !important;
    }

    .input-group label {
        font-size: 0.9rem !important;
    }

    /* 按钮组优化 */
    .modal-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal-actions .btn {
        width: 100% !important;
    }

    /* 图片上传区域优化 */
    .image-upload {
        padding: 1.5rem !important;
    }

    .upload-icon {
        font-size: 2rem !important;
    }

    /* 浮动符号隐藏 */
    .floating-symbols {
        display: none !important;
    }
}

/* 超小屏幕优化 (480px以下) */
@media (max-width: 480px) {

    /* 立即开始学习模态框 - 超小屏幕优化 */
    .modal-header-tech {
        padding: 20px 12px 15px !important;
    }

    .modal-body-tech {
        padding: 0 12px 15px !important;
    }

    .modal-title-tech {
        font-size: 1.2rem !important;
    }

    .modal-subtitle-tech {
        font-size: 0.75rem !important;
    }

    .icon-wrapper-large {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }

    .icon-wrapper-large i {
        font-size: 1.5rem !important;
    }

    .learning-option-card-tech {
        padding: 15px 12px !important;
    }

    .icon-circle-tech {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }

    .card-title-tech {
        font-size: 1.1rem !important;
    }

    .card-desc-tech {
        font-size: 0.75rem !important;
    }

    .feature-tag {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

    .stat-item {
        font-size: 0.75rem !important;
    }

    /* 通用模态框超小屏幕优化 */
    .modal-content {
        padding: 1.5rem 1rem !important;
    }

    .modal-header h2,
    .modal-header h3 {
        font-size: 1.2rem !important;
    }

    .modal-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal-actions .btn {
        width: 100% !important;
    }

    /* Hero区域按钮优化 */
    .hero-main-btn {
        font-size: 0.85rem !important;
        padding: 12px 16px !important;
    }

    .hero-main-btn i {
        font-size: 0.9rem !important;
    }
}