/* ============================================
   LANDING PAGE CSS - UNIVERSAL STYLES
   Walcott Radio Brand - Core Reusable Styles
   ============================================ */

/* CSS Variables - Walcott Radio Brand Colors */
:root {
  /* Primary Fonts */
  --lp-font: "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* Primary Brand Colors */
  --lp-red: #CF1C3C;
  --lp-black: #080808;
  --lp-white: #FFFFFF;
  --lp-grey: #191A1C;
  --lp-grey-highlight: #2F3135;
  --lp-grey-light: #F0F1F3;
  
  /* Application Variables - IMPROVED CONTRAST */
  --lp-bg: #080808;
  --lp-bg-light: #FFFFFF;
  --lp-bg-section: #F8F9FA;
  --lp-card: #FFFFFF;
  --lp-card-hover: #F8F9FA;
  --lp-muted: #6B7280;
  --lp-muted-light: #9CA3AF;
  --lp-text: #1F2937;
  --lp-text-dark: #111827;
  --lp-text-light: #FFFFFF;
  --lp-text-muted: #6B7280;
  --lp-brand: #CF1C3C;
  --lp-brand-light: #E02E4E;
  --lp-brand-dark: #A01730;
  --lp-accent: #CF1C3C;
  --lp-accent-secondary: #10B981;
  --lp-danger: #EF4444;
  --lp-success: #10B981;
  --lp-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --lp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --lp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --lp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --lp-gradient-primary: linear-gradient(135deg, #CF1C3C 0%, #A01730 100%);
  --lp-gradient-hero: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  --lp-border: #E5E7EB;
  --lp-border-light: #F3F4F6;
  --lp-green-text: #059669;
  --lp-green-bg: rgba(16, 185, 129, 0.1);

  /* Highlight Spectrum */
  --lp-highlight-yellow: #FACC15;          /* warm energy, pairs with red */
  --lp-highlight-yellow-bg: rgba(250, 204, 21, 0.1);

  --lp-highlight-gold: #D97706;            /* elegant "premium" header tone */
  --lp-highlight-gold-bg: rgba(217, 119, 6, 0.1);

  --lp-highlight-blue: #2563EB;            /* clean contrast for CTA ribbons */
  --lp-highlight-blue-bg: rgba(37, 99, 235, 0.1);

  --lp-highlight-red-soft: #F87171;        /* soft red, subtle version of brand red */
  --lp-highlight-red-bg: rgba(239, 68, 68, 0.08);

  --lp-highlight-green-muted: #34D399;     /* a softer companion to the current green */
  --lp-highlight-green-bg: rgba(52, 211, 153, 0.1);  
  
  /* Spacing */
  --lp-spacing-xs: 0.5rem;
  --lp-spacing-sm: 1rem;
  --lp-spacing-md: 1.5rem;
  --lp-spacing-lg: 2rem;
  --lp-spacing-xl: 3rem;
  --lp-spacing-2xl: 4rem;
  
  /* Border Radius */
  --lp-radius-sm: 0.375rem;
  --lp-radius-md: 0.5rem;
  --lp-radius-lg: 0.75rem;
  --lp-radius-xl: 1rem;
  --lp-radius-2xl: 1.5rem;
  --lp-radius-full: 9999px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
body{margin: 0; font-family: var(--lp-font)}

.lp-content,
.lp-content * {
  box-sizing: border-box;
  font-family: var(--lp-font);
}
.lp-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lp-spacing-lg);
    width: 100%;
}

.lp-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-text);
  background: var(--lp-bg-light);
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.lp-content h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  color: var(--lp-text-dark);
  letter-spacing: -0.025em;
}

.lp-content h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--lp-text-dark);
  letter-spacing: -0.02em;
}

.lp-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--lp-text-dark);
}

.lp-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  color: var(--lp-text-dark);
}

.lp-content p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1rem 0;
  color: var(--lp-text);
}

.lp-content a {
  text-decoration: none;
  color: var(--lp-brand);
  transition: color 0.2s ease;
}

.lp-content a:hover {
  color: var(--lp-brand-dark);
}

/* ============================================
   CONTAINER
   ============================================ */

.lp-content .lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lp-spacing-lg);
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */

.lp-content .lp-section {
  padding: var(--lp-spacing-2xl) 0;
  background: var(--lp-bg-light);
}

.lp-content .lp-section:nth-child(even) {
  background: var(--lp-bg-section);
}

