/* 
   LANDING PAGE CSS
   Built specifically for high-conversion D2C Landing Pages
*/
:root {
    /* These variables are overridden dynamically by landing.php */
    --lp-primary: #000;
    --lp-secondary: #fff;
    --lp-accent: #ff0000;
    --lp-bg: #fafafa;
    --lp-text: #333;
    --lp-font: 'Inter', sans-serif;
    --lp-radius: 12px;
    --lp-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --lp-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.landing-page {
    margin: 0;
    padding: 0;
    font-family: var(--lp-font);
    color: var(--lp-text);
    background-color: var(--lp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Reset basics */
.landing-page * {
    box-sizing: border-box;
}
.landing-page img {
    max-width: 100%;
    height: auto;
    display: block;
}
.landing-page a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lp-block {
    position: relative;
    padding: 60px 0;
}

/* Typography */
.landing-page h1, 
.landing-page h2, 
.landing-page h3, 
.landing-page h4 {
    font-family: 'Outfit', sans-serif;
    margin-top: 0;
    line-height: 1.2;
    color: var(--lp-text);
}
.lp-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--lp-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--lp-radius);
    cursor: pointer;
    border: none;
    transition: var(--lp-transition);
    text-align: center;
}
.lp-btn--primary {
    background-color: var(--lp-primary);
    color: var(--lp-secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Sticky Bar */
.lp-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 100;
    padding: 15px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lp-sticky-bar.is-visible {
    transform: translateY(0);
}
.lp-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.lp-sticky-bar__inner img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}
.lp-sticky-bar__info {
    flex-grow: 1;
}
.lp-sticky-bar__info .title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
}
.lp-sticky-bar__info .price {
    font-weight: 700;
    color: var(--lp-primary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .lp-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .lp-block {
        padding: 40px 0;
    }
}

/* Visibility Classes */
@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

/* Vibrant Red CTA Button Styles */
.bottom-cta-block .btn--primary,
.bottom-cta-block .js-buy-now {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    animation: pulseRedCTA 2s infinite !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.bottom-cta-block .btn--primary:hover,
.bottom-cta-block .js-buy-now:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6) !important;
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%) !important;
}

@keyframes pulseRedCTA {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
