/* ============================================
   VENABLE REVIEWS - Premium CSS
   Color Palette: Deep Purple, Rose Gold, Cream, Elegant Black
   ============================================ */

:root {
  /* Premium Colors */
  --color-primary: #6B2C91;       /* Deep Purple */
  --color-secondary: #B76E79;     /* Rose Gold */
  --color-accent: #F5F5DC;        /* Cream */
  --color-dark: #1a1a1a;          /* Elegant Black */
  --color-light: #ffffff;
  --color-background: #fafafa;
  --color-text: #2d2d2d;
  --color-text-light: #666666;
  --color-white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6B2C91 0%, #4a1d6b 100%);
  --gradient-secondary: linear-gradient(135deg, #B76E79 0%, #8f5663 100%);
  --gradient-accent: linear-gradient(135deg, #F5F5DC 0%, #e8e4c9 100%);
  --gradient-hero: linear-gradient(135deg, #6B2C91 0%, #4a1d6b 50%, #3e1a52 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(107, 44, 145, 0.1);
  --shadow-md: 0 4px 8px rgba(107, 44, 145, 0.15);
  --shadow-lg: 0 8px 24px rgba(107, 44, 145, 0.2);
  --shadow-xl: 0 12px 48px rgba(107, 44, 145, 0.25);
  --shadow-glow: 0 0 20px rgba(107, 44, 145, 0.3);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Lato', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(107, 44, 145, 0.2);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-secondary);
  text-decoration-color: var(--color-secondary);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  background: var(--color-dark);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-light);
  text-decoration: none;
}

.nav-brand span {
  color: var(--color-secondary);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--color-light);
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: var(--gradient-hero);
  color: var(--color-light);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--color-light);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--color-light);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--color-dark);
}

.btn-accent:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-light);
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(107, 44, 145, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(107, 44, 145, 0.3);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: var(--space-lg);
  background: var(--color-background);
}

/* The best-for/* category pages wrap their card image in .product-thumbnail
   instead of using .product-card-image directly, and nothing styled it - the
   image rendered at its intrinsic size, capped only by the global max-width.
   That happened to look right while every source image was landscape, and broke
   the moment a square placeholder replaced one. Same fixed band and crop as
   .product-card-image, so card height no longer depends on source aspect. */
.product-thumbnail {
  margin-bottom: var(--space-lg);
}

.product-thumbnail .product-image {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-background);
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.product-card-desc {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.meta-badge {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.product-card-price span {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-family: var(--font-secondary);
  text-decoration: line-through;
  margin-right: var(--space-md);
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 44, 145, 0.1);
  margin-right: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-dark);
}

.trust-badge i {
  color: var(--color-secondary);
  font-size: 1.125rem;
}

.trust-badge a {
  color: inherit;
}

/* ============================================
   Product Reviews Section
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(107, 44, 145, 0.1);
}

.comparison-table th {
  background: var(--color-primary);
  color: var(--color-light);
  font-family: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--color-accent);
}

/* ============================================
   Features List
   ============================================ */
.features-list {
  list-style: none;
  margin: var(--space-lg) 0;
}

.features-list li {
  padding: var(--space-sm) 0;
  padding-left: 2.5rem;
  position: relative;
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.features-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* Pros & Cons */
.pros-cons-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.pros-cons-section h4 {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pros-section h4 { color: var(--color-primary); }
.cons-section h4 { color: var(--color-secondary); }

.pros-list, .cons-list {
  list-style: none;
}

.pros-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  margin-right: var(--space-xs);
}

.cons-list li::before {
  content: '✗';
  color: var(--color-secondary);
  font-weight: bold;
  margin-right: var(--space-xs);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(45, 45, 78, 0.96), rgba(35, 35, 62, 0.96));
  padding: var(--space-xl);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid rgba(0, 188, 212, 0.18);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: 0.75rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(0, 188, 212, 0.15);
  line-height: 0;
  z-index: -1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter {
  background: var(--gradient-primary);
  color: var(--color-light);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: var(--color-light);
  margin-bottom: var(--space-md);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 280px;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-light);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h3 {
  color: var(--color-light);
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: var(--space-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ============================================
   Page Header (Single Product)
   ============================================ */
.page-header {
  background: var(--color-background);
  border-bottom: 1px solid rgba(107, 44, 145, 0.1);
  padding: var(--space-2xl) 0;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--color-dark);
}

.page-header-meta {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}

.sidebar h4 {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.sidebar-content {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* ============================================
   Privacy Trust Section
   ============================================ */
.privacy-trust-section {
  background: var(--color-light);
  border-radius: 16px;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  margin: var(--space-xl) 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.privacy-item i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.privacy-item h5 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.privacy-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --space-3xl: 2rem;
    --space-2xl: 1.5rem;
    --space-xl: 1.25rem;
  }

  .nav {
    position: static;
  }

  .nav-content {
    flex-direction: column;
    gap: var(--space-sm);
    padding: 0 var(--space-md);
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    white-space: nowrap;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .pros-cons-list {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    width: 100%;
  }
}

/* ============================================
   Loading States
   ============================================ */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   Smooth Scrolling
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   Focus States for Accessibility
   ============================================ */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .nav, .newsletter, .cta-button {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}


/* Ambient header images (2026-08-06). Set via `image:` front matter; the
   gradient in the inline style keeps hero text readable on any image. */
.page-hero--image {
  background-size: cover;
  background-position: center;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.page-hero--image h1, .page-hero--image p { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
