:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    margin: 0 0 15px 0;
    color: var(--bg-dark);
    font-weight: 700;
}

p {
    margin: 0 0 15px 0;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
.bg-gradient { background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%); color: var(--white); }

.hidden { display: none !important; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline-light, .btn-outline-dark, .btn-vip-action {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,123,255,0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,123,255,0.4);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
}

.btn-outline-dark:hover {
    background: var(--bg-dark);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 5px;
}

.navbar nav ul {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-weight: 500;
    position: relative;
}

.navbar nav a:hover, .navbar nav a.active {
    color: var(--primary-color);
}

.navbar nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar nav a:hover::after {
    width: 100%;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.member-badge {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(241, 196, 15, 0.3);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

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

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card .desc {
    flex-grow: 1;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tags {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.price-box {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 5px;
}

.discount-tag {
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 5px;
}

.start-tag {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    min-width: 150px;
    padding: 0 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
}

.step-line {
    flex: 0 0 50px;
    height: 2px;
    background: #ddd;
    margin-top: 40px;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--text-color);
}

.case-info {
    padding: 20px;
}

.case-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.case-info h4 {
    font-size: 1.1rem;
    margin: 5px 0 10px;
}

.case-info p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}

/* Membership Section */
.membership-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.membership-info {
    flex: 1;
}

.membership-info h2 {
    color: var(--white);
}

.membership-info p {
    color: rgba(255, 255, 255, 0.9);
}

.benefit-list {
    margin-top: 30px;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-list i {
    color: var(--accent-color);
}

.membership-card-display {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vip-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    width: 320px;
    border-radius: 15px;
    padding: 30px;
    color: #ffd700;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.vip-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.vip-body {
    text-align: center;
    margin-bottom: 30px;
}

.price-tag .currency { font-size: 1.5rem; }
.price-tag .amount { font-size: 3rem; font-weight: bold; line-height: 1; }
.price-tag .period { font-size: 1rem; opacity: 0.8; }
.vip-body .original-price { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 5px; text-decoration: line-through;}

.btn-vip-action {
    width: 100%;
    background: linear-gradient(to right, #ffd700, #fdb931);
    color: #333;
    border: none;
    font-weight: bold;
}

.btn-vip-action:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(253, 185, 49, 0.4);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author .info h4 {
    margin: 0;
    font-size: 1rem;
}

.author .info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Agreement Box */
.agreement-box {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 40px;
}

.agreement-item {
    text-align: center;
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.agreement-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #212529;
    color: #adb5bd;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    background: #1a1e21;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.chat-body {
    height: 400px;
    display: none;
    flex-direction: column;
    background: #f1f3f5;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.system {
    background: var(--white);
    color: var(--text-color);
    border-radius: 15px 15px 15px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    margin-left: auto;
    border-radius: 15px 15px 0 15px;
}

.chat-input-area {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--primary-color);
}

.chat-input-area button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-area button:hover {
    background: var(--primary-dark);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.modal-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-header p {
    margin: 0;
    font-size: 0.9rem;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 1;
}

.close:hover { color: #333; }

#refundForm {
    padding: 30px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.required { color: red; }

.payment-modal .modal-content {
    text-align: center;
}

.payment-methods {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-pay {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #ddd;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.btn-pay.wechat { color: #07c160; border-color: #07c160; }
.btn-pay.wechat:hover { background: #07c160; color: white; }

.btn-pay.alipay { color: #1677ff; border-color: #1677ff; }
.btn-pay.alipay:hover { background: #1677ff; color: white; }

.payment-tip {
    font-size: 0.8rem;
    color: #999;
    padding-bottom: 20px;
}

/* --- New Styles for Service Purchase Modal --- */
#purchaseModal {
    align-items: center;
    justify-content: center;
}

.purchase-header {
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%); /* 高端深色渐变 */
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); /* 替换为更稳重的深蓝/墨绿渐变 */
    color: white;
    padding: 30px 30px 70px; /* 恢复适当的padding */
    text-align: center;
    position: relative;
    border-radius: 15px 15px 0 0;
    overflow: visible; /* 允许子元素溢出 */
}

.purchase-header .close {
    color: rgba(255, 255, 255, 0.6);
    text-shadow: none;
    font-weight: 300;
    transition: 0.3s;
}
.purchase-header .close:hover {
    color: white;
    transform: rotate(90deg);
}

.purchase-header h2 {
    color: white;
    margin: 10px 0;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.purchase-header .price-display {
    margin-top: 10px;
    font-size: 2.5rem; /* 稍微调小字体 */
    font-weight: 700;
    font-family: 'Times New Roman', serif; /* 衬线体更显高端 */
    color: #fdbb2d; /* 金色 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.purchase-header .original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-left: 10px;
    color: white;
    font-family: sans-serif;
    font-weight: normal;
}

/* 高端保障条 */
.guarantee-bar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    z-index: 10;
}

.g-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
}

.g-item i {
    font-size: 1.8rem;
    color: #2c5364;
}

.g-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.g-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g-value {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.g-divider {
    width: 1px;
    background: #eee;
    height: 30px;
    align-self: center;
}

.purchase-body {
    padding: 60px 40px 40px; /* 增加内边距 */
    max-height: 55vh; /* 增加最大高度 */
    overflow-y: auto;
    background: #fdfdfd;
}

.details-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #fdbb2d;
    font-weight: bold;
}

.purchase-list {
    margin: 0;
    padding: 0;
}

.purchase-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    transition: 0.2s;
}

.purchase-list li:hover {
    background: rgba(0,0,0,0.01);
    padding-left: 10px;
}

.purchase-list li:last-child {
    border-bottom: none;
}

.li-icon {
    width: 24px;
    height: 24px;
    background: rgba(44, 83, 100, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.li-icon i {
    color: #2c5364;
    font-size: 0.8rem;
}

.li-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.purchase-footer {
    padding: 20px 30px;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    border-radius: 0 0 15px 15px;
}

.purchase-footer .btn-primary {
    background: linear-gradient(135deg, #2c5364 0%, #203a43 100%);
    border: none;
    font-size: 1.1rem;
    padding: 15px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(44, 83, 100, 0.3);
}

.purchase-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 83, 100, 0.4);
}

/* 适配移动端 */
@media (max-width: 768px) {
    /* 购买详情弹窗移动端适配 */
    #purchaseModal {
        align-items: flex-end; /* 移动端底部对齐或稍微靠上，防止被键盘遮挡 */
        padding: 10px;
    }

    #purchaseModal .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 15px 15px 0 0; /* 底部贴边，顶部圆角 */
        max-height: 90vh; /* 限制最大高度 */
        display: flex;
        flex-direction: column;
    }

    .purchase-header {
        padding: 20px 20px 30px; /* 减小头部内边距 */
        border-radius: 15px 15px 0 0;
    }

    .purchase-header h2 {
        font-size: 1.5rem;
    }

    .purchase-header .price-display {
        font-size: 2rem;
    }

    .guarantee-bar {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin-top: 15px;
        padding: 10px 0;
        background: rgba(255,255,255,0.1);
        flex-wrap: wrap; /* 允许换行 */
        gap: 10px;
    }
    
    .g-item {
        flex: 1;
        min-width: 45%; /* 移动端两列显示保障项 */
        justify-content: center;
        padding: 0;
    }

    .g-divider { 
        display: none; /* 移动端隐藏分割线 */
    }
    
    .purchase-body {
        padding: 20px 20px 10px;
        max-height: none; /* 取消固定最大高度 */
        flex: 1; /* 占据剩余空间 */
        overflow-y: auto; /* 允许内部滚动 */
    }

    .purchase-footer {
        padding: 15px 20px; /* 确保底部按钮可见 */
        position: sticky;
        bottom: 0;
        background: white;
        z-index: 10;
        border-top: 1px solid #eee;
    }

    /* 原有的移动端适配 */
    .navbar nav { display: none; } /* Simplified for demo, ideally hamburger menu */
    
    .hero h1 { font-size: 2.5rem; }
    
    .process-steps { flex-direction: column; align-items: center; }
    
    .step-line {
        width: 2px;
        height: 50px;
        margin: 10px 0;
    }
    
    .membership-container { flex-direction: column; text-align: center; }
    
    .agreement-box { flex-direction: column; }
    
    .chat-widget { width: 90%; right: 5%; bottom: 10px; }
    
    .hero-stats { flex-direction: column; gap: 20px; }
}

/* Login Modal Styles - Chinese Style (Blue Theme) */
.login-modal-content {
    max-width: 400px;
    border-radius: 8px; /* 减少圆角，更方正 */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid #007bff; /* 蓝色边框 */
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); /* 增加一点纹理 */
}

.login-header {
    text-align: center;
    padding: 40px 30px 20px;
    background: transparent;
    border: none;
    position: relative;
}

/* 祥云装饰 */
.login-header::before, .login-header::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 60px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    /* 使用 filter 改变颜色为蓝色调 */
    filter: hue-rotate(200deg) saturate(100%); 
}

.login-header h2 {
    color: #0056b3; /* 网页主深蓝 */
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: normal;
    font-family: "KaiTi", "STKaiti", "Microsoft YaHei", serif; /* 楷体 */
    letter-spacing: 4px;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
    font-family: "SongTi", "SimSun", serif; /* 宋体 */
}

.login-body {
    padding: 10px 40px 50px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #007bff; /* 底部线条变蓝 */
}

.input-icon {
    position: absolute;
    left: 5px;
    color: #0056b3; /* 蓝色图标 */
    z-index: 10;
    font-size: 1.2rem;
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    height: 45px;
    background: transparent;
    border: none; /* 移除边框 */
    border-radius: 0;
    font-size: 1rem;
    color: #333;
    font-family: "SongTi", "SimSun", serif;
}

.input-group input:focus {
    background: transparent;
    box-shadow: none;
    outline: none;
}

.input-group input:focus + .input-icon {
    transform: scale(1.1);
}

.btn-send-code {
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    background: transparent;
    border: 1px solid #0056b3;
    border-radius: 2px;
    color: #0056b3;
    padding: 0 15px;
    font-size: 0.85rem;
    font-family: "SongTi", "SimSun", serif;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: none;
}

.btn-send-code:hover {
    background: #0056b3;
    color: #fff;
}

.btn-login-submit {
    margin-top: 30px;
    background: #0056b3; /* 网页主深蓝 */
    border: none;
    height: 50px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: normal;
    font-family: "KaiTi", "STKaiti", serif;
    letter-spacing: 4px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
    color: #fff; /* 白色文字 */
    transition: all 0.3s ease;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    background: #004494;
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
}

.login-divider {
    margin: 35px 0 25px;
    text-align: center;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #007bff; /* 蓝色分割线 */
}

.login-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #0056b3;
    font-size: 0.9rem;
    font-family: "KaiTi", "STKaiti", serif;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    box-shadow: none;
}

.social-btn:hover {
    transform: rotate(360deg); /* 旋转特效 */
    border-color: #0056b3;
    color: #0056b3;
}

.social-btn.wechat:hover { color: #07c160; border-color: #07c160; }
.social-btn.qq:hover { color: #12b7f5; border-color: #12b7f5; }

/* 调整关闭按钮 */
#loginModal .close {
    top: 10px;
    right: 15px;
    color: #0056b3;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.8;
    font-family: serif;
}

#loginModal .close:hover {
    color: #007bff;
    transform: scale(1.1);
}

/* 居中显示登录弹窗 */
#loginModal {
    display: none; /* JS控制 */
    align-items: center;
    justify-content: center;
}
