@charset "utf-8";
/* CSS Document */
.tl-main {
  width: 100%;
  box-sizing: border-box;
  color: #eaf0f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  background-color: #05070a;
  overflow: hidden;
}
.tl-main *, .tl-main *::before, .tl-main *::after {
  box-sizing: border-box;
}
.tl-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 650px;
  background: radial-gradient(circle 800px at 50% -150px, rgba(168, 255, 83, 0.12), rgba(110, 231, 255, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.tl-main .tl-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 18px 80px;
  position: relative;
  z-index: 1;
}

.tl-main .tl-hero {
  text-align: center;
  margin-bottom: 36px;
}
.tl-main .tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(168, 255, 83, 0.1);
  border: 1px solid rgba(168, 255, 83, 0.25);
  color: #a8ff53;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.tl-main .tl-hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.tl-main .tl-hero h1 span {
  background: linear-gradient(135deg, #6ee7ff 0%, #a8ff53 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tl-main .tl-hero p {
  font-size: 16px;
  color: #98a3b3;
  max-width: 760px;
  margin: 0 auto;
}

/* Studio Box */
.tl-main .tl-studio {
  background: #101319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 48px;
}

/* Top Toolbar */
.tl-main .tl-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.tl-main .tl-btn-group {
  display: flex;
  gap: 8px;
}
.tl-main .tl-btn-tool {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #eaf0f7;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.tl-main .tl-btn-tool:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Split Workbench */
.tl-main .tl-workbench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 860px) {
  .tl-main .tl-workbench {
    grid-template-columns: 1fr;
  }
}

/* Left Column: Encoded Token */
.tl-main .tl-token-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tl-main .tl-panel-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tl-main .tl-jwt-input {
  width: 100%;
  height: 240px;
  background: #090c11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  color: #ffffff;
  font-family: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
  outline: none;
  line-height: 1.5;
  transition: border-color 0.2s;
}
.tl-main .tl-jwt-input:focus {
  border-color: #a8ff53;
}

/* Color Legend Tags */
.tl-main .tl-color-legend {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  background: #0c0e13;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-main .tl-leg-header { color: #ff6b8b; }
.tl-main .tl-leg-payload { color: #6ee7ff; }
.tl-main .tl-leg-sig { color: #a8ff53; }

/* Security Audit HUD */
.tl-main .tl-sec-hud {
  background: #0c0e13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-main .tl-hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.tl-main .tl-hud-name {
  color: #98a3b3;
}
.tl-main .tl-hud-status {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tl-main .tl-status-valid { color: #a8ff53; }
.tl-main .tl-status-expired { color: #ff6b6b; }
.tl-main .tl-status-warn { color: #ffbe53; }

/* Right Column: Decoded Sections */
.tl-main .tl-decoded-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tl-main .tl-decoded-box {
  background: #090c11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.tl-main .tl-decoded-head {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-main .tl-head-header { background: rgba(255, 107, 139, 0.12); color: #ff6b8b; }
.tl-main .tl-head-payload { background: rgba(110, 231, 255, 0.12); color: #6ee7ff; }
.tl-main .tl-head-signature { background: rgba(168, 255, 83, 0.12); color: #a8ff53; }

.tl-main .tl-decoded-body {
  padding: 14px;
  font-family: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 220px;
  overflow-y: auto;
  color: #eaf0f7;
}

/* Claims Insights List */
.tl-main .tl-claims-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 6px;
}
.tl-main .tl-claims-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.tl-main .tl-claim-key {
  color: #6ee7ff;
  font-weight: 700;
  width: 80px;
}
.tl-main .tl-claim-val {
  color: #eaf0f7;
}
.tl-main .tl-claim-human {
  color: #98a3b3;
  font-style: italic;
}

/* Sections & Typography */
.tl-main .tl-section {
  margin-bottom: 48px;
}
.tl-main .tl-sec-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a8ff53;
  margin-bottom: 8px;
  display: inline-block;
}
.tl-main .tl-sec-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
.tl-main .tl-sec-desc {
  font-size: 15px;
  color: #98a3b3;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Architecture Cards Grid */
.tl-main .tl-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .tl-main .tl-arch-grid {
    grid-template-columns: 1fr;
  }
}
.tl-main .tl-arch-card {
  background: #101319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tl-main .tl-arch-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(168, 255, 83, 0.1);
  border: 1px solid rgba(168, 255, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8ff53;
}
.tl-main .tl-arch-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.tl-main .tl-arch-card p {
  font-size: 13px;
  color: #98a3b3;
  margin: 0;
  line-height: 1.6;
}

/* Specs Table */
.tl-main .tl-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #101319;
}
.tl-main .tl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.tl-main .tl-table th,
.tl-main .tl-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-main .tl-table th {
  background: #0c0e13;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}
.tl-main .tl-table tr:last-child td {
  border-bottom: none;
}
.tl-main .tl-table td {
  color: #98a3b3;
}
.tl-main .tl-table td strong {
  color: #eaf0f7;
}
.tl-main .tl-col-feat {
  color: #a8ff53;
  font-weight: 600;
}

/* FAQ Accordion */
.tl-main .tl-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tl-main .tl-faq-item {
  background: #101319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.tl-main .tl-faq-q {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.tl-main .tl-faq-q:hover {
  background: rgba(255, 255, 255, 0.02);
}
.tl-main .tl-faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #98a3b3;
  line-height: 1.6;
}

/* Related Tools Grid */
.tl-main .tl-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .tl-main .tl-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .tl-main .tl-related-grid {
    grid-template-columns: 1fr;
  }
}
.tl-main .tl-tool-card {
  background: #101319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tl-main .tl-tool-card:hover {
  border-color: rgba(168, 255, 83, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.tl-main .tl-tool-cat {
  font-size: 11px;
  font-weight: 700;
  color: #6ee7ff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-main .tl-tool-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.tl-main .tl-tool-card p {
  font-size: 12px;
  color: #98a3b3;
  margin: 0 0 16px;
  line-height: 1.5;
}
.tl-main .tl-tool-link {
  font-size: 12px;
  font-weight: 700;
  color: #a8ff53;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
