/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: #1a73e8;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
}

/* 容器布局 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* LOGO样式 */
.logo {
    padding: 15px 0;
    margin-bottom: 40px;
}

.logo img {
    height: 100px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

/* 主要内容区 */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 600px;
    padding-bottom: 40px;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #666;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    margin-top: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }
    
    .container {
        padding: 20px;
    }
    
    .logo img {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
}

/* 其他通用样式 */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff6b00, #ff9d5c);
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

/* 功能详情弹窗样式 */
.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.feature-modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.feature-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.feature-modal-close:hover {
    color: #333;
}

.feature-modal-body {
    padding: 20px;
}

.feature-detail-media {
    margin-bottom: 20px;
    text-align: center;
}

.feature-detail-media img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-detail-media video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    background-color: #000;
}

.feature-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Toast 提示组件样式 */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

.toast {
    padding: 10px 20px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80vw;
    word-wrap: break-word;
}

.toast.success {
    background-color: rgba(46, 125, 50, 0.9);
}

.toast.error {
    background-color: rgba(255, 107, 0, 0.9);
}

.toast.info {
    background-color: rgba(2, 119, 189, 0.9);
}

.toast.show {
    opacity: 1;
}

/* 确认对话框样式 */
.confirm-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.confirm-dialog-overlay.show {
    opacity: 1;
    visibility: visible;
}

.confirm-dialog {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    max-width: 90%;
    padding: 20px;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.confirm-dialog-overlay.show .confirm-dialog {
    transform: translateY(0);
}

.confirm-dialog-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.confirm-dialog-message {
    margin-bottom: 20px;
    color: #666;
}

.confirm-dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.confirm-dialog-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.confirm-dialog-button.cancel {
    background-color: #f1f1f1;
    color: #666;
}

.confirm-dialog-button.cancel:hover {
    background-color: #e5e5e5;
}

.confirm-dialog-button.confirm {
    background-color: #2196f3;
    color: white;
}

.confirm-dialog-button.confirm:hover {
    background-color: #0d8aee;
} 