/* =====================================================
   PACKS PAGE – PIXEL PERFECT REDESIGN
   File: packs-pixel-perfect.css
   Target: /views/Shop/packs.php
   ===================================================== */

/* =====================================================
   FONTS & RESET
   ===================================================== */
.packs-page-wrap,
.packs-page-wrap * {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.packs-page-wrap {
    background: #FFFFFF;
    padding: 0 0 4rem;
    min-height: 0;
}

/* =====================================================
   HERO
   ===================================================== */
.bundle-hero {
    padding: 42px 0 28px;
    background: transparent;
    min-height: 0 !important;
}

.bundle-hero h1 {
    color: #1E5631;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-transform: none !important;
    margin: 0 auto;
    max-width: 800px;
    text-align: center !important;
}

.hero-subtitle {
    color: #64748B;
    font-size: 16px;
    font-weight: 400;
    margin: 12px auto 0 !important;
    max-width: 680px;
    line-height: 1.55;
    text-align: center !important;
    display: block !important;
}

/* =====================================================
   TOP TRUST-INDICATORS BAR
   ===================================================== */
.trust-indicators-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    padding: 10px 16px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.trust-icon svg {
    display: block;
}

/* =====================================================
   CARD GRID — 4 Columns on lg screens and wider
   ===================================================== */
.bundle-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0 48px;
    align-items: stretch;
    min-height: 0 !important;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .bundle-card-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* =====================================================
   PLAN CARD — base
   ===================================================== */
.bundle-plan-card {
    background: #FFFFFF;
    border: 4px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: visible;
    padding: 0;
    min-height: 560px;
}

.bundle-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

/* Color theme borders */
.bundle-plan-card.theme-green {
    border: 4px solid #E2E8F0;
}

.bundle-plan-card.theme-green:hover {
    border-color: #1E5631;
}

.bundle-plan-card.theme-gold {
    border: 4px solid #D4A017;
    box-shadow: 0 4px 22px rgba(212, 160, 23, 0.18);
}

.bundle-plan-card.theme-gold:hover {
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.28);
}

.bundle-plan-card.theme-teal {
    border: 4px solid #1A9B86;
    box-shadow: 0 4px 22px rgba(26, 155, 134, 0.18);
}

.bundle-plan-card.theme-teal:hover {
    box-shadow: 0 12px 32px rgba(26, 155, 134, 0.28);
}

.bundle-plan-card.theme-dark-green {
    border: 4px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bundle-plan-card.theme-dark-green:hover {
    border-color: #1E5631;
    box-shadow: 0 12px 32px rgba(30, 86, 49, 0.28);
}

/* Current plan */
.bundle-plan-card.current {
    border-color: #64748B;
}

/* =====================================================
   TOP RIBBON BADGE — pill centered on top border
   ===================================================== */
.card-ribbon-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    line-height: 1;
}

.card-ribbon-badge svg {
    display: inline-block;
    flex-shrink: 0;
    margin-top: -1px;
}

/* Star icon color inside ribbon */
.ribbon-gold {
    background: #D4A017;
    color: #3B3000;
    font-weight: 800;
}

.ribbon-gold .ribbon-star-icon {
    color: #FFA000;
}

.ribbon-teal {
    background: #1A9B86;
    color: #FFFFFF;
}

.ribbon-teal .ribbon-star-icon {
    color: #FFD700;
}

.ribbon-dark-green {
    background: #1E5631;
    color: #FFFFFF;
}

.ribbon-dark-green .ribbon-bolt-icon {
    color: #4ADE80;
}

/* =====================================================
   CARD INNER — LEFT-ALIGNED CONTENT
   ===================================================== */
.card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 38px 26px 28px;
    flex: 1 1 auto;
    width: 100%;
}

/* =====================================================
   CARD TITLE & SUBTITLE — LEFT ALIGNED
   ===================================================== */
