/**
 * Pahal Nutrition — Premium homepage only
 * Scoped to body.pnx-home-premium (front page)
 */

/* ---- Page shell ---- */
body.pnx-home-premium {
    background: #f4f7fb;
}

body.pnx-home-premium .pnx-home-main {
    overflow-x: hidden;
}

body.pnx-home-premium .pnx-home-section {
    position: relative;
}

body.pnx-home-premium .pnx-section-lead {
    max-width: 620px;
    margin: 12px auto 0;
    color: var(--pnx-text-muted, #64748b);
    font-size: 16px;
    line-height: 1.7;
}

/* ---- Scroll reveal ---- */
body.pnx-home-premium .pnx-scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.pnx-home-premium .pnx-scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero visible immediately (no wait for scroll) */
body.pnx-home-premium .pnx-v2-hero.pnx-scroll-reveal {
    opacity: 1;
    transform: none;
}

/* ============================================================
   HERO — premium overlay
   ============================================================ */
body.pnx-home-premium .pnx-v2-hero::after {
    background: linear-gradient(
        105deg,
        rgba(7, 17, 32, 0.52) 0%,
        rgba(7, 17, 32, 0.3) 42%,
        rgba(7, 17, 32, 0.12) 68%,
        rgba(7, 17, 32, 0.45) 100%
    ) !important;
}

body.pnx-home-premium .pnx-v2-hero-content {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    padding: 100px 0 160px;
    pointer-events: none;
}

body.pnx-home-premium .pnx-v2-hero-content .container {
    max-width: 720px;
    margin-left: max(16px, calc((100vw - 1320px) / 2 + 16px));
    margin-right: auto;
    padding: 0 20px;
}

body.pnx-home-premium .pnx-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 179, 26, 0.14);
    border: 1px solid rgba(255, 179, 26, 0.35);
    color: #ffd56a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.pnx-home-premium .pnx-hero-eyebrow i {
    color: var(--pnx-gold, #ffb31a);
}

body.pnx-home-premium .pnx-hero-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.pnx-home-premium .pnx-hero-lead {
    margin: 0 0 22px;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.65;
    font-weight: 500;
}

body.pnx-home-premium .pnx-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pnx-home-premium .pnx-hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.pnx-home-premium .pnx-hero-pills i {
    color: var(--pnx-gold, #ffb31a);
    font-size: 13px;
}

body.pnx-home-premium .pnx-v2-bottom-actions {
    bottom: 72px !important;
    pointer-events: auto;
}

body.pnx-home-premium .pnx-v2-hero-actions {
    justify-content: flex-start !important;
    padding-left: max(16px, calc((100vw - 1320px) / 2 + 16px));
}

body.pnx-home-premium .pnx-v2-btn--primary {
    background: linear-gradient(135deg, #ffb31a 0%, #ffcc00 100%) !important;
    color: #0b1f3a !important;
    border: none !important;
    box-shadow: 0 14px 32px rgba(255, 179, 26, 0.35) !important;
}

body.pnx-home-premium .pnx-v2-btn--primary:hover {
    background: linear-gradient(135deg, #ffcc00, #e89a00) !important;
    color: #071528 !important;
}

body.pnx-home-premium .pnx-v2-hero-progress span {
    background: linear-gradient(90deg, #ffb31a, #0a5bd8) !important;
    animation: pnxHeroProgress 5s linear infinite;
}

@keyframes pnxHeroProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
body.pnx-home-premium .pnx-hp-trust-bar {
    position: relative;
    z-index: 4;
    margin-top: -28px;
    padding: 0 0 8px;
}

body.pnx-home-premium .pnx-hp-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pnx-home-premium .pnx-hp-trust-bar__grid > li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.pnx-home-premium .pnx-hp-trust-bar__grid > li:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(11, 31, 58, 0.12);
}

body.pnx-home-premium .pnx-hp-trust-bar__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10, 91, 216, 0.1), rgba(10, 91, 216, 0.04));
    color: #0a5bd8;
    font-size: 18px;
}

body.pnx-home-premium .pnx-hp-trust-bar__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.pnx-home-premium .pnx-hp-trust-bar__text strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

body.pnx-home-premium .pnx-hp-trust-bar__text small {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================================
   WHY CHOOSE — new section
   ============================================================ */
body.pnx-home-premium .pnx-hp-why-section {
    padding: 72px 0 56px;
    background: #fff;
}

body.pnx-home-premium .pnx-hp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}

body.pnx-home-premium .pnx-hp-why-card {
    padding: 28px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.pnx-home-premium .pnx-hp-why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(10, 91, 216, 0.14);
    box-shadow: 0 24px 48px rgba(10, 91, 216, 0.1);
}

body.pnx-home-premium .pnx-hp-why-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a5bd8, #0847aa);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(10, 91, 216, 0.28);
}

body.pnx-home-premium .pnx-hp-why-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.pnx-home-premium .pnx-hp-why-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

/* ============================================================
   SECTION SPACING & HEADERS
   ============================================================ */
body.pnx-home-premium .pnx-hp-category-section {
    padding: 56px 0 48px !important;
}

body.pnx-home-premium .pnx-hp-products-section {
    padding: 64px 0 72px !important;
    background: linear-gradient(180deg, #eef3f9 0%, #f8fafc 100%) !important;
}

body.pnx-home-premium .pnx-hp-about-section {
    padding: 72px 0 !important;
}

body.pnx-home-premium .pnx-hp-video-section {
    padding: 72px 0 !important;
}

body.pnx-home-premium .pnx-faq-section {
    padding: 72px 0 !important;
}

body.pnx-home-premium .pnx-blog-section {
    padding: 72px 0 !important;
    background: #fff;
}

body.pnx-home-premium .pnx-testimonial-section {
    padding: 64px 0 72px !important;
}

body.pnx-home-premium .pnx-section-tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(10, 91, 216, 0.06);
    letter-spacing: 0.12em;
}

body.pnx-home-premium .pnx-section-tag::before {
    display: none;
}

body.pnx-home-premium .pnx-section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

/* Categories — larger cards */
body.pnx-home-premium .pnx-cat-card {
    width: 148px !important;
    min-width: 148px !important;
    padding: 22px 14px 18px !important;
    border-radius: 22px !important;
}

body.pnx-home-premium .pnx-cat-thumb {
    width: 88px !important;
    height: 88px !important;
}

body.pnx-home-premium .pnx-cat-scroll-hint {
    display: block !important;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Product cards — premium */
body.pnx-home-premium .pnx-product-card {
    border-radius: 22px !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 14px 36px rgba(11, 31, 58, 0.06) !important;
}

body.pnx-home-premium .pnx-product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 28px 56px rgba(10, 91, 216, 0.12) !important;
}

body.pnx-home-premium .pnx-product-image {
    border-radius: 22px 22px 0 0;
}

body.pnx-home-premium .pnx-product-details {
    padding: 16px 18px 20px !important;
}

body.pnx-home-premium .pnx-product-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

/* About — elevated */
body.pnx-home-premium .pnx-about-img-wrap figure {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(11, 31, 58, 0.14);
}

body.pnx-home-premium .pnx-about-badge {
    background: linear-gradient(135deg, #ffb31a, #e89a00) !important;
    color: #0b1f3a !important;
    box-shadow: 0 16px 32px rgba(255, 179, 26, 0.35);
}

body.pnx-home-premium .pnx-about-feature {
    padding: 12px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

/* FAQ accordion */
body.pnx-home-premium .pnx-faq-accordion .accordion-item {
    border-radius: 16px !important;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 6px 18px rgba(11, 31, 58, 0.04);
}

body.pnx-home-premium .pnx-faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(10, 91, 216, 0.08), transparent) !important;
    color: #0a5bd8 !important;
}

