.hero {
  background: linear-gradient(135deg, #e6f2ff 0%, #cce6ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.1"/></svg>');
  bottom: 0;
  left: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 42px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-text .usp {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.capacity {
  background-color: white;
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.capacity span {
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== FILTRATION TYPES SECTION ===== */
.filtration-types {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.type-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.type-card:hover {
  transform: translateY(-10px);
}

.type-header {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.type-header i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.type-header h3 {
  font-size: 24px;
}

.type-body {
  padding: 25px;
}

.type-features {
  list-style: none;
  margin: 20px 0;
}

.type-features li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.type-features li:last-child {
  border-bottom: none;
}

.type-features i {
  color: var(--accent);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: 80px 0;
  background: white;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  position: relative;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--primary);
  opacity: 0.3;
  z-index: 0;
}

.step {
  text-align: center;
  width: 150px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 15px;
  border: 5px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.step-content h4 {
  margin-bottom: 10px;
  color: var(--dark);
}

/* ===== PRODUCTS GRID ===== */
.products-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 200px;
  background: linear-gradient(135deg, #e6f2ff 0%, #cce6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img i {
  font-size: 70px;
  color: var(--primary);
  transition: transform 0.5s;
}

.product-card:hover .product-img i {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.product-specs {
  list-style: none;
  margin: 15px 0;
}

.product-specs li {
  padding: 5px 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs i {
  color: var(--accent);
  font-size: 14px;
}

/* ===== SPECIFICATIONS TABLE ===== */
.specifications {
  padding: 80px 0;
  background: white;
}

.specs-table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid #eee;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  padding: 20px;
  background-color: #f9f9f9;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-value {
  padding: 20px;
  color: var(--gray);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-tag {
  background: #e6f2ff;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== APPLICATIONS SECTION ===== */
.applications {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.app-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.app-card:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  transform: translateY(-10px);
}

.app-card i {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s;
}

.app-card:hover i {
  color: white;
  transform: scale(1.1);
}

/* ===== COMPARISON SECTION ===== */
.comparison {
  padding: 80px 0;
  background: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background: var(--dark);
  color: white;
  padding: 20px;
  text-align: left;
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-yes {
  color: var(--success);
  font-weight: bold;
}

.feature-no {
  color: var(--danger);
}

/* ===== INSTALLATION PROCESS ===== */
.installation {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.install-step {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.install-step:before {
  content: "";
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066cc"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
}

.install-step:last-child:before {
  display: none;
}

.install-step i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background: var(--light);
  padding: 40px;
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.author-info h4 {
  color: var(--dark);
  margin-bottom: 5px;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 300px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  text-align: center;
}

.cta-section .section-title h2 {
  color: white;
}

.cta-section .section-title h2:after {
  background-color: var(--accent);
}

.cta-buttons-large {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-buttons-large .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .hero-text h2 {
    font-size: 36px;
  }

  .process-steps:before {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .install-step:before {
    display: none;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-name {
    background-color: white;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 30px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .cta-buttons,
  .cta-buttons-large {
    flex-direction: column;
    align-items: center;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 60px 0;
  }

  section {
    padding: 60px 0;
  }

  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .type-card,
  .product-card,
  .app-card {
    margin: 0 10px;
  }

  .testimonial {
    padding: 20px;
    margin: 10px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ===== FILTER MEDIA SPECIFIC ===== */
.media-types {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.media-badge {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.media-badge:hover,
.media-badge.active {
  background: var(--primary);
  color: white;
}

/* ===== FILTER LIFESPAN INDICATOR ===== */
.lifespan-meter {
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  margin: 15px 0;
  overflow: hidden;
}

.lifespan-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

/* ===== CONTAMINANT REMOVAL TABLE ===== */
.contaminant-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.contaminant-table th {
  background: #f5f7fa;
  padding: 15px;
  text-align: left;
  color: var(--dark);
  border-bottom: 2px solid var(--primary);
}

.contaminant-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.removal-rate {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.rate-high {
  background: #e8f5e9;
  color: var(--success);
}

.rate-medium {
  background: #fff3e0;
  color: var(--warning);
}

.rate-low {
  background: #ffebee;
  color: var(--danger);
}
.hero,
.filtration-types,
.how-it-works,
.products-section,
.specifications,
.applications,
.comparison,
.installation,
.faq,
.cat-section {
  padding: 100px;
}
