/* =====================================================
   TERMS AND CONDITIONS SECTION STYLES
   ===================================================== */

/* Import Rubik font (if not already imported in main CSS) */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* Main Terms and Conditions Container */
.terms-conditions-main {
  background-color: #080713;
  min-height: 100vh;
  padding: 140px 80px 80px 80px;
  font-family: "Rubik", sans-serif;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.terms-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =====================================================
   HEADER SECTION
   ===================================================== */

.terms-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
}

.terms-main-title {
  background: linear-gradient(90deg, #CB93FF 0%, #56BEFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Rubik", sans-serif;
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.terms-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.terms-meta p {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.terms-meta .highlight {
  color: #CB93FF;
  font-weight: 400;
}

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */

.terms-toc {
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.05) 0%, rgba(86, 190, 255, 0.05) 100%);
  border: 1px solid rgba(203, 147, 255, 0.2);
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 60px;
  backdrop-filter: blur(10px);
}

.terms-toc-title {
  font-family: "Rubik", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.terms-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  counter-reset: toc-counter;
}

.terms-toc-list li {
  counter-increment: toc-counter;
  position: relative;
}

.terms-toc-list li::before {
  content: counter(toc-counter) ".";
  color: #CB93FF;
  font-weight: 500;
  margin-right: 8px;
}

.terms-toc-list a {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.terms-toc-list a:hover {
  color: #ffffff;
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(203, 147, 255, 0.5);
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */

.terms-content {
  line-height: 1.8;
}

.terms-section {
  margin-bottom: 60px;
  scroll-margin-top: 140px;
}

.terms-section-title {
  font-family: "Rubik", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(203, 147, 255, 0.3);
  /* background: linear-gradient(90deg, rgba(203, 147, 255, 0.1) 0%, transparent 100%); */
  padding-left: 20px;
  margin-left: -20px;
  border-radius: 4px 0 0 4px;
  display: block;
  position: relative;
}

.terms-subsection-title {
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff !important;
  margin: 32px 0 16px 0;
  display: block;
}

.terms-sub-subsection-title {
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 24px 0 12px 0;
  display: block;
}

.terms-section p {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0 0 16px 0;
}

.terms-section ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.terms-section ul li {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.terms-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #CB93FF;
  font-size: 20px;
  line-height: 1.8;
}

.terms-section strong {
  color: #ffffff;
  font-weight: 500;
}

.terms-highlight-text {
  color: #CB93FF;
  font-weight: 400;
}

/* =====================================================
   NOTICE BOXES
   ===================================================== */

.terms-notice-box {
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
  border-left: 4px solid;
}

.terms-notice-box.important {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 107, 107, 0.03) 100%);
  border-left-color: #ff6b6b;
}

.terms-notice-box.warning {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08) 0%, rgba(255, 184, 0, 0.03) 100%);
  border-left-color: #ffb800;
}

.terms-notice-box.info {
  background: linear-gradient(135deg, rgba(86, 190, 255, 0.08) 0%, rgba(86, 190, 255, 0.03) 100%);
  border-left-color: #56BEFF;
}

.terms-notice-title {
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.terms-notice-box p {
  margin-bottom: 12px;
}

.terms-notice-box p:last-child {
  margin-bottom: 0;
}

.terms-notice-box ul {
  margin-top: 12px;
  margin-bottom: 0;
}

/* =====================================================
   INFO BOXES
   ===================================================== */

.terms-info-box {
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.05) 0%, rgba(86, 190, 255, 0.05) 100%);
  border: 1px solid rgba(203, 147, 255, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.terms-info-box p {
  margin-bottom: 8px;
  font-size: 15px;
}

.terms-info-box p:last-child {
  margin-bottom: 0;
}

.terms-disclosure-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid #CB93FF;
  margin: 16px 0;
}

/* =====================================================
   TABLES
   ===================================================== */

.terms-table-container {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.03) 0%, rgba(86, 190, 255, 0.03) 100%);
  padding: 2px;
}

