/* 八字排盘测算系统 - 专业版样式表 */

/* 基础样式 */
:root {
    --primary-color: #8B4513;
    --primary-dark: #5D2E0C;
    --primary-light: #D4A574;
    --secondary-color: #2C3E50;
    --accent-color: #C0392B;
    --gold-color: #DAA520;
    --bg-color: #FDF5E6;
    --card-bg: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0D5C7;
    --shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    --shadow-hover: 0 8px 30px rgba(139, 69, 19, 0.2);
    
    /* 五行颜色 */
    --gold: #FFD700;
    --wood: #228B22;
    --water: #1E90FF;
    --fire: #FF4500;
    --earth: #8B4513;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #F5E6D3 100%);
    color: var(--text-color);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
    color: var(--gold-color);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    padding: 5px 12px;
    border-radius: 15px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 40px 0 30px;
}

.hero-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
}

.hero-stats {
    margin-top: 15px;
    font-size: 14px;
    color: #888;
}

.hero-stats .stat-item strong {
    color: var(--accent-color);
    font-size: 16px;
}

.hero-stats .stat-divider {
    margin: 0 10px;
    color: #ddd;
}

/* 卡片样式 */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

/* 信息卡片 */
.info-card {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 100%);
    border-left: 4px solid var(--gold-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card p {
    margin: 5px 0;
}

/* 表单样式 */
.bazi-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.select-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: #FAFAFA;
    min-width: 70px;
}

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

