/* =============================================
   MENTACY — Terms of Service Page Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --bg:           #0b0d10;
  --bg-card:      rgba(255,255,255,0.04);
  --teal:         #4ed5d2;
  --teal-dark:    #2bd4d1;
  --text-primary: #e0e1e1;
  --text-muted:   #9a9a9a;
  --text-body:    #c8c8c8;
  --border:       rgba(255,255,255,0.08);
  --disclaimer-bg: rgba(20,40,60,0.8);
  --disclaimer-border: rgba(78,213,210,0.25);
  font-size: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 80% 10%, rgba(59,130,246,0.08), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(78,213,210,0.06), transparent 40%);
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1.75;
  min-height: 100vh;
}



/* =============================================
   PAGE WRAPPER
   ============================================= */

.page-wrapper {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.6rem 2rem 5rem;
}

/* Back Button */
.back-btn-wrap { margin-bottom: 1.4rem; }



/* HEADER WRAPPER */
.terms-header{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding-bottom:30px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  margin-bottom:40px;
}

.page-title-block{
  margin-top:12px;
}
/* BACK BUTTON */

.back-btn{
  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;
  transition:all .25s ease;

}

/* arrow image */
.back-btn img{
  width:26px;
  height:26px;
  object-fit:contain;
}

.back-btn:hover{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.5);
}




.page-title {
  font-family: "Lato", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  margin-top: 20px;
}

.page-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: "Poppins", sans-serif;
}

/* =============================================
   TWO-COLUMN LAYOUT
   ============================================= */

.tos-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

/* =============================================
   SIDEBAR / TOC
   ============================================= */

.sidebar {
  position: sticky;
  top: 84px;
}

.contents-label {
  background: linear-gradient(90deg, #4ed5d2 0%, #2bd4d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contents-label::after {
  content: "";
    display: block;
    width: 48px; /* Slightly wider to match image feel */
    height: 3px;
    /* Gradient for the underline */
    background: linear-gradient(90deg, #3a8483 0%, #4ed5d2 100%);
    margin-top: 8px;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.toc-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 0.38rem 0;
  line-height: 1.5;
  transition: color 0.25s;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.toc-link:hover { color: rgba(255,255,255,0.85); }

.toc-link.active {
  color: #fff;
  font-weight: 500;
}

/* =============================================
   MAIN CONTENT
   ============================================= */

.tos-content {
  min-width: 0;
}

.welcome-heading {
  font-family: "Lato", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.intro-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 2.8rem;
}

/* Sections */
section {
  margin-bottom: 2.8rem;
  scroll-margin-top: 90px;
}

.section-heading {
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Alert heading variant */
.section-heading--alert {
  color: var(--text-primary);
}

.alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e85d04;
  flex-shrink: 0;
}

/* Body text */
section p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 0.7rem;
}

section p strong {
  color: var(--text-primary);
  font-weight: 600;
   font-size: 13px;
}

.sub-label {
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
  margin-bottom: 0.8rem !important;
}

/* =============================================
   MODULE LIST (Section 2)
   ============================================= */

.module-list{
  display:flex;
  flex-direction:column;
  gap:22px;
  margin-top:20px;
}

.module-item{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

/* ICON CIRCLE */
.module-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255, 255, 255, 0.648);

  display:flex;
  align-items:center;
  justify-content:center;

  flex-shrink:0;
}

/* ICON IMAGE */
.module-icon img{
  width:40px;
  height:40px;
  object-fit:contain;
}

/* TEXT */
.module-text{
  font-size:11px;
  line-height:1.7;
  color:#c8c8c8;
  margin-top: 9px;
}

.module-name{
    font-size:12px;
  font-weight:600;
  color:#ffffff;
}

/* =============================================
   DISCLAIMER BOX (Section 3)
   ============================================= */

.disclaimer-box{
  border:1px solid #ff8a00;
  border-radius:12px;
  padding:22px 24px;

  background:linear-gradient(
    135deg,
    rgba(255,140,0,0.18),
    rgba(255,140,0,0.05)
  );

  backdrop-filter:blur(6px);
}

/* header */
.disclaimer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

/* title */
.disclaimer-title{
  font-size:18px;
  font-weight:600;
  color:#ffffff;
  margin:0;
}

/* icon */
.disclaimer-icon{
  width:28px;
  height:28px;
}

/* text */
.disclaimer-box p{
 
  line-height:1.7;
  color:#c8c8c859;
  margin:0;
}
.disclaimer-box p{
     font-size:10px;
  font-style: italic;
}

.disclaimer-box p strong{
       font-size:14px;
  font-style: normal;
}
.disclaimer-box strong{
  color:#ffffff;
}
/* =============================================
   CHECK LIST (Section 4)
   ============================================= */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17L4 12' stroke='%234ed5d2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* =============================================
   CONTACT EMAIL
   ============================================= */

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(78,213,210,0.3);
  padding-bottom: 1px;
  transition: border-color 0.25s, color 0.25s;
}

.contact-email:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* =============================================
   FOOTER
   ============================================= */

.footer-section {
  background:
    radial-gradient(circle at 70% 20%, rgba(59,130,246,0.12), transparent 45%),
    radial-gradient(circle at 25% 85%, rgba(168,85,247,0.12), transparent 40%),
    #08090c;
  border-top: 1px solid var(--border);
  font-family: "Poppins", sans-serif;
}

.footer-container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.footer-logo-col { padding-top: 2px; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-family: "Lato", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
}

.footer-column a {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.25s;
}

.footer-column a:hover { color: #fff; }

.footer-link-active {
  color: rgba(255,255,255,0.92) !important;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.store-badge {
  display: inline-block;
  opacity: 0.8;
  transition: opacity 0.25s, transform 0.25s;
  text-decoration: none;
}

.store-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.store-svg {
  width: 118px;
  height: 38px;
  display: block;
}

/* Footer bottom pill */
.footer-bottom {
  padding: 0 0 1.8rem;
}

.footer-pill {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-pill p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}

.footer-socials a {
  display: inline-flex;
  opacity: 0.65;
  transition: opacity 0.25s, transform 0.25s;
  text-decoration: none;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

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

@media (max-width: 900px) {
  .tos-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sidebar {
    position: static;
    margin-bottom: 2.2rem;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-pill {
    flex-direction: column;
    gap: 1rem;
    border-radius: 16px;
    text-align: center;
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-wrapper { width: 92%; }

  .page-title { font-size: 1.6rem; }

  .navbar-inner { width: 92%; }

  .footer-container { width: 90%; }

  .footer-pill { width: 90%; }
}

@media (max-width: 520px) {
  .chrome-link { display: none; }

  .page-title { font-size: 1.4rem; }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-container { width: 92%; }

  .footer-pill { width: 92%; border-radius: 14px; }
}