* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #0f172a;
    color: #e2e8f0;
    padding: 2rem;
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)),
    url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* 标题区 */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    color: #bfdbfe;
    line-height: 1.2;
}

.header h1 span {
    display: block;
    font-size: 2rem;
    color: #93c5fd;
}

.header p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* 卖点区 */
.benefits {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.benefits-left {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-left img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.benefits-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    background: rgba(30, 41, 59, 0.8);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #334155;
}

.benefit-item .check {
    color: #22c55e;
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .benefits {
        flex-direction: column;
        gap: 1.5rem;
    }

    .benefits-left img {
        width: 150px;
    }
    
    /* 评价区在移动端的样式 */
    .testimonial {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .testimonial .avatar {
        width: 40px;
        height: 40px;
    }
}

/* 输入区 */
.input-section {
    background: rgba(30, 41, 59, 0.8);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #334155;
    text-align: center;
}

.input-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #bfdbfe;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group input {
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #e2e8f0;
    min-width: 250px;
}

.input-group button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    background: #10b981;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.input-section .example {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* 评价区 */
.testimonial {
    background: rgba(30, 41, 59, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #334155;
    display: flex;
    gap: 1rem;
}

.testimonial .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url('../images/human.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.testimonial .stars {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.testimonial .author {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* 功能区 */
.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: rgba(30, 41, 59, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #334155;
    display: flex;
    gap: 1rem;
}

.feature-item .icon {
    font-size: 1.5rem;
    color: #93c5fd;
    margin-top: 0.2rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #bfdbfe;
    margin-bottom: 0.5rem;
}

/* 底部保障 */
.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-badges .badge {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* 免责声明 */
.disclaimer-section {
    background: rgba(30, 41, 59, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #334155;
}

.disclaimer-section h3 {
    font-size: 1rem;
    color: #bfdbfe;
    margin-bottom: 0.8rem;
}

.disclaimer-section p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* 模态窗口样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* 加载状态 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

#loading-ticker {
    color: #22c55e;
    font-weight: bold;
}

/* 进度条容器 */
.progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(34, 197, 94, 0.3);
    border-top: 3px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 单个进度项 */
.progress-item {
    width: 100%;
}

/* 进度条头部 */
.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.progress-percent {
    color: #22c55e;
    font-weight: bold;
}

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(75, 85, 99, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

/* 进度填充 */
.progress-fill {
    height: 100%;
    background-color: #22c55e;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: progress-shine 1s linear infinite;
}

@keyframes progress-shine {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

/* 完成状态 */
.complete-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

#stock-symbol {
    color: #22c55e;
    font-weight: bold;
    font-size: 1.1em;
}

.disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* WhatsApp按钮 */
.whatsapp-btn {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #20b556;
}

/* 关闭按钮 */
.close-btn {
    background-color: transparent;
    color: #94a3b8;
    border: none;
    padding: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #cbd5e1;
}