/**
 * Subscription Landing Page Styles
 */

/* ============================================================
   Global Styles
   ============================================================ */
.myshop-subscription-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.subscription-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #d4f4dd;
    color: #2d6a4f;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a5490;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-description strong {
    color: #e74c3c;
    font-size: 1.4em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a5490;
    border: 2px solid #1a5490;
}

.btn-secondary:hover {
    background: #1a5490;
    color: white;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-gift {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe5b5 100%);
    border: 2px dashed #ff9800;
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.gift-icon {
    font-size: 3rem;
}

.gift-content h3 {
    margin: 0 0 0.5rem 0;
    color: #f57c00;
    font-size: 1.3rem;
}

.gift-content p {
    margin: 0;
    color: #555;
}

.hero-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.category-emoji {
    font-size: 1.5rem;
}

.category-label {
    font-weight: 600;
    color: #333;
}

/* ============================================================
   Plans Section
   ============================================================ */
.subscription-plans {
    padding: 4rem 2rem;
    background: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border-color: #e91e63;
    background: linear-gradient(135deg, #fff 0%, #fff0f5 100%);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #e91e63;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    margin-left: 0.5rem;
}

.price-period {
    font-size: 1rem;
    color: #999;
}

.price-free {
    font-size: 2rem;
    font-weight: 700;
    color: #4caf50;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item .feature-icon {
    font-size: 1.3rem;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.btn-subscribe {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: auto;
}

/* ============================================================
   Comparison Table
   ============================================================ */
.subscription-comparison {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background: linear-gradient(135deg, #1a5490 0%, #0d3a6e 100%);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tbody tr:hover {
    background: #f9f9f9;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
}

.comparison-table .check {
    color: #4caf50;
    font-size: 1.5rem;
    font-weight: bold;
}

.comparison-table .price-cell {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.1rem;
}

/* ============================================================
   Benefits Section
   ============================================================ */
.subscription-benefits {
    padding: 4rem 2rem;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: #1a5490;
    box-shadow: 0 10px 30px rgba(26, 84, 144, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

/* ============================================================
   Testimonials Section
   ============================================================ */
.subscription-testimonials {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: #1a5490;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e91e63;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-gift {
        flex-direction: column;
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: scale(1);
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .testimonials-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================================
   Yearly Subscriptions Badges
   ============================================================ */
.bbf-yearly-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bbf-yearly-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    padding: 0.375rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.bbf-yearly-badge--default {
    background-color: rgb(255, 230, 167);
    color: rgb(107, 66, 38);
}

.bbf-yearly-badge--highlight {
    background-color: rgb(232, 182, 73);
    color: rgb(255, 255, 255);
}

.bbf-yearly-badge svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.bbf-yearly-badge span {
    display: inline-block;
}

@media (max-width: 640px) {
    .bbf-yearly-badges {
        gap: 0.375rem;
    }
    
    .bbf-yearly-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.5625rem;
    }
    
    .bbf-yearly-badge svg {
        width: 0.75rem;
        height: 0.75rem;
    }
}