﻿/* ========================================
   IObit Store - 独立商店页面样式
   设计理念：简洁、专业、高端感
   IObit Unlocker 黄色主题 #EBCC67
======================================== */

/* ========== 全局盒模型重置 ========== */
.products-section *,
.products-section *::before,
.products-section *::after {
    box-sizing: border-box;
}

/* ========== Store Hero 区域 ========== */
.store-hero {
    padding: 140px 0 100px;
    background: 
        linear-gradient(135deg, rgb(10, 10, 10) 0%, rgb(26, 26, 26) 50%, rgb(13, 13, 13) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(235, 204, 103, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.store-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(235, 204, 103, 0.08);
    border: 1px solid rgba(235, 204, 103, 0.15);
    color: #EBCC67;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-badge svg {
    width: 18px;
    height: 18px;
}

.store-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.store-hero-title .highlight {
    background: linear-gradient(135deg, #EBCC67 0%, #f5dc8a 50%, #EBCC67 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.store-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 668px;
    margin: 0 auto;
    font-weight: 400;
}

/* ========== 优惠券提醒横幅 ========== */
.coupon-banner {
    background: linear-gradient(135deg, #0d1520 0%, #1a1a2e 50%, #0d1520 100%);
    border-bottom: 1px solid rgba(1, 150, 225, 0.15);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.coupon-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 40% 100% at 0% 50%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 100% at 100% 50%, rgba(1, 150, 225, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.coupon-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.coupon-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.coupon-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    animation: coupon-pulse 2s ease-in-out infinite;
}

@keyframes coupon-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(255, 107, 107, 0.5); }
}

.coupon-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.coupon-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coupon-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.coupon-title .amount {
    color: #ff6b6b;
    font-size: 20px;
    font-weight: 800;
}

.coupon-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.coupon-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.timer-num {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
}

.timer-sep {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 10px;
}

.coupon-center {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 20px;
    position: relative;
}

.coupon-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-code {
    font-size: 20px;
    font-weight: 800;
    color: #ffcc44;
    letter-spacing: 2px;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
    -webkit-user-select: all;
    user-select: all;
}

.coupon-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #EBCC67 0%, #d4b85a 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.coupon-copy-btn:hover {
    background: linear-gradient(135deg, #f5dc8a 0%, #EBCC67 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 204, 103, 0.3);
}

.coupon-copy-btn:active {
    transform: translateY(0);
}

.coupon-copy-btn svg {
    width: 14px;
    height: 14px;
}

.coupon-copy-btn.copied {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
}

.coupon-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.coupon-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.coupon-close svg {
    width: 14px;
    height: 14px;
}

.coupon-banner.hidden {
    display: none;
}

/* ========== 产品列表区域 ========== */
.products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.products-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 产品网格布局 ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ========== 产品卡片样式 ========== */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eaeaea;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(235, 204, 103, 0.3);
}

/* 旗舰版特殊样式 */
.product-card.ultimate {
    background: linear-gradient(135deg, #fffef5 0%, #ffffff 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.product-card.ultimate:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.15);
}

/* ========== 产品头部 ========== */
.product-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.product-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
}

.product-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.product-info {
    flex: 1;
}

.product-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #EBCC67 0%, #d4b85a 100%);
    color: #1a1a1a;
}

.product-badge.popular {
    background: linear-gradient(135deg, #EBCC67 0%, #d4b85a 100%);
    color: #1a1a1a;
}

.product-badge.ultimate {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.product-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.store-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #EBCC67;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.store-btn-secondary svg {
    width: 15px;
    height: 15px;
}

.store-btn-secondary:hover {
    background: rgba(235, 204, 103, 0.08);
    color: #d4b85a;
    transform: translateY(-2px);
}

/* ========== 规格选项卡 ========== */
.specs-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: #f0f2f5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.specs-tab {
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.specs-tab:hover {
    color: #333333;
}

.specs-tab.active {
    background: #ffffff;
    color: #EBCC67;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.specs-content {
    display: none;
}

.specs-content.active {
    display: block;
}

/* ========== 规格网格 ========== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-top: 12px;
}

/* 旗舰版规格网格 */
.product-card.ultimate .specs-grid {
    max-width: 500px;
    width: 100%;
}

/* ========== 规格卡片 ========== */
.spec-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.spec-card:hover {
    border-color: rgba(235, 204, 103, 0.2);
    background: #fffef5;
}

.spec-card.featured {
    background: linear-gradient(135deg, rgba(235, 204, 103, 0.08) 0%, rgba(235, 204, 103, 0.02) 100%);
    border-color: rgba(235, 204, 103, 0.25);
}

.spec-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: linear-gradient(135deg, #EBCC67 0%, #d4b85a 100%);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.spec-pc {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.spec-price {
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.spec-price .price-original {
    font-size: 13px;
    color: #adb5bd;
    text-decoration: line-through;
}

.spec-price .price-current {
    font-size: 28px;
    font-weight: 800;
    color: #d4a84a;
    letter-spacing: -0.02em;
}

.spec-period {
    font-size: 12px;
    color: #888888;
    margin-bottom: 16px;
}

.spec-btn-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.spec-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #EBCC67 0%, #d4b85a 100%);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    box-sizing: border-box;
}

.spec-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 204, 103, 0.3);
}

