/**
 * 优润泽培训中心 - 高端主题样式
 * Premium Theme for PC Web Pages
 * 基于教师页面设计风格的全站统一主题
 */

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

/* ==================== 页面整体背景 ==================== */
body.premium-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

/* 背景装饰层 */
body.premium-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ==================== 顶部装饰条 ==================== */
.top-decoration {
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #ef4444, #ec4899, #8b5cf6, #6366f1);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
    position: relative;
    z-index: 1;
}

/* ==================== 主容器 ==================== */
.premium-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 30px 60px;
    position: relative;
    z-index: 1;
}

/* ==================== 页面标题区域 ==================== */
.premium-page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
    position: relative;
    z-index: 2;
}

.premium-page-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.premium-page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    letter-spacing: 3px;
}

/* ==================== 内容卡片 ==================== */
.premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* ==================== 网格布局 ==================== */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.premium-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.premium-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.premium-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ==================== 按钮样式 ==================== */
.premium-btn {
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.premium-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.premium-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.premium-btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.premium-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.premium-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.premium-btn-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* ==================== 图片容器 ==================== */
.premium-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.premium-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.premium-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ==================== 标签/徽章 ==================== */
.premium-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.premium-badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.premium-badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.premium-badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* ==================== 动画 ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 应用动画 */
.premium-animate-up {
    animation: fadeInUp 0.6s ease backwards;
}

.premium-animate-down {
    animation: fadeInDown 0.6s ease backwards;
}

.premium-animate-fade {
    animation: fadeIn 0.6s ease backwards;
}

/* 延迟动画 */
.premium-animate-delay-1 { animation-delay: 0.1s; }
.premium-animate-delay-2 { animation-delay: 0.2s; }
.premium-animate-delay-3 { animation-delay: 0.3s; }
.premium-animate-delay-4 { animation-delay: 0.4s; }
.premium-animate-delay-5 { animation-delay: 0.5s; }
.premium-animate-delay-6 { animation-delay: 0.6s; }

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .premium-page-container {
        padding: 120px 25px 50px;
    }
    
    .premium-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .premium-page-container {
        padding: 100px 20px 40px;
    }
    
    .premium-page-title {
        font-size: 36px;
    }
    
    .premium-page-subtitle {
        font-size: 16px;
    }
    
    .premium-grid,
    .premium-grid-2,
    .premium-grid-3,
    .premium-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .premium-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .premium-page-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .premium-page-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .premium-card {
        padding: 25px 15px;
        border-radius: 16px;
    }
}

/* ==================== 高端Footer设计（含毛玻璃） ==================== */
body.premium-theme .common_footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

/* Footer顶部装饰波浪 */
body.premium-theme .common_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #00f2fe 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Footer背景装饰 */
body.premium-theme .common_footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer内容区域 */
body.premium-theme .common_footer .content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
    padding: 60px 20px 40px !important;
}

/* Logo区域 */
body.premium-theme .common_footer .content .left {
    position: relative;
}

body.premium-theme .common_footer .content .left::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

body.premium-theme .common_footer .content .left img {
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.premium-theme .common_footer .content .left:hover img {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.5));
}

body.premium-theme .common_footer .content .left .text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

/* 二维码区域 */
body.premium-theme .common_footer .content .next,
body.premium-theme .common_footer .content .middle {
    position: relative;
}

body.premium-theme .common_footer .content .next .text,
body.premium-theme .common_footer .content .middle .text {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

body.premium-theme .common_footer .content .next .text::after,
body.premium-theme .common_footer .content .middle .text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

body.premium-theme .common_footer .content .next:hover .text::after,
body.premium-theme .common_footer .content .middle:hover .text::after {
    transform: scaleX(1);
}

body.premium-theme .common_footer .content .next img,
body.premium-theme .common_footer .content .middle img {
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.premium-theme .common_footer .content .next:hover img,
body.premium-theme .common_footer .content .middle:hover img {
    border-color: #667eea;
    transform: translateY(-8px) rotate(2deg) scale(1.08);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

/* 链接区域 */
body.premium-theme .common_footer .content .right {
    position: relative;
}

body.premium-theme .common_footer .content .right .right_guanyu_title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 12px;
}

body.premium-theme .common_footer .content .right .right_guanyu_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

body.premium-theme .common_footer .content .right .text1,
body.premium-theme .common_footer .content .right .text2,
body.premium-theme .common_footer .content .right .text3 {
    margin: 12px 0;
    position: relative;
    padding-left: 20px;
}

body.premium-theme .common_footer .content .right .text1::before,
body.premium-theme .common_footer .content .right .text2::before,
body.premium-theme .common_footer .content .right .text3::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 14px;
    transition: transform 0.3s ease;
}

body.premium-theme .common_footer .content .right .text1:hover::before,
body.premium-theme .common_footer .content .right .text2:hover::before,
body.premium-theme .common_footer .content .right .text3:hover::before {
    transform: translateX(4px);
}

body.premium-theme .common_footer .content .right a {
    color: #b8b8d1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

body.premium-theme .common_footer .content .right a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

body.premium-theme .common_footer .content .right a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

body.premium-theme .common_footer .content .right a:hover::after {
    width: 100%;
}

/* 友情链接区域 - 毛玻璃效果 */
body.premium-theme .common_footer .you_url {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.premium-theme .common_footer .you_url .li {
    transition: all 0.3s ease;
    position: relative;
}

body.premium-theme .common_footer .you_url .li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

body.premium-theme .common_footer .you_url .li:hover {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    transform: translateY(-3px);
}

body.premium-theme .common_footer .you_url .li:hover::after {
    width: 80%;
}

body.premium-theme .common_footer .you_url .li text {
    color: #b8b8d1;
    transition: color 0.3s ease;
}

body.premium-theme .common_footer .you_url .li:hover text {
    color: #ffffff;
}

/* 版权信息区域 - 毛玻璃效果 */
body.premium-theme .common_footer .copyright {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #8a8a9e;
    font-size: 13px;
    padding: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body.premium-theme .common_footer .content {
        padding: 40px 15px 30px !important;
    }
    
    body.premium-theme .common_footer .content .left,
    body.premium-theme .common_footer .content .next,
    body.premium-theme .common_footer .content .middle,
    body.premium-theme .common_footer .content .right {
        margin-bottom: 30px;
    }
}

/* ==================== 辅助类 ==================== */
.premium-text-center {
    text-align: center;
}

.premium-text-white {
    color: white;
}

.premium-mb-20 {
    margin-bottom: 20px;
}

.premium-mb-30 {
    margin-bottom: 30px;
}

.premium-mb-40 {
    margin-bottom: 40px;
}

.premium-mt-20 {
    margin-top: 20px;
}

.premium-mt-30 {
    margin-top: 30px;
}

.premium-mt-40 {
    margin-top: 40px;
}
