/* ═══════════════════════════════════════════════════════════════════
   meta-tool.css  -  Meta Tag Generator  |  Scoped under #mt-root
   Theme: Light / Teal-Green accent - Premium SEO SaaS
   ⚠  ALL selectors scoped to #mt-root - zero bleed to other tools
═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────── */
#mt-root {
  /* Backgrounds */
  --mt-bg:           #f0fdfa;
  --mt-surface:      #ffffff;
  --mt-surface2:     #f0fdfa;
  --mt-surface3:     #ccfbf1;
  --mt-surface4:     #99f6e4;

  /* Borders */
  --mt-border:       #d1fae5;
  --mt-border2:      #99f6e4;
  --mt-border3:      #5eead4;

  /* Accent - teal-600 / teal-500 */
  --mt-accent:       #0d9488;
  --mt-accent2:      #14b8a6;
  --mt-accent3:      #2dd4bf;
  --mt-accent-dim:   rgba(13, 148, 136, 0.09);
  --mt-accent-glow:  rgba(13, 148, 136, 0.22);
  --mt-accent-ring:  rgba(13, 148, 136, 0.26);

  /* Status */
  --mt-ok:           #16a34a;
  --mt-ok-dim:       rgba(22, 163, 74, 0.10);
  --mt-warn:         #d97706;
  --mt-warn-dim:     rgba(217, 119, 6, 0.10);
  --mt-err:          #dc2626;
  --mt-err-dim:      rgba(220, 38, 38, 0.10);

  /* Text */
  --mt-text:         #0f172a;
  --mt-text2:        #334155;
  --mt-text3:        #64748b;
  --mt-muted:        #94a3b8;

  /* Type */
  --mt-sans: 'Outfit', system-ui, sans-serif;
  --mt-mono: 'JetBrains Mono', 'Roboto Mono', monospace;

  /* Shape */
  --mt-radius:    14px;
  --mt-radius-sm:  9px;
  --mt-radius-xs:  5px;

  /* Shadows */
  --mt-shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --mt-shadow:    0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --mt-shadow-lg: 0 12px 40px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.04);

  --mt-ease: cubic-bezier(.25,.46,.45,.94);
  --mt-t:    160ms;

  font-family: var(--mt-sans);
  color: var(--mt-text);
  background: var(--mt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Reset ─────────────────────────────────────────────────────── */
#mt-root *, #mt-root *::before, #mt-root *::after { box-sizing: border-box; }
#mt-root button  { cursor: pointer; font-family: inherit; }
#mt-root input, #mt-root select, #mt-root textarea { font-family: inherit; }

/* ── Layout wrapper ────────────────────────────────────────────── */
#mt-root {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.mt-hero {
  text-align: center;
  padding: 52px 20px 40px;
  position: relative;
}
.mt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(13,148,136,.11) 0%, transparent 68%),
    radial-gradient(ellipse 40% 35% at 85% 55%, rgba(45,212,191,.06) 0%, transparent 55%);
  pointer-events: none;
}
.mt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--mt-accent-dim);
  border: 1px solid var(--mt-accent-ring);
  color: var(--mt-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
}
.mt-hero-badge svg { width: 13px; height: 13px; }

.mt-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  color: var(--mt-text);
  position: relative;
}
.mt-hero h1 span {
  color: var(--mt-accent);
  position: relative;
}
.mt-hero p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--mt-text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ══════════════════════════════════════════════════════════════════
   SEO SCORE BANNER
══════════════════════════════════════════════════════════════════ */
.mt-score-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mt-surface);
  border: 1px solid var(--mt-border2);
  border-radius: var(--mt-radius);
  padding: 16px 22px;
  margin-bottom: 22px;
  box-shadow: var(--mt-shadow-sm);
}
.mt-score-ring {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.mt-score-ring svg {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}
.mt-score-ring .mt-ring-bg {
  fill: none;
  stroke: var(--mt-border2);
  stroke-width: 4;
}
.mt-score-ring .mt-ring-fill {
  fill: none;
  stroke: var(--mt-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset .6s var(--mt-ease), stroke .4s;
}
.mt-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--mt-accent);
  transform: none;
}
.mt-score-info { flex: 1; min-width: 0; }
.mt-score-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mt-text);
  margin-bottom: 4px;
}
.mt-score-bar-wrap {
  height: 6px;
  background: var(--mt-surface3);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 5px;
}
.mt-score-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mt-accent2) 0%, var(--mt-accent) 100%);
  transition: width .5s var(--mt-ease);
  width: 0%;
}
.mt-score-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mt-score-hint {
  font-size: 11.5px;
  color: var(--mt-text3);
  background: var(--mt-surface2);
  border-radius: 5px;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mt-score-hint.ok   { color: var(--mt-ok);   background: var(--mt-ok-dim); }
.mt-score-hint.warn { color: var(--mt-warn);  background: var(--mt-warn-dim); }
.mt-score-hint.err  { color: var(--mt-err);   background: var(--mt-err-dim); }
.mt-score-hint svg  { width: 10px; height: 10px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   MAIN GRID
══════════════════════════════════════════════════════════════════ */
.mt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ══════════════════════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════════════════════ */
.mt-card {
  background: var(--mt-surface);
  border: 1px solid var(--mt-border2);
  border-radius: var(--mt-radius);
  box-shadow: var(--mt-shadow-sm);
  overflow: hidden;
}
.mt-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--mt-border);
  background: var(--mt-surface2);
}
.mt-card-icon {
  width: 16px; height: 16px;
  color: var(--mt-accent);
  flex-shrink: 0;
}
.mt-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mt-text3);
  flex: 1;
}
.mt-card-body { padding: 18px; }

