/* src/css/business-style.css */
/* 商务风样式 */

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 95%;
    width: 450px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    animation: none;
    transform: rotate(0deg);
}

.logo span {
    transform: rotate(0deg);
}

h1 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-shadow: none;
}

.countdown {
    font-size: 3.2rem;
    font-weight: 700;
    color: #3498db;
    margin: 1.2rem 0;
    text-shadow: none;
    position: relative;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.countdown::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 2px;
}

.message {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.target-url {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    color: #3498db;
    word-break: break-all;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #ecf0f1;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
    width: 100%;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.loading-dots {
    display: inline-flex;
    gap: 5px;
    margin-left: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.footer {
    margin-top: 1.5rem;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* 引导层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.guide-box {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 90%;
    width: 450px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.overlay.active .guide-box {
    transform: translateY(0);
}

.guide-icon {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    animation: none;
}

.guide-title {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.guide-text {
    color: #7f8c8d;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.browser-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

.browser-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.browser-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.browser-icon span {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.guide-btn {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

.guide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 1.8rem 1.5rem;
        width: 95%;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    .countdown {
        font-size: 2.5rem;
    }
    
    .logo {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .guide-box {
        padding: 1.8rem;
    }
    
    .guide-title {
        font-size: 1.4rem;
    }
    
    .guide-text {
        font-size: 0.95rem;
    }
    
    .browser-icons {
        gap: 15px;
    }
    
    .browser-icon i {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}