/* Reviewgleam - Original styles */
:root {
  --color-primary: #1a5f4a;
  --color-primary-dark: #0f3d30;
  --color-accent: #e8b923;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-bg: #fafafa;
  --color-card: #ffffff;
  --color-border: #e5e7eb;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  display: inline-block;
  line-height: 1;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-main {
  display: flex;
  gap: 1.5rem;
}

.nav-main a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--color-primary);
}

/* Disclosure bar */
.disclosure {
  background: #fef3c7;
  color: #92400e;
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero with banner */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem 5rem;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 95, 74, 0.92) 0%, rgba(15, 61, 48, 0.88) 100%);
  z-index: 0;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-primary-dark);
  background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1200&q=80');
  background-size: cover;
  background-position: center;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: 2.25rem;
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
  max-width: 720px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}

/* Section titles */
.section-title {
  font-size: 1.5rem;
  margin: 2rem 0 0.5rem;
  color: var(--color-text);
}

.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--color-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-card .image-wrap {
  aspect-ratio: 1;
  background: var(--color-bg);
  overflow: hidden;
}

.product-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .content {
  padding: 1.25rem;
}

.product-card .category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.product-card .rating {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.product-card .description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.product-card .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  text-decoration: none !important;
}

/* Secondary / outline button – high visibility */
.btn-secondary {
  background: transparent !important;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(26, 95, 74, 0.1) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark);
}

/* About page */
.about-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-intro h2 {
  margin-bottom: 0.5rem;
}

.value-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-block {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.value-block h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.content-block {
  margin: 2rem 0;
}

.content-block h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--color-text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.values-grid h4 {
  margin: 0 0 0.25rem;
  color: var(--color-primary);
  font-size: 1rem;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.expert-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.expert-card h4 {
  margin: 0 0 0.25rem;
  color: var(--color-primary);
}

.expert-card .role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* Contact page */
.contact-intro {
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 520px;
  background: var(--color-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-other {
  margin-top: 2rem;
}

.contact-other h3 {
  margin-bottom: 1rem;
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  background: var(--color-card);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.faq-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Product detail page */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}

.product-hero .image-wrap {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
}

.product-hero .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.product-hero .rating {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-hero .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.5rem 0 1rem;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.quick-stat {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.quick-stat strong {
  display: block;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.quick-stat span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.review-section h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

@media (max-width: 600px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-cons h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.pros-cons ul {
  margin: 0;
  padding-left: 1.25rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.specs-table th,
.specs-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.specs-table th {
  font-weight: 600;
  color: var(--color-text-muted);
  width: 45%;
}

/* Legal pages */
.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-page ul {
  padding-left: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #d1d5db;
  padding: 2.5rem 2rem;
  margin-top: 3rem;
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer a {
  color: #9ca3af;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}

.footer-wrap h4 {
  color: #fff;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-wrap li {
  margin-bottom: 0.35rem;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: #e5e7eb;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1000;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-bar a {
  color: #e8b923;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-bar a:hover {
  color: #f5d04d;
}

.cookie-bar .cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-bar .btn {
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #e8b923;
  background: #e8b923 !important;
  color: #1f2937 !important;
}

.cookie-bar .btn:hover {
  background: #f5d04d !important;
  border-color: #f5d04d;
  color: #1f2937 !important;
}

.cookie-bar .btn-decline {
  background: transparent !important;
  color: #e5e7eb !important;
  border: 2px solid #9ca3af;
}

.cookie-bar .btn-decline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #d1d5db;
  color: #fff !important;
}

.cookie-bar.hidden {
  display: none;
}
