/* ==========================================================================
   PINEAL PURE — OFFICIAL LANDING PAGE STYLESHEET
   Brand Colors: Deep Teal Blue #0e5fa3 / Teal #1a7bbf
   Font: Jost (Modern, clean, highly readable)
   ========================================================================== */

/* -----------------------------------------
   1. GOOGLE FONTS & CSS CUSTOM PROPERTIES
   ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* ---- Brand Colors (Teal/Blue from product label) ---- */
    --brand-teal:         #0e5fa3;   /* Primary brand teal-blue */
    --brand-teal-dark:    #0a4a80;   /* Darker shade for hover / borders */
    --brand-teal-light:   #e8f2fb;   /* Very light teal tint for section backgrounds */
    --brand-teal-mid:     #1a7bbf;   /* Mid-tone teal for accents */

    /* ---- CTA Button Colors ---- */
    --brand-cta:          #e6a817;   /* Warm amber CTA — stands out against blue */
    --brand-cta-hover:    #cc9410;   /* Darker amber on hover */

    /* ---- Neutral Typography ---- */
    --brand-dark:         #0f1f35;   /* Deep navy for headings */
    --brand-light:        #ffffff;
    --white:              #ffffff;
}

/* -----------------------------------------
   2. GLOBAL RESET & BASE STYLES
   ----------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--brand-dark);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

/* -----------------------------------------
   3. BRAND COLOR HELPERS
   ----------------------------------------- */
.text-brand,
.text-teal {
    color: var(--brand-teal) !important;
}

.bg-brand {
    background-color: var(--brand-teal) !important;
}

.border-brand {
    border-color: var(--brand-teal) !important;
}

.text-teal-label {
    color: var(--brand-teal);
}

/* -----------------------------------------
   4. CTA BUTTON (btn-warning override)
   ----------------------------------------- */
.btn-warning {
    background-color: var(--brand-cta) !important;
    border-color:     var(--brand-cta) !important;
    color:            var(--white) !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}
.btn-warning:hover,
.btn-warning:focus {
    background-color: var(--brand-cta-hover) !important;
    border-color:     var(--brand-cta-hover) !important;
    color:            var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230,168,23,0.35) !important;
}

/* -----------------------------------------
   5. HEADER / STICKY NAVIGATION
   ----------------------------------------- */
.header {
    background-color: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--brand-teal);
    z-index: 1050;
}

.logo h2 {
    color: var(--brand-teal) !important;
    letter-spacing: -0.5px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    transition: color 0.25s ease;
}
.nav-links a:hover {
    color: var(--brand-teal) !important;
}

/* -----------------------------------------
   6. MOBILE SIDEBAR NAVIGATION
   ----------------------------------------- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--brand-teal);
    z-index: 1060;
    transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
    padding: 30px 20px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
}
.mobile-sidebar.open {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 34px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover {
    color: var(--brand-teal-light);
}

.sidebar-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(10,30,60,0.65);
    backdrop-filter: blur(3px);
    z-index: 1055;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* -----------------------------------------
   7. UTILITY CLASSES & ANIMATIONS
   ----------------------------------------- */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275),
                box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12) !important;
}

.drop-shadow {
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.14));
}

/* Pulse animation for primary CTA buttons */
@keyframes pulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(230,168,23,0.65); }
    50%  { transform: scale(1.02); box-shadow: 0 0 0 14px rgba(230,168,23,0);   }
    100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(230,168,23,0);    }
}
.pulse-btn {
    animation: pulse 2.4s infinite;
}

/* -----------------------------------------
   8. HERO SECTION
   ----------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--brand-teal-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background-color: var(--brand-teal);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* -----------------------------------------
   9. BENEFIT CARDS
   ----------------------------------------- */
