/* http-header-analyzer — tool styles scoped to .tool-card */

.tool-card .tool-container h1 { color: white !important; }
.tool-card .tool-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.tool-card .analyzer-section { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 30px; }
.tool-card textarea { width: 100%; height: 300px; padding: 15px; border: 2px solid #e0e0e0; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 14px; resize: vertical; }
.tool-card .btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: all 0.3s; font-weight: 600; margin: 5px; }
.tool-card .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.tool-card .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); }
.tool-card .btn-secondary { background: #f0f0f0; color: #333; }
.tool-card .btn-secondary:hover { background: #e0e0e0; }
.tool-card .analysis-results { margin: 30px 0; }
.tool-card .result-card { background: #f8f9fa; padding: 25px; border-radius: 12px; margin-bottom: 20px; border-left: 4px solid #667eea; }
.tool-card .result-card h3 { margin: 0 0 15px 0; color: #667eea; }
.tool-card .header-list { list-style: none; padding: 0; }
.tool-card .header-item { padding: 12px; background: white; margin-bottom: 8px; border-radius: 6px; display: flex; justify-content: space-between; }
.tool-card .header-name { font-weight: 600; color: #333; }
.tool-card .header-value { color: #666; font-family: monospace; }
.tool-card .security-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; margin-left: 10px; }
.tool-card .badge-good { background: #d1fae5; color: #065f46; }
.tool-card .badge-warning { background: #fef3c7; color: #92400e; }
.tool-card .badge-bad { background: #fee2e2; color: #991b1b; }
.tool-card .how-to-use { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }
.tool-card .step { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; }
.tool-card .step-number { width: 50px; height: 50px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; margin: 0 auto 15px; }
.tool-card .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin: 30px 0; }
.tool-card .feature-item { display: flex; align-items: start; gap: 10px; padding: 15px; background: #f8f9fa; border-radius: 8px; }
.tool-card .feature-item::before { content: "✓"; color: #10b981; font-weight: bold; font-size: 20px; }
.tool-card .content-section { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 30px; }
.tool-card .content-section h2 { color: #1a202c; margin-bottom: 20px; font-size: 28px; }
.tool-card .content-section h3 { color: #2d3748; margin: 25px 0 15px; font-size: 22px; }
.tool-card .content-section p { line-height: 1.8; color: #4a5568; margin-bottom: 15px; }
.tool-card .example-box { background: #f0f4ff; border-left: 4px solid #667eea; padding: 20px; margin: 20px 0; border-radius: 8px; }
.tool-card .faq-item { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #e0e0e0; }
.tool-card .faq-question { font-weight: 600; color: #1a202c; margin-bottom: 10px; font-size: 18px; }
.tool-card .faq-answer { color: #4a5568; line-height: 1.8; }
.tool-card .footer p {
            margin: 10px 0;
        }
.tool-card .footer a {
            color: #667eea;
            text-decoration: none;
            margin: 0 5px;
        }
.tool-card .footer a:hover {
            text-decoration: underline;
        }
@media (max-width: 768px) {
.tool-card .header h1 {
                color: white; font-size: 24px;
            }
.tool-card .content {
                padding: 20px;
            }
}
.tool-card .header h1 {
            color: white; font-size: 28px;
            margin-bottom: 10px;
            font-weight: 700;
        }
.tool-card .header p {
            color: white; font-size: 14px;
            opacity: 0.9;
        }
.tool-card .seo-content-enhanced {padding:40px 30px;background:transparent}
.tool-card .content-section {background:rgba(255,255,255,0.95);padding:35px;margin-bottom:25px;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,0.1);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.2);transition:transform 0.3s,box-shadow 0.3s}
.tool-card .content-section:hover {transform:translateY(-2px);box-shadow:0 12px 48px rgba(102,126,234,0.15)}
.tool-card .content-section h2 {font-size:26px;color:#667eea;margin-bottom:20px;font-weight:700;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tool-card .content-section h3 {font-size:19px;color:#444;margin:25px 0 12px 0;font-weight:600}
.tool-card .content-section p {line-height:1.9;color:#444;font-size:15px;margin-bottom:16px}
.tool-card .content-section ol, .tool-card .content-section ul {margin-left:25px;margin-bottom:20px}
.tool-card .content-section li {margin-bottom:14px;line-height:1.8;font-size:15px;color:#444}
.tool-card .content-section li strong {color:#667eea}
.tool-card .example-card {background:linear-gradient(135deg,rgba(102,126,234,0.05) 0%,rgba(118,75,162,0.05) 100%);padding:25px;border-radius:10px;margin-bottom:20px;border-left:4px solid #667eea;box-shadow:0 4px 12px rgba(0,0,0,0.05)}
.tool-card .example-card h3 {font-size:18px;color:#667eea;margin-bottom:15px;font-weight:600}
.tool-card .example-card pre {background:#2d2d2d;color:#f8f8f2;padding:18px;border-radius:8px;overflow-x:auto;margin:12px 0;font-family:'Courier New',monospace;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,0.2)}
.tool-card .faq-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:20px}
.tool-card .faq-item {background:rgba(255,255,255,0.9);padding:24px;border-radius:10px;border-left:4px solid #667eea;box-shadow:0 4px 16px rgba(0,0,0,0.08);transition:all 0.3s}
.tool-card .faq-item:hover {transform:translateY(-3px);box-shadow:0 8px 24px rgba(102,126,234,0.15);border-left-width:6px}
.tool-card .faq-item h3 {font-size:16px;color:#667eea;margin-bottom:12px;font-weight:600}
.tool-card .faq-item p {font-size:14px;line-height:1.7;color:#555;margin:0}
.tool-card .related-tools-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:20px}
.tool-card {display:flex;align-items:center;gap:12px;padding:16px;background:rgba(255,255,255,0.95);border:2px solid rgba(102,126,234,0.2);border-radius:10px;text-decoration:none;color:#333;transition:all 0.3s;font-weight:600;font-size:14px;box-shadow:0 2px 8px rgba(0,0,0,0.05)}
.tool-card:hover {border-color:#667eea;transform:translateY(-3px);box-shadow:0 6px 20px rgba(102,126,234,0.25);background:white}
.tool-card .tool-icon {font-size:24px}
@media (max-width:768px) {
.tool-card .seo-content-enhanced {padding:20px 15px}
.tool-card .content-section {padding:25px}
.tool-card .faq-grid {grid-template-columns:1fr}
.tool-card .related-tools-grid {grid-template-columns:1fr}
}
.tool-card .examples-content {
            margin-top: 40px;
            line-height: 1.9;
            color: #444;
            font-size: 15px;
        }
.tool-card .examples-content .container {
            padding: 0 20px;
        }
.tool-card .examples-content h2, .tool-card .examples-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 10px;
            color: #667eea;
        }
.tool-card .examples-content p {
            margin-bottom: 14px;
            color: #555;
        }
.tool-card .examples-content pre {
            background: #1e1e2e;
            color: #cdd6f4;
            padding: 18px 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin-bottom: 18px;
            font-size: 13px;
            line-height: 1.6;
        }
.tool-card .examples-content code {
            font-family: 'Fira Code', 'Cascadia Code', 'Monaco', 'Menlo', monospace;
        }
.tool-card .examples-content ul, .tool-card .examples-content ol {
            margin-left: 22px;
            margin-bottom: 16px;
        }
.tool-card .examples-content li {
            margin-bottom: 8px;
            color: #555;
        }
