/* 
   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:not(.footer-brand__logo) {
    max-width: 100%;
    height: auto;
    display: block;
}
.site-footer .footer-brand__logo,
body.landing-page .footer-brand__logo {
    max-height: 48px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}
.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); }
}

/* =====================================================================
   MODERN GLASSMORPHISM UI & DUAL COUNTRY TOGGLE
   ===================================================================== */
.glass-country-toggle-wrapper,
.glass-country-toggle,
.glass-toggle-floating {
  display: none !important;
}

.glass-country-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-country-toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  color: #475569;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.glass-toggle-btn .flag-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.glass-toggle-btn .currency-tag {
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.85;
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
}

.glass-toggle-btn:hover:not(.is-active) {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}

.glass-toggle-btn.is-active.is-bd {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
}

.glass-toggle-btn.is-active.is-bd .currency-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.glass-toggle-btn.is-active.is-us {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.glass-toggle-btn.is-active.is-us .currency-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Floating Glassmorphic Country Toggle (for landing pages) */
.glass-toggle-floating {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
}
.glass-toggle-floating .glass-country-toggle {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Mobile optimizations for toggle */
@media (max-width: 768px) {
  .glass-toggle-floating {
    top: 12px;
    right: 12px;
  }
  .glass-toggle-btn {
    padding: 4px 9px;
    font-size: 0.78rem;
  }
  .glass-toggle-btn .country-text {
    display: inline;
  }
}

/* Glassmorphism Cards & Badges */
.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  border-radius: 16px;
}
