/* ===== CSS Variables ===== */
:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fb923c;
  --primary-bg: #fff7ed;
  --text-dark: #1c1917;
  --text-body: #44403c;
  --text-muted: #78716c;
  --bg-white: #ffffff;
  --bg-light: #fafaf9;
  --bg-alt: #f5f5f4;
  --border: #e7e5e4;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --green: #16a34a;
  --red: #dc2626;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo span,
.footer-col h3 span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--bg-alt);
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

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

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 50%, var(--primary-bg) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px !important;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}

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

.card-featured {
  border-color: var(--primary);
  border-width: 2px;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-header {
  padding: 24px 24px 0;
}

.card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--primary);
  font-size: 1.1rem;
}

.rating-number {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.card-body {
  padding: 16px 24px;
  flex: 1;
}

.card-body p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.card-features {
  list-style: none;
  padding: 0;
}

.card-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  position: relative;
  padding-left: 20px;
}

.card-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.card-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== Rating Section ===== */
.rating-grid {
  max-width: 700px;
  margin: 32px 0;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.rating-label {
  flex: 0 0 200px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.rating-bar {
  flex: 1;
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 5px;
}

.rating-score {
  flex: 0 0 70px;
  text-align: right;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.rating-summary {
  background: var(--primary-bg);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin-top: 24px;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.testimonial {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cta-section .btn-primary:hover {
  background: var(--primary-bg);
  border-color: var(--primary-bg);
}

/* ===== Review Hero ===== */
.review-hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.review-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.review-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.review-overall-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  justify-content: center;
}

.big-rating {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.rating-of {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.big-stars {
  color: var(--primary);
  font-size: 1.5rem;
}

.rating-label {
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Review Layout ===== */
.review-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.review-main h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-bg);
}

.review-main h2:first-child {
  margin-top: 0;
}

.review-main p {
  margin-bottom: 16px;
  line-height: 1.85;
}

/* ===== Pros & Cons ===== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.pros, .cons {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros h3 {
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.cons h3 {
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.pros ul, .cons ul {
  list-style: none;
}

.pros li, .cons li {
  padding: 6px 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
}

.cons li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* ===== Review Rating Breakdown ===== */
.review-rating-breakdown {
  margin: 24px 0 32px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rating-category {
  flex: 0 0 180px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.rating-value {
  flex: 0 0 60px;
  text-align: right;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ===== Review Verdict ===== */
.review-verdict {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.review-verdict h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.verdict-rating {
  margin-bottom: 16px;
}

.verdict-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.verdict-stars {
  color: var(--primary);
  font-size: 1.3rem;
}

.review-verdict p {
  color: var(--text-body);
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Sidebar ===== */
.review-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-bg);
}

.sidebar-rating {
  text-align: center;
  margin-bottom: 12px;
}

.sidebar-score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
}

.sidebar-label {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sidebar-card .btn {
  width: 100%;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.info-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.sidebar-links li {
  padding: 6px 0;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--primary);
}

.sidebar-links a:hover {
  color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: #d6d3d1;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: #d6d3d1;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #44403c;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #a8a29e;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .sidebar-card {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .rating-item {
    flex-wrap: wrap;
  }

  .rating-label {
    flex: 0 0 100%;
    margin-bottom: -8px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-hero h1 {
    font-size: 1.6rem;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .rating-row {
    flex-wrap: wrap;
  }

  .rating-category {
    flex: 0 0 100%;
    margin-bottom: -6px;
  }

  .big-rating {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .review-overall-rating {
    padding: 12px 20px;
  }
}