/* 虚拟主机默认页面CSS - vhost.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

a {
    color: #1e6bb8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #155293;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    color: white;
    padding: 35px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.logo i {
    font-size: 3rem;
    color: #3498db;
    background: white;
    padding: 18px;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.logo i:hover {
    transform: rotate(360deg);
}

.logo h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #4fc3f7;
    font-weight: bold;
    margin: 0 8px;
    font-size: 2.8rem;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-top: 8px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* 状态提示区域 */
.status-alert {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #fff9e6 0%, #fff3cd 100%);
    border-left: 6px solid #ff9800;
    padding: 28px 35px;
    margin: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.1);
    transition: transform 0.3s ease;
}

.status-alert:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.15);
}

.status-icon {
    margin-right: 25px;
    flex-shrink: 0;
}

.status-icon i {
    font-size: 3.2rem;
    color: #ff9800;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.status-message h2 {
    color: #d84315;
    margin-bottom: 10px;
    font-size: 1.9rem;
    font-weight: 700;
}

.status-message p {
    color: #666;
    font-size: 1.15rem;
    opacity: 0.9;
}

/* 内容区域通用样式 */
section {
    margin: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

section:last-of-type {
    border-bottom: none;
}

h3 {
    font-size: 1.7rem;
    margin-bottom: 28px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

h3 i {
    color: #3498db;
    font-size: 1.8rem;
}

/* 原因区域 */
.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-item {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 28px 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2c3e50);
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.reason-item i {
    font-size: 2.8rem;
    color: #3498db;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reason-item h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
}

.reason-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* 解决方法区域 */
.solution-steps {
    margin-left: 25px;
    margin-bottom: 35px;
    counter-reset: step-counter;
}

.solution-steps li {
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
    list-style-type: none;
}

.solution-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.solution-steps strong {
    display: block;
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.solution-steps p {
    color: #555;
    padding-left: 5px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.support-note {
    background: linear-gradient(to right, #e8f4fd 0%, #d4e9fa 100%);
    padding: 22px 25px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
    transition: transform 0.3s ease;
}

.support-note:hover {
    transform: translateX(5px);
}

.support-note p {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
}

.support-note i {
    color: #3498db;
    font-size: 1.5rem;
}

/* 优势区域 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 25px;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2c3e50);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.5s ease;
}

.feature:hover i {
    transform: scale(1.2);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 服务链接区域 */
.service-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-link:hover {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    transform: translateY(-8px);
    border-color: #2980b9;
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.3);
    text-decoration: none;
}

.service-link:hover i,
.service-link:hover span {
    color: white;
    transform: scale(1.1);
}

.service-link i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-link span {
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #2c3e50;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    text-align: center;
    padding: 35px 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #3498db, #4fc3f7, #3498db);
}

.footer p {
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.copyright {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        max-width: 95%;
    }
    
    .service-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
        background: #f5f7fa;
    }
    
    .container {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .header, section {
        margin: 25px 20px;
    }
    
    .header {
        padding: 25px 30px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
        margin-top: 10px;
    }
    
    .logo i {
        font-size: 2.5rem;
        padding: 15px;
    }
    
    .status-alert {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .status-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .reasons, .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 20px;
    }
    
    .logo h1 {
        font-size: 1.7rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .status-alert {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .status-message h2 {
        font-size: 1.6rem;
    }
    
    section {
        margin: 25px 15px;
        padding-bottom: 25px;
    }
    
    .service-links {
        grid-template-columns: 1fr;
    }
    
    .solution-steps li {
        margin-bottom: 25px;
    }
    
    .footer {
        padding: 25px 20px;
    }
    
    .footer p {
        font-size: 1.1rem;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .header {
        background: white !important;
        color: black !important;
        border-bottom: 2px solid #ccc;
    }
    
    .logo i {
        color: black !important;
        background: white !important;
        border: 1px solid #ccc;
    }
    
    .service-link, .feature, .reason-item {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .footer {
        background: white !important;
        color: black !important;
        border-top: 2px solid #ccc;
    }
}