/* ── Section label inside card ─────────────────────────────────── */
.mt-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mt-accent);
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mt-border);
}
.mt-section-label:first-child { margin-top: 0; }
.mt-section-label svg { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════════════════════
   FORM CONTROLS
══════════════════════════════════════════════════════════════════ */
.mt-field { margin-bottom: 14px; }
.mt-field:last-child { margin-bottom: 0; }

.mt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mt-text2);
}
.mt-label-tip {
  font-size: 11px;
  font-weight: 500;
  color: var(--mt-muted);
}
.mt-counter {
  font-size: 11px;
  font-weight: 600;
  color: var(--mt-muted);
  transition: color var(--mt-t);
  font-variant-numeric: tabular-nums;
}
.mt-counter.ok   { color: var(--mt-ok); }
.mt-counter.warn { color: var(--mt-warn); }
.mt-counter.err  { color: var(--mt-err); }

.mt-input,
.mt-textarea,
.mt-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--mt-border2);
  border-radius: var(--mt-radius-sm);
  font-size: 13.5px;
  color: var(--mt-text);
  background: var(--mt-surface);
  outline: none;
  transition: border-color var(--mt-t), box-shadow var(--mt-t);
  line-height: 1.5;
}
.mt-input:focus,
.mt-textarea:focus,
.mt-select:focus {
  border-color: var(--mt-accent2);
  box-shadow: 0 0 0 3px var(--mt-accent-ring);
}
.mt-input.ok    { border-color: var(--mt-ok); }
.mt-input.warn  { border-color: var(--mt-warn); }
.mt-input.err   { border-color: var(--mt-err); }
.mt-textarea.ok   { border-color: var(--mt-ok); }
.mt-textarea.warn { border-color: var(--mt-warn); }
.mt-textarea.err  { border-color: var(--mt-err); }

.mt-textarea {
  resize: vertical;
  min-height: 72px;
}
.mt-input[readonly],
.mt-input[disabled] {
  background: var(--mt-surface2);
  color: var(--mt-text3);
  cursor: default;
}
.mt-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  cursor: pointer;
}

/* ── Auto-filled row ───────────────────────────────────────────── */
.mt-auto-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Image preview ─────────────────────────────────────────────── */
.mt-img-preview {
  margin-top: 8px;
  border-radius: var(--mt-radius-sm);
  overflow: hidden;
  background: var(--mt-surface2);
  border: 1px solid var(--mt-border2);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--mt-t);
}
.mt-img-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: none;
}
.mt-img-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--mt-muted);
  font-size: 12px;
}
.mt-img-preview-placeholder svg { width: 22px; height: 22px; }
.mt-img-preview.has-image { height: 140px; }
.mt-img-preview.has-image img  { display: block; }
.mt-img-preview.has-image .mt-img-preview-placeholder { display: none; }

/* ══════════════════════════════════════════════════════════════════
   TABS (Social / Preview toggle)
══════════════════════════════════════════════════════════════════ */
.mt-tabs {
  display: flex;
  gap: 4px;
  background: var(--mt-surface2);
  border-radius: var(--mt-radius-sm);
  padding: 4px;
  margin-bottom: 16px;
}
.mt-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mt-text3);
  transition: background var(--mt-t), color var(--mt-t), box-shadow var(--mt-t);
}
.mt-tab svg { width: 14px; height: 14px; }
.mt-tab.is-active {
  background: var(--mt-surface);
  color: var(--mt-accent);
  box-shadow: var(--mt-shadow-sm);
}
.mt-tab:hover:not(.is-active) { color: var(--mt-text2); background: var(--mt-surface); }

.mt-tab-panel { display: none; }
.mt-tab-panel.is-active { display: block; }

