/* Store 页面样式 */
.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 提示词商城页面 hero-section 全宽样式 */
.hero-section {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
}

/* 确保hero-section内部内容有足够的边距 */
.hero-section .container {
    padding-left: max(1rem, calc((100vw - 1280px) / 2));
    padding-right: max(1rem, calc((100vw - 1280px) / 2));
}

/* 在小屏幕上确保最小边距 */
@media (max-width: 640px) {
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 在中等屏幕上提供更好的边距 */
@media (min-width: 641px) and (max-width: 1024px) {
    .hero-section .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* 在大屏幕上提供更宽的边距 */
@media (min-width: 1025px) {
    .hero-section .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* 头部 */
.store-header {
    text-align: center;
    margin-bottom: 20px; /* 减少底部边距以确保更多内容在第一屏显示 */
}

.store-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.store-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0 0 20px 0;
}

/* 核心价值提醒 */
.value-highlight {
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease-out;
}

.highlight-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.highlight-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.models-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.model-chip {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
    position: relative;
}

.model-chip.premium {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 215, 0, 0.6);
}

.model-chip.balanced {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.model-chip.efficient {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.6);
}

.new-badge, .quality-badge, .smart-badge, .fast-badge, .eco-badge {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
}

.quality-badge { background: #ffa502; }
.smart-badge { background: #3742fa; }
.fast-badge { background: #2ed573; }
.eco-badge { background: #1e90ff; }

.value-text {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
}

/* 场景推荐 */
.scenario-recommendations {
    margin-bottom: 25px;
}

.scenario-recommendations h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* 简化的智能搭配提醒 */
.smart-usage-compact {
    margin-bottom: 15px;
}

.usage-tip {
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    border: 1px solid #d1d9ff;
    border-radius: 12px;
}

.tip-header {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1rem;
}

.tip-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.tip-row:last-of-type {
    border-bottom: none;
}

.scenario {
    color: #4a5568;
    font-weight: 500;
    flex: 0 0 80px;
}

.models {
    color: #667eea;
    font-weight: 500;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.consumption {
    color: #e53e3e;
    font-weight: 600;
    font-size: 0.85rem;
    flex: 0 0 100px;
    text-align: right;
}

.smart-note {
    background: rgba(102, 126, 234, 0.1);
    color: #5a67d8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

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

.scenario-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.scenario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.scenario-card.efficiency {
    border-color: #2ed573;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
}

.scenario-card.balanced {
    border-color: #3742fa;
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 100%);
}

.scenario-card.premium {
    border-color: #ffa502;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.scenario-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.scenario-card h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.scenario-desc {
    color: #718096;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.recommended-models {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.model-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.consumption-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.multiplier {
    font-weight: 600;
    color: #e53e3e;
    font-size: 0.85rem;
}

.use-case {
    color: #718096;
    font-size: 0.8rem;
}

.smart-tip {
    background: linear-gradient(135deg, #fff3cd 0%, #fef7e0 100%);
    border: 1px solid #f6d55c;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tip-icon {
    font-size: 1.2rem;
    color: #f6d55c;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-content {
    color: #8b4513;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 选项卡导航 */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* 减少边距 */
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-btn:hover {
    color: #667eea;
}

/* 子选项卡导航 */
.sub-tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.sub-tab-btn {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-tab-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.sub-tab-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.sub-tab-btn.active:hover {
    color: white;
}

/* 选项卡内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

/* 产品区域 */
.products-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.section-title small {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #718096;
    margin-top: 5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card.recommended {
    border-color: #48bb78;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
}

.product-card.popular {
    border-color: #ed8936;
    background: linear-gradient(135deg, #fffaf0 0%, #fbd38d 100%);
}

.discount-label {
    position: absolute;
    top: -8px;
    right: 20px;
    background: #e53e3e;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e53e3e;
    margin-left: 16px;
}

.product-details {
    margin-bottom: 16px;
}

.product-details > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.product-words {
    font-weight: 600;
    color: #2d3748 !important;
}

.product-value {
    color: #38a169 !important;
    font-weight: 600;
    font-size: 1rem;
}

.consumption-hint {
    color: #718096;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 4px;
    text-align: center;
}

.product-description {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 40px;
}

.btn-purchase {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-purchase:active {
    transform: translateY(0);
}

/* 加载状态 */
.loading-placeholder {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 使用说明 */
.usage-guide {
    background: #f7fafc;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.usage-guide h3 {
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

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

.guide-item h4 {
    color: #2d3748;
    margin-bottom: 10px;
}

.guide-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.modal-body {
    padding: 30px;
}

.product-summary {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-summary .product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.product-summary .product-details > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-methods h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.payment-option input {
    margin-right: 5px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-primary {
    background: #48bb78;
    color: white;
}

.btn-primary:hover {
    background: #38a169;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .store-container {
        padding: 15px;
    }

    /* 头部调整 */
    .store-title {
        font-size: 2rem;
    }

    .store-subtitle {
        font-size: 1rem;
    }

    /* 价值高亮调整 */
    .highlight-card {
        padding: 20px;
    }

    .highlight-card h3 {
        font-size: 1.1rem;
    }

    .models-showcase {
        gap: 6px;
    }

    .model-chip {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* 场景推荐调整 */
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .scenario-card {
        padding: 15px;
    }

    .scenario-icon {
        font-size: 1.5rem;
    }

    /* 简化智能搭配调整 */
    .smart-usage-compact {
        margin-bottom: 15px;
    }

    .usage-tip {
        padding: 12px 15px;
    }

    .tip-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        border-bottom: 1px solid rgba(102, 126, 234, 0.15);
        padding-bottom: 8px;
    }

    .scenario {
        flex: none;
        font-weight: 600;
        color: #2d3748;
    }

    .models {
        flex: none;
        text-align: left;
        padding: 0;
        color: #667eea;
    }

    .consumption {
        flex: none;
        text-align: left;
        font-size: 0.8rem;
    }

    .smart-note {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* 智能提示调整 */
    .smart-tip {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }

    .tip-icon {
        align-self: center;
        margin-top: 0;
        margin-bottom: 8px;
    }

    /* 价值横幅调整 */
    .value-banner {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .value-info {
        font-size: 0.9rem;
    }

    /* 指南网格调整 */
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .guide-card {
        padding: 15px;
    }

    /* 保障内容调整 */
    .guarantee-content {
        padding: 20px;
    }

    .guarantee-item {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .guide-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-price {
        margin-left: 0;
        margin-top: 8px;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .tab-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .sub-tab-navigation {
        flex-direction: column;
        gap: 10px;
    }
}

/* 价值横幅 */
.value-banner {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b95 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(255, 154, 86, 0.3);
}

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-info {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* 智能使用指南 */
.smart-usage-guide {
    margin-bottom: 30px;
}

.smart-usage-guide h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

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

.guide-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    /* transition: all 0.3s ease; */
}

/* .guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
} */

.guide-card h4 {
    color: #2d3748;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-card ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.guide-card li {
    margin-bottom: 8px;
    color: #4a5568;
    line-height: 1.5;
}

.guide-card li strong {
    color: #2d3748;
}

.tip {
    background: #f0fff4;
    color: #2d5a3d;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 0;
    border-left: 3px solid #48bb78;
}

/* 购买保障 */
.purchase-guarantee {
    margin-bottom: 30px;
}

.purchase-guarantee h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.guarantee-content {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #48bb78;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #2d3748;
    font-weight: 500;
}

.guarantee-item:last-child {
    margin-bottom: 0;
}

.guarantee-icon {
    color: #48bb78;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.container
{
    overflow: hidden;
}