.lp-content .lp-section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--lp-text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-content .lp-section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--lp-text-muted);
  margin-bottom: var(--lp-spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ============================================
   BUTTONS - MODERN DESIGN
   ============================================ */

.lp-content .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--lp-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--lp-text);
  color: var(
  --lp-text-light);
  border: 2px solid transparent;
  box-shadow: var(
  --lp-shadow-md);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.lp-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lg);
  color: var(--lp-text-light);
}

.lp-content .btn:active {
  transform: translateY(0);
}

.lp-content .btn.outline {
  background: var(--lp-bg-light);
  border: 2px solid var(--lp-brand);
  color: var(--lp-brand);
  box-shadow: var(--lp-shadow);
}

.lp-content .btn.outline:hover {
  background: var(--lp-brand);
  color: var(--lp-text-light);
  border-color: var(--lp-brand);
}

.lp-content .btn.secondary {
  background: var(--lp-grey-highlight);
  color: var(--lp-text-light);
}

.lp-content .btn.secondary:hover {
  background: var(--lp-grey);
}

.lp-content .btn.primary {
}

/* ============================================
   CARDS & GRIDS (Generic)
   ============================================ */

.lp-content .card {
  background: var(--lp-card);
  border-radius: var(--lp-radius-xl);
  padding: var(--lp-spacing-lg);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  transition: all 0.3s ease;
}

.lp-content .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-lg);
  border-color: var(--lp-brand);
}

/* ============================================
   PRODUCT DISPLAY COMPONENTS
   ============================================ */

/* Stars + review count */
.lp-content .lp-stars {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 1px;
  color: #f5a623;
  margin: 4px 0 8px 0;
}

.lp-content .lp-stars .lp-revcount {
  color: var(--lp-muted);
  font-size: 0.9rem;
  margin-left: 6px;
}

/* Compact bullets for product highlights */
.lp-content .lp-bullets-compact {
  margin: 8px 0 8px 18px;
  padding: 0;
  list-style: disc;
}

.lp-content .lp-bullets-compact li {
  margin: 4px 0;
  font-size: 0.9rem;
  color: var(--lp-text);
  line-height: 1.4;
}

/* Product model number */
.lp-content .lp-model {
  font-size: 0.85rem;
  color: var(--lp-muted);
  margin: 4px 0 8px 0;
  font-family: 'Courier New', monospace;
}

/* Product description text */
.lp-content .lp-desc {
  font-size: 0.95rem;
  color: var(--lp-text);
  line-height: 1.6;
  margin: 8px 0;
}

/* Price display */
.lp-content .lp-price {
  margin-top: 10px;
  font-weight: 700;
  color: var(--lp-brand-dark);
  font-size: 1.2rem;
}

/* Stock status */
.lp-content .lp-stock {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
}

.lp-content .lp-stock.in {
  color: var(--lp-success);
  background: rgba(16, 185, 129, 0.1);
}

.lp-content .lp-stock.out {
  color: var(--lp-danger);
  background: rgba(239, 68, 68, 0.1);
}

.lp-content .lp-stock.preorder {
  color: #d97706;
  background: #fef3c7;
}

.lp-content .lp-stock.backordered {
  color: #ea580c;
  background: #fed7aa;
}

/* Product card footer with price and stock */
.lp-content .lp-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--lp-border-light);
}

/* ============================================
   HEADER & FOOTER
   ============================================ */

.lp-header {
  background: var(--lp-bg);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--lp-shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lp-spacing-lg);
}

.lp-logo img {
  max-height: 50px;
  width: auto;
}

.lp-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.lp-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  font-family: var(--lp-font);
}

.lp-nav a:hover {
  color: var(--lp-text-light);
}

.lp-nav .lp-cart-link {
  padding: 0.5rem 1rem;
  background: var(--lp-brand);
  color: var(--lp-text-light);
  border-radius: var(--lp-radius-md);
  font-weight: 600;
}

.lp-nav .lp-cart-link:hover {
  background: var(--lp-brand-dark);
}

.lp-footer {
  font-family: var(--lp-font);
  background: var(--lp-grey);
  color: var(--lp-text-light);
  padding: var(--lp-spacing-2xl) 0 var(--lp-spacing-lg);
}

.lp-footer * {
  font-family: var(--lp-font);
}

.lp-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lp-spacing-lg);
}