/* ══════════════════════════════════════════════════════════════════
   PREVIEW SECTION
══════════════════════════════════════════════════════════════════ */
.mt-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Device toggle */
.mt-device-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mt-device-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mt-text3);
}
.mt-device-btns {
  display: flex;
  gap: 4px;
  background: var(--mt-surface2);
  border-radius: 8px;
  padding: 3px;
}
.mt-device-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--mt-text3);
  transition: background var(--mt-t), color var(--mt-t);
}
.mt-device-btn svg { width: 14px; height: 14px; }
.mt-device-btn.is-active {
  background: var(--mt-surface);
  color: var(--mt-accent);
  box-shadow: var(--mt-shadow-sm);
}

/* Google SERP preview */
.mt-serp-preview {
  border: 1.5px solid var(--mt-border2);
  border-radius: var(--mt-radius);
  overflow: hidden;
  background: #fff;
}
.mt-serp-browser-bar {
  background: #f1f3f4;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
}
.mt-serp-dots {
  display: flex;
  gap: 4px;
}
.mt-serp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mt-serp-dot:nth-child(1) { background: #ff5f57; }
.mt-serp-dot:nth-child(2) { background: #ffbd2e; }
.mt-serp-dot:nth-child(3) { background: #28c840; }
.mt-serp-url-bar {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--mt-mono);
  font-size: 10.5px;
  color: #444;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mt-serp-body { padding: 16px 20px; background: #fff; }

/* Desktop SERP result */
.mt-serp-result { max-width: 600px; }
.mt-serp-url-path {
  font-size: 12px;
  color: #202124;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
}
.mt-serp-url-domain {
  font-size: 12px;
  color: #202124;
}
.mt-serp-url-chevron {
  color: #202124;
  font-size: 10px;
}
.mt-serp-title-link {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #1a0dab;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .1s;
  cursor: pointer;
  text-decoration: none;
  word-break: break-all;
}
.mt-serp-title-link:hover { text-decoration: underline; }
.mt-serp-desc-text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #4d5156;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mt-serp-placeholder {
  color: var(--mt-muted);
  font-style: italic;
  font-size: 13px;
}

/* Mobile SERP result */
.mt-serp-result.is-mobile .mt-serp-title-link { font-size: 18px; }
.mt-serp-result.is-mobile .mt-serp-desc-text  { font-size: 13px; }
.mt-serp-mobile-frame {
  max-width: 360px;
  margin: 0 auto;
}

/* Social preview card */
.mt-social-preview {
  border: 1.5px solid var(--mt-border2);
  border-radius: var(--mt-radius);
  overflow: hidden;
  background: #fff;
}
.mt-social-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--mt-surface3) 0%, var(--mt-surface4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mt-social-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.mt-social-card-img.has-image img { display: block; }
.mt-social-card-img.has-image .mt-social-img-placeholder { display: none; }
.mt-social-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--mt-text3);
  font-size: 12px;
}
.mt-social-img-placeholder svg { width: 28px; height: 28px; }
.mt-social-card-meta {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.mt-social-card-domain {
  font-size: 11px;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 5px;
}
.mt-social-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1e21;
  margin-bottom: 4px;
  font-family: Georgia, serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mt-social-card-desc {
  font-size: 13px;
  color: #606770;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mt-social-card-title.placeholder,
.mt-social-card-desc.placeholder,
.mt-social-card-domain.placeholder {
  color: var(--mt-muted);
  font-style: italic;
}

/* Twitter card preview */
.mt-twitter-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cfd9de;
}
.mt-twitter-card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e7f0f8 0%, #c8dff0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mt-twitter-card-img img { width: 100%; height: 100%; object-fit: cover; display: none; }
.mt-twitter-card-img.has-image img { display: block; }
.mt-twitter-card-img.has-image .mt-social-img-placeholder { display: none; }
.mt-twitter-card-meta { padding: 10px 14px; background: #fff; }
.mt-twitter-card-domain { font-size: 12px; color: #536471; margin-bottom: 3px; }
.mt-twitter-card-title  { font-size: 14px; font-weight: 700; color: #0f1419; margin-bottom: 3px; }
.mt-twitter-card-desc   { font-size: 13px; color: #536471; }

/* ══════════════════════════════════════════════════════════════════
   OUTPUT - Generated HTML
══════════════════════════════════════════════════════════════════ */
.mt-output-card {
  margin-top: 20px;
}

.mt-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.mt-output-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mt-text3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mt-output-title svg { width: 14px; height: 14px; color: var(--mt-accent); }

.mt-output-actions {
  display: flex;
  gap: 8px;
}

.mt-code-block {
  background: #0f172a;
  border-radius: var(--mt-radius-sm);
  padding: 16px;
  overflow-x: auto;
  border: 1px solid #1e293b;
  position: relative;
}
.mt-code-block pre {
  font-family: var(--mt-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}
/* Syntax highlight colours */
.mt-tok-tag    { color: #7dd3fc; }
.mt-tok-attr   { color: #86efac; }
.mt-tok-val    { color: #fde68a; }
.mt-tok-cmt    { color: #64748b; font-style: italic; }

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════ */
.mt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--mt-radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--mt-accent2) 0%, var(--mt-accent) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: opacity var(--mt-t), transform var(--mt-t), box-shadow var(--mt-t);
  box-shadow: 0 2px 10px var(--mt-accent-glow);
  white-space: nowrap;
}
.mt-btn-primary svg { width: 16px; height: 16px; }
.mt-btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--mt-accent-glow);
}
.mt-btn-primary:active { transform: translateY(0); opacity: 1; }

.mt-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--mt-radius-sm);
  border: 1.5px solid var(--mt-border2);
  background: var(--mt-surface);
  color: var(--mt-text2);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color var(--mt-t), background var(--mt-t), color var(--mt-t);
  white-space: nowrap;
}
.mt-btn-secondary svg { width: 13px; height: 13px; }
.mt-btn-secondary:hover {
  border-color: var(--mt-accent2);
  background: var(--mt-accent-dim);
  color: var(--mt-accent);
}

.mt-btn-secondary.is-copied {
  border-color: var(--mt-ok);
  color: var(--mt-ok);
  background: var(--mt-ok-dim);
}

/* ── Generate row ──────────────────────────────────────────────── */
.mt-generate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--mt-surface2);
  border-top: 1px solid var(--mt-border);
  flex-wrap: wrap;
}
.mt-generate-row .mt-spacer { flex: 1; }

/* ══════════════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════════════ */
.mt-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.mt-toast svg { width: 15px; height: 15px; color: #4ade80; }
.mt-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════════════════
   SEO INFO SECTION (bottom)
══════════════════════════════════════════════════════════════════ */
.mt-info-section {
  margin-top: 60px;
}
.mt-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.mt-info-card {
  background: var(--mt-surface);
  border: 1px solid var(--mt-border2);
  border-radius: var(--mt-radius);
  padding: 22px;
  box-shadow: var(--mt-shadow-sm);
}
.mt-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mt-accent-dim);
  border: 1px solid var(--mt-accent-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--mt-accent);
}
.mt-info-icon svg { width: 18px; height: 18px; }
.mt-info-card h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; color: var(--mt-text); }
.mt-info-card p  { font-size: 13.5px; color: var(--mt-text3); line-height: 1.6; margin: 0; }

