/* Mature Skin Guide - Professional Editorial Affiliate Site */
/* Design: Editorial/Magazine + Trust-focused for conversion */

:root {
  /* Color Palette - Professional & Trustworthy */
  --primary: #2c5f7c;
  --primary-dark: #1e4359;
  --accent: #3a9679;
  --accent-hover: #2d7a60;
  --text-dark: #1a202c;
  --text-body: #2d3748;
  --text-light: #4a5568;
  --border: #e2e8f0;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --warning: #f59e0b;
  --success: #10b981;
  
  /* Typography Scale */
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-img {
  height: 45px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: var(--space-xl);
}

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 6px rgba(58, 150, 121, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(58, 150, 121, 0.3);
  color: white;
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Product Card */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.product-image-container {
  width: 100%;
}

.product-info {
  width: 100%;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: var(--space-md);
}

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

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.rating {
  color: var(--warning);
}

/* Content Sections */
.content-section {
  padding: var(--space-2xl) 0;
}

.content-section:nth-child(even) {
  background: var(--bg-light);
}

/* Pros & Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.pros-cons-box {
  background: white;
  padding: var(--space-lg);
  border-radius: 8px;
  border-left: 4px solid;
}

.pros-box {
  border-left-color: var(--success);
}

.cons-box {
  border-left-color: var(--warning);
}

.pros-cons-box h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.pros-cons-box ul {
  list-style: none;
  padding-left: 0;
}

.pros-cons-box li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.pros-cons-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.cons-box li:before {
  content: "✗";
  color: var(--warning);
}

/* Trust Signals */
.trust-signals {
  background: var(--primary);
  color: white;
  padding: var(--space-xl) 0;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.trust-item {
  padding: var(--space-md);
}

.trust-item h4 {
  color: white;
  margin-top: var(--space-sm);
}

/* Disclaimer Box */
.disclaimer {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
  padding: var(--space-md);
  margin: var(--space-xl) 0;
  border-radius: 4px;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: #a0aec0;
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

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

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: #a0aec0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .product-meta {
    flex-direction: column;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-image-container {
    text-align: center;
  }
  
  .product-image {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-lg {
  margin-top: var(--space-lg);
}