.form-group input[type="text"] {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background: #FAFAFA;
    width: 200px;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input[type="text"]::placeholder {
    color: #999;
}

/* 姓名输入验证样式 */
.input-with-hint {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-hint {
    font-size: 12px;
    min-height: 16px;
    transition: all 0.3s;
}

.input-hint.valid {
    color: #27ae60;
}

.input-hint.invalid {
    color: #e74c3c;
}

.form-group input[type="text"].valid {
    border-color: #27ae60;
    background: #f0fff4;
}

.form-group input[type="text"].invalid {
    border-color: #e74c3c;
    background: #fff5f5;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.calendar-type-switch {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f8f4ef;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.calendar-type-switch .radio-label {
    font-size: 14px;
    font-weight: 500;
}

.calendar-type-switch .radio-label input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
}

.form-actions {
    text-align: center;
    margin-top: 10px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-pay {
    background: linear-gradient(135deg, var(--accent-color) 0%, #A93226 100%);
    color: #FFFFFF;
    padding: 10px 25px;
    font-size: 14px;
}

/* 八字命盘表格 */
.bazi-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.bazi-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
}

.bazi-table th,
.bazi-table td {
    padding: 12px 8px;
    border: 1px solid var(--border-color);
}

.bazi-table thead th {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.bazi-table tbody tr:nth-child(even) {
    background: #FAFAFA;
}

.bazi-table .pillar-row td {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 100%);
}

.bazi-table .day-gan {
    color: var(--accent-color);
    font-weight: 700;
}

/* 五行颜色 */
.gold { color: #B8860B; }
.wood { color: #228B22; }
.water { color: #1E90FF; }
.fire { color: #FF4500; }
.earth { color: #8B4513; }

/* 基本信息网格 */
.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 8px;
}

.basic-info-grid .info-item {
    text-align: center;
}

.basic-info-grid .info-label {
    color: var(--text-light);
    font-size: 13px;
}

.basic-info-grid .info-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

/* 五行分析 */
.wuxing-content {
    margin-bottom: 20px;
}

.wuxing-content p {
    margin: 8px 0;
}

.wuxing-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 8px;
}

.wuxing-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wuxing-bar-wrapper {
    width: 40px;
    height: 100px;
    background: #E0E0E0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.wuxing-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
    transition: height 0.5s ease;
}

.wuxing-bar.gold-bar { background: linear-gradient(180deg, var(--gold) 0%, #B8860B 100%); }
.wuxing-bar.wood-bar { background: linear-gradient(180deg, var(--wood) 0%, #006400 100%); }
.wuxing-bar.water-bar { background: linear-gradient(180deg, var(--water) 0%, #0000CD 100%); }
.wuxing-bar.fire-bar { background: linear-gradient(180deg, var(--fire) 0%, #8B0000 100%); }
.wuxing-bar.earth-bar { background: linear-gradient(180deg, var(--earth) 0%, #5D2E0C 100%); }

.wuxing-label {
    font-weight: 600;
    font-size: 14px;
}

/* 日柱命理 */
.rizhu-content p {
    margin: 10px 0;
}

/* 生肖 */
.shengxiao-content p {
    margin: 10px 0;
}

.shengxiao-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.shengxiao-content li {
    margin: 5px 0;
}

/* 神煞 */
.shensha-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shensha-item {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 100%);
    border: 1px solid var(--gold-color);
    border-radius: 8px;
    padding: 10px 15px;
}

.shensha-item .name {
    font-weight: 600;
    color: var(--primary-color);
}

.shensha-item .desc {
    font-size: 12px;
    color: var(--text-light);
}

/* 八字测算 */
.analysis-content {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 20px;
}

.analysis-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.analysis-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.analysis-item .type {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 8px;
}

/* 三命通会 */
.sanming-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.sanming-content .sanming-item {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 8px;
}

.sanming-content .sanming-item .title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* 大运表格 */
.dayun-table-wrapper {
    overflow-x: auto;
}

.dayun-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.dayun-table th,
.dayun-table td {
    padding: 12px 10px;
    border: 1px solid var(--border-color);
    min-width: 80px;
}

.dayun-table thead th {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.dayun-table tbody tr:first-child td {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.dayun-table tbody tr:last-child td {
    font-size: 12px;
    color: var(--text-light);
}

/* 服务选择 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.service-item {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.service-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
}

/* 付费卡片 */
.pay-card {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 100%);
    border: 2px solid var(--gold-color);
}

.pay-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.pay-form .form-row {
    justify-content: center;
    margin-bottom: 15px;
}

.pay-form .form-group {
    gap: 5px;
}

.pay-form input {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    width: 150px;
}

.pay-stats {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
}

/* 功能介绍 */
.features-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 100%);
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

.footer-note {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.7;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    font-size: 16px;
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-group {
        width: 100%;
    }
    
    .select-group {
        flex-wrap: wrap;
    }
    
    .bazi-table {
        font-size: 13px;
    }
    
    .bazi-table th,
    .bazi-table td {
        padding: 8px 5px;
    }
    
    .bazi-table .pillar-row td {
        font-size: 18px;
    }
    
    .basic-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wuxing-chart {
        height: 120px;
    }
    
    .wuxing-bar-wrapper {
        width: 30px;
        height: 80px;
    }
}

/* 打印样式 */
@media print {
    .header, .footer, .services-card, .pay-card, .features-section, .input-section {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .result-section {
        display: block !important;
    }
}

/* 姓名分析样式 */
.name-card {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFACD 100%);
}

.name-wuxing {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
}

.name-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    height: 70px;
    justify-content: center;
    border-radius: 8px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.name-char small {
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}

.name-char.金 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.name-char.木 { background: linear-gradient(135deg, #228B22, #32CD32); }
.name-char.水 { background: linear-gradient(135deg, #1E90FF, #00BFFF); }
.name-char.火 { background: linear-gradient(135deg, #FF4500, #FF6347); }
.name-char.土 { background: linear-gradient(135deg, #8B4513, #A0522D); }

.analysis-section {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.analysis-section h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.analysis-section p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
}

.benefit-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    color: #fff;
}

.benefit-score .label {
    font-size: 14px;
}

.benefit-score .score {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
}

.benefit-score .points {
    font-size: 14px;
    opacity: 0.9;
}

/* 深度分析样式 */
.deep-analysis {
    padding: 10px 0;
}

.analysis-summary {
    padding: 15px;
    background: linear-gradient(135deg, #FFF8DC, #FFFACD);
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 500;
}

.analysis-block {
    margin-bottom: 25px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.analysis-block h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.sub-section {
    margin: 12px 0;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid var(--primary-light);
}

.sub-section h4 {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.sub-section p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
}

.sub-section .advice {
    margin-top: 8px;
    padding: 8px 12px;
    background: #FFF8DC;
    border-radius: 5px;
    font-size: 13px;
    color: var(--primary-dark);
}

/* 付费卡片更新 */
.pay-info {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.pay-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-info-item .label {
    color: var(--text-light);
    font-size: 14px;
}

.pay-info-item .value {
    font-weight: 600;
    color: var(--primary-color);
}

.pay-services {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.pay-services h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pay-services ul {
    list-style: none;
    padding: 0;
}

.pay-services li {
    padding: 5px 0;
    color: var(--text-color);
    font-size: 14px;
}

.pay-services li::before {
    content: '';
    margin-right: 8px;
}

/* 支付弹窗 */
.pay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pay-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.pay-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

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

.pay-modal h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pay-qrcode {
    margin: 20px 0;
}

.pay-qrcode img {
    width: 200px;
    height: 200px;
    border: 2px solid #eee;
    border-radius: 10px;
}

.pay-amount {
    font-size: 18px;
    margin: 15px 0;
}

.pay-amount strong {
    color: #e74c3c;
    font-size: 24px;
}

.pay-tip {
    color: #666;
    font-size: 14px;
}

.pay-tip2 {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 10px;
}

.pay-info .price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
}

/* 八字合婚弹窗样式 */
.hehun-form {
    text-align: left;
    margin: 20px 0;
}

.hehun-person {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.hehun-person h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 16px;
}

.hehun-person .form-group {
    margin-bottom: 10px;
}

.hehun-person .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.hehun-person .form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.hehun-person .form-row {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.hehun-person .form-row select {
    padding: 8px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    min-width: 60px;
}

.hehun-person .form-row span {
    font-size: 14px;
    color: #666;
}

/* 合婚结果样式 */
.hehun-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border-radius: 10px;
    margin-bottom: 20px;
}

.hehun-names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hehun-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.hehun-heart {
    font-size: 28px;
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hehun-bazi {
    color: #666;
    font-size: 14px;
}

.hehun-bazi p {
    margin: 5px 0;
}

.hehun-analyses {
    margin: 20px 0;
}

.hehun-analysis-item h4 {
    font-size: 16px;
}

.hehun-analysis-item p {
    font-size: 14px;
}

.hehun-advice h4 {
    font-size: 16px;
}

/* 付费卡片优化 */
.pay-header {
    text-align: center;
    margin-bottom: 20px;
}

.pay-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.pay-highlight {
    margin: 20px 0;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary-color);
}

.highlight-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.highlight-content strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.highlight-content p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.pay-price-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border-radius: 10px;
    margin: 20px 0;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-current {
    font-size: 24px;
    color: var(--primary-color);
    margin: 5px 0;
}

.price-current span {
    font-size: 36px;
    font-weight: bold;
    color: #e74c3c;
}

.price-save {
    color: #27ae60;
    font-size: 13px;
}

.pay-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    font-size: 12px;
    color: #888;
}

.btn-pay {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* 用户评价区 */
.reviews-section {
    padding: 30px 0;
    background: var(--bg-color);
}

.reviews-title {
    text-align: center;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.review-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.review-stars {
    color: #f1c40f;
    font-size: 12px;
}

.review-content {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.review-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #27ae60;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 10px;
}

.hehun-advice div {
    font-size: 14px;
}
