/* ============================================================
   TesterApp – Information Pages Styling
   info.css — for guide, faq, privacy, terms, etc.
   ============================================================ */

.info-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.info-header {
  padding: 80px 24px 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.info-header h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--txt) 0%, var(--txt2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-header p {
  color: var(--txt2);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.info-header .grid-bg {
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 100%);
  opacity: 0.5;
}

.info-content {
  flex: 1;
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.info-section {
  margin-bottom: 48px;
}

.info-section h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-section h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--txt);
}

.info-section p {
  margin-bottom: 16px;
  color: var(--txt2);
  line-height: 1.7;
}

.info-section ul, .info-section ol {
  margin-bottom: 24px;
  padding-left: 20px;
  color: var(--txt2);
}

.info-section li {
  margin-bottom: 12px;
}

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item:hover {
  border-color: var(--border2);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 16px;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--txt2);
  font-size: 14px;
  line-height: 1.6;
  display: none;
  animation: slideIn .3s ease both;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform .3s;
  color: var(--txt3);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* ── GUIDE STEPS ─────────────────────────────────────────────── */
.guide-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  background: var(--bg3);
  padding: 32px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  transition: transform .3s ease;
}

.guide-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text h3 {
  margin-top: 0 !important;
}

/* ── LEGAL ───────────────────────────────────────────────────── */
.legal-meta {
  font-size: 12px;
  color: var(--txt3);
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

@media (max-width: 600px) {
  .info-header { padding: 60px 20px 40px; }
  .info-content { padding: 40px 20px; }
  .guide-step { flex-direction: column; padding: 24px; gap: 16px; }
}
