:root {
  --primary-color: #212a80;
  --accent-color: #03a9f4;
  --bg-color: #f7f7f7;
  --text-color: #2f343a;
  --light-bg: #ffffff;
  --border-color: #d0d5dd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 78px 0;
}

.logo-img {
  max-width: 53px;
  height: auto;
}

img:not(.logo-img):not(.logo) {
  max-width: 100%;
  height: auto;
}

.site-name {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.navbar-brand:hover .site-name {
  color: var(--accent-color);
}

.navbar {
  box-shadow: 0 2px 9px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.btn-danger {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #cc0000;
  border-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3);
}

.btn-outline-danger {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.rating-badge-large {
  background: linear-gradient(135deg, var(--accent-color), #cc0000);
  color: white;
  padding: 1.5rem;
  border-radius: 13px;
  box-shadow: 0 4px 9px rgba(255, 0, 0, 0.2);
}

.rating-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.score-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.score-label {
  font-size: 1.5rem;
  font-weight: 500;
  margin-left: 0.5rem;
  opacity: 0.9;
}

.rating-badge {
  font-size: 1.2rem;
}

.rating-stars {
  font-size: 1.2rem;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.product-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,0,0,0.1), transparent);
  z-index: 1;
  pointer-events: none;
}

.product-image-wrapper img {
  transition: transform 0.5s ease;
}

.product-image-wrapper:hover img {
  transform: scale(1.05);
}

.feature-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 31px rgba(0,0,0,0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.category-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 28px rgba(0,0,0,0.2);
}

.category-card img {
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.review-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 9px 30px rgba(0,0,0,0.15);
}

.review-card img {
  transition: transform 0.5s ease;
}

.review-card:hover img {
  transform: scale(1.05);
}

.testimonial-card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 27px rgba(0,0,0,0.15);
}

.team-card {
  transition: all 0.3s ease;
}

.team-image {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.team-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(255,0,0,0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.team-card:hover .team-image::before {
  opacity: 1;
}

.team-image img {
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.stats-section {
  background: linear-gradient(135deg, #1a1a1a, #000000);
}

.stat-item {
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item i {
  transition: all 0.3s ease;
}

.stat-item:hover i {
  transform: scale(1.2);
}

.accordion-button:not(.collapsed) {
  background-color: var(--accent-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-color), #cc0000);
}

.pricing-card {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 17px 42px rgba(0,0,0,0.2);
}

.footer a:hover {
  color: var(--accent-color) !important;
}

.social-links a {
  display: inline-block;
  width: 37px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.page-hero {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color) 0%, transparent 100%);
  opacity: 0.1;
  pointer-events: none;
}

.article-header {
  position: relative;
}

.pros-cons-section {
  border-left: 4px solid var(--accent-color);
}

.final-verdict {
  background: linear-gradient(135deg, var(--accent-color), #cc0000);
}

.sidebar-widget {
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 5px 23px rgba(0,0,0,0.1);
}

.trending-item {
  transition: all 0.3s ease;
}

.trending-item:hover {
  background-color: rgba(255,0,0,0.05);
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 8px;
}

@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  section {
    padding: 57px 0;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 42px 0;
  }

  .score-number {
    font-size: 2.5rem;
  }
}

.card::before,
.card::after,
.feature-card::after,
.category-card::after,
.review-card::after {
  pointer-events: none;
}