/* FAQ */
.mt-faq-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--mt-text);
  margin: 0 0 24px;
}
.mt-faq { border-radius: var(--mt-radius); overflow: hidden; border: 1px solid var(--mt-border2); }
.mt-faq-item { border-bottom: 1px solid var(--mt-border); }
.mt-faq-item:last-child { border-bottom: none; }
.mt-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--mt-surface);
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--mt-text);
  cursor: pointer;
  transition: background var(--mt-t);
}
.mt-faq-q:hover { background: var(--mt-surface2); }
.mt-faq-q svg {
  width: 16px; height: 16px;
  color: var(--mt-accent);
  flex-shrink: 0;
  transition: transform .25s;
}
.mt-faq-item.open .mt-faq-q svg { transform: rotate(45deg); }
.mt-faq-a {
  display: none;
  padding: 0 20px 16px;
  background: var(--mt-surface2);
  font-size: 13.5px;
  color: var(--mt-text3);
  line-height: 1.7;
}
.mt-faq-item.open .mt-faq-a { display: block; }

/* Best Practices list */
.mt-bp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mt-bp-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--mt-surface);
  border: 1px solid var(--mt-border2);
  border-radius: var(--mt-radius-sm);
  padding: 12px 14px;
}
.mt-bp-icon {
  width: 20px;
  height: 20px;
  background: var(--mt-accent-dim);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mt-bp-icon svg { width: 11px; height: 11px; color: var(--mt-accent); }
.mt-bp-text { font-size: 13.5px; color: var(--mt-text3); line-height: 1.5; }
.mt-bp-text strong { color: var(--mt-text2); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .mt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mt-auto-row { grid-template-columns: 1fr; }
  .mt-score-banner { flex-direction: column; text-align: center; }
  .mt-score-hints { justify-content: center; }
  .mt-generate-row { justify-content: center; }
  .mt-output-header { flex-direction: column; }
  .mt-hero { padding: 36px 16px 28px; }
}
@media (max-width: 400px) {
  .mt-tabs { flex-direction: column; }
  .mt-tab { justify-content: flex-start; }
}
