/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #3498db;
    margin-right: 15px;
}

.logo h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.tagline {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* 会员磁贴样式 */
.membership-tiles {
    margin-bottom: 60px;
}

.membership-tiles h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.tiles-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.membership-tile {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.membership-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.membership-tile.selected {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.recommended {
    background-color: #e74c3c;
    color: white;
}

.high-value {
    background-color: #2ecc71;
    color: white;
}

.icon {
    text-align: center;
    margin-bottom: 20px;
}

.icon i {
    font-size: 3rem;
}

.vip-tile .icon i {
    color: #f39c12;
}

.svip-tile .icon i {
    color: #9b59b6;
}

.membership-tile h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    text-align: center;
    margin-bottom: 20px;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.period {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.benefits {
    list-style: none;
    margin-bottom: 30px;
}

.benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.benefits li i {
    color: #2ecc71;
    margin-right: 10px;
}

.select-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-weight: bold;
    margin-top: 20px;
}

.select-indicator i {
    margin-right: 5px;
}

.membership-tile.selected .select-indicator {
    display: flex;
}

/* 权益对比表样式 */
.benefits-comparison {
    margin-bottom: 60px;
}

.benefits-comparison h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

tr:last-child td {
    border-bottom: none;
}

.yes {
    color: #2ecc71;
}

.no {
    color: #e74c3c;
}

.limited {
    color: #f39c12;
    font-weight: bold;
}

.unlimited {
    color: #9b59b6;
    font-weight: bold;
}

/* 付款方式说明区样式 */
.payment-method {
    margin-bottom: 60px;
}

.payment-method h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.method-container {
    display: flex;
    justify-content: center;
}

.wechat-payment {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 300px;
}

.wechat-payment i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 15px;
}

.wechat-payment h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* 购买按钮区域样式 */
.purchase-button {
    text-align: center;
    margin-bottom: 60px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary i {
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.terms-link, .privacy-link {
    color: #3498db;
    text-decoration: none;
}

.terms-link:hover, .privacy-link:hover {
    text-decoration: underline;
}

/* 底部区域样式 */
.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #7f8c8d;
}

.contact-links {
    margin-top: 15px;
}

.contact-link {
    color: #3498db;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 提示弹窗样式 */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.2rem;
    z-index: 1000;
    display: none;
}

.notification.show {
    display: block;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* 付款页面样式 */
.payment-page {
    background-color: #f8f9fa;
}

.back-to-home {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-link i {
    margin-right: 10px;
}

.back-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.membership-confirmation {
    margin-bottom: 40px;
    text-align: center;
}

.membership-confirmation h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.selected-membership-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.qrcode-section {
    margin-bottom: 60px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.qrcode-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 350px;
}

.qrcode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.qrcode-image {
    margin-bottom: 20px;
}

.qrcode-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
}

.qrcode-desc {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.purchase-process {
    margin-bottom: 60px;
}

.purchase-process h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: #eee;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-content p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .process-step {
        width: 45%;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .membership-tiles h2,
    .benefits-comparison h2,
    .payment-method h2,
    .purchase-process h2 {
        font-size: 1.5rem;
    }

    .process-step {
        width: 100%;
    }

    .qrcode-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }

    .membership-tile {
        width: 100%;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
