/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800&family=Inter:wght@400;600&display=swap');

:root {
  /* Color Palette */
  --primary: #6366f1;       /* Indigo */
  --primary-hover: #4f46e5;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  /* Spacing & Layout */
  --container-width: 1000px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5);
  }
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-hover); }

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header / Nav */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-body); /* Sticky header support */
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text-main); }

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
}
.tagline {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.1s, background-color 0.2s;
}
.btn:hover { background-color: var(--primary-hover); transform: translateY(-2px); color: white; text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-main);
}
.btn-outline:hover { border-color: var(--text-main); }

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

/* Feature Image Placeholders */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(45deg, #333, #444);
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-family: monospace;
  overflow: hidden;
}
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile Tweaks */
@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  .hero { padding: 40px 0; }
}

/* The Container for the whole review */
.review-card { 
  background: var(--bg-card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 24px; 
  margin: 40px 0; 
  box-shadow: var(--shadow); 
}

/* The Layout Engine */
.review-grid {
  display: grid;
  gap: 24px;
  /* MOBILE DEFAULT: 1 Column (Image on top, text below) */
  grid-template-columns: 1fr; 
}

/* DESKTOP OVERRIDE: When screen is bigger than 768px, go side-by-side */
@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: 200px 1fr; /* Image is fixed 200px, text takes the rest */
    align-items: start;
  }
}

/* Image Styling */
.review-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces a perfect square */
  border-radius: 12px;
  background: #333; /* Placeholder color */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
}
.review-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The "Specs" List Styling */
.review-specs {
  list-style: none; /* Remove bullets */
  padding: 16px;
  margin: 16px 0;
  background: var(--bg-body); /* Slightly different background color */
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}
.review-specs li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.review-specs strong {
  color: var(--primary); /* Highlight the labels */
}

/* Header Adjustments */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.score-badge {
  background: var(--primary);
  color: white;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
}