/* ============================================
   Font Icon Extractor - font-icon-extractor.css
   Mirrors twitter-gif-downloader.css pattern
   Prefix: fie-
   ============================================ */

/* --- Scoped CSS variables (same names as TGD so dark mode toggle works) --- */
:root {
    --transition-speed: 0.25s;
    --primary:        #3399cc;
    --primary-light:  #e0f2fe;
    --primary-dark:   #2277aa;
    --success:        #339966;
    --success-light:  #d1fae5;
    --danger:         #e64e4e;
    --danger-light:   #fee2e2;
    --bg:             #f0f9ff;
    --bg-elevated:    #ffffff;
    --bg-secondary:   #e0f2fe;
    --bg-tertiary:    #bae6fd;
    --text:           #0c4a6e;
    --text-secondary: #075985;
    --text-muted:     #6b7280;
    --border:         #bae6fd;
    --border-light:   #e0f2fe;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:      0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg:      0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-primary: 0 4px 14px rgba(51,153,204,0.25);
    --shadow-primary-hover: 0 6px 20px rgba(51,153,204,0.35);
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      16px;
    --radius-xl:      24px;
    --radius-full:    9999px;
    --input-bg:       #ffffff;
    --input-border:   #bae6fd;
}

[data-theme="dark"] {
    --primary:        #60a5fa;
    --primary-light:  rgba(96,165,250,0.15);
    --primary-dark:   #3b82f6;
    --success:        #34d399;
    --success-light:  rgba(52,211,153,0.15);
    --danger:         #f87171;
    --danger-light:   rgba(248,113,113,0.15);
    --bg:             #0c1929;
    --bg-elevated:    #152238;
    --bg-secondary:   #1e3a5f;
    --bg-tertiary:    #264a6e;
    --text:           #e0f2fe;
    --text-secondary: #bae6fd;
    --text-muted:     #a8a8b3;
    --border:         #264a6e;
    --border-light:   #1e3a5f;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:      0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-lg:      0 10px 15px -3px rgba(0,0,0,0.4);
    --shadow-primary: 0 4px 14px rgba(96,165,250,0.2);
    --shadow-primary-hover: 0 6px 20px rgba(96,165,250,0.3);
    --input-bg:       #1e3a5f;
    --input-border:   #264a6e;
}

/* ============================================
   BASE (matching TGD exactly)
   ============================================ */
body {
    background: var(--bg);
    color: var(--text);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.tool-container { max-width: 900px; margin: 0 auto; padding: 2rem; }

.tool-header { text-align: center; margin-bottom: 2rem; }

.tool-title {
    display: flex; align-items: center; justify-content: center;
    gap: 0.75rem; margin: 0 0 0.75rem;
    font-size: 1.75rem; font-weight: 700; color: var(--primary);
}
.tool-title i { color: var(--primary); }

.tool-description {
    max-width: 800px; margin: 0 auto;
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
}
.tool-description a { color: var(--primary); text-decoration: none; }
.tool-description a:hover { text-decoration: underline; }

/* Input section card - matches TGD */
.input-section {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.input-header {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--text); font-weight: 600; font-size: 1.1rem;
}
.input-header i { color: var(--primary); }

/* Loading - matches TGD */
.loading-section {
    text-align: center; padding: 3rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}
.loading-spinner {
    width: 48px; height: 48px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: fieSpinAnim 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes fieSpinAnim { to { transform: rotate(360deg); } }
.loading-text    { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 0 0 0.25rem; }
.loading-subtext { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* Error - matches TGD */
.error-message {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--danger-light);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--danger); font-size: 0.9rem; line-height: 1.5;
}
.error-message i  { flex-shrink: 0; margin-top: 0.125rem; }
.error-message a  { color: var(--danger); font-weight: 600; }
.error-close {
    margin-left: auto; background: none; border: none;
    color: var(--danger); cursor: pointer; padding: 0.25rem;
    opacity: 0.7; flex-shrink: 0;
}
.error-close:hover { opacity: 1; transform: none; background: none; box-shadow: none; }

/* Results section - matches TGD */
.results-section {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

/* Buttons - scoped to this tool */
.fie-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--transition-speed) !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.fie-btn-primary {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: var(--shadow-primary) !important;
    width: 100% !important;
}
.fie-btn-primary:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-primary-hover) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}
.fie-btn-primary:disabled {
    opacity: 0.5 !important; cursor: not-allowed !important; transform: none !important;
}

.fie-btn-secondary {
    background: var(--bg-secondary) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
}
.fie-btn-secondary:hover {
    background: var(--bg-tertiary) !important;
    transform: none !important;
    box-shadow: none !important;
}

