/* ReviewBrio.com - Magazine Editorial Style (Teal/Emerald) */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #10b981;
  --bg-start: #f0fdfa;
  --bg-end: #ccfbf1;
  --card-bg: #ffffff;
  --text: #134e4a;
  --text-muted: #5eead4;
  --muted: #64748b;
  --border: #99f6e4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.1), 0 4px 10px -5px rgba(0,0,0,0.04);
  --shadow-hover: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-start) 0%, #fff 30%, var(--bg-end) 100%);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* Navbar - Light with teal accent */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 3px solid var(--primary);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; font-family: 'Outfit', sans-serif; }
.nav-links a:hover { color: var(--primary); }

/* Hero - Magazine style with large image */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 3rem;
  margin-bottom: 3rem;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1496181133206-80ce9b88a853?w=1600') center/cover;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,148,136,0.92) 0%, rgba(13,148,136,0.4) 50%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
  color: #fff;
  padding: 0 1.5rem;
}
.hero-content h1 { color: #fff; margin-bottom: 0.75rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; opacity: 0.98; margin-bottom: 1.5rem; font-family: 'Outfit', sans-serif; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary { background: #fff; color: var(--primary); }
.btn-secondary { background: transparent; color: #fff; border: 3px solid #fff; }

/* Section */
.section { padding: 3.5rem 0; }
.section-title { margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); font-family: 'Outfit', sans-serif; }

/* Featured - Magazine card with image emphasis */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.featured-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.featured-card:hover img { transform: scale(1.08); }
.featured-card .card-body { padding: 1.5rem; }
.featured-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--text); }
.featured-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.85rem; line-height: 1.6; }
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.75rem; }
.featured-card .btn { font-size: 0.9rem; padding: 0.65rem 1.4rem; background: var(--primary); color: #fff; border-radius: 999px; }

/* Top Picks - Asymmetric horizontal */
.top-picks .card-h {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
  border: 2px solid var(--border);
  transition: box-shadow 0.3s;
}
.top-picks .card-h:hover { box-shadow: var(--shadow-hover); }
@media (max-width: 740px) { .top-picks .card-h { grid-template-columns: 1fr; } }
.top-picks .card-h img { width: 100%; height: 260px; object-fit: cover; }
.top-picks .card-h .card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.top-picks .card-h .stars { margin: 0.5rem 0; }
.top-picks .card-h ul { margin: 0.75rem 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.top-picks .card-h .btn { align-self: flex-start; margin-top: 0.5rem; background: var(--primary); color: #fff; border-radius: 999px; }

/* Comparison table */
.comparison-wrap { overflow-x: auto; margin: 2rem 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th, .comparison-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.comparison-table tr:hover { background: #f0fdfa; }
.comparison-table .verdict { font-weight: 700; color: var(--primary); }

/* Footer */
.footer {
  margin-top: 4rem;
  background: linear-gradient(180deg, #134e4a 0%, #0f766e 100%);
  color: #f0fdfa;
  padding: 3rem 0 2rem;
}
.footer a { color: #99f6e4; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; font-family: 'Outfit', sans-serif; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer-desc { max-width: 320px; font-size: 0.95rem; color: #99f6e4; line-height: 1.6; }
.footer-disclaimer { padding-top: 1rem; font-size: 0.85rem; color: #99f6e4; text-align: center; }
.footer-bottom { padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 0.9rem; color: #99f6e4; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(90deg, #134e4a 0%, #0f766e 100%);
  color: #f0fdfa; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-accept-btn { background: var(--accent); color: #fff; border: none; padding: 0.6rem 1.25rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.cookie-accept-btn:hover { opacity: 0.9; }

/* Submit message modal */
.submit-message-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center; padding: 1rem;
}
.submit-message-content {
  background: var(--card-bg); padding: 2rem; border-radius: var(--radius-sm);
  max-width: 400px; text-align: center; box-shadow: var(--shadow-hover);
}
.submit-message-content p { margin-bottom: 1.25rem; font-size: 1.1rem; }
.submit-message-close { background: var(--primary); color: #fff; border: none; padding: 0.7rem 1.5rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.submit-message-close:hover { opacity: 0.9; }

/* Page headers */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0;
  margin-bottom: 2rem;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
}
.page-hero h1 { color: #fff; }

/* About */
.about-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.about-card {
  background: var(--card-bg);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: var(--shadow);
}
.about-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.about-card .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.about-card h3 { margin-bottom: 0.5rem; }
.about-card p { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-family: 'Outfit', sans-serif; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius); border: 2px solid var(--border); box-shadow: var(--shadow); }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.5rem; color: var(--muted); }
.submit-btn { background: var(--primary); color: #fff; border: none; cursor: pointer; padding: 0.9rem 2rem; border-radius: 999px; font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 1rem; transition: opacity 0.2s, transform 0.2s; }
.submit-btn:hover { opacity: 0.95; transform: translateY(-2px); }

/* Legal */
.legal-content { max-width: 720px; margin: 0 auto; background: var(--card-bg); padding: 2rem; border-radius: var(--radius); border: 2px solid var(--border); box-shadow: var(--shadow); }
.legal-content h2 { margin-top: 1.5rem; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; color: var(--muted); }
.legal-content ul { padding-left: 1.5rem; }

/* Review page */
.review-hero-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
.review-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.review-meta .stars { font-size: 1.25rem; color: var(--accent); }
.review-content { max-width: 780px; margin: 0 auto 2rem; }
.review-content h1 { font-size: clamp(1.85rem, 4.5vw, 2.65rem); margin-bottom: 0.5rem; font-weight: 700; line-height: 1.2; }
.review-content h2 { margin-top: 2.25rem; margin-bottom: 0.85rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--primary); font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; }
.review-content p { margin-bottom: 1.35rem; font-size: 1.08rem; line-height: 1.8; }
.review-content strong { font-weight: 600; }
.review-content img { width: 100%; border-radius: var(--radius-sm); margin: 1.75rem 0; box-shadow: var(--shadow); max-height: 480px; object-fit: cover; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box { padding: 1.5rem; border-radius: var(--radius-sm); border: 2px solid var(--border); }
.pros-box { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); }
.cons-box { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-color: #fecaca; }
.pros-box h3, .cons-box h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.pros-box ul, .cons-box ul { list-style: none; }
.pros-box li:before { content: '✔ '; color: var(--primary-dark); font-weight: bold; }
.cons-box li:before { content: '✖ '; color: #dc2626; font-weight: bold; }
.pros-box li, .cons-box li { margin-bottom: 0.4rem; padding-left: 0; }
.buy-cta { text-align: center; margin: 2.5rem 0; }
.buy-cta .btn { font-size: 1.1rem; padding: 1rem 2rem; background: var(--primary); color: #fff; border-radius: 999px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.featured-card { animation: fadeIn 0.5s ease-out backwards; }
.featured-card:nth-child(1) { animation-delay: 0.05s; }
.featured-card:nth-child(2) { animation-delay: 0.1s; }
.featured-card:nth-child(3) { animation-delay: 0.15s; }
.featured-card:nth-child(4) { animation-delay: 0.2s; }
.featured-card:nth-child(5) { animation-delay: 0.25s; }
.featured-card:nth-child(6) { animation-delay: 0.3s; }
