/* GlowReview - Modern & Attractive Affiliate Review Site */
:root {
  --primary: #1b4332;
  --primary-mid: #2d6a4f;
  --accent: #d4a373;
  --soft-green: #d8f3dc;
  --soft-cream: #fefae0;
  --soft-pink: #fae1dd;
  --bg: #f8f7f4;
  --text: #1a1a1a;
  --text-light: #5c5c5c;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.12);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 32px;
  font-weight: 550;
  font-size: 0.98rem;
}

.nav a {
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-mid);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  padding: 4px 8px;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #d8f3dc 0%, #fae1dd 50%, #fefae0 100%);
  padding: 90px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(27,67,50,0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 650;
  font-size: 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 18px rgba(27,67,50,0.25);
}

.btn-primary:hover {
  background: #14352a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27,67,50,0.3);
}

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

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

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 750;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

/* Category Cards - Attractive */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.categories-main {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin: 0 auto;
  gap: 32px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card-lg {
  padding: 52px 36px 44px;
  min-height: 320px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45,106,79,0.12);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
  display: block;
}

.cat-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 22px;
}

.cat-icon-green {
  background: linear-gradient(145deg, #d8f3dc, #b7e4c7);
}

.cat-icon-pink {
  background: linear-gradient(145deg, #fae1dd, #f8cfc9);
}

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 750;
  line-height: 1.25;
}

.category-card p {
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.55;
  flex: 1;
}

.category-card .cat-link {
  display: inline-block;
  font-weight: 650;
  color: var(--primary-mid);
  font-size: 0.95rem;
  margin-top: auto;
}

.category-card:hover .cat-link {
  color: var(--accent);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  height: 210px;
  background: linear-gradient(135deg, #f0f7f1, #fdf6f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-mid);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.stars {
  color: #e9a825;
  letter-spacing: 1px;
}

.product-excerpt {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.score {
  background: var(--soft-green);
  color: var(--primary);
  font-weight: 750;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Page Header for category pages */
.page-header {
  background: linear-gradient(145deg, #d8f3dc 0%, #fae1dd 100%);
  padding: 60px 24px 50px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Review pages */
.review-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.review-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.review-image {
  flex: 0 0 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-info h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.review-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.badge {
  background: var(--soft-green);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 650;
}

.cta-box {
  background: linear-gradient(135deg, #d8f3dc, #c8e6c9);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  margin: 28px 0;
}

.cta-box h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.pros, .cons {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pros h3 { color: #2d6a4f; margin-bottom: 14px; }
.cons h3 { color: #c44536; margin-bottom: 14px; }

.pros ul, .cons ul { list-style: none; }
.pros li, .cons li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--text-light);
}

.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2d6a4f;
  font-weight: bold;
}

.cons li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #c44536;
  font-weight: bold;
}

.review-content h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.review-content p {
  margin-bottom: 14px;
  color: var(--text-light);
}

/* Trust bar */
.trust-bar {
  background: var(--primary);
  color: white;
  padding: 50px 24px;
  text-align: center;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  max-width: 200px;
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* Footer */
.footer {
  background: #111;
  color: #aaa;
  padding: 55px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer p, .footer a {
  font-size: 0.93rem;
  color: #999;
  line-height: 1.9;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.disclosure {
  background: #fff8e6;
  color: #7a5c00;
  padding: 11px 24px;
  text-align: center;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
  .categories {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .categories-main {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 24px;
  }
  .category-card-lg {
    min-height: auto;
    padding: 40px 28px 36px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .pros-cons {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    padding: 12px 0;
    border-top: 1px solid #eee;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #f3f3f3;
  }
  .header-inner {
    position: relative;
  }
  .review-header {
    flex-direction: column;
  }
  .review-image {
    flex: none;
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