.lp-footer-column h4 {
  color: var(--lp-text-light);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.lp-footer-column p,
.lp-footer-column ul {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.lp-footer-column ul {
  list-style: none;
  padding: 0;
}

.lp-footer-column ul li {
  margin-bottom: 0.5rem;
}

.lp-footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lp-footer-column a:hover {
  color: var(--lp-text-light);
}

.lp-footer-bottom {
  text-align: center;
  padding-top: var(--lp-spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.lp-content .text-center {
  text-align: center;
}

.lp-content .text-brand {
  color: var(--lp-brand);
}

.lp-content .bg-light {
  background: var(--lp-bg-light);
}

.lp-content .bg-section {
  background: var(--lp-bg-section);
}

.lp-content .mt-0 { margin-top: 0; }
.lp-content .mt-1 { margin-top: var(--lp-spacing-xs); }
.lp-content .mt-2 { margin-top: var(--lp-spacing-sm); }
.lp-content .mt-3 { margin-top: var(--lp-spacing-md); }
.lp-content .mt-4 { margin-top: var(--lp-spacing-lg); }
.lp-content .mt-5 { margin-top: var(--lp-spacing-xl); }

.lp-content .mb-0 { margin-bottom: 0; }
.lp-content .mb-1 { margin-bottom: var(--lp-spacing-xs); }
.lp-content .mb-2 { margin-bottom: var(--lp-spacing-sm); }
.lp-content .mb-3 { margin-bottom: var(--lp-spacing-md); }
.lp-content .mb-4 { margin-bottom: var(--lp-spacing-lg); }
.lp-content .mb-5 { margin-bottom: var(--lp-spacing-xl); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .lp-content .lp-container {
    padding: 0 var(--lp-spacing-md);
  }
  
  .lp-content .lp-section {
    padding: var(--lp-spacing-xl) 0;
  }
  
  .lp-content .lp-section-title {
    font-size: 1.75rem;
  }
  
  .lp-content .btn {
    width: 100%;
  }
  
  .lp-nav {
    display: none;
  }
  
  .lp-header {
    padding: 1rem 0;
  }
  
  .lp-content .lp-product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .lp-content h1 {
    font-size: 2rem;
  }
  
  .lp-content h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   MODERN TRANSITIONAL HEADER
   ============================================ */

.lp-header {
  background: var(--lp-bg);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  border-bottom: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - compact header */
.lp-header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--lp-shadow-lg);
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
}

.lp-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lp-spacing-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-logo {
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Larger logo when at top */
.lp-header:not(.scrolled) .lp-logo img {
  max-height: 70px;
}

.lp-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
}

.lp-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  font-family: var(--lp-font);
  position: relative;
}

.lp-nav a:hover {
  color: var(--lp-text-light);
}

/* Animated underline on hover */
.lp-nav a:not(.lp-cart-link)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lp-brand);
  transition: width 0.3s ease;
}

.lp-nav a:not(.lp-cart-link):hover::after {
  width: 100%;
}

.lp-nav .lp-cart-link {
  padding: 0.625rem 1.25rem;
  background: var(--lp-brand);
  color: var(--lp-text-light);
  border-radius: var(--lp-radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Smaller cart button when scrolled */
.lp-header.scrolled .lp-nav .lp-cart-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.lp-nav .lp-cart-link:hover {
  background: var(--lp-brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-md);
}

/* ============================================
   RESPONSIVE HEADER
   ============================================ */

/* ============================================
   MOBILE MENU
   ============================================ */

.lp-mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.lp-mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--lp-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.lp-header.menu-open .lp-mobile-menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.lp-header.menu-open .lp-mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.lp-header.menu-open .lp-mobile-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.lp-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--lp-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--lp-shadow-lg);
}

.lp-mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem var(--lp-spacing-lg);
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-mobile-nav a:hover,
.lp-mobile-nav a:focus {
  color: var(--lp-text-light);
  background: rgba(255, 255, 255, 0.05);
  padding-left: calc(var(--lp-spacing-lg) + 0.5rem);
}

.lp-mobile-nav .lp-mobile-cart-link {
  background: var(--lp-brand);
  color: var(--lp-text-light);
  font-weight: 600;
  margin: 0.5rem var(--lp-spacing-lg);
  border-radius: var(--lp-radius-md);
  text-align: center;
  border: none;
}

.lp-mobile-nav .lp-mobile-cart-link:hover {
  background: var(--lp-brand-dark);
  padding-left: var(--lp-spacing-lg);
}

.lp-header.menu-open .lp-mobile-nav {
  display: flex;
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}

/* Offset for sticky header when scrolling to anchors */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .lp-header {
    padding: 1rem 0;
  }
  
  .lp-header.scrolled {
    padding: 0.75rem 0;
  }
  
  .lp-logo img {
    max-height: 45px;
  }
  
  .lp-header:not(.scrolled) .lp-logo img {
    max-height: 50px;
  }
  
  .lp-nav {
    display: none;
  }
  
  .lp-mobile-menu-toggle {
    display: flex;
  }
  
  section[id] {
    scroll-margin-top: 80px;
  }
}