/* 头部Logo文字样式 */
.header-logo-text {
    margin: 0;
    padding: 15px 0;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.header.scrolled .header-logo-text {
    font-size: 28px;
    color: #25bcf1;
    text-shadow: 0 2px 8px rgba(37, 188, 241, 0.3);
}

/* 全新Hero区域样式 - 时间管理可视化 */

.hero-section {
    position: relative;
    min-height: 650px;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab, #f093fb, #4facfe, #43e97b, #fa709a);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    margin-top: -76px;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* 左侧内容区 */
.hero-left {
    flex: 1;
    color: #fff;
    padding-right: 60px;
}

.hero-title {
    margin: 0 0 30px;
}

.title-main {
    display: block;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fff 50%, #e0f7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
    position: relative;
}

.title-main::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
}

.title-sub {
    display: block;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
                drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 60px rgba(255, 255, 255, 0.5));
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

/* 三大核心亮点 */
.hero-highlights {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    padding: 20px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.highlight-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.highlight-icon {
    font-size: 42px;
    line-height: 1;
    flex-shrink: 0;
    animation: highlightPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.highlight-content h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.highlight-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
}

/* 统计数据 */
.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.5);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* 右侧可视化区域 */
.hero-right {
    flex: 1;
    position: relative;
}

.time-visualization {
    position: relative;
    width: 100%;
    height: 520px;
}

/* 动态时钟 */
.clock-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border-radius: 50%;
    padding: 25px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: clockPulse 4s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% {
        box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3),
                    inset 0 2px 10px rgba(255, 255, 255, 0.3),
                    0 0 0 1px rgba(255, 255, 255, 0.2),
                    0 0 50px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4),
                    inset 0 2px 10px rgba(255, 255, 255, 0.4),
                    0 0 0 1px rgba(255, 255, 255, 0.3),
                    0 0 80px rgba(255, 255, 255, 0.4);
    }
}

.clock-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

#hour-hand {
    transform-origin: 100px 100px;
    animation: rotateHour 43200s linear infinite;
}

#minute-hand {
    transform-origin: 100px 100px;
    animation: rotateMinute 3600s linear infinite;
}

#second-hand {
    transform-origin: 100px 100px;
    animation: rotateSecond 60s linear infinite;
}

@keyframes rotateHour {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMinute {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateSecond {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 四象限网格 */
.quadrant-grid {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(2, 90px);
    grid-template-rows: repeat(2, 90px);
    gap: 12px;
    z-index: 10;
}

.quadrant {
    position: relative;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.quadrant::before {
    content: attr(data-label);
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.quadrant:hover {
    transform: scale(1.15) rotate(5deg);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.quadrant-icon {
    font-size: 32px;
    margin-bottom: 5px;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@keyframes iconBounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-8px) scale(1.1); 
    }
}

.quadrant-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--progress);
    background: linear-gradient(to top, rgba(37, 188, 241, 0.3), transparent);
    transition: height 0.5s ease;
}

.q1 .quadrant-progress { background: linear-gradient(to top, rgba(255, 107, 107, 0.3), transparent); }
.q2 .quadrant-progress { background: linear-gradient(to top, rgba(255, 193, 7, 0.3), transparent); }
.q3 .quadrant-progress { background: linear-gradient(to top, rgba(105, 234, 90, 0.3), transparent); }
.q4 .quadrant-progress { background: linear-gradient(to top, rgba(158, 158, 158, 0.3), transparent); }

/* 番茄钟 */
.tomato-timer {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(25px);
    border-radius: 50%;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 107, 107, 0.3);
    animation: tomatoPulse 3s ease-in-out infinite;
}

@keyframes tomatoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3),
                    0 0 0 1px rgba(255, 255, 255, 0.2),
                    0 0 30px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4),
                    0 0 0 1px rgba(255, 255, 255, 0.3),
                    0 0 50px rgba(255, 107, 107, 0.5);
    }
}

.tomato-svg {
    width: 100%;
    height: 100%;
}

.tomato-progress {
    animation: tomatoCountdown 25s linear infinite;
}

@keyframes tomatoCountdown {
    from {
        stroke-dashoffset: 283;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* 任务流动画 */
.task-flow {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 240px;
    z-index: 10;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(25px);
    padding: 12px 18px;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    animation: taskSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateX(-40px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@keyframes taskSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.task-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #69ea5a, #0be6e6);
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(105, 234, 90, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(105, 234, 90, 0);
    }
}

.task-text {
    font-weight: 500;
}

/* 背景装饰元素 */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    animation: floatCircle 25s ease-in-out infinite;
    filter: blur(40px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 107, 107, 0.05));
}

.circle-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -100px;
    animation-delay: 7s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(37, 188, 241, 0.05));
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 5%;
    animation-delay: 14s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(105, 234, 90, 0.05));
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    33% {
        transform: translate(50px, -50px) scale(1.2) rotate(120deg);
        opacity: 0.6;
    }
    66% {
        transform: translate(-30px, 40px) scale(0.9) rotate(240deg);
        opacity: 0.5;
    }
}

.floating-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent);
    animation: floatLine 20s linear infinite;
    filter: blur(1px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.line-1 {
    width: 500px;
    top: 25%;
    left: -500px;
    animation-delay: 0s;
}

.line-2 {
    width: 600px;
    bottom: 35%;
    right: -600px;
    animation-delay: 10s;
}

@keyframes floatLine {
    from {
        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateX(calc(100vw + 600px)) scaleX(1.5);
        opacity: 0;
    }
}

/* 响应式设计 */
@media only screen and (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 15px;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .time-visualization {
        height: 400px;
    }
    
    .clock-container {
        width: 220px;
        height: 220px;
    }
}

@media only screen and (max-width: 640px) {
    .header-logo-text {
        font-size: 24px;
        padding: 10px 0;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 80px 0 60px;
    }
    
    .title-main {
        font-size: 42px;
    }
    
    .title-sub {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-highlights {
        gap: 12px;
    }
    
    .highlight-item {
        padding: 15px 20px;
    }
    
    .highlight-icon {
        font-size: 36px;
    }
    
    .highlight-content h3 {
        font-size: 18px;
    }
    
    .highlight-content p {
        font-size: 13px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 25px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .time-visualization {
        height: 300px;
    }
    
    .clock-container {
        width: 180px;
        height: 180px;
    }
    
    .quadrant-grid {
        grid-template-columns: repeat(2, 60px);
        grid-template-rows: repeat(2, 60px);
        gap: 8px;
        top: 10px;
        right: 10px;
    }
    
    .quadrant-icon {
        font-size: 20px;
    }
    
    .tomato-timer {
        width: 90px;
        height: 90px;
        bottom: 20px;
        right: 20px;
    }
    
    .task-flow {
        left: 10px;
        top: 10px;
    }
    
    .task-item {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .task-check {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}