.benefit-card {
    background-color: var(--white);
    border-bottom: 4px solid var(--brand-teal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(14,95,163,0.12) !important;
}

/* -----------------------------------------
   10. INGREDIENT CARDS
   ----------------------------------------- */
.ingredient-card {
    background-color: var(--white);
    border-left: 4px solid var(--brand-teal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(14,95,163,0.1) !important;
}

.ingredient-icon {
    border: 3px solid var(--brand-teal-light);
    box-shadow: 0 4px 10px rgba(14,95,163,0.15);
}

/* -----------------------------------------
   11. REVIEW CARDS
   ----------------------------------------- */
.review-card {
    border-top: 4px solid var(--brand-teal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

/* -----------------------------------------
   12. PRICING CARDS
   ----------------------------------------- */
.pricing-card {
    border: 3px solid #b0cfe8;
    background: var(--white);
    transition: transform 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card--featured {
    border-color: var(--brand-teal);
    background: linear-gradient(to bottom, #f0f7ff, #ddeefa);
    transform: scale(1.05);
    box-shadow: 0 18px 45px rgba(14,95,163,0.22);
    z-index: 2;
    position: relative;
}
.pricing-card--featured:hover {
    transform: scale(1.05) translateY(-6px);
}

/* Colored top bar on each pricing card */
.pkg-header {
    background-color: #b0cfe8;
    color: var(--white);
    font-weight: 800;
    padding: 14px 10px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-align: center;
}
.pkg-header--featured {
    background-color: var(--brand-teal);
    font-size: 1.2rem;
}

/* Package title and subtitle */
.pkg-title {
    color: var(--brand-teal);
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 16px;
    line-height: 1.1;
}
.pkg-subtitle {
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* Package image wrapper */
.pkg-image-wrapper {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

/* SAVE badge on product image */
.save-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    background: #e63c3c;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Big price display */
.price-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--brand-teal);
    margin-bottom: 12px;
}
.price-display .big-price {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}
.price-display .per-bottle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Perks list inside pricing card */
.pkg-perks {
    list-style: none;
    padding: 0;
    margin: 10px 0 14px;
    text-align: left;
}
.pkg-perks li {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0a4a80;
    margin-bottom: 5px;
}
.pkg-perks li i {
    color: #27ae60;
    margin-right: 6px;
}

/* 3-D style Buy Now button */
.btn-buy-now {
    display: block;
    width: 85%;
    margin: 0 auto 12px auto;
    background: linear-gradient(to bottom, #e6a817, #cc8f0e);
    color: var(--white) !important;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 0 #9d6c0a, 0 10px 18px rgba(0,0,0,0.18);
    transition: all 0.18s ease;
    text-align: center;
}
.btn-buy-now:hover {
    background: linear-gradient(to bottom, #f0b428, #da9e17);
    transform: translateY(2px);
    box-shadow: 0 4px 0 #9d6c0a, 0 6px 10px rgba(0,0,0,0.15);
}
.btn-buy-now:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #9d6c0a;
}

.btn-buy-now--featured {
    background: linear-gradient(to bottom, #1a7bbf, #0a4a80);
    box-shadow: 0 6px 0 #083a63, 0 10px 18px rgba(14,95,163,0.3);
    font-size: 1.6rem;
    color: var(--white) !important;
}
.btn-buy-now--featured:hover {
    background: linear-gradient(to bottom, #228cd5, #0e5fa3);
    box-shadow: 0 4px 0 #083a63, 0 6px 12px rgba(14,95,163,0.25);
}

/* Bottom total price and free shipping labels */
.bottom-price {
    font-size: 1rem;
    font-weight: 800;
    color: #222;
}
.bottom-price del {
    color: #999;
    font-weight: 600;
}
.free-shipping-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-teal);
}

/* Credit card icons row */
.credit-icons {
    height: 22px;
    opacity: 0.85;
}

/* -----------------------------------------
   13. GUARANTEE SECTION
   ----------------------------------------- */
.guarantee-section .guarantee-inner {
    background-color: var(--brand-teal-light) !important;
    border: 2px dashed var(--brand-teal);
    border-radius: 20px;
}

/* -----------------------------------------
   14. FAQ ACCORDION
   ----------------------------------------- */
.accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark);
}
.accordion-button:not(.collapsed) {
    color: var(--brand-teal);
    background-color: var(--brand-teal-light);
    box-shadow: none;
}
.accordion-button::after {
    filter: none;
}
.accordion-button:not(.collapsed)::after {
    filter: hue-rotate(190deg) saturate(3) brightness(0.8);
}
.accordion-item {
    border: 1px solid #cde3f5;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 12px;
}
.accordion-item:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------
   15. FOOTER SECTION
   ----------------------------------------- */
.footer-section {
    border-top-color: var(--brand-teal) !important;
}
.footer-section a:hover {
    color: var(--brand-teal) !important;
}

/* -----------------------------------------
   16. STEP / HOW-IT-WORKS NUMBERS
   ----------------------------------------- */
.step-number {
    width: 52px;
    height: 52px;
    background-color: var(--brand-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* -----------------------------------------
   17. RESPONSIVE DESIGN
   ----------------------------------------- */
@media (max-width: 991px) {
    .display-5 { font-size: 2.3rem; }
    .display-6 { font-size: 1.9rem; }
    .hero-section { text-align: center; }
    .hero-section ul {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }
    .hero-section .d-flex.flex-sm-row {
        justify-content: center;
    }
    .pricing-card--featured {
        transform: scale(1);
    }
    .pricing-card--featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 767px) {
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.65rem; }
    .pricing-section [class*="col-"] {
        margin-bottom: 20px;
    }
    .footer-section .d-flex {
        flex-direction: column;
        gap: 12px;
    }
    .btn-buy-now {
        font-size: 1.3rem;
    }
    .price-display .big-price {
        font-size: 3.8rem;
    }
}
