/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 页面主体样式 */
body {
    background: linear-gradient(135deg, #d282ff 0%, #009d77 70%, #7b36ff 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    padding-top: 80px;
}

/* 顶部导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    gap: 25px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 社交平台图标样式 */
.social-icon {
    position: relative;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* 平台ID弹窗样式 */
.id-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}

.id-popup::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.id-popup.show {
    opacity: 1;
    visibility: visible;
}

/* 提示弹窗样式 */
.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    overflow: hidden;
    display: none;
}

.notification-popup.show {
    display: block;
    animation: popup 0.3s ease-out;
}

@keyframes popup {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.popup-header {
    background-color: #7b36ff;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.2);
}

.popup-content {
    padding: 20px;
    line-height: 1.6;
}

.popup-footer {
    padding: 15px 20px;
    background-color: #f5f5f5;
    text-align: right;
}

.confirm-btn {
    background-color: #7b36ff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.confirm-btn:hover {
    background-color: #3a00b0;
}

/* 悬浮图标样式 */
.floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #7b36ff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    z-index: 1001;
    display: none;
}

.floating-icon.show {
    display: flex;
}

.floating-icon:hover {
    transform: scale(1.1);
    background-color: #3a00b0;
}

/* 遮罩层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.show {
    display: block;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    width: 100%;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 内容页面样式 */
.content-page {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 50px;
}

.content-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-section h2 {
    color: #7b36ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.content-section h2 i {
    margin-right: 10px;
    font-size: 1.2em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 列表样式 */
.feature-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    margin-right: 10px;
    color: #7b36ff;
    margin-top: 4px;
}

/* 时间线样式 */
.timeline {
    position: relative;
    margin: 20px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #d282ff;
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    font-weight: bold;
    color: #7b36ff;
    margin-bottom: 5px;
}

.timeline-content {
    background-color: #f9f5ff;
    padding: 15px;
    border-radius: 8px;
}

/* 联系页面样式 */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background-color: #f9f5ff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #7b36ff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 5px;
}

.contact-info .note {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ样式 */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f5ff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f0e6ff;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
}

.faq-question i {
    margin-right: 10px;
    color: #7b36ff;
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-question.active + .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* 表单样式 */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7b36ff;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #7b36ff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3a00b0;
}

/* 卡片容器样式 */
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

/* 卡片基础样式 */
.benefit-card {
    background: white;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 卡片角标样式 */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.badge-new {
    background-color: #4CAF50;
}

.badge-hot {
    background-color: #FF5252;
}

.badge-updated {
    background-color: #2196F3;
}

.badge-coming {
    background-color: #9E9E9E;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: #7b36ff;
    color: white;
    padding: 25px;
    text-align: center;
}

.card-header i {
    font-size: 48px;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    display: block;
    background: #7b36ff;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: auto;
}

.card-link:hover {
    background: #3a00b0;
}

.card-link i {
    margin-left: 8px;
    font-size: 0.9em;
}

/* 底部区域样式 */
.bottom-footer {
    width: 100%;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 底部社交图标样式 */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.4rem;
}

.footer-social a {
    color: white;
    transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
    color: #e0c9ff;
    transform: scale(1.1);
}

/* 底部链接样式 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e0c9ff;
    text-decoration: underline;
}

/* 版权信息样式 */
.copyright-info {
    text-align: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 提示框样式 */
.tip-box {
    background: #f0e6ff;
    border-left: 4px solid #7b36ff;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box p {
    margin-bottom: 0;
    color: #3a00b0;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .content-page {
        padding: 25px 20px;
    }
    
    .cards-container {
        gap: 20px;
    }
    
    .benefit-card {
        width: 100%;
        max-width: 350px;
    }

    .navbar {
        gap: 15px;
        padding: 10px 15px;
    }

    .social-icon {
        font-size: 1.2rem;
    }

    .footer-links {
        gap: 15px;
        padding: 0 10px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-methods {
        flex-direction: column;
    }
}