/* ============================================================
   Orion marketing site - Tools, Hubs & Legal (Redesigned)
   ============================================================ */

.hidden { display: none !important; }

/* --- Tool Badge --- */
.tool-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: #6250cf;
  background: #efeafa;
}

.tool-badge-core { color: #6250cf; background: #efeafa; }
.tool-badge-ai { color: #8b5cf6; background: #f3e8ff; }
.tool-badge-free { color: #16a34a; background: #dcfce7; }

/* --- Hero Stats --- */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.stat-label {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* --- Tool Hero Visual --- */
.tool-hero-visual {
  margin-top: 2rem;
}

.score-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.score-circle-large {
  --score: 0;
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--forest) calc(var(--score) * 1%), #e9e9f1 0);
  display: grid;
  place-items: center;
}

.score-circle-large::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 50%;
}

.score-circle-large span {
  position: relative;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -.04em;
  color: var(--ink);
}

.score-circle-large small {
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
}

.score-verdict {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
}

/* --- Input Tabs --- */
.input-tabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line);
  background: #faf9f5;
  border-radius: 10px;
  padding: .7rem 1.1rem;
  cursor: pointer;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .18s ease;
}

.tab-btn:hover {
  background: #f0eef7;
  color: var(--ink);
}

.tab-btn.active,
.tab-btn[aria-selected="true"] {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.tab-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* --- Field Labels --- */
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  font-weight: 650;
  margin: 1rem 0 .4rem;
}

.field-label:first-of-type {
  margin-top: 0;
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: .8rem;
}

.help-text {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 400;
}

.char-count {
  font-size: .78rem;
  color: var(--muted);
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-right: 3.5rem;
}

.input-suffix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  color: var(--muted);
  pointer-events: none;
}

/* --- Textareas & Inputs --- */
.tool-widget textarea,
.tool-widget input,
.tool-widget select,
.widget-grid textarea,
.widget-grid input,
.widget-grid select,
.generator-input input,
.generator-input textarea,
.generator-input select,
.scanner-input input,
.scanner-input textarea,
.scanner-input select,
.linkedin-generator input,
.linkedin-generator textarea,
.linkedin-generator select {
  width: 100%;
  margin-top: .4rem;
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .92rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.tool-widget textarea:focus,
.tool-widget input:focus,
.tool-widget select:focus,
.generator-input input:focus,
.generator-input textarea:focus,
.generator-input select:focus,
.scanner-input input:focus,
.scanner-input textarea:focus,
.scanner-input select:focus,
.linkedin-generator input:focus,
.linkedin-generator textarea:focus,
.linkedin-generator select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(98, 80, 207, .12);
}

.checker-input textarea {
  min-height: 280px;
  resize: vertical;
}

#job-desc {
  min-height: 120px;
}

/* --- File Drop Zone --- */
.file-drop-zone {
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all .18s ease;
  background: #faf9f5;
}

.file-drop-zone:hover,
.file-drop-zone.dragging {
  border-color: var(--forest);
  background: #f3f1fb;
}

.file-drop-zone svg {
  color: var(--muted);
  margin-bottom: 1rem;
  transition: color .18s ease;
}

.file-drop-zone:hover svg,
.file-drop-zone.dragging svg {
  color: var(--forest);
}

.drop-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .35rem;
}

.drop-subtext {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.file-hint {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}

/* --- Checker Actions --- */
.checker-actions,
.generator-actions,
.scanner-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.full-width {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 47px;
  padding: .85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: var(--forest);
  color: #fff;
}

.button.primary:hover {
  background: #235443;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 63, 51, .25);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  background: #f8f8f1;
  border-color: var(--muted);
  transform: translateY(-2px);
}

.button.large {
  padding: 1rem 2rem;
  font-size: 1rem;
  min-height: 52px;
}

/* --- Results Placeholder --- */
.results-placeholder {
  text-align: center;
  color: var(--muted);
  padding: 3rem 2rem;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.placeholder-icon {
  margin-bottom: 1.25rem;
}

.placeholder-icon svg {
  color: #c9c8d6;
}

.results-placeholder h3 {
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}

.results-placeholder p {
  margin: 0 0 1.5rem;
  font-size: .95rem;
}

.placeholder-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .75rem;
}

.feature-tag svg {
  color: var(--forest);
  flex-shrink: 0;
}

/* --- Results Panel --- */
.results-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  animation: slideUp .3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* --- Score Header --- */
.score-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.score-circle {
  --score: 0;
  position: relative;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--forest) calc(var(--score) * 1%), #e9e9f1 0);
  display: grid;
  place-items: center;
}