.terms-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
}

.terms-data-table thead {
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.15) 0%, rgba(86, 190, 255, 0.15) 100%);
}

.terms-data-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 2px solid rgba(203, 147, 255, 0.3);
}

.terms-data-table td {
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-data-table tbody tr:hover {
  background: rgba(203, 147, 255, 0.05);
  transition: background 0.2s ease;
}

.terms-data-table tbody tr:last-child td {
  border-bottom: none;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.terms-contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.terms-contact-item {
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.05) 0%, rgba(86, 190, 255, 0.05) 100%);
  border: 1px solid rgba(203, 147, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.terms-contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(203, 147, 255, 0.2);
  border-color: rgba(203, 147, 255, 0.4);
}

.terms-contact-item i {
  font-size: 24px;
  color: #CB93FF;
  margin-top: 4px;
}

.terms-contact-item h4 {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.terms-contact-item p {
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.terms-contact-item a {
  color: #56BEFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-contact-item a:hover {
  color: #CB93FF;
  text-decoration: underline;
}

.terms-response-time {
  text-align: center;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

/* =====================================================
   ACKNOWLEDGMENT SECTION
   ===================================================== */

.terms-acknowledgment-section {
  background: linear-gradient(135deg, rgba(203, 147, 255, 0.08) 0%, rgba(86, 190, 255, 0.08) 100%);
  border: 1px solid rgba(203, 147, 255, 0.3);
  border-radius: 16px;
  padding: 40px;
  margin-top: 80px;
}

.terms-acknowledgment-box {
  background: rgba(0, 0, 0, 0.2);
  border-left: 4px solid #CB93FF;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
}

.terms-acknowledgment-box h3 {
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.terms-acknowledgment-box p {
  margin: 0;
}

.terms-questions-box {
  background: linear-gradient(135deg, rgba(86, 190, 255, 0.1) 0%, rgba(203, 147, 255, 0.1) 100%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 32px;
}

.terms-questions-box h3 {
  font-family: "Rubik", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.terms-questions-box a {
  color: #56BEFF;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.terms-questions-box a:hover {
  color: #CB93FF;
  text-decoration: underline;
}

/* =====================================================
   DOCUMENT INFO
   ===================================================== */

.terms-document-info {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-document-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media screen and (max-width: 1024px) {
  .terms-conditions-main {
    padding: 120px 40px 60px 40px;
  }

  .terms-main-title {
    font-size: 48px;
  }

  .terms-toc-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .terms-section-title {
    font-size: 32px;
  }

  .terms-contact-card {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .terms-conditions-main {
    padding: 100px 24px 40px 24px;
  }

  .terms-main-title {
    font-size: 36px;
  }

  .terms-meta {
    flex-direction: column;
    gap: 12px;
  }

  .terms-toc {
    padding: 24px 20px;
  }

  .terms-toc-title {
    font-size: 24px;
  }

  .terms-toc-list a {
    font-size: 15px;
  }

  .terms-section-title {
    font-size: 28px;
    padding-left: 16px;
    margin-left: -16px;
  }

  .terms-subsection-title {
    font-size: 22px;
  }

  .terms-sub-subsection-title {
    font-size: 18px;
  }

  .terms-section p,
  .terms-section ul li {
    font-size: 15px;
  }

  .terms-notice-box {
    padding: 20px 20px;
  }

  .terms-table-container {
    margin: 20px -24px;
    border-radius: 0;
  }

  .terms-data-table th,
  .terms-data-table td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .terms-contact-card {
    gap: 16px;
  }

  .terms-acknowledgment-section {
    padding: 28px 20px;
  }
}

@media screen and (max-width: 480px) {
  .terms-conditions-main {
    padding: 90px 16px 32px 16px;
  }

  .terms-main-title {
    font-size: 30px;
  }

  .terms-section-title {
    font-size: 24px;
  }

  .terms-subsection-title {
    font-size: 20px;
  }

  .terms-section p,
  .terms-section ul li {
    font-size: 14px;
  }
}