/* =========================================================
   JITTER TEST PAGE
   PrivacyTestLab
========================================================= */

.jitter-page{
  max-width:1180px;
  margin:0 auto;
  padding:8px 22px 70px;
  overflow:hidden;
}

/* =========================================================
   HERO
========================================================= */

.jitter-hero{
  text-align:center;
  margin-top:0;
  margin-bottom:18px;
}

.jitter-hero h1{
  margin:0 0 10px;
  font-family:"Poppins",sans-serif;
  font-size:48px;
  line-height:1;
  font-weight:800;
  color:#0f172a;
  letter-spacing:-1px;
}

.jitter-hero p{
  max-width:760px;
  margin:0 auto;
  font-size:16px;
  line-height:1.8;
  color:#334155;
}

/* =========================================================
   CONTROLS
========================================================= */

.jitter-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:22px;
  margin-bottom:6px;
}

/* =========================================================
   BUTTON
========================================================= */

.jitter-btn{
  border:none;
  outline:none;
  cursor:pointer;
  padding:12px 22px;
  border-radius:12px;
  background:#4361ee;
  color:#fff;
  font-size:15px;
  font-weight:700;
  transition:.2s ease;
  font-family:inherit;
  box-shadow:0 10px 20px rgba(67,97,238,.18);
}

.jitter-btn:hover{
  background:#3651d4;
}

/* ACTIVE STATE */

.jitter-btn.stop{
  background:#dc2626;
  color:#fff;
  box-shadow:0 10px 20px rgba(220,38,38,.18);
}

.jitter-btn.stop:hover{
  background:#b91c1c;
}

/* =========================================================
   TOGGLE
========================================================= */

.toggle{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  font-size:14px;
  font-weight:600;
  color:#0f172a;
}

.toggle input{
  display:none;
}

.toggle span{
  position:relative;
  width:48px;
  height:26px;
  border-radius:999px;
  background:#d1d5db;
  border:1px solid #cbd5e1;
  transition:.2s ease;
}

.toggle span::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:.2s ease;
}

.toggle input:checked + span{
  background:#f59e0b;
  border-color:#f59e0b;
}

.toggle input:checked + span::after{
  transform:translateX(22px);
}

/* =========================================================
   SELECT
========================================================= */

.jitter-controls select{
  border:none;
  outline:none;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #dbe2ea;
  color:#0f172a;
  font-size:14px;
  font-weight:600;
  min-width:210px;
  cursor:pointer;
  font-family:inherit;
}

/* =========================================================
   GRAPH
========================================================= */

.jitter-graph{
  position:relative;
  margin-top:10px;
  margin-bottom:14px;
  padding:0;
}

.jitter-graph canvas{
  width:100% !important;
  height:420px !important;
}

/* =========================================================
   RESULTS
========================================================= */

.jitter-results{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:18px;
  margin-bottom:70px;
}

.metric{
  background:#c2b6fa;
  border:1px solid #070708;
  border-radius:18px;
  padding:26px 20px;
  text-align:center;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 8px 22px rgba(15,23,42,.03);
  transition:.2s ease;
}

.metric:hover{
  transform:translateY(-2px);
}

.metric span{
  display:block;
  margin-bottom:12px;
  font-size:14px;
  font-weight:700;
  color:#2e2d2d; /*#64748b*/

}
.metric strong{
  font-size:40px;
  line-height:1;
  font-weight:800;
  color:#0f172a;
  letter-spacing:-2px;
}

.metric small{
  margin-left:4px;
  font-size:18px;
  color:#475569;
  font-weight:600;
}

/* =========================================================
   FAQ
========================================================= */

.faq-section{
  max-width:960px;
  margin:40px auto 0;
  padding:0 12px;
}

.faq-section h2{
  margin-bottom:42px;
  font-size:42px;
  line-height:1.1;
  font-weight:800;
  color:#0f172a;
  letter-spacing:-1px;
}

.faq-item{
  margin-bottom:58px;
}

.faq-question{
  margin:0 0 18px;
  font-size:28px;
  line-height:1.3;
  font-weight:800;
  color:#1e3a8a;
}

.faq-answer{
  margin-bottom:18px;
  font-size:17px;
  line-height:1.9;
  color:#1f2937;
}

.faq-answer strong{
  color:#0f172a;
  font-weight:800;
}

.faq-link{
  color:#4361ee;
  font-weight:700;
  text-decoration:none;
  transition:.2s ease;
}

.faq-link:hover{
  text-decoration:underline;
}

.faq-highlight{
  margin-top:20px;
  padding:16px 18px;
  border-left:4px solid #4361ee;
  border-radius:12px;
  background:#eef2ff;
  color:#1e293b;
  font-size:15px;
  line-height:1.8;
  font-weight:600;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:900px){

  .jitter-hero h1{
    font-size:40px;
  }

  .jitter-results{
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }

  .faq-section h2{
    font-size:36px;
  }

  .faq-question{
    font-size:24px;
  }

}

@media(max-width:650px){

  .jitter-page{
    padding:4px 16px 60px;
  }

  .jitter-hero h1{
    font-size:34px;
  }

  .jitter-hero p{
    font-size:15px;
  }

  .jitter-controls{
    flex-direction:column;
    align-items:stretch;
  }

  .jitter-btn{
    width:100%;
  }

  .jitter-controls select{
    width:100%;
  }

  .jitter-results{
    grid-template-columns:1fr;
    gap:26px;
  }

  .metric strong{
    font-size:36px;
  }

  .faq-section h2{
    font-size:30px;
  }

  .faq-question{
    font-size:22px;
  }

  .faq-answer{
    font-size:16px;
    line-height:1.85;
  }

  .jitter-graph canvas{
    height:320px !important;
  }

}







.jitter-info-box {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 4px solid #facc15;
    background: rgba(250, 204, 21, 0.08);
    border-radius: 8px;
    line-height: 1.7;
}

.faq-item {
    margin-top: 34px;
}

.faq-answer {
    line-height: 1.8;
}

.faq-answer a,
.faq-link {
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.faq-answer a:hover,
.faq-link:hover {
    opacity: 0.9;
}

.faq-highlight {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 8px;
    line-height: 1.7;
}