/* 我们的优势页面专用CSS */

/* 移除所有可能导致性能问题的样式 */
* {
    outline: none !important;
}

/* 页面标题和描述样式 - 我们的优势页面特有 */
.page-header-content .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header-content .header-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .page-header-content .title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-header-content .title {
        font-size: 2.5rem;
    }
    
    .page-header-content .header-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header-content .title {
        font-size: 2rem;
    }
    
    .page-header-content .header-desc {
        font-size: 0.9rem;
    }
}

/* 已撤销时间轴/转盘相关样式，页面仅保留封面文本样式 */

/* 时钟表盘优势展示区域样式 */
.advantages-clock-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.advantages-clock-section .main {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
    background-color: transparent;
    overflow: hidden;
}

.advantages-clock-section .iconfont {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 27%;
    z-index: 999;
    font: 900 80px '';
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.advantages-clock-section .iconfont:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.advantages-clock-section #up-btn {
    top: 5%;
}

.advantages-clock-section #down-btn {
    bottom: 5%;
}

.advantages-clock-section #content {
    width: 30%;
    height: 100%;
    position: absolute;
    left: 15%;
    overflow: hidden;
}

.advantages-clock-section .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white !important;
    transition: transform .8s ease-in-out;
    padding: 40px;
    box-sizing: border-box;
    background: rgba(44, 62, 80, 0.8) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.advantages-clock-section .card-time {
    font-size: 60px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.advantages-clock-section .card-title {
    font-size: 36px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
    line-height: 1.2;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.advantages-clock-section .card-passage {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    text-align: justify;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.advantages-clock-section #clock {
    height: 130%;
    aspect-ratio: 1 / 1;
    position: absolute;
    right: -28%;
    top: -15%;
    border-radius: 50%;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border: #ffd700 30px solid;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 10px 20px rgba(0,0,0,0.1);
}

@media(max-width:1000px) {
    .advantages-clock-section #clock {
        right: -90%;
    }
}

.advantages-clock-section #clock-table {
    width: 96%;
    height: 96%;
    border-radius: 50%;
    position: absolute;
    top: 2%;
    left: 2%;
    transition: transform .8s ease-in-out;
}

.advantages-clock-section .invisible-table {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform-origin: 50% 50%;
    position: absolute;
}

.advantages-clock-section .clock-thick {
    width: 6%;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    position: absolute;
    top: calc(50% - 3px);
    left: 0px;
    border-radius: 3px;
}

.advantages-clock-section .clock-thick .clock-text-wrapper {
    position: absolute;
    left: 140%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.advantages-clock-section .clock-thick .clock-number {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 1px solid rgba(44, 62, 80, 0.2);
    flex-shrink: 0;
}

.advantages-clock-section .clock-thick .clock-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffd700;
    background: rgba(44, 62, 80, 0.9);
    padding: 6px 10px;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    max-width: 120px;
    text-align: center;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.advantages-clock-section .clock-scale {
    width: 4%;
    height: 2px;
    background-color: #667eea;
    position: absolute;
    top: calc(50% - .5px);
    left: 0px;
    border-radius: 1px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .advantages-clock-section .main {
        flex-direction: column;
    }
    
    .advantages-clock-section #content {
        width: 80%;
        left: 10%;
        height: 60%;
        top: 10%;
    }
    
    .advantages-clock-section #clock {
        width: 80%;
        height: 80%;
        right: 10%;
        top: 70%;
        position: relative;
    }
    
    .advantages-clock-section .iconfont {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .advantages-clock-section .card-title {
        font-size: 28px;
    }
    
    .advantages-clock-section .card-passage {
        font-size: 14px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantages-clock-section .card {
    animation: fadeInUp 0.8s ease-out;
}

/* 时钟中心点样式 */
.advantages-clock-section #clock-center {
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 时钟指针样式 */
.advantages-clock-section #clock-pointer {
    width: 4px;
    height: 40%;
    background: linear-gradient(to top, #667eea, #764ba2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    transform-origin: bottom center;
    border-radius: 2px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 装饰性元素 */
.advantages-clock-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 卡片悬停效果 */
.advantages-clock-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 时钟表盘装饰环 */
.advantages-clock-section #clock::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.advantages-clock-section #clock::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite reverse;
}

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

/* 数字标签动画效果 */
.advantages-clock-section .clock-thick span {
    transition: all 0.3s ease;
}

.advantages-clock-section .clock-thick:hover .clock-text-wrapper {
    transform: scale(1.05);
}

.advantages-clock-section .clock-thick:hover .clock-number {
    background: rgba(255, 215, 0, 0.9);
    color: #333;
}

.advantages-clock-section .clock-thick:hover .clock-title {
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    border-color: rgba(44, 62, 80, 0.5);
}

/* 进度指示器 */
.advantages-clock-section .progress-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.advantages-clock-section .progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.advantages-clock-section .progress-dot.active {
    background: #ffd700;
    transform: scale(1.2);
}

/* 加载动画 */
.advantages-clock-section .loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 响应式优化 */
@media (max-width: 480px) {
    .advantages-clock-section .card {
        padding: 20px;
    }
    
    .advantages-clock-section .card-time {
        font-size: 40px;
    }
    
    .advantages-clock-section .card-title {
        font-size: 24px;
    }
    
    .advantages-clock-section .card-passage {
        font-size: 12px;
    }
    
    .advantages-clock-section .iconfont {
        width: 60px;
        height: 60px;
        font-size: 60px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .advantages-clock-section {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .advantages-clock-section #clock {
        background: linear-gradient(145deg, #2c3e50, #34495e);
        border-color: #f39c12;
    }
    
    .advantages-clock-section .clock-thick span {
        background: rgba(44, 62, 80, 0.9);
        color: #f39c12;
    }
}