/* Blog cards */
body.pnx-home-premium .pnx-blog-card {
    border-radius: 22px !important;
    box-shadow: 0 14px 36px rgba(11, 31, 58, 0.06) !important;
}

body.pnx-home-premium .pnx-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(11, 31, 58, 0.1) !important;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
body.pnx-home-premium .pnx-hp-cta-banner {
    padding: 0 0 64px;
}

body.pnx-home-premium .pnx-hp-cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0b1f3a 0%, #0d2a4d 50%, #071528 100%);
    border: 1px solid rgba(255, 179, 26, 0.2);
    box-shadow: 0 28px 64px rgba(7, 17, 32, 0.28);
    position: relative;
    overflow: hidden;
}

body.pnx-home-premium .pnx-hp-cta-banner__inner::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 91, 216, 0.35), transparent 70%);
    pointer-events: none;
}

body.pnx-home-premium .pnx-hp-cta-banner__copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

body.pnx-home-premium .pnx-hp-cta-banner__copy h2 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

body.pnx-home-premium .pnx-hp-cta-banner__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.65;
}

body.pnx-home-premium .pnx-hp-cta-banner__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

body.pnx-home-premium .pnx-hp-cta-banner__actions .pnx-btn-primary {
    background: linear-gradient(135deg, #ffb31a, #ffcc00) !important;
    color: #0b1f3a !important;
    border: none !important;
    box-shadow: 0 14px 32px rgba(255, 179, 26, 0.35) !important;
    min-width: 200px;
}

body.pnx-home-premium .pnx-hp-cta-banner__link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

body.pnx-home-premium .pnx-hp-cta-banner__link:hover {
    color: var(--pnx-gold, #ffb31a);
}

/* Counter strip in video section */
body.pnx-home-premium .pnx-counter-wrap {
    margin-top: 40px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

body.pnx-home-premium .pnx-counter-item h2 {
    color: var(--pnx-gold, #ffb31a) !important;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 991px) {
    body.pnx-home-premium .pnx-hp-trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.pnx-home-premium .pnx-hp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.pnx-home-premium .pnx-v2-hero-content .container,
    body.pnx-home-premium .pnx-v2-hero-actions {
        margin-left: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.pnx-home-premium .pnx-v2-hero-actions {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    body.pnx-home-premium .pnx-v2-hero-content {
        position: relative;
        padding: 28px 0 0;
        background: linear-gradient(180deg, #071528, #0b1f3a);
        pointer-events: auto;
    }

    body.pnx-home-premium .pnx-v2-hero-content .container {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    body.pnx-home-premium .pnx-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    body.pnx-home-premium .pnx-hero-pills {
        justify-content: center;
    }

    body.pnx-home-premium .pnx-v2-bottom-actions {
        position: relative !important;
        bottom: auto !important;
        margin-top: 0;
        padding-bottom: 20px;
        background: #0b1f3a;
    }

    body.pnx-home-premium .pnx-hp-trust-bar {
        margin-top: 0;
        padding: 20px 0;
    }

    body.pnx-home-premium .pnx-hp-trust-bar__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.pnx-home-premium .pnx-hp-why-grid {
        grid-template-columns: 1fr;
    }

    body.pnx-home-premium .pnx-hp-cta-banner__inner {
        padding: 28px 22px;
        flex-direction: column;
        text-align: center;
    }

    body.pnx-home-premium .pnx-hp-cta-banner__actions {
        align-items: center;
        width: 100%;
    }

    body.pnx-home-premium .pnx-hp-cta-banner__actions .pnx-btn-primary {
        width: 100%;
    }
}

@media (max-width: 575px) {
    body.pnx-home-premium .pnx-hero-pills li {
        font-size: 11px;
        padding: 6px 10px;
    }

    body.pnx-home-premium .pnx-hp-trust-bar__grid > li {
        padding: 14px;
    }
}
