/* =========================
   CX3C STORE – Legal Pages
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #0b1024, #05071a);
  color: #e5e7eb;
}

/* Wrapper */
.legal-wrap {
  max-width: 900px;
  margin: 80px auto;
  padding: 48px 42px;
  background: rgba(10, 15, 40, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* Title */
.legal-wrap h1 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Updated text */
.legal-wrap .updated {
  margin-bottom: 36px;
  font-size: 14px;
  color: #94a3b8;
}

/* Sections */
.legal-wrap section {
  margin-bottom: 34px;
}

/* Section titles */
.legal-wrap h2 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #c7d2fe;
  position: relative;
  padding-left: 12px;
}

.legal-wrap h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #6366f1, #4338ca);
  border-radius: 4px;
}

/* Paragraphs */
.legal-wrap p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: /#d1d5db;
}

/* Links */
.legal-wrap a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
}

.legal-wrap a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-wrap {
    margin: 40px 16px;
    padding: 32px 24px;
  }

  .legal-wrap h1 {
    font-size: 28px;
  }

  .legal-wrap h2 {
    font-size: 18px;
  }

  .legal-wrap p {
    font-size: 15px;
  }
}

/* =========================
   Legal – Actions
========================= */

.legal-actions {
  margin-top: 48px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #020617);
  color: #e5e7eb;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(99, 102, 241, 0.4);
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-back:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}