/* ============================================
   IBT TOPIK - Store Pages Styles
   ============================================ */

/* Hero Section */
.store-hero {
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

.store-hero.topik1-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/images/topik1-bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
}

.store-hero.topik2-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('/images/topik2-bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
}

.store-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.topik1-hero::after {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 27, 75, 0.75) 100%);
}

.topik2-hero::after {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.7) 0%, rgba(76, 29, 149, 0.75) 100%);
}

.store-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.store-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.store-hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Section Styles */
.store-section {
    padding: 80px 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Package Card */
.package-card {
    position: relative;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.package-card-featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 8px;
}

.package-card-featured.topik2 {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.package-card-inner {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:not(.package-card-featured) .package-card-inner {
    border: 2px solid var(--gray-200);
    border-radius: 24px;
}

.package-card:hover .package-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.package-card:not(.package-card-featured):hover .package-card-inner {
    border-color: var(--primary);
}

/* Package Badge */
.package-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.package-badge-best {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.package-badge-best.topik2 {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.package-badge-default {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Package Title */
.package-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.package-sessions {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 24px;
}

/* Package Info Box */
.package-info {
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 20px;
}

.package-info p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

.package-info p + p {
    margin-top: 8px;
}

/* Warning Box */
.package-warning {
    padding: 12px 16px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-warning p {
    font-size: 13px;
    color: #92400e;
    font-weight: 600;
    margin: 0;
}

/* Package Price */
.package-price-wrapper {
    margin-top: auto;
    margin-bottom: 24px;
}

.package-price-original {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.package-price-original .original {
    font-size: 18px;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 700;
}

.package-price-original .discount {
    display: inline-block;
    padding: 4px 8px;
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.package-price-current {
    font-size: 36px;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.package-price-per {
    font-size: 14px;
    color: var(--gray-500);
}

/* Package Button */
.package-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.package-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.package-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.package-btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.package-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.package-btn-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.package-btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

.package-btn-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.package-btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* CTA Section */
.store-cta {
    text-align: center;
    padding: 80px 0;
    color: white;
}

.store-cta.topik1 {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
}

.store-cta.topik2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.store-cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.store-cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.store-cta-btn {
    display: inline-block;
    background: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.store-cta.topik1 .store-cta-btn {
    color: var(--primary);
}

.store-cta.topik2 .store-cta-btn {
    color: #7c3aed;
}

.store-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .store-hero {
        min-height: 480px;
        padding: 100px 24px 60px;
    }

    .store-hero-title {
        font-size: 32px;
    }

    .store-hero-desc {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .store-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .store-hero {
        min-height: auto;
        padding: 80px 20px 60px;
    }

    .store-hero-title {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .package-card-inner {
        padding: 32px 24px;
    }

    .package-title {
        font-size: 24px;
    }

    .package-price-current {
        font-size: 32px;
    }
}