.card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    text-align: left;
    margin: 0;
    line-height: 1.25;
    text-transform: uppercase !important;
    letter-spacing: 0.2px;
}

.card-tagline {
    font-size: 13px;
    color: #64748B;
    text-align: left;
    line-height: 1.45;
    margin: 10px 0 20px;
    min-height: 38px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

/* =====================================================
   LARGE STAT BLOCK (N plaga/s) — LEFT ALIGNED
   ===================================================== */
.card-stat-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}

.card-stat-num {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.card-stat-num.num-green {
    color: #1E5631;
}

.card-stat-num.num-gold {
    color: #1E5631;
}

.card-stat-num.num-teal {
    color: #1A9B86;
}

.card-stat-num.num-dark-green {
    color: #1E5631;
}

.card-stat-label {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
}

/* =====================================================
   PRICE BLOCK — LEFT ALIGNED
   ===================================================== */
.card-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 14px 0 0;
    line-height: 1;
    text-align: left;
}

.price-num {
    font-size: 38px;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -1.2px;
    line-height: 1;
}

.price-suffix {
    font-size: 15px;
    font-weight: 600;
    color: #64748B;
    margin-left: 2px;
}

/* =====================================================
   SAVINGS PILL & PER-UNIT PRICE — LEFT ALIGNED
   ===================================================== */
.card-savings-pill {
    align-self: flex-start;
    background: #EBF6EE;
    color: #1E5631;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin: 18px 0 6px;
    text-align: left;
}

.card-unit-price {
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
    text-align: left;
    margin: 4px 0 16px;
}

.bundle-plan-card:first-child .card-unit-price,
.theme-green .card-unit-price {
    margin: 19px 0 16px;
}

/* =====================================================
   FEATURE LIST & CHECKMARKS (Solid circle + white ✓)
   ===================================================== */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    flex: 1 1 auto;
    border-top: none;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.45;
    padding: 12px 0;
    border-bottom: 2px solid #eeeff1;
    font-weight: 500;
    text-align: left;
}

.feat-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feat-check svg {
    stroke: #FFFFFF;
}

.check-green {
    background: #1E5631;
    color: #FFFFFF;
}

.check-gold {
    background: #D4A017;
    color: #FFFFFF;
}

.check-teal {
    background: #1A9B86;
    color: #FFFFFF;
}

.check-dark-green {
    background: #1E5631;
    color: #FFFFFF;
}

/* =====================================================
   CTA BUTTONS
   ===================================================== */
.bundle-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 26px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: opacity 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    line-height: 1.3;
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.bundle-cta:hover {
    transform: translateY(-2px);
    opacity: 0.94;
    text-decoration: none !important;
}

.cta-green {
    background: #1E5631;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(30, 86, 49, 0.28);
}

.cta-gold {
    background: #D4A017;
    color: #3B3000 !important;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.28);
}

.cta-teal {
    background: #1A9B86;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(26, 155, 134, 0.28);
}

.cta-dark-green {
    background: #1E5631;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(30, 86, 49, 0.28);
}

.cta-current {
    background: #E2E8F0;
    color: #64748B !important;
    cursor: default;
    pointer-events: none;
}

.cta-outline {
    background: #FFFFFF;
    color: #334155 !important;
    border: 1.5px solid #CBD5E1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .bundle-card-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }

    .card-title {
        font-size: 17px;
    }

    .card-stat-num {
        font-size: 32px;
    }

    .price-num {
        font-size: 34px;
    }

    .bundle-cta {
        font-size: 14.5px;
        padding: 12px 14px;
    }
}

@media (max-width: 640px) {
    .bundle-hero h1 {
        font-size: 26px;
    }

    .trust-indicators-bar {
        gap: 12px;
        flex-direction: column;
    }

    .bundle-card-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-stat-num {
        font-size: 34px;
    }

    .price-num {
        font-size: 36px;
    }

    .bundle-cta {
        font-size: 15px;
        padding: 13px 16px;
    }
}