﻿/* 新增样式 */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
}
.trust-badge {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
}
.trust-badge i {
    color: #3483fa;
    margin-right: 5px;
    font-size: 1.1em;
}
.live-stats {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}
.live-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.live-stats-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}
.live-stats-title i {
    color: #0ba360;
    margin-right: 8px;
}
.live-pulse {
    display: flex;
    align-items: center;
}
.pulse-dot {
    height: 8px;
    width: 8px;
    background-color: #0ba360;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(11, 163, 96, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(11, 163, 96, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(11, 163, 96, 0);
    }
}
.live-stats-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.stat-item {
    flex: 1;
    min-width: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.stat-value {
    font-size: 1.4em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.85em;
    color: #718096;
}
.live-transactions {
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 125px;
}
.transaction-scroll {
    position: absolute;
    animation: scrollUp 35s linear infinite;
    width: 100%;
}
@keyframes scrollUp {
    0% { transform: translateY(80px); }
    100% { transform: translateY(-100%); }
}
.transaction-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #f7fafc;
}
.transaction-address {
    flex: 1;
    font-size: 0.85em;
    color: #4a5568;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.transaction-amount {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9em;
    margin-left: 10px;
}
.transaction-time {
    color: #a0aec0;
    font-size: 0.8em;
    margin-left: 10px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.review-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.review-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    margin-right: 10px;
}
.review-card-name {
    font-weight: 600;
}
.review-card-role {
    font-size: 0.8em;
    color: #718096;
}
.review-card-text {
    font-size: 0.9em;
    line-height: 1.5;
    color: #4a5568;
}
.review-card-rating {
    margin-top: 10px;
    color: #f1c40f;
}

/* 能量计算器样式 */
.energy-calculator {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}
.calculator-form {
    margin-top: 15px;
}
.calculator-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.calculator-row label {
    flex: 0 0 120px;
    font-weight: 500;
}
.range-slider-container {
    flex: 1;
    display: flex;
    align-items: center;
}
.range-slider {
    flex: 1;
    margin-right: 10px;
}
.range-value {
    min-width: 30px;
    text-align: right;
    font-weight: 600;
}
.calculator-results {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.calculator-result-item {
    flex: 1;
    min-width: 150px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.calculator-result-item.highlight {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
}
.calculator-result-item.savings {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}
.result-title {
    font-weight: 500;
    margin-bottom: 5px;
}
.result-value {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}
.result-note {
    font-size: 0.8em;
    color: #718096;
}

/* 能量使用场景 */
.energy-scenarios {
    margin: 20px 0;
}
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 15px;
}
.scenario-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.scenario-item i {
    font-size: 1.5em;
    color: #3483fa;
    margin-bottom: 10px;
}
.scenario-title {
    font-weight: 500;
    margin-bottom: 5px;
}
.scenario-energy {
    font-size: 0.9em;
    color: #718096;
}

/* 教育内容卡片 */
.education-card {
    margin-top: 20px;
}
.education-content {
    margin-top: 15px;
}
.education-section {
    display: flex;
    margin-bottom: 20px;
}
.education-icon {
    flex: 0 0 60px;
    height: 60px;
    background: rgba(52, 131, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.education-icon i {
    font-size: 1.5em;
    color: #3483fa;
}
.education-text h4 {
    margin-bottom: 8px;
}
.education-text p {
    line-height: 1.5;
    color: #4a5568;
}
.education-diagram {
    margin: 25px 0;
    text-align: center;
}
.education-diagram img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.diagram-caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #718096;
}

/* FAQ样式 */
.faq-card {
    margin-top: 20px;
}
.faq-list {
    margin-top: 15px;
}
.faq-item {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    padding: 10px 0;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 0 10px;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-answer p {
    line-height: 1.5;
    color: #4a5568;
}

/* 客服聊天窗口 */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.chat-button {
    background: #3483fa;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(52, 131, 250, 0.3);
    transition: all 0.3s ease;
}
.chat-button:hover {
    background: #2a6cbf;
    transform: translateY(-2px);
}
.chat-button i {
    margin-right: 8px;
}

/* 技术创新卡片样式 */
.tech-innovation-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-innovation-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tech-innovation-card h3:before {
    content: "\f085";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.1em;
}

.tech-innovation-card p {
    line-height: 1.6;
    font-size: 0.95em;
}

/* 页脚样式增强 */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.copyright {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info {
    color: #6c757d;
    font-size: 0.9rem;
} 