/* Email Comparison Table Styles */
.email-comparison-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.email-comparison-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.email-comparison-header {
  margin-bottom: 40px;
}

.email-comparison-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.email-comparison-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.view-plans-btn {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-weight: 600;
  margin-top: 15px;
}

.view-plans-btn:hover {
  background-color: #45a049;
  color: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.feature-group td {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table th {
  background-color: #0060fe;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 15px;
  font-size: 16px;
  border: none;
}

.comparison-table th[data-mobile-label] {
  position: relative;
}

@media screen and (max-width: 768px) {
  .comparison-table th {
    display: table-cell !important;
    padding: 15px 10px;
    font-size: 14px;
  }
  
  .comparison-table th:first-child {
    background-color: #0060fe;
    color: #fff;
  }
}
.comparison-table tr:first-child th {
  background-color: #0060fe;
  color: white;
  font-size: 18px;
  padding: 20px 15px;
}

.comparison-table tr:first-child th:first-child {
  background-color: #f5f5f5;
  color: #333;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  background-color: #f9f9f9;
}

.check-icon {
  color: #28a745;
  font-size: 1.1em;
}

.cross-icon {
  color: #dc3545;
  font-size: 1.1em;
}

@media screen and (max-width: 768px) {
  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .comparison-table td {
    display: block;
    text-align: right;
    padding: 12px 15px;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .comparison-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: #333;
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .feature-group td {
    text-align: center;
    padding: 12px 15px;
    background-color: #0060fe;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
  }

  .check-icon, .cross-icon {
    margin-left: 8px;
  }

  .comparison-table td:first-child {
    background-color: #f5f5f5;
    text-align: left;
    padding-left: 15px;
    font-weight: 500;
  }

  .comparison-table td:first-child:before {
    display: none;
  }
}

.view-less-link {
  display: block;
  text-align: right;
  color: #0060fe;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 500;
}

/* Responsive styles */
@media (max-width: 991px) {
  .email-comparison-title {
    font-size: 36px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 767px) {
  .email-comparison-title {
    font-size: 30px;
  }
  
  .table-responsive {
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  
  .comparison-table {
    margin-bottom: 0;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
    font-size: 14px;
  }
  
  .comparison-table tr:first-child th {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .email-comparison-title {
    font-size: 26px;
  }
  
  .email-comparison-subtitle {
    font-size: 16px;
  }
  
  .comparison-table {
    display: block;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
  }

  .comparison-table td {
    text-align: right;
    padding: 12px 15px;
    position: relative;
    border: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .comparison-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: 600;
    color: #333;
  }

  .check-icon,
  .cross-icon {
    font-size: 16px;
  }

  .view-plans-btn {
    padding: 8px 20px;
    font-size: 14px;
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .email-comparison-section {
    padding: 30px 0;
  }

  .email-comparison-title {
    font-size: 24px;
  }

  .comparison-table td {
    font-size: 13px;
    padding: 10px 12px;
  }

  .comparison-table td::before {
    font-size: 13px;
  }
}