.terms-body {
  background: #0f172a;
  color: white;
}

.terms-nav-link {
  text-decoration: none;
}

.terms-page {
  padding-top: 110px;
}

.terms-hero {
  text-align: center;
  padding: 60px 20px 30px;
}

.terms-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.terms-hero p {
  max-width: 750px;
  margin: 0 auto;
  color: #cbd5e1;
  line-height: 1.7;
}

.terms-container {
  width: 90%;
  max-width: 1100px;
  margin: 30px auto 80px;
}

.terms-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.terms-tab {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.terms-tab:hover,
.active-tab {
  background: #2563eb;
  border-color: #2563eb;
}

.terms-content {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.12);
}

.terms-panel {
  display: none;
}

.active-panel {
  display: block;
}

.terms-panel h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.document-note {
  color: #93c5fd;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.terms-panel h1,
.terms-panel h2,
.terms-panel h3 {
  color: white;
  margin-top: 28px;
  margin-bottom: 14px;
}

.terms-panel p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 16px;
}

.terms-panel ul {
  margin: 15px 0 25px 25px;
  color: #cbd5e1;
  line-height: 1.8;
}

.terms-panel li {
  margin-bottom: 8px;
}

.terms-panel strong {
  color: white;
}

.terms-panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  color: #cbd5e1;
}

.terms-panel th,
.terms-panel td {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px;
  text-align: left;
}

.terms-panel th {
  background: rgba(37, 99, 235, 0.25);
  color: white;
}

@media (max-width: 768px) {
  .terms-page {
    padding-top: 145px;
  }

  .terms-hero h1 {
    font-size: 2rem;
  }

  .terms-content {
    padding: 25px;
  }

  .terms-tabs {
    flex-direction: column;
  }

  .terms-tab {
    width: 100%;
  }
}