.fie-btn-ghost {
    background: transparent !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
}
.fie-btn-ghost:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: var(--primary-light) !important;
    transform: none !important;
}
.fie-btn-ghost:disabled { opacity: 0.4 !important; cursor: not-allowed !important; }

.fie-btn-download {
    background: var(--success) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(51,153,102,0.25) !important;
    width: 100% !important;
}
.fie-btn-download:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}
.fie-btn-download:disabled {
    opacity: 0.5 !important; cursor: not-allowed !important; transform: none !important;
}

.fie-btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    width: auto !important;
}

/* ============================================
   DROPZONE
   ============================================ */
.fie-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: var(--bg-secondary);
    margin-bottom: 1.25rem;
}
.fie-dropzone:hover,
.fie-dropzone.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
}
.fie-dropzone.fie-has-file {
    border-style: solid; border-color: var(--success); background: var(--success-light);
}
.fie-dropzone.fie-has-zip {
    border-style: solid; border-color: var(--primary); background: var(--primary-light);
}
.fie-dropzone input[type=file] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1;
    width: 100%; height: 100%;
}
.fie-dz-icon {
    display: flex; justify-content: center; margin-bottom: 0.75rem;
    color: var(--primary); transition: color 0.2s;
}
.fie-dropzone.fie-has-file .fie-dz-icon { color: var(--success); }
.fie-dz-title { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; }
.fie-dz-sub   { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0; }
.fie-dz-filename {
    font-family: monospace; font-size: 0.85rem;
    color: var(--success); font-weight: 600;
    margin-top: 0.625rem; word-break: break-all;
}
.fie-dz-filename.fie-zip-name { color: var(--primary); }

/* Supported formats row */
.fie-formats-row {
    display: flex; align-items: center; gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-bottom: 0;
}
.fie-formats-label {
    font-size: 0.8rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.375rem;
}
.fie-format-tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: var(--bg-secondary); color: var(--text-secondary);
    border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500;
}
.fie-format-tag.fie-tag-zip {
    background: var(--primary); color: #fff;
}

/* ZIP found notice */
.fie-zip-notice {
    display: none; align-items: center; gap: 0.5rem;
    padding: 0.625rem 0.875rem; margin-bottom: 1.25rem;
    background: var(--primary-light); border-radius: var(--radius-sm);
    font-size: 0.85rem; color: var(--primary); font-weight: 500;
}
.fie-zip-notice.fie-show { display: flex; }
.fie-zip-notice i { flex-shrink: 0; }

/* CSS mapping section */
.fie-css-section {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1.25rem;
}
.fie-css-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; margin-bottom: 0.75rem;
    font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
}
.fie-css-header i { color: var(--primary); }
.fie-css-label-opt {
    font-weight: 400; font-size: 0.8rem;
    color: var(--text-muted); margin-left: 0.25rem;
}
.fie-css-textarea {
    width: 100%; height: 80px;
    background: var(--input-bg); border: 2px solid var(--input-border);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: monospace; font-size: 0.8rem;
    padding: 0.625rem 0.75rem; resize: none;
    transition: border-color 0.2s; line-height: 1.6;
    display: block; box-sizing: border-box;
}
.fie-css-textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(51,153,204,0.15);
}
.fie-css-textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.fie-css-droprow {
    display: flex; gap: 0.625rem; align-items: stretch; margin-top: 0.625rem;
}
.fie-css-dropzone {
    flex: 1; border: 2px dashed var(--border);
    border-radius: var(--radius-sm); padding: 0.625rem 0.875rem;
    cursor: pointer; position: relative; background: var(--bg-secondary);
    transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--text-muted);
}
.fie-css-dropzone:hover,
.fie-css-dropzone.drag-over { border-color: var(--primary); color: var(--primary); }
.fie-css-dropzone input[type=file] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1;
    width: 100%; height: 100%;
}
.fie-css-dropzone i { color: var(--primary); flex-shrink: 0; }

/* ============================================
   RESULTS SECTION INTERIOR
   ============================================ */
.fie-results-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; flex-wrap: wrap; gap: 0.75rem;
}
.fie-results-title {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--success);
}
.fie-results-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.fie-meta-badge {
    padding: 0.25rem 0.625rem;
    background: var(--bg-secondary); border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
    font-family: monospace;
}

