/* ── Tester page specific styles ─────────────────────────────────────────── */

.btn-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.btn-back:hover { border-color: var(--green); color: var(--green); }

/* ── Hero ── */
.tester-hero {
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, #ffffff 0%, #eef7ed 60%, #fdecea 100%);
  text-align: center;
}
.tester-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 20px 0;
}
.tester-hero p {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.tester-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
}

/* ── Steps ── */
.tester-steps-section {
  padding: 60px 0;
  background: white;
}
.tester-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tester-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tester-step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(61,139,55,0.3);
}
.tester-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tester-step p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
}
.tester-arrow {
  font-size: 28px;
  color: var(--border);
  font-weight: 300;
  flex-shrink: 0;
}

/* ── Form ── */
.tester-form-section {
  padding: 80px 0;
  background: var(--bg);
}
.tester-form-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}
.tester-form-box h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.tester-form-box > p {
  font-size: 15px;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.7;
  margin-bottom: 36px;
  padding: 16px;
  background: var(--green-light);
  border-radius: 12px;
  border-left: 3px solid var(--green);
}

.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: white;
}
.form-group textarea { resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
  background: var(--bg);
}
.checkbox-label:hover { border-color: var(--green); background: var(--green-light); }
.checkbox-label input { accent-color: var(--green); }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(61,139,55,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61,139,55,0.45);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 72px;
  height: 72px;
  background: var(--green-light);
  color: var(--green);
  font-size: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--green);
}
.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.form-success p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── Test list ── */
.test-list-section {
  padding: 100px 0;
  background: white;
}
.test-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.test-category {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.test-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.test-cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  font-size: 22px;
}
.test-cat-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: white;
}
.green-cat { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.red-cat   { background: linear-gradient(135deg, var(--red), #9b2318); }

.test-category ul {
  list-style: none;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.test-category li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.test-category li::before {
  content: '□';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
}

.feedback-box {
  background: linear-gradient(135deg, var(--green-light), var(--red-light));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.feedback-box h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.feedback-box p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .test-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tester-form-box { padding: 32px 20px; }
  .tester-arrow    { transform: rotate(90deg); }
  .tester-steps    { flex-direction: column; align-items: stretch; }
  .tester-step     { max-width: 100%; }
  .test-categories { grid-template-columns: 1fr; }
  .checkbox-grid   { grid-template-columns: repeat(2, 1fr); }
  .feedback-box    { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}
