/* Features Hero */
.features-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.features-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.features-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Feature Categories */
.feature-categories {
  background-color: var(--background-white);
  border-bottom: 1px solid var(--border-color);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-tab:hover {
  background-color: var(--accent-light);
  color: var(--secondary-color);
}

.category-tab.active {
  background-color: var(--secondary-color);
  color: white;
}

/* Detailed Features */
.detailed-features {
  padding: 5rem 0;
}

.feature-category {
  display: none;
}

.feature-category.active {
  display: block;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: center;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-details h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.feature-details p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.feature-benefits {
  list-style: none;
}

.feature-benefits li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.feature-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
}

/* Feature Comparison */
.feature-comparison {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
}

.comparison-table th:first-child {
  border-top-left-radius: var(--border-radius);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--border-radius);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: rgba(0, 150, 136, 0.05);
}

.check {
  color: var(--success-color);
  font-weight: bold;
}

.x {
  color: var(--error-color);
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .feature-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .features-hero-content h1 {
    font-size: 2.2rem;
  }

  .category-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .features-hero-content h1 {
    font-size: 1.8rem;
  }
}

