/* terms-conditions.css — ComPleX IT site themed for Terms Page */

/* Base Container */
.terms-container {
  min-height: 100vh;
  padding-top: 90px;
  background: linear-gradient(135deg, #191b1f 80%, #23243c 100%) fixed;
  color: #e5e7eb;
  position: relative;
  z-index: 1;
  font-family: 'Inter', Arial, sans-serif;
  overflow-x: hidden;
}

/* Floating Background Shapes */
.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #60a5fa22 0%, #a855f722 100%);
  opacity: 0.16;
  filter: blur(3px);
  animation: float-term-shape 18s infinite linear;
}
.shape-1 { width: 180px; height: 180px; top: 10%; left: 7%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 50%; left: 80%; animation-delay: 2s; }
.shape-3 { width: 80px; height: 80px; top: 65%; left: 40%; animation-delay: 4s; }
.shape-4 { width: 90px; height: 90px; top: 80%; left: 75%; animation-delay: 6s; }
.shape-5 { width: 130px; height: 130px; top: 40px; left: 55%; animation-delay: 8s; }
.shape-6 { width: 100px; height: 100px; bottom: 30px; left: 30%; animation-delay: 10s; }
@keyframes float-term-shape {
  0%,100% { transform: translateY(0) scale(1) rotate(0deg);}
  25% { transform: translateY(-25px) scale(1.08) rotate(60deg);}
  50% { transform: translateY(-40px) scale(1.2) rotate(120deg);}
  75% { transform: translateY(-20px) scale(0.95) rotate(180deg);}
}

/* Content Container */
.terms-content {
  max-width: 1350px;
  margin: 0 auto;
  padding: 48px 36px 36px 36px;
  position: relative;
  z-index: 2;
  background: none;
}

/* Header */
.terms-header {
  text-align: center;
  padding: 52px 20px 36px 20px;
  border-radius: 30px;
  background: linear-gradient(90deg, #181823 80%, #26235c 100%);
  box-shadow: 0 8px 32px rgba(60, 165, 247, 0.07);
  border: 1px solid rgba(96,165,250,0.13);
  margin-bottom: 30px;
}
.terms-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  background: linear-gradient(135deg,#60a5fa,#a855f7 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.01em;
}
.terms-subtitle {
  font-size: 1.3rem;
  color: #a855f7;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.terms-meta {
  display: flex;
  gap: 1.7em;
  justify-content: center;
  align-items: center;
  font-size: 1.05em;
  color: #e0e7ef;
  margin-top: 1em;
  flex-wrap: wrap;
}
.terms-meta span {
  background: rgba(96,165,250,0.14);
  padding: 0.45em 1em;
  border-radius: 14px;
  font-weight: 500;
}

/* Layout: Sidebar and Main */
.terms-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 28px;
}
@media (max-width: 1100px) {
  .terms-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Table of Contents (Sidebar) */
.terms-toc {
  position: sticky;
  top: 110px;
  align-self: flex-start;
  background: linear-gradient(90deg, #181823 80%, #23243c 100%);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(60,165,247,0.09);
  border: 1px solid rgba(96,165,250,0.09);
  padding: 30px 32px;
  margin-bottom: 18px;
  font-size: 1.05em;
  z-index: 3;
}
.terms-toc h3 {
  font-size: 1.18em;
  color: #60a5fa;
  font-weight: 700;
  margin-bottom: 1.1em;
  letter-spacing: 1.2px;
}
.terms-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.terms-toc li {
  margin-bottom: 13px;
  width: 100%;
}
.terms-toc button {
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 1em;
  text-align: left;
  width: 100%;
  padding: 0.4em 0.2em 0.4em 0.1em;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  outline: none;
  letter-spacing: 0.01em;
}
.terms-toc button.active,
.terms-toc button:focus {
  background: linear-gradient(90deg, #60a5fa 45%, #a855f7 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 11px #60a5fa11;
}

/* Main Content */
.terms-main {
  padding: 42px 44px;
  border-radius: 28px;
  background: linear-gradient(135deg,rgba(96,165,250,0.08) 0%,rgba(168,85,247,0.09) 100%);
  border: 1px solid rgba(96,165,250,0.09);
  box-shadow: 0 2px 22px rgba(52, 124, 204, 0.07);
  position: relative;
  z-index: 2;
}
.terms-section {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid rgba(96,165,250,0.07);
  border-radius: 6px;
  background: none;
}
.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.terms-section h2 {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 1.1em;
  color: #60a5fa;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg,#60a5fa,#a855f7 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.subsection {
  margin-bottom: 1.2em;
}
.subsection h4 {
  font-size: 1.02em;
  display: inline-block;
  margin-right: 0.5em;
  color: #a855f7;
  font-weight: 600;
}

.terms-main p,
.terms-main li {
  color: #e5e7eb;
  font-size: 1.07em;
  line-height: 1.7;
  margin-bottom: 0.8em;
}

.terms-section a,
.terms-main a {
  color: #37FF8B;
  text-decoration: underline;
  transition: color 0.2s;
}
.terms-section a:hover,
.terms-main a:hover {
  color: #60a5fa;
}

.definitions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.1em;
  margin-bottom: 1.8em;
}
.definition-item {
  background: rgba(60,165,247,0.10);
  padding: 1em 1.3em;
  border-radius: 14px;
  min-width: 220px;
  max-width: 325px;
  margin-bottom: 0.7em;
  color: #e0e7eb;
}
.definition-item strong {
  font-size: 1.01em;
  color: #a855f7;
  display: block;
  margin-bottom: 0.25em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 0.5em;
}
.contact-item {
  color: #e0e7eb;
  font-size: 1.07em;
}
.contact-item strong {
  color: #60a5fa;
  margin-right: 0.4em;
}
.contact-item ul {
  margin: 0.3em 0 0 1.3em;
  padding: 0;
}
.contact-item ul li {
  color: #e0e7eb;
  font-size: 1em;
}

.terms-footer {
  margin-top: 48px;
  text-align: center;
  padding-top: 24px;
  border-top: 1.5px solid rgba(96,165,250,0.12);
  font-size: 1.05em;
  color: #e0e7eb;
}
.terms-navigation {
  display: flex;
  justify-content: center;
  gap: 2.4em;
  margin-bottom: 1em;
}
.nav-link {
  color: #37FF8B;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #a855f7;
}
.last-updated {
  color: #b3b7c3;
  font-size: 0.97em;
  margin-top: 0.5em;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .terms-content { padding: 28px 8px; }
  .terms-layout { gap: 0; grid-template-columns: 1fr; }
  .terms-toc { position:static; margin-bottom: 24px; }
  .terms-main { padding: 24px 10px; }
}

@media (max-width: 900px) {
  .terms-header { padding: 32px 8px 20px 8px; }
  .terms-section h2 { font-size: 1.4em; }
  .terms-main { padding: 10px 2px; }
}

@media (max-width: 600px) {
  .terms-header h1 { font-size: 2.1em; }
  .terms-header { padding: 22px 4px 10px 4px; }
  .terms-main { padding: 2px; }
  .terms-section { padding-bottom: 10px; }
  .terms-meta { flex-direction: column; gap: 0.6em; }
  .terms-footer, .last-updated { font-size: 0.99em; }
}