/* Toolbar */
.fie-toolbar {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 0.75rem; background: var(--bg-secondary);
    border-radius: var(--radius-md); margin-bottom: 1rem;
    flex-wrap: wrap;
}
.fie-search-wrap { flex: 1; min-width: 160px; position: relative; }
.fie-search-icon {
    position: absolute; left: 0.625rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none; display: flex;
}
.fie-search {
    width: 100%; background: var(--input-bg); border: 2px solid var(--input-border);
    border-radius: var(--radius-sm); color: var(--text);
    font-size: 0.875rem; padding: 0.5rem 0.75rem 0.5rem 2rem;
    transition: border-color 0.2s; font-family: inherit; box-sizing: border-box;
}
.fie-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(51,153,204,0.12); }
.fie-search::placeholder { color: var(--text-muted); opacity: 0.7; }

.fie-filter-select {
    background: var(--input-bg); border: 2px solid var(--input-border);
    border-radius: var(--radius-sm); color: var(--text);
    font-size: 0.8rem; padding: 0.5rem 0.75rem; cursor: pointer;
    font-family: inherit;
}
.fie-filter-select:focus { outline: none; border-color: var(--primary); }

.fie-view-toggle { display: flex; gap: 2px; }

.fie-view-btn {
    width: 34px !important; height: 34px !important;
    padding: 0 !important; background: transparent !important;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-sm) !important; cursor: pointer !important;
    display: grid !important; place-items: center !important;
    color: var(--text-muted) !important;
    transition: all 0.15s !important; box-shadow: none !important; font-size: 0 !important;
}
.fie-view-btn.active,
.fie-view-btn:hover {
    border-color: var(--primary) !important; color: var(--primary) !important;
    background: var(--primary-light) !important; transform: none !important;
}

.fie-count-label {
    font-size: 0.8rem; color: var(--text-muted); margin-left: auto;
    font-family: monospace; white-space: nowrap;
}

/* Download row */
.fie-download-row {
    display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.fie-download-row .fie-btn { flex: 1; min-width: 140px; }

/* ============================================
   ICON GRID
   ============================================ */
.fie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
}
.fie-grid.fie-list { grid-template-columns: 1fr; gap: 4px; }

.fie-glyph-card {
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 8px 10px;
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; cursor: pointer;
    transition: all 0.15s; position: relative; overflow: hidden; min-width: 0;
}
.fie-glyph-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.fie-glyph-card.fie-copied {
    border-color: var(--success); background: var(--success-light);
}
.fie-glyph-preview {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
}
.fie-glyph-preview svg { width: 38px; height: 38px; fill: currentColor; }
.fie-glyph-name {
    font-family: monospace; font-size: 9px; color: var(--text-muted);
    text-align: center; word-break: break-all; line-height: 1.4; max-width: 80px;
}
.fie-glyph-hex { font-family: monospace; font-size: 8px; color: var(--text-muted); opacity: 0.7; }

.fie-glyph-actions {
    position: absolute; top: 4px; right: 4px;
    display: flex; gap: 2px; opacity: 0; transition: opacity 0.15s;
}
.fie-glyph-card:hover .fie-glyph-actions { opacity: 1; }
.fie-glyph-action-btn {
    width: 20px !important; height: 20px !important; padding: 0 !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important; border-radius: 4px !important;
    cursor: pointer !important; display: grid !important; place-items: center !important;
    color: var(--text-muted) !important; transition: all 0.1s !important;
    box-shadow: none !important; font-size: 0 !important; line-height: 1 !important;
}
.fie-glyph-action-btn:hover {
    border-color: var(--primary) !important; color: var(--primary) !important;
    background: var(--bg-elevated) !important; transform: none !important;
}

/* List view */
.fie-grid.fie-list .fie-glyph-card {
    flex-direction: row; padding: 8px 14px; gap: 12px;
    align-items: center; border-radius: var(--radius-sm);
}
.fie-grid.fie-list .fie-glyph-preview { width: 30px; height: 30px; flex-shrink: 0; }
.fie-grid.fie-list .fie-glyph-preview svg { width: 24px; height: 24px; }
.fie-grid.fie-list .fie-glyph-name { text-align: left; max-width: none; font-size: 11px; flex: 1; }
.fie-grid.fie-list .fie-glyph-hex { display: none; }
.fie-grid.fie-list .fie-glyph-actions { position: static; opacity: 1; flex-shrink: 0; }

/* ============================================
   ZIP PICKER MODAL
   ============================================ */
.fie-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 9000; display: flex; align-items: center;
    justify-content: center; padding: 20px;
}
.fie-modal {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: 1.75rem; max-width: 440px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.fie-modal h3 {
    display: flex; align-items: center; gap: 0.625rem;
    font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 0.375rem;
}
.fie-modal h3 i { color: var(--primary); }
.fie-modal p { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 1rem; line-height: 1.6; }
.fie-modal-list {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 1.25rem; max-height: 220px; overflow-y: auto;
}
.fie-modal-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    border: 2px solid var(--border); background: var(--bg-secondary);
    cursor: pointer; transition: all 0.15s;
}
.fie-modal-item:hover    { border-color: var(--primary); background: var(--primary-light); }
.fie-modal-item.fie-sel  { border-color: var(--primary); background: var(--primary-light); }
.fie-modal-item i        { color: var(--primary); flex-shrink: 0; }
.fie-modal-item-name     { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.fie-modal-item-path     { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; }
.fie-modal-footer        { display: flex; gap: 0.625rem; justify-content: flex-end; }

/* ============================================
   TOAST
   ============================================ */
.fie-toast {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 0.75rem 1rem;
    font-size: 0.85rem; color: var(--text);
    box-shadow: var(--shadow-lg);
    transform: translateY(80px); opacity: 0;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 9999; display: flex; align-items: center; gap: 0.5rem;
    max-width: 300px; pointer-events: none;
}
.fie-toast.fie-show { transform: translateY(0); opacity: 1; }
.fie-toast-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--text-muted); }
.fie-toast.fie-success .fie-toast-dot { background: var(--success); }
.fie-toast.fie-error   .fie-toast-dot { background: var(--danger); }
.fie-toast.fie-info    .fie-toast-dot { background: var(--primary); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .tool-container { padding: 1rem; }
    .tool-title     { font-size: 1.35rem; }
    .input-section  { padding: 1.25rem; }
    .fie-download-row { flex-direction: column; }
    .fie-download-row .fie-btn { width: 100%; }
    .fie-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
}

@media (max-width: 480px) {
    .fie-toolbar    { gap: 6px; }
    .fie-search-wrap { flex: 1 1 100%; }
    .fie-count-label { margin-left: 0; }
    .fie-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
}

/* ============================================
   BELOW-TOOL: Related Tools, Info Cards,
   Features, Steps, FAQ
   (copied from twitter-gif-downloader.css -
   must live here since that file isn't loaded)
   ============================================ */

/* Related Tools */
.tgd-related-tools {
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.tgd-related-tools-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tgd-related-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.tgd-related-label i { color: var(--primary); }

.tgd-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tgd-related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-speed);
}

.tgd-related-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.tgd-related-link i { width: 16px; height: 16px; }

/* Info sections wrapper */
.tgd-info-sections {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

/* Info card */
.tgd-info-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.tgd-info-card h2 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.25rem;
}

.tgd-info-card h2 i { color: var(--primary); }

.tgd-info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 0.75rem;
}

.tgd-info-card h3:first-of-type { margin-top: 0; }

.tgd-info-card p,
.tgd-info-card li {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.tgd-info-card a { color: var(--primary); text-decoration: none; }
.tgd-info-card a:hover { text-decoration: underline; }

/* Numbered steps */
.tgd-steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.tgd-steps-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.tgd-steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 28px; height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.tgd-steps-list li strong { color: var(--text); }
.tgd-steps-list a { color: var(--primary); text-decoration: none; }
.tgd-steps-list a:hover { text-decoration: underline; }

/* Features grid */
.tgd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.tgd-feature-item {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.tgd-feature-item i {
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.tgd-feature-item h4 {
    margin: 0 0 0.375rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.tgd-feature-item p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-muted);
}

/* FAQ */
.tgd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tgd-faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tgd-faq-question {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    text-align: left !important;
    transition: background-color var(--transition-speed) !important;
    box-shadow: none !important;
    transform: none !important;
    line-height: 1.4 !important;
    gap: 1rem !important;
}

.tgd-faq-question:hover {
    background: var(--bg-tertiary) !important;
    transform: none !important;
    box-shadow: none !important;
}

.tgd-faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tgd-faq-item.active .tgd-faq-question i {
    transform: rotate(180deg);
}

.tgd-faq-answer {
    display: none;
    padding: 0 1.25rem 1rem;
}

.tgd-faq-item.active .tgd-faq-answer { display: block; }

.tgd-faq-answer p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.tgd-faq-answer a { color: var(--primary); text-decoration: none; }
.tgd-faq-answer a:hover { text-decoration: underline; }

/* Responsive - below tool */
@media (max-width: 768px) {
    .tgd-related-tools  { padding: 0 1rem; }
    .tgd-info-sections  { padding: 0 1rem 1rem; }
    .tgd-info-card      { padding: 1.25rem; }
    .tgd-features-grid  { grid-template-columns: 1fr; }
}
