/* Terms of Use Page Styles */
.terms {
  padding: 6rem 0 4rem 0;
  background-color: var(--body-color);
  min-height: 80vh;
  margin-top: 2rem;
}

.terms__header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.terms__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.terms__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.terms__content {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.terms__section {
  margin-bottom: 2.5rem;
}

.terms__section-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--first-color);
  padding-bottom: 0.5rem;
}

.terms__subsection {
  margin-bottom: 1.5rem;
}

.terms__subsection-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.terms__text {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.terms__text:last-child {
  margin-bottom: 0;
}

.terms__list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.terms__list li {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.terms__list li:last-child {
  margin-bottom: 0;
}

.terms__list li strong {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.terms__contact {
  background-color: var(--body-color);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--first-color);
  margin-top: 1rem;
}

.terms__contact p {
  margin-bottom: 0.5rem;
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

.terms__contact p:last-child {
  margin-bottom: 0;
}

.terms__contact strong {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.terms__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.terms__btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-width: 200px;
  justify-content: center;
}

.terms__btn--primary {
  background: #DCAC3A;
  color: #1a1a1a;
  border: 2px solid #DCAC3A;
}

.terms__btn--primary:hover {
  background: #f4c430;
  border-color: #f4c430;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 172, 58, 0.3);
}

.terms__btn--secondary {
  background: transparent;
  color: #666;
  border: 2px solid #e0e0e0;
}

.terms__btn--secondary:hover {
  background: #f0f0f0;
  border-color: #ccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .terms__content {
    max-width: 1000px;
  }
}

@media screen and (max-width: 768px) {
  .terms {
    padding: 4rem 0 2rem 0;
    margin-top: 1rem;
  }
  
  .terms__title {
    font-size: var(--h2-font-size);
  }
  
  .terms__content {
    margin: 0 1rem;
    padding: 2rem;
    max-width: 100%;
  }
  
  .terms__section-title {
    font-size: var(--h3-font-size);
  }
  
  .terms__subsection-title {
    font-size: var(--normal-font-size);
  }
  
  .terms__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .terms__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .terms__content {
    padding: 1.5rem;
  }
  
  .terms__title {
    font-size: 1.75rem;
  }
  
  .terms__section-title {
    font-size: 1.25rem;
  }
  
  .terms__list {
    padding-left: 1rem;
  }
  
  .terms__contact {
    padding: 0.75rem;
  }
}

/* ===== ACCESSIBILITY ===== */
.terms__btn:focus {
  outline: 2px solid #DCAC3A;
  outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
.terms__section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