.score-circle::after {
  content: '';
  position: absolute;
  inset: 10px;
  background: #fff;
  border-radius: 50%;
}

.score-circle span {
  position: relative;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.04em;
  color: var(--ink);
}

.score-circle small {
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
}

.score-summary h3 {
  margin: 0 0 .4rem;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
}

.score-summary p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Checks List --- */
.checks-list {
  display: grid;
  gap: .75rem;
}

.severity-group {
  margin-bottom: .5rem;
}

.severity-group h4 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin: 0 0 .5rem;
  font-weight: 700;
}

.check-item {
  display: flex;
  gap: .85rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
  transition: all .18s ease;
}

.check-item.passed {
  background: #f3f8f0;
  border-color: #cfe3c4;
}

.check-item.failed {
  background: #fdf5f4;
  border-color: #f0d6d4;
}

.check-icon {
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.check-item.passed .check-icon {
  color: #3c7a4f;
}

.check-item.failed .check-icon {
  color: #b4453c;
}

.check-content {
  flex: 1;
  min-width: 0;
}

.check-content strong {
  display: block;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: .2rem;
}

.check-category {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 700;
  display: block;
  margin-bottom: .3rem;
}

.check-content p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Results Note & Actions --- */
.results-note {
  font-size: .82rem;
  color: var(--muted);
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.results-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* --- Scan Cols / Keyword Results --- */
.scan-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.scan-cols > div {
  background: #faf9f5;
  border-radius: 12px;
  padding: 1.25rem;
}

.scan-cols h4 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  color: var(--ink);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
}

.skill-tag {
  display: inline-block;
  padding: .32rem .65rem;
  border-radius: 7px;
  background: #eeeef9;
  font-size: .78rem;
  font-weight: 500;
}

.skill-tag.ok {
  background: #e3f3df;
  color: #2e7d32;
}

.skill-tag.miss {
  background: #fdeaea;
  color: #c62828;
}

/* --- Generator Cards --- */
.gen-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.gen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .65rem;
}

.gen-head strong {
  font-size: .9rem;
  color: var(--ink);
}

.gen-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--ink);
}

.gen-count {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .5rem;
}

.copy-btn {
  border: 1px solid var(--line);
  background: #faf9f5;
  border-radius: 7px;
  padding: .4rem .8rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all .18s ease;
}

.copy-btn:hover {
  background: #eeeef9;
  color: var(--forest);
  border-color: var(--forest);
}

/* --- Methodology Grid --- */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.method-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f1fb;
  color: var(--forest);
  margin-bottom: 1rem;
}

.method-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}

.method-card p {
  margin: 0 0 1rem;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .4rem;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
  font-size: .75rem;
}

/* --- Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f1fb;
  color: var(--forest);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}

.feature-card p {
  margin: 0 0 1rem;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

/* --- Demo Iframe --- */
.demo-iframe {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5fa;
  box-shadow: 0 12px 40px rgba(36, 35, 66, .08);
}

.demo-iframe iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.demo-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

/* --- Builder Preview --- */
.builder-preview {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5fa;
  box-shadow: 0 12px 40px rgba(36, 35, 66, .08);
}

.builder-preview iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

/* --- Layout Showcase --- */
.layout-showcase {
  display: flex;
  justify-content: center;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 800px;
  width: 100%;
}

.layout-card {
  text-align: center;
}

.layout-preview {
  aspect-ratio: 3/4;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: .75rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(28, 28, 34, .06);
}

