/* --- 2025 COLOR ARCHITECTURE --- */
:root {
  --bg: #0b1120;
  --surface: #1e293b;
  --brand: #10b981;
  --brand-soft: rgba(16, 185, 129, 0.1);
  --secondary: #3b82f6;
  --accent: #f59e0b;
  --text-header: #f8fafc;
  --text-body: #94a3b8;
  --border: #334155;
  --radius: 16px;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

/* --- BASE STYLES --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { transition: 0.3s; text-decoration: none; }

/* --- TEXT GRADIENTS --- */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* --- HEADER --- */
.site-header {
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}
.topbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--text-header); display: flex; align-items: center; gap: 8px; }
.highlight { color: var(--brand); }
.desktop-nav a { color: var(--text-header); font-weight: 600; margin-left: 32px; opacity: 0.7; }
.desktop-nav a:hover { opacity: 1; color: var(--brand); }

/* --- HERO & CENTERED ELEMENTS --- */
.hero-wrapper { 
  padding: 80px 0; 
  text-align: center; 
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent); 
}
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--text-header); line-height: 1.1; margin-bottom: 24px; }
.hero-tagline { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 15px; display: block; }

/* SEARCH BAR */
.search-container { max-width: 600px; margin: 30px auto; position: relative; }
.search-container input {
  width: 100%;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: white;
  font-size: 1rem;
}

/* --- CATEGORIES & TOGGLES --- */
.category-wrapper { margin-bottom: 48px; text-align: center; }
.categories-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cat, .btn-primary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  color: var(--text-header);
  font-weight: 700;
  display: inline-block;
}
.cat:hover, .btn-primary:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat.active { background: var(--brand); color: white; border-color: var(--brand); }

/* --- UNIFORM POST FRAME (Individual Reviews) --- */
.review-img-container {
  display: block;
  margin: 40px auto;
  max-width: 850px;
}

.review-img-container img {
  width: 100%;
  aspect-ratio: 4 / 3; /* STRICT UNIFORM SIZE FOR ALL POSTS */
  object-fit: contain;
  padding: 45px;
  background-color: #ffffff; /* CLEAN WHITE STUDIO FINISH */
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.review-img-container:hover img {
  transform: translateY(-8px);
}

.img-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-top: 15px;
  font-style: italic;
}

/* --- GRID & LAYOUT --- */
.main-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; margin-top: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }

/* CARD STYLES */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; transition: 0.3s; }
.card:hover { transform: translateY(-8px); border-color: var(--brand); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-title { color: var(--text-header); margin-bottom: 12px; font-size: 1.2rem; font-weight: 700; }
.read-more { color: var(--brand); font-weight: 700; display: block; margin-top: 10px; }

/* --- VERDICT & SPECS --- */
.verdict-box { 
  background: var(--brand-soft); 
  border-left: 4px solid var(--brand); 
  padding: 24px; 
  border-radius: 0 12px 12px 0; 
  margin: 30px 0; 
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.specs-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { font-weight: 800; color: var(--text-header); width: 35%; background: rgba(255,255,255,0.02); }

/* --- SIDEBAR --- */
.sidebar { position: sticky; top: 100px; height: fit-content; }
.widget { background: var(--surface); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; border: 1px solid var(--border); }
.widget-title { color: var(--text-header); margin-bottom: 20px; font-weight: 800; border-left: 4px solid var(--brand); padding-left: 12px; }
.mini-card { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; text-decoration: none; }
.mini-card img { width: 64px; height: 64px; border-radius: 8px; object-fit: contain; background: white; padding: 4px; border: 1px solid var(--border); }
.mini-card strong { color: var(--text-header); font-size: 0.9rem; transition: 0.3s; }
.mini-card:hover strong { color: var(--brand); }

/* --- FOOTER --- */
.site-footer { background: #070b14; padding: 60px 0 30px; border-top: 1px solid var(--border); margin-top: 80px; text-align: center; }

@media (max-width: 992px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}