.store-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    flex-shrink: 0;
    padding: 0;
    background: rgba(235, 204, 103, 0.06);
    border: 1px solid rgba(235, 204, 103, 0.18);
    border-radius: 8px;
    color: #EBCC67;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.store-btn-cart svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.store-btn-cart:hover {
    background: rgba(235, 204, 103, 0.15);
    border-color: #EBCC67;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 204, 103, 0.2);
}

/* ========== 优势区域 ========== */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.benefits-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.benefits-header p {
    font-size: 16px;
    color: #666666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.benefit-item:hover {
    background: #ffffff;
    border-color: rgba(235, 204, 103, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(235, 204, 103, 0.15) 0%, rgba(235, 204, 103, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: #EBCC67;
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ========== 响应式样式 ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card.ultimate .specs-grid {
        max-width: none;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .store-hero {
        padding: 120px 0 70px;
    }

    .store-hero-title {
        font-size: 38px;
    }

    .store-hero-subtitle {
        font-size: 16px;
    }

    .products-section {
        padding: 50px 0;
    }

    .product-card {
        padding: 24px;
    }

    .product-header {
        flex-direction: column;
        gap: 14px;
    }

    .product-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .product-icon img {
        width: 40px;
        height: 40px;
    }

    .product-title {
        font-size: 20px;
    }

    .specs-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .specs-tab {
        text-align: center;
        padding: 10px 14px;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spec-price .price-current {
        font-size: 24px;
    }

    .benefits-section {
        padding: 60px 0;
    }

    .benefits-header h2 {
        font-size: 28px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .benefit-item {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .store-hero {
        padding: 100px 0 50px;
    }

    .store-hero-title {
        font-size: 30px;
    }

    .store-hero-subtitle {
        font-size: 14px;
    }

    .store-badge {
        font-size: 11px;
        padding: 8px 14px;
    }

    .products-section {
        padding: 40px 0;
    }

    .products-section .container {
        padding: 0 16px;
    }

    .product-card {
        padding: 20px;
        border-radius: 16px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-desc {
        font-size: 13px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .spec-card {
        padding: 20px 16px;
    }

    .spec-price .price-current {
        font-size: 22px;
    }

    .spec-btn {
        padding: 11px 16px;
        font-size: 13px;
    }

    .store-btn-cart,
    .store-btn-secondary {
        width: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item h3 {
        font-size: 16px;
    }

    .benefit-item p {
        font-size: 13px;
    }
}
