* {
  box-sizing: border-box;
}

.longevity-tool {
  max-width: 760px;
  margin: 40px auto;
}

.lt-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lt-progress-wrapper {
  margin-bottom: 28px;
}

.lt-progress-text {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 10px;
}

.lt-progress-bar {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.lt-progress-fill {
  height: 100%;
  width: 0;
  background: #16a34a;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.lt-form-step {
  display: none;
}

.lt-form-step.active {
  display: block;
}

.lt-form-step h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111827;
}

.lt-form-step p {
  margin-bottom: 20px;
  color: #4b5563;
  line-height: 1.6;
}

.lt-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111827;
}

.lt-box input,
.lt-box select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  margin-bottom: 12px;
}

.lt-buttons {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

#lt-nextBtn,
.lt-secondary-btn {
  display: inline-block;
  padding: 14px 22px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

#lt-nextBtn {
  background: #16a34a;
  color: #fff;
}

#lt-nextBtn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.lt-secondary-btn {
  background: #f3f4f6;
  color: #111827;
}

.lt-secondary-btn:hover {
  background: #e5e7eb;
}

.lt-result {
  margin-top: 28px;
}

.lt-result-card {
  display: grid;
  gap: 20px;
}

.lt-score {
  text-align: center;
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
}

.lt-score-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lt-score-inner {
  width: 112px;
  height: 112px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lt-score-inner span {
  font-size: 34px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.lt-score-inner small {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.lt-score h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #111827;
}

.lt-score-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.lt-score-badge.bad {
  background: #fee2e2;
  color: #b91c1c;
}

.lt-score-badge.medium {
  background: #ffedd5;
  color: #c2410c;
}

.lt-score-badge.good {
  background: #dcfce7;
  color: #15803d;
}

.lt-score-badge.excellent {
  background: #bbf7d0;
  color: #166534;
}

.lt-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lt-insight-box {
  padding: 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.lt-insight-box span {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.lt-insight-box strong {
  font-size: 17px;
  color: #111827;
  line-height: 1.4;
}

.lt-result-panel {
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
}

.lt-result-panel h4 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #111827;
}

.lt-result-panel p {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.lt-result-panel-full {
  width: 100%;
}

.lt-lever-panel {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.lt-recommendation-list {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.8;
}

.lt-recommendation-list li {
  margin-bottom: 8px;
}

.lt-cta-box {
  margin-top: 4px;
  padding: 18px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  text-align: center;
}

.lt-cta-box p {
  margin: 0 0 12px 0;
  color: #166534;
  font-weight: 500;
}

.lt-cta-button {
  display: inline-block;
  padding: 12px 18px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.lt-cta-button:hover {
  opacity: 0.95;
}

@media (max-width: 768px) {
  .lt-box {
    padding: 20px;
    border-radius: 18px;
  }

  .lt-form-step h2 {
    font-size: 24px;
  }

  .lt-buttons {
    flex-direction: column;
  }

  #lt-nextBtn,
  .lt-secondary-btn {
    width: 100%;
  }

  .lt-insight-row {
    grid-template-columns: 1fr;
  }

  .lt-score-circle {
    width: 130px;
    height: 130px;
  }

  .lt-score-inner {
    width: 96px;
    height: 96px;
  }

  .lt-score-inner span {
    font-size: 30px;
  }
}

.lt-next-step-panel {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.lt-next-step-panel h4 {
  color: #1d4ed8;
}

.lt-next-step-panel {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.lt-next-step-panel h4 {
  color: #1d4ed8;
}