.layout-preview.brief { background: linear-gradient(135deg, #f8f8f1 0%, #eef0fb 100%); }
.layout-preview.frame { background: linear-gradient(135deg, #fff 0%, #f3f1fb 100%); border: 2px solid var(--forest); }
.layout-preview.studio { background: linear-gradient(135deg, #f3f1fb 0%, #efeafa 100%); }
.layout-preview.letterhead { background: linear-gradient(135deg, #f8f8f1 0%, #eef0fb 100%); border-top: 4px solid var(--forest); }

.layout-card h4 {
  font-size: .9rem;
  margin: 0 0 .2rem;
  color: var(--ink);
}

.layout-card p {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}

/* --- Steps --- */
.steps {
  max-width: 720px;
  padding-left: 1.25rem;
  line-height: 1.8;
}

.steps li {
  margin-bottom: .75rem;
}

.steps li strong {
  color: var(--ink);
}

/* --- Steps Numbered --- */
.steps-numbered {
  max-width: 720px;
  padding-left: 1.25rem;
  line-height: 1.8;
}

.steps-numbered li {
  margin-bottom: 1rem;
}

.steps-numbered li strong {
  color: var(--ink);
}

/* --- Structure Steps --- */
.structure-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .75rem;
}

.step-card h3 {
  font-size: .95rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Template Grid --- */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.template-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(28, 28, 34, .12);
}

.template-thumb {
  aspect-ratio: 3/4;
  background: #f5f5fa;
  border-bottom: 1px solid var(--line);
}

.template-thumb.internship { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.template-thumb.entry-level { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.template-thumb.sales { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.template-thumb.marketing { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); }
.template-thumb.tech { background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%); }
.template-thumb.finance { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); }

.template-card h3 {
  font-size: .95rem;
  padding: .85rem 1rem .3rem;
  margin: 0;
  color: var(--ink);
}

.template-card p {
  font-size: .82rem;
  color: var(--muted);
  padding: 0 1rem 1rem;
  margin: 0;
  line-height: 1.5;
}

/* --- AI Workflow Preview --- */
.ai-workflow-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.step-content {
  text-align: center;
  max-width: 140px;
}

.step-content strong {
  display: block;
  font-size: .82rem;
  color: var(--ink);
  margin-bottom: .2rem;
}

.step-content span {
  font-size: .72rem;
  color: var(--muted);
}

.workflow-arrow {
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .ai-workflow-preview {
    flex-direction: column;
  }
  .workflow-arrow {
    transform: rotate(90deg);
  }
}

/* --- Comparison Interactive --- */
.comparison-interactive {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.comp-tab {
  padding: .7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all .18s ease;
}

.comp-tab:hover {
  background: #f8f8f1;
  color: var(--ink);
}

.comp-tab.active,
.comp-tab[aria-selected="true"] {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.comparison-content {
  min-height: 200px;
}

.comp-panel {
  display: none;
  animation: fadeIn .2s ease;
}

.comp-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
  line-height: 1.65;
  font-size: .92rem;
  color: var(--ink);
}

.bullet-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}

.bullet-list li strong {
  color: var(--ink);
}

/* --- Capabilities Grid --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.capability-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f3f1fb;
  color: var(--forest);
  margin-bottom: 1rem;
}

.capability-card h3 {
  font-size: .95rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}

.capability-card p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Scanner Preview --- */
.scanner-preview {
  display: flex;
  justify-content: center;
}

.preview-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
}

.match-score {
  text-align: center;
  margin-bottom: 1.5rem;
}

.match-score .score-circle {
  margin: 0 auto 1rem;
}

.match-label {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
}

.preview-categories {
  display: grid;
  gap: .5rem;
}

.cat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .82rem;
}

.cat.matched {
  background: #f3f8f0;
}

.cat.missing {
  background: #fdf5f4;
}

.cat-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.cat.matched .cat-icon {
  color: #3c7a4f;
}

.cat.missing .cat-icon {
  color: #b4453c;
}

.cat-count {
  margin-left: auto;
  font-weight: 700;
  font-size: .78rem;
}

.cat.matched .cat-count {
  color: #3c7a4f;
}

.cat.missing .cat-count {
  color: #b4453c;
}

/* --- Categories Grid --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.cat-icon.hard { background: linear-gradient(135deg, #6250cf 0%, #8b5cf6 100%); }
.cat-icon.soft { background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%); }
.cat-icon.cert { background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); }
.cat-icon.domain { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }

.cat-header h3 {
  font-size: .95rem;
  margin: 0;
  color: var(--ink);
}

.category-card p {
  margin: 0 0 1rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.cat-examples {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.tag {
  font-size: .7rem;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: #f3f1fb;
  color: var(--forest);
  font-weight: 600;
}

/* --- Summary Preview --- */
.summary-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.summary-card .style-badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .5rem;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: .75rem;
}

.summary-card.preview-concise .style-badge { background: #e3f3df; color: #2e7d32; }
.summary-card.preview-achievement .style-badge { background: #fef3c7; color: #b45309; }
.summary-card.preview-narrative .style-badge { background: #f3f1fb; color: #6250cf; }

.summary-card p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}

/* --- Generator Grid --- */
.generator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .generator-grid {
    grid-template-columns: 1fr;
  }
}

.generator-input {
  position: sticky;
  top: 2rem;
}

.generator-input label {
  display: block;
  font-size: .85rem;
  font-weight: 650;
  margin: 1rem 0 .35rem;
}

.generator-input label:first-of-type {
  margin-top: 0;
}

/* --- Styles Grid --- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.style-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.style-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.style-badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .5rem;
  border-radius: 6px;
}

.style-badge.concise { background: #e3f3df; color: #2e7d32; }
.style-badge.achievement { background: #fef3c7; color: #b45309; }
.style-badge.narrative { background: #f3f1fb; color: #6250cf; }
.style-badge.professional { background: #e3f3df; color: #2e7d32; }
.style-badge.conversational { background: #fef3c7; color: #b45309; }
.style-badge.technical { background: #f3f1fb; color: #6250cf; }
.style-badge.storytelling { background: #fdeaea; color: #c62828; }

.style-header h3 {
  margin: 0;
  font-size: .95rem;
  color: var(--ink);
}

.style-card p {
  margin: 0 0 .75rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.style-card code {
  display: block;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: auto;
  margin-bottom: 1rem;
}

.style-best-for {
  list-style: none;
  padding: 0;
  margin: 0;
}

.style-best-for li {
  font-size: .75rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: .25rem;
}

.style-best-for li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
  font-size: .7rem;
}

/* --- Bullet Preview --- */
.bullet-preview {
  display: flex;
  justify-content: center;
}

.before-after {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 800px;
  width: 100%;
}

.before, .after {
  flex: 1;
  min-width: 280px;
  padding: 1.25rem;
  border-radius: 12px;
}

.before {
  background: #fdf5f4;
  border: 1px solid #f0d6d4;
}

.after {
  background: #f3f8f0;
  border: 1px solid #cfe3c4;
}

.label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}

.before .label { color: #b4453c; }
.after .label { color: #3c7a4f; }

.before p, .after p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
}

.before p { color: #8a4a22; }
.after p { color: #2e7d32; }

.arrow {
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .before-after {
    flex-direction: column;
  }
  .arrow {
    transform: rotate(90deg);
  }
}

/* --- Method Grid --- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.method-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 28, 34, .08);
}

.method-card .method-icon {
  margin-bottom: 1rem;
}

.method-card h3 {
  font-size: .95rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}

.method-card p {
  margin: 0 0 .75rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.method-card code.example {
  display: block;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
}

/* --- Examples Grid --- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.example-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.example-card h3 {
  font-size: .95rem;
  margin: 0 0 .75rem;
  color: var(--ink);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

.example-card .before,
.example-card .after {
  margin: 0;
  font-size: .82rem;
  line-height: 1.6;
  padding: .75rem;
  border-radius: 8px;
}

.example-card .before {
  background: #fdf5f4;
  color: #8a4a22;
  margin-bottom: .5rem;
}

.example-card .after {
  background: #f3f8f0;
  color: #2e7d32;
}

.example-card strong {
  color: var(--ink);
}

/* --- Verbs Grid --- */
.verbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.verb-category {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.verb-category h3 {
  font-size: .95rem;
  margin: 0 0 .5rem;
  color: var(--ink);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}

.verb-category p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* --- Tips List --- */
.tips-list {
  max-width: 720px;
  padding-left: 1.25rem;
  line-height: 1.8;
}

.tips-list li {
  margin-bottom: .5rem;
}

.tips-list li strong {
  color: var(--ink);
}

/* --- LinkedIn Preview --- */
.linkedin-preview {
  display: flex;
  justify-content: center;
}

.li-preview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(28, 28, 34, .08);
}

.li-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6250cf 0%, #8b5cf6 100%);
  margin-bottom: 1rem;
}

.li-content h4 {
  margin: 0 0 .2rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.li-headline {
  margin: 0 0 .75rem;
  font-size: .875rem;
  color: var(--muted);
}

.li-about {
  margin: 0 0 1rem;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink);
}

.li-see-more {
  background: none;
  border: none;
  color: #6250cf;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/* --- Templates Grid --- */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.template-tone-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.tone-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.tone-badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .5rem;
  border-radius: 6px;
}

.tone-header h3 {
  margin: 0;
  font-size: .95rem;
  color: var(--ink);
}

.template-tone-card p {
  margin: 0 0 .75rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.template-tone-card code {
  display: block;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre-wrap;
}

/* --- Demo Sample --- */
.demo-sample {
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.demo-sample h3 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  color: var(--ink);
}

.sample-jd {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.sample-jd code {
  display: block;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--ink);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* --- Tool CTA --- */
.tool-cta {
  max-width: 720px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, #f3f1fb 0%, #efeafa 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--ink);
}

.cta-card p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Related Resources --- */
.related-resources .section-head {
  margin-bottom: 1.5rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.resource-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(28, 28, 34, .12);
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f1fb;
  color: var(--forest);
  margin-bottom: .75rem;
}

.resource-card h3 {
  font-size: .95rem;
  margin: 0 0 .35rem;
  color: var(--ink);
}

.resource-card p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: .95rem;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  display: inline-block;
  margin-right: .75rem;
  font-weight: 700;
  color: var(--forest);
  transition: transform .2s ease;
}

.faq-item[open] summary::before {
  transform: rotate(45deg);
}

.faq-item p {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}

/* --- Step Detail --- */
.steps-detailed {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
}

.step-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.step-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.step-detail p {
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* --- Tool Interactive Demo --- */
.tool-interactive-demo {
  text-align: center;
  padding: 2rem;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* --- Responsive --- */
@media (max-width: 1000px) {
  .methodology-grid,
  .features-grid,
  .structure-steps,
  .template-grid,
  .categories-grid,
  .capabilities-grid,
  .styles-grid,
  .method-grid,
  .examples-grid,
  .verbs-grid,
  .templates-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .summary-preview,
  .ai-workflow-preview,
  .generator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .methodology-grid,
  .features-grid,
  .structure-steps,
  .template-grid,
  .categories-grid,
  .capabilities-grid,
  .styles-grid,
  .method-grid,
  .examples-grid,
  .verbs-grid,
  .templates-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .stat-value {
    font-size: 1.25rem;
  }
  .layout-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .checker-grid,
  .scanner-grid {
    grid-template-columns: 1fr;
  }
  .score-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- Animations --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 3px solid #6250cf;
  outline-offset: 3px;
}

/* --- Print --- */
@media print {
  .tool-hero-visual,
  .demo-iframe,
  .builder-preview,
  .layout-showcase,
  .scanner-preview,
  .summary-preview,
  .bullet-preview,
  .linkedin-preview,
  .tool-interactive-demo,
  .demo-sample,
  .tool-cta,
  .related-resources {
    display: none;
  }
}

/* Dashboard preview on tool pages */
.dashboard-preview {
  background: linear-gradient(135deg, #fafafa 0%, #f0edfa 100%);
  border: 1px solid #e4e1ec;
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
}
.dashboard-preview .section-head {
  margin-bottom: 24px;
}
.dashboard-preview .demo-hint {
  color: #6354d8;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 8px 0 0;
}
.dashboard-frame {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 24px rgba(99, 84, 216, 0.1);
  border: 1px solid #e4e1ec;
}
.dashboard-frame iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.demo-cta {
  text-align: center;
  margin-top: 20px;
}
.demo-cta .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Tools page hero enhancements */
.tool-hero {
  position: relative;
  overflow: hidden;
}
.tool-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 84, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.tool-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6354d8, #8b5cf6);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(99, 84, 216, 0.3);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #20202c;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: #6b6680;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tool-hero-visual {
  margin-top: 32px;
}
.score-preview {
  text-align: center;
}
.score-circle-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--accent, #6354d8) calc(var(--score) * 1%), #eef 0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
}
.score-circle-large::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: white;
}
.score-circle-large span {
  position: relative;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.score-circle-large small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.score-verdict {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: capitalize;
}

/* Checker tool layout */
.checker-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checker-input {
  position: sticky;
  top: 100px;
}
.input-tabs {
  display: flex;
  background: #fafafa;
  border: 1px solid #e4e1ec;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b6680;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover {
  background: white;
  color: #4b4560;
}
.tab-btn.active {
  background: white;
  color: #6354d8;
  box-shadow: 0 2px 8px rgba(99, 84, 216, 0.15);
}
.input-panel {
  display: none;
}
.input-panel.active {
  display: block;
}
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b4560;
}
.char-count {
  font-size: 0.7rem;
  color: #9a94a8;
}
.optional {
  font-weight: 400;
  color: #9a94a8;
}
.help-text {
  font-size: 0.7rem;
  color: #9a94a8;
  margin-top: 2px;
}
.checker-input textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e4e1ec;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.2s;
  background: white;
}
.checker-input textarea:focus {
  outline: none;
  border-color: #6354d8;
  box-shadow: 0 0 0 3px rgba(99, 84, 216, 0.12);
}
.checker-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.checker-actions .button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
}

/* File drop zone */
.file-drop-zone {
  border: 2px dashed #d8d4e8;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.file-drop-zone:hover,
.file-drop-zone.drag-over {
  border-color: #6354d8;
  background: #f5f3fc;
}
.file-drop-zone svg {
  color: #b8b3d0;
  margin-bottom: 16px;
}
.drop-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4b4560;
  margin: 0 0 4px;
}
.drop-subtext {
  color: #9a94a8;
  margin: 0 0 16px;
}
.file-hint {
  font-size: 0.75rem;
  color: #9a94a8;
  margin: 0;
}

/* Results panel */
.results-placeholder {
  text-align: center;
  padding: 60px 30px;
  background: #fafafa;
  border: 1px solid #eef;
  border-radius: 12px;
}
.placeholder-icon {
  color: #c8c3d8;
  margin-bottom: 20px;
}
.results-placeholder h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #20202c;
}
.results-placeholder p {
  color: #6b6680;
  margin: 0 0 24px;
}
.placeholder-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1px solid #e4e1ec;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4b4560;
}
.feature-tag svg {
  color: #6354d8;
  flex-shrink: 0;
}
.results-panel {
  background: white;
  border: 1px solid #e4e1ec;
  border-radius: 12px;
  overflow: hidden;
}
.results-panel.hidden {
  display: none;
}

/* Methodology grid */
.tool-methodology {
  background: #fafafa;
  border-radius: 16px;
  padding: 40px;
  margin-top: 48px;
}
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.method-card {
  background: white;
  border: 1px solid #eef;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s;
}
.method-card:hover {
  border-color: #d0cce8;
  box-shadow: 0 8px 24px rgba(99, 84, 216, 0.08);
  transform: translateY(-2px);
}
.method-icon {
  width: 48px;
  height: 48px;
  background: #f0edfa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6354d8;
  margin-bottom: 16px;
}
.method-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #20202c;
}
.method-card p {
  margin: 0 0 16px;
  color: #6b6680;
  font-size: 0.9rem;
  line-height: 1.6;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  font-size: 0.85rem;
  color: #5a5670;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6354d8;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Interactive demo */
.tool-interactive-demo {
  margin-top: 48px;
  text-align: center;
}
.demo-trigger .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
}

/* Tool widget styles */
.tool-widget {
  background: #fafafa;
  border: 1px solid #eef;
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tool-widget label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-widget label > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b4560;
}
.tool-widget input,
.tool-widget textarea,
.tool-widget select {
  padding: 12px 14px;
  border: 1px solid #e4e1ec;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  transition: all 0.2s;
}
.tool-widget input:focus,
.tool-widget textarea:focus,
.tool-widget select:focus {
  outline: none;
  border-color: #6354d8;
  box-shadow: 0 0 0 3px rgba(99, 84, 216, 0.12);
}
.tool-widget textarea {
  min-height: 100px;
  resize: vertical;
}
.widget-actions {
  margin-top: 24px;
  text-align: center;
}
.widget-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
}
.widget-output {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border: 1px solid #eef;
  border-radius: 10px;
  min-height: 100px;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.widget-output[data-output] {
  display: none;
}
.widget-output[data-output]:not([hidden]) {
  display: block;
}

/* Tool info section */
.tool-info {
  margin-top: 48px;
}
.tool-info .section-head {
  margin-bottom: 16px;
}
.tool-info p {
  color: #6b6680;
  line-height: 1.7;
}

/* Tool FAQ */
.tool-faq {
  margin-top: 48px;
}
.tool-faq h2 {
  margin: 0 0 24px;
}
.tool-faq details {
  background: white;
  border: 1px solid #eef;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.tool-faq summary {
  font-weight: 600;
  color: #20202c;
  cursor: pointer;
  font-size: 1rem;
}
.tool-faq summary::-webkit-details-marker {
  display: none;
}
.tool-faq summary::before {
  content: '+';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #f0edfa;
  border-radius: 6px;
  text-align: center;
  line-height: 24px;
  color: #6354d8;
  font-weight: 700;
  margin-right: 12px;
  transition: transform 0.2s;
}
.tool-faq details[open] summary::before {
  content: '−';
  transform: rotate(180deg);
}
.tool-faq p {
  margin: 12px 0 0;
  color: #6b6680;
  line-height: 1.7;
}

/* Tool checks */
.tool-checks {
  margin-top: 48px;
}
.tool-checks h2 {
  margin: 0 0 24px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.check-card {
  background: white;
  border: 1px solid #eef;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}
.check-card:hover {
  border-color: #d0cce8;
}
.check-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #20202c;
}
.check-card p {
  margin: 0;
  color: #6b6680;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Tool steps */
.tool-steps {
  margin-top: 48px;
}
.tool-steps h2 {
  margin: 0 0 24px;
}
.post-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.post-steps li {
  position: relative;
  padding: 16px 16px 16px 56px;
  background: white;
  border: 1px solid #eef;
  border-radius: 10px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #4b4560;
}
.post-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #6354d8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Tool example */
.tool-example {
  margin-top: 48px;
}
.tool-example h2 {
  margin: 0 0 24px;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ba {
  background: white;
  border: 1px solid #eef;
  border-radius: 12px;
  padding: 24px;
}
.ba.before {
  border-color: #fecaca;
  background: #fef2f2;
}
.ba.after {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.ba span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: #6354d8;
}
.ba.before span {
  color: #dc2626;
}
.ba.after span {
  color: #16a34a;
}
.ba p {
  margin: 0;
  line-height: 1.7;
  color: #4b4560;
}

/* Tool tips */
.tool-tips {
  margin-top: 48px;
}
.tool-tips h2 {
  margin: 0 0 24px;
}
.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tip-card {
  background: white;
  border: 1px solid #eef;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.2s;
}
.tip-card:hover {
  border-color: #d0cce8;
}
.tip-card span {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #6354d8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.tip-card p {
  margin: 0;
  line-height: 1.6;
  color: #4b4560;
}

/* Tool related */
.tool-related {
  margin-top: 64px;
}
.tool-related h2 {
  margin: 0 0 24px;
}

/* Tools hub */
.tools-hub {
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
  .checker-grid {
    grid-template-columns: 1fr;
  }
  .checker-input {
    position: static;
  }
}
@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
  }
  .stat-value {
    font-size: 2rem;
  }
  .tool-methodology {
    padding: 24px;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-frame iframe {
    height: 400px;
  }
}
