/* ============================================
   CLEVER DATA - CONTENT PAGES
   (terms, privacy, faq, signup, login, contact, agencies)
   ============================================ */

.page-main { padding: 60px 0 80px; }

.page-hero {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}
.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* MAIN CONTENT CARD (Terms, Privacy, Agencies body) */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 50px 60px;
}
.page-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}
.page-content h2:first-of-type { margin-top: 0; }
.page-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.page-content p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 15px;
}
.page-content ul,
.page-content ol {
  margin: 0 0 16px 20px;
  color: #333;
}
.page-content li {
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 15px;
}
.page-content a { color: #e30613; }
.last-updated {
  color: #888;
  font-size: 14px;
  font-style: italic;
  margin-bottom: 30px;
  display: block;
}

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: #e30613; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #111;
}
.faq-q .toggle {
  color: #e30613;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .toggle { transform: rotate(45deg); }
.faq-a {
  display: none;
  margin-top: 14px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}
.faq-item.open .faq-a { display: block; }

/* AUTH PAGES (signup, login) */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 40px 36px;
}
.auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}
.auth-card .auth-sub {
  text-align: center;
  color: #666;
  margin-bottom: 28px;
  font-size: 15px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-form label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: block;
}
.auth-form input,
.auth-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}
.auth-form input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: #e30613;
}
.auth-form button {
  margin-top: 10px;
  width: 100%;
}
.auth-foot {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}
.auth-foot a {
  color: #e30613;
  font-weight: 600;
  text-decoration: none;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 36px;
}
.contact-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-bullet {
  padding: 14px 0;
  border-bottom: 1px solid #f3f3f3;
}
.contact-bullet:last-child { border-bottom: none; }
.contact-bullet strong {
  display: block;
  margin-bottom: 4px;
}
.contact-bullet span {
  color: #666;
  font-size: 14px;
}

/* ============================================
   RESPONSIVE - TABLET (700px to 1023px)
   ============================================ */
@media (max-width: 1023px) {
  .page-main { padding: 40px 0 60px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p { font-size: 17px; }
  .page-content {
    padding: 40px 36px;
    max-width: 100%;
  }
  .page-content h2 { font-size: 22px; }

  .contact-grid {
    gap: 20px;
  }
  .contact-info-card { padding: 28px; }
}

/* ============================================
   RESPONSIVE - MOBILE (up to 699px)
   ============================================ */
@media (max-width: 699px) {
  .page-main { padding: 24px 0 50px; }

  /* PAGE HERO */
  .page-hero { margin-bottom: 30px; }
  .page-hero h1 {
    font-size: 28px;
    letter-spacing: -0.3px;
    line-height: 1.2;
  }
  .page-hero p {
    font-size: 15px;
    line-height: 1.5;
  }
  .daas-hero .btn-primary {
  background: #e30613 !important;
  color: #ffffff !important;
  border: 2px solid #e30613 !important;
}

.daas-hero .btn-secondary {
  background: #ffffff !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
}


  /* CONTENT CARD */
  .page-content {
    padding: 24px 18px;
    border-radius: 12px;
    max-width: 100%;
  }
  .page-content h2 {
    font-size: 20px;
    margin: 28px 0 12px;
    line-height: 1.3;
  }
  .page-content h3 {
    font-size: 16px;
    margin: 18px 0 8px;
  }
  .page-content p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  .page-content ul,
  .page-content ol {
    margin: 0 0 14px 18px;
  }
  .page-content li {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 6px;
  }
  .page-content p[style*="margin-left"] {
    margin-left: 16px !important;
    font-size: 14px;
  }
  .last-updated { font-size: 13px; }

  /* FAQ */
  .faq-list { max-width: 100%; }
  .faq-item { padding: 18px 20px; }
  .faq-q {
    font-size: 15px;
    gap: 12px;
  }
  .faq-a {
    font-size: 14px;
    line-height: 1.6;
  }

  /* AUTH FORMS */
  .auth-wrap { max-width: 100%; }
  .auth-card {
    padding: 28px 22px;
    border-radius: 12px;
  }
  .auth-card h1 { font-size: 24px; }
  .auth-card .auth-sub { font-size: 14px; }
  .auth-form input,
  .auth-form textarea {
    font-size: 16px; /* 16px prevents iOS zoom-on-focus */
    padding: 12px 14px;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-info-card {
    padding: 26px 22px;
  }
  .contact-info-card h3 { font-size: 18px; }
}


