.terms-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
  color: #333;
}

.terms-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 60px 60px;
  color: #1a1a1a;
}

.terms-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.terms-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 20px 0;
  color: #2c5aa0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f2ff;
}

.terms-content h3:first-child {
  margin-top: 0;
}

.terms-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.terms-content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.terms-content ul.nested-list {
  margin-left: 20px;
}

.terms-content li {
  margin-bottom: 8px;
}

.terms-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #666;
  font-weight: 600;
}

@media (max-width: 768px) {
  .terms-container {
    padding: 40px 16px;
  }

  .terms-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .terms-content {
    padding: 24px;
  }

  .terms-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 16px 0;
  }
}
