/* Rates Page Specific Styles */

/* Rates Overview Section */
.rates-overview {
  background: white;
  padding: 100px 0;
}

.rates-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.rates-intro h2 {
  font-size: 3rem;
  color: var(--dark-slate);
  font-weight: 800;
  margin-bottom: 2rem;
}

.rates-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

/* Pricing Table */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--light-gray);
  padding: 3rem 2rem;
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-slate));
  color: white;
  border-color: var(--dark-slate);
}

.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-slate);
  color: white;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.featured .pricing-header {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.pricing-card:not(.featured) .pricing-header {
  border-bottom-color: var(--primary-blue);
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-blue);
}

.featured .price {
  color: white;
}

.pricing-features ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: rgba(114, 177, 255, 0.1);
}

.featured .pricing-features li {
  background: rgba(255, 255, 255, 0.1);
}

.pricing-features i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  width: 20px;
}

.featured .pricing-features i {
  color: white;
}

.pricing-features span {
  font-weight: 500;
}

/* Terms Section */
.terms-section {
  background: linear-gradient(90deg, var(--dark-slate), var(--primary-blue));
  color: white;
  padding: 100px 0;
}

.terms-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  font-weight: 800;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.term-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.term-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--light-gray);
  transform: translateY(-5px);
}

.term-item h4 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.term-item i {
  font-size: 1.8rem;
  color: var(--light-gray);
}

.term-item p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Rate Factors Section */
.rate-factors {
  background: var(--light-gray);
  padding: 100px 0;
}

.rate-factors h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--dark-slate);
  font-weight: 800;
}

.factors-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.factor-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.5rem 2rem;
  background: white;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.factor-item:hover {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-slate));
  color: white;
  transform: translateY(-5px);
}

.factor-item i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.factor-item:hover i {
  color: white;
}

.factor-content h4 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark-slate);
  transition: color 0.3s ease;
}

.factor-item:hover .factor-content h4 {
  color: white;
}

.factor-content p {
  line-height: 1.6;
  color: #666;
  transition: color 0.3s ease;
}

.factor-item:hover .factor-content p {
  color: var(--light-gray);
}

/* Additional Info Section */
.additional-info {
  background: white;
  padding: 80px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.info-card {
  padding: 2.5rem;
  background: var(--light-gray);
  border-left: 5px solid var(--primary-blue);
}

.info-card h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-slate);
  font-weight: 700;
  font-size: 1.5rem;
}

.info-card p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 1rem;
}

.info-card ul {
  margin-left: 1.5rem;
}

.info-card li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: #666;
}

/* Responsive Design for Rates */
@media (max-width: 768px) {
  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    order: -1;
  }

  .pricing-card.featured::before {
    top: -10px;
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
  }

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

  .factors-list {
    grid-template-columns: 1fr;
  }

  .factor-item {
    flex-direction: column;
    text-align: center;
  }

  .factor-item i {
    margin-top: 0;
    align-self: center;
  }

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

  .rates-intro {
    margin-bottom: 2rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}
