/* Migrated SemChat tool CSS, scoped for SEOquick. */

        .semchat-migrated-tool{
            --primary: #0a0a0a;
            --accent: #5345ea;
            --accent-light: #818cf8;
            --surface: #ffffff;
            --surface-dim: #f8f9fa;
            --text: #1a1a1a;
            --text-muted: #6b7280;
            --border: #e5e7eb;
            --gradient-start: #5345ea;
            --gradient-end: #7c3aed;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
        }

        .semchat-migrated-tool *{ margin: 0; padding: 0; box-sizing: border-box; }
        .semchat-migrated-tool{ scroll-behavior: smooth; }
        .semchat-migrated-tool{
            font-family: 'DM Sans', sans-serif;
            color: var(--text); background: var(--surface);
            line-height: 1.6; overflow-x: hidden;
        }
        .semchat-migrated-tool nav{
            position: relative; z-index: 100;
            padding: 1.25rem 2rem;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
        }
        .semchat-migrated-tool .nav-container{ max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .semchat-migrated-tool .logo{ font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
        .semchat-migrated-tool .logo-icon{ width: 32px; height: 32px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
        .semchat-migrated-tool .logo-icon svg{ width: 18px; height: 18px; color: white; }
        .semchat-migrated-tool .nav-links{ display: flex; gap: 2.5rem; align-items: center; }
        .semchat-migrated-tool .nav-links a{ color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
        .semchat-migrated-tool .nav-links a:hover{ color: var(--text); }

        .semchat-migrated-tool .tool-hero{ padding: 6rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
        .semchat-migrated-tool .tool-hero-bg{ position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 120%; height: 150%; background: radial-gradient(ellipse at center, rgba(83,69,234,0.08) 0%, transparent 60%); pointer-events: none; }
        .semchat-migrated-tool .tool-hero-content{ position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
        .semchat-migrated-tool .tool-badge{ display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, rgba(83,69,234,0.1), rgba(124,58,237,0.1)); border: 1px solid rgba(83,69,234,0.2); padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.875rem; font-weight: 500; color: var(--accent); margin-bottom: 1.5rem; }
        .semchat-migrated-tool .tool-badge svg{ width: 16px; height: 16px; }
        .semchat-migrated-tool .tool-hero h1{ font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.03em; }
        .semchat-migrated-tool .tool-hero h1 .highlight{ background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .semchat-migrated-tool .tool-hero p{ font-size: 1.2rem; color: var(--text-muted); max-width: 720px; margin: 0 auto 2.5rem; }

        .semchat-migrated-tool .tool-form-card{
            max-width: 720px; margin: 0 auto;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.4);
            border-radius: 24px; padding: 2.5rem;
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
        }
        .semchat-migrated-tool .form-group{ margin-bottom: 1.5rem; text-align: left; }
        .semchat-migrated-tool .form-group label{ display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--text); }
        .semchat-migrated-tool .form-group input, .semchat-migrated-tool .form-group select{ width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--border); border-radius: 12px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: var(--surface); color: var(--text); }
        .semchat-migrated-tool .form-group input:focus, .semchat-migrated-tool .form-group select:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(83,69,234,0.1); }
        .semchat-migrated-tool .form-group input::placeholder{ color: var(--text-muted); }
        .semchat-migrated-tool .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

        .semchat-migrated-tool /* Upload Zone */
        .upload-zone{
            border: 2px dashed var(--border); border-radius: 16px;
            padding: 3rem 2rem; text-align: center;
            cursor: pointer; transition: all 0.3s;
            position: relative; overflow: hidden;
            background: var(--surface-dim);
        }
        .semchat-migrated-tool .upload-zone:hover, .semchat-migrated-tool .upload-zone.dragover{
            border-color: var(--accent);
            background: rgba(83,69,234,0.04);
            box-shadow: 0 0 0 4px rgba(83,69,234,0.08);
        }
        .semchat-migrated-tool .upload-zone.has-image{
            padding: 1rem; border-style: solid; border-color: var(--accent);
            background: var(--surface);
        }
        .semchat-migrated-tool .upload-zone input[type="file"]{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
        .semchat-migrated-tool .upload-icon{ width: 64px; height: 64px; margin: 0 auto 1rem; background: linear-gradient(135deg, rgba(83,69,234,0.1), rgba(124,58,237,0.1)); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
        .semchat-migrated-tool .upload-icon svg{ width: 28px; height: 28px; color: var(--accent); }
        .semchat-migrated-tool .upload-text{ font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
        .semchat-migrated-tool .upload-sub{ font-size: 0.9rem; color: var(--text-muted); }
        .semchat-migrated-tool .upload-formats{ font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }
        .semchat-migrated-tool .preview-img{ max-width: 100%; max-height: 350px; border-radius: 12px; object-fit: contain; display: block; margin: 0 auto; }
        .semchat-migrated-tool .change-img-btn{ margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--surface-dim); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; color: var(--text-muted); font-family: inherit; transition: all 0.2s; position: relative; z-index: 2; }
        .semchat-migrated-tool .change-img-btn:hover{ background: var(--accent); color: white; border-color: var(--accent); }

        .semchat-migrated-tool .generate-btn{ width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); color: white; border: none; border-radius: 12px; font-size: 1.05rem; font-weight: 600; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
        .semchat-migrated-tool .generate-btn:hover:not(:disabled){ transform: translateY(-2px); box-shadow: 0 12px 40px rgba(83,69,234,0.4); }
        .semchat-migrated-tool .generate-btn:disabled{ opacity: 0.7; cursor: not-allowed; }
        .semchat-migrated-tool .generate-btn svg{ width: 20px; height: 20px; }
        .semchat-migrated-tool .btn-spinner{ width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .semchat-migrated-tool .error-msg{ background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: 12px; padding: 1rem 1.5rem; margin-top: 1rem; font-size: 0.95rem; display: none; }
        .semchat-migrated-tool .error-msg.visible{ display: block; }

        .semchat-migrated-tool /* Results */
        .results-section{ max-width: 720px; margin: 2rem auto 0; display: none; }
        .semchat-migrated-tool .results-section.visible{ display: block; }

        .semchat-migrated-tool /* Score Gauge */
        .score-card{
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 20px; padding: 2rem; text-align: center;
            margin-bottom: 1.5rem; animation: fadeInUp 0.4s ease-out both;
        }
        .semchat-migrated-tool .score-gauge{ position: relative; width: 160px; height: 160px; margin: 0 auto 1.25rem; }
        .semchat-migrated-tool .score-gauge svg{ width: 160px; height: 160px; transform: rotate(-90deg); }
        .semchat-migrated-tool .score-gauge-bg{ fill: none; stroke: var(--border); stroke-width: 10; }
        .semchat-migrated-tool .score-gauge-fill{ fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.5s; }
        .semchat-migrated-tool .score-value{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; font-weight: 700; }
        .semchat-migrated-tool .score-value small{ font-size: 1rem; font-weight: 500; color: var(--text-muted); }
        .semchat-migrated-tool .score-label{ font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
        .semchat-migrated-tool .score-verdict{ font-size: 0.95rem; color: var(--text-muted); max-width: 400px; margin: 0 auto; }

        .semchat-migrated-tool /* Analysis Cards */
        .analysis-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
        .semchat-migrated-tool .analysis-card{
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 16px; padding: 1.25rem;
            animation: fadeInUp 0.4s ease-out both;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .semchat-migrated-tool .analysis-card:hover{ border-color: var(--accent); box-shadow: 0 4px 20px rgba(83,69,234,0.08); }
        .semchat-migrated-tool .analysis-card:nth-child(1){ animation-delay: 0.1s; }
        .semchat-migrated-tool .analysis-card:nth-child(2){ animation-delay: 0.15s; }
        .semchat-migrated-tool .analysis-card:nth-child(3){ animation-delay: 0.2s; }
        .semchat-migrated-tool .analysis-card:nth-child(4){ animation-delay: 0.25s; }
        .semchat-migrated-tool .analysis-card:nth-child(5){ animation-delay: 0.3s; }
        .semchat-migrated-tool .analysis-card:nth-child(6){ animation-delay: 0.35s; }
        .semchat-migrated-tool .analysis-card-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
        .semchat-migrated-tool .analysis-card-label{ font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
        .semchat-migrated-tool .analysis-mini-score{ font-size: 0.85rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px; }
        .semchat-migrated-tool .analysis-mini-score.high{ background: rgba(16,185,129,0.1); color: var(--success); }
        .semchat-migrated-tool .analysis-mini-score.mid{ background: rgba(245,158,11,0.1); color: var(--warning); }
        .semchat-migrated-tool .analysis-mini-score.low{ background: rgba(239,68,68,0.1); color: var(--danger); }
        .semchat-migrated-tool .analysis-bar{ height: 6px; border-radius: 3px; background: var(--border); margin-bottom: 0.5rem; overflow: hidden; }
        .semchat-migrated-tool .analysis-bar-fill{ height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); }
        .semchat-migrated-tool .analysis-bar-fill.high{ background: var(--success); }
        .semchat-migrated-tool .analysis-bar-fill.mid{ background: var(--warning); }
        .semchat-migrated-tool .analysis-bar-fill.low{ background: var(--danger); }
        .semchat-migrated-tool .analysis-card p{ font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

        .semchat-migrated-tool /* Strengths & Weaknesses */
        .feedback-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
        .semchat-migrated-tool .feedback-card{
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 16px; padding: 1.5rem;
            animation: fadeInUp 0.4s ease-out both;
        }
        .semchat-migrated-tool .feedback-card.strengths{ border-top: 3px solid var(--success); animation-delay: 0.4s; }
        .semchat-migrated-tool .feedback-card.weaknesses{ border-top: 3px solid var(--danger); animation-delay: 0.45s; }
        .semchat-migrated-tool .feedback-card h4{ font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
        .semchat-migrated-tool .feedback-card ul{ list-style: none; padding: 0; }
        .semchat-migrated-tool .feedback-card li{ font-size: 0.9rem; color: var(--text-muted); padding: 0.4rem 0; padding-left: 1.25rem; position: relative; line-height: 1.6; }
        .semchat-migrated-tool .feedback-card.strengths li::before{ content: '\2713'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
        .semchat-migrated-tool .feedback-card.weaknesses li::before{ content: '\2717'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

        .semchat-migrated-tool /* Tips card */
        .tips-card{
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem;
            border-left: 4px solid var(--accent);
            animation: fadeInUp 0.4s ease-out both; animation-delay: 0.5s;
        }
        .semchat-migrated-tool .tips-card h4{ font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
        .semchat-migrated-tool .tips-card ol{ padding-left: 1.25rem; }
        .semchat-migrated-tool .tips-card li{ font-size: 0.9rem; color: var(--text-muted); padding: 0.35rem 0; line-height: 1.7; }

        .semchat-migrated-tool /* Sections */
        .how-section{ padding: 5rem 2rem; background: var(--primary); color: white; position: relative; overflow: hidden; }
        .semchat-migrated-tool .how-section::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at top right, rgba(83,69,234,0.3) 0%, transparent 50%), radial-gradient(ellipse at bottom left, rgba(124,58,237,0.2) 0%, transparent 50%); }
        .semchat-migrated-tool .how-container{ max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
        .semchat-migrated-tool .section-header{ text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
        .semchat-migrated-tool .section-label{ font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1rem; color: var(--accent-light); }
        .semchat-migrated-tool .section-title{ font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
        .semchat-migrated-tool .section-subtitle{ color: rgba(255,255,255,0.7); font-size: 1.1rem; }
        .semchat-migrated-tool .steps-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .semchat-migrated-tool .step-card{ text-align: center; padding: 2rem; transition: transform 0.3s; }
        .semchat-migrated-tool .step-card:hover{ transform: translateY(-6px); }
        .semchat-migrated-tool .step-num{ width: 64px; height: 64px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; transition: transform 0.3s, box-shadow 0.3s; }
        .semchat-migrated-tool .step-card:hover .step-num{ transform: scale(1.1); box-shadow: 0 8px 30px rgba(83,69,234,0.4); }
        .semchat-migrated-tool .step-card h3{ font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
        .semchat-migrated-tool .step-card p{ color: rgba(255,255,255,0.7); line-height: 1.7; }

        .semchat-migrated-tool .why-section{ padding: 5rem 2rem; }
        .semchat-migrated-tool .why-container{ max-width: 900px; margin: 0 auto; }
        .semchat-migrated-tool .why-section .section-header{ margin-bottom: 3rem; }
        .semchat-migrated-tool .why-section .section-label{ color: var(--accent); }
        .semchat-migrated-tool .why-section .section-subtitle{ color: var(--text-muted); }
        .semchat-migrated-tool .why-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
        .semchat-migrated-tool .why-card{ background: var(--surface-dim); border-radius: 20px; padding: 2rem; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
        .semchat-migrated-tool .why-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
        .semchat-migrated-tool .why-icon{ width: 52px; height: 52px; background: linear-gradient(135deg, rgba(83,69,234,0.1), rgba(124,58,237,0.1)); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
        .semchat-migrated-tool .why-icon svg{ width: 26px; height: 26px; color: var(--accent); }
        .semchat-migrated-tool .why-card h3{ font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
        .semchat-migrated-tool .why-card p{ color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

        .semchat-migrated-tool .faq-section{ padding: 5rem 2rem; background: var(--surface-dim); }
        .semchat-migrated-tool .faq-container{ max-width: 750px; margin: 0 auto; }
        .semchat-migrated-tool .faq-section .section-label{ color: var(--accent); }
        .semchat-migrated-tool .faq-section .section-subtitle{ color: var(--text-muted); }
        .semchat-migrated-tool .faq-item{ background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 0.75rem; overflow: hidden; }
        .semchat-migrated-tool .faq-question{ width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; font-size: 1.05rem; font-weight: 600; font-family: inherit; color: var(--text); cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
        .semchat-migrated-tool .faq-question:hover{ background: var(--surface-dim); }
        .semchat-migrated-tool .faq-question svg{ width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
        .semchat-migrated-tool .faq-item.open .faq-question svg{ transform: rotate(180deg); }
        .semchat-migrated-tool .faq-answer{ max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .semchat-migrated-tool .faq-answer-inner{ padding: 0 1.5rem 1.25rem; color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }
        .semchat-migrated-tool .faq-item.open .faq-answer{ max-height: 300px; }

        .semchat-migrated-tool .cta-section{ padding: 5rem 2rem; text-align: center; }
        .semchat-migrated-tool .cta-box{ max-width: 800px; margin: 0 auto; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 32px; padding: 4rem 3rem; position: relative; overflow: hidden; }
        .semchat-migrated-tool .cta-box::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at top right, rgba(255,255,255,0.2) 0%, transparent 50%); }
        .semchat-migrated-tool .cta-box *{ position: relative; z-index: 1; }
        .semchat-migrated-tool .cta-title{ font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: white; margin-bottom: 1rem; letter-spacing: -0.02em; }
        .semchat-migrated-tool .cta-subtitle{ color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
        .semchat-migrated-tool .cta-btn{ background: white; color: var(--accent); padding: 1rem 2.5rem; border-radius: 100px; font-size: 1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
        .semchat-migrated-tool .cta-btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

        .semchat-migrated-tool footer{ background: var(--primary); color: white; padding: 2rem 2rem 1.25rem; }
        .semchat-migrated-tool .footer-container{ max-width: 1200px; margin: 0 auto; }
        .semchat-migrated-tool .footer-grid{ display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
        .semchat-migrated-tool .footer-brand p{ color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 300px; line-height: 1.7; }
        .semchat-migrated-tool .footer-column h4{ font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; color: rgba(255,255,255,0.5); }
        .semchat-migrated-tool .footer-column a{ display: block; color: rgba(255,255,255,0.8); text-decoration: none; padding: 0.25rem 0; transition: color 0.2s; }
        .semchat-migrated-tool .footer-column a:hover{ color: white; }
        .semchat-migrated-tool .footer-bottom{ border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
        .semchat-migrated-tool .footer-left p{ color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }
        .semchat-migrated-tool .footer-family{ margin-top: 0.5rem !important; color: rgba(255,255,255,0.7) !important; }
        .semchat-migrated-tool .footer-family a{ color: var(--accent-light); text-decoration: none; font-weight: 600; transition: color 0.2s; }
        .semchat-migrated-tool .footer-family a:hover{ color: white; }
        .semchat-migrated-tool .footer-social{ display: flex; gap: 1rem; }
        .semchat-migrated-tool .footer-social a{ width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: background 0.2s; }
        .semchat-migrated-tool .footer-social a:hover{ background: rgba(255,255,255,0.2); }
        .semchat-migrated-tool .footer-social svg{ width: 20px; height: 20px; }

        .semchat-migrated-tool .mobile-menu-btn{ display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
        .semchat-migrated-tool .mobile-menu-btn svg{ width: 28px; height: 28px; color: var(--text); }
        .semchat-migrated-tool .mobile-nav{ display: none; position: relative; background: white; z-index: 200; padding: 2rem; flex-direction: column; }
        .semchat-migrated-tool .mobile-nav.open{ display: flex; }
        .semchat-migrated-tool .mobile-nav-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
        .semchat-migrated-tool .mobile-nav-close{ background: none; border: none; cursor: pointer; padding: 0.5rem; }
        .semchat-migrated-tool .mobile-nav-close svg{ width: 28px; height: 28px; }
        .semchat-migrated-tool .mobile-nav-links{ display: flex; flex-direction: column; gap: 0.5rem; }
        .semchat-migrated-tool .mobile-nav-links a{ padding: 1rem; font-size: 1.1rem; color: var(--text); text-decoration: none; border-radius: 12px; transition: background 0.2s; }
        .semchat-migrated-tool .mobile-nav-links a:hover{ background: var(--surface-dim); }

        .semchat-migrated-tool .lang-trigger{ display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.1); border: none; border-radius: 8px; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 0.9rem; transition: all 0.2s; margin-top: 1rem; }
        .semchat-migrated-tool .lang-trigger:hover{ background: rgba(255,255,255,0.2); color: white; }
        .semchat-migrated-tool .lang-popup-overlay{ display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; justify-content: center; align-items: center; }
        .semchat-migrated-tool .lang-popup-overlay.active{ display: flex !important; }
        .semchat-migrated-tool .lang-popup{ background: white; border-radius: 16px; padding: 2rem; max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; }
        .semchat-migrated-tool .lang-popup-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb; }
        .semchat-migrated-tool .lang-popup-title{ font-size: 1.25rem; font-weight: 600; color: #1a1a1a; }
        .semchat-migrated-tool .lang-popup-close{ background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6b7280; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
        .semchat-migrated-tool .lang-popup-close:hover{ background: #f3f4f6; color: #1a1a1a; }
        .semchat-migrated-tool .lang-popup .lang-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
        .semchat-migrated-tool .lang-popup .lang-grid a{ display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 1rem; border-radius: 12px; text-decoration: none; color: #374151; transition: all 0.2s; border: 2px solid transparent; background: #f9fafb; }
        .semchat-migrated-tool .lang-popup .lang-grid a:hover{ background: #f3f4f6; border-color: #cbd5e1; }
        .semchat-migrated-tool .lang-popup .lang-grid a.active{ background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }
        .semchat-migrated-tool .lang-code{ font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #9ca3af; letter-spacing: 0.05em; }
        .semchat-migrated-tool .lang-name{ font-size: 1rem; font-weight: 600; color: inherit; }

        .semchat-migrated-tool .reveal{ opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
        .semchat-migrated-tool .reveal.visible{ opacity: 1; transform: translateY(0); }

        .semchat-migrated-tool .shimmer-card{ background: var(--surface-dim); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 1rem; }
        .semchat-migrated-tool .shimmer-line{ height: 16px; border-radius: 8px; background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
        .semchat-migrated-tool .shimmer-line-long{ width: 85%; }
        .semchat-migrated-tool .shimmer-line-short{ width: 60%; }
        .semchat-migrated-tool .shimmer-circle{ width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
        @keyframes shimmer { to { background-position: -200% 0; } }
        .semchat-migrated-tool .typing-indicator{ display: flex; align-items: center; justify-content: center; gap: 0.3rem; padding: 1.5rem 0; }
        .semchat-migrated-tool .typing-indicator span{ width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: typingBounce 1.4s infinite both; }
        .semchat-migrated-tool .typing-indicator span:nth-child(2){ animation-delay: 0.2s; }
        .semchat-migrated-tool .typing-indicator span:nth-child(3){ animation-delay: 0.4s; }
        .semchat-migrated-tool .typing-indicator p{ margin-left: 0.75rem; color: var(--text-muted); font-size: 0.95rem; }
        @keyframes typingBounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        .semchat-migrated-tool .toast{ position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--primary); color: white; padding: 0.75rem 1.5rem; border-radius: 100px; font-size: 0.95rem; font-weight: 500; box-shadow: 0 12px 40px rgba(0,0,0,0.2); z-index: 10000; display: flex; align-items: center; gap: 0.5rem; opacity: 0; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); pointer-events: none; }
        .semchat-migrated-tool .toast.show{ transform: translateX(-50%) translateY(0); opacity: 1; }
        .semchat-migrated-tool .toast svg{ width: 18px; height: 18px; color: var(--success); }

        @media (max-width: 768px) {
            .semchat-migrated-tool .nav-links{ display: none; } .semchat-migrated-tool .mobile-menu-btn{ display: block; }
            .semchat-migrated-tool nav{ padding: 1rem; }
            .semchat-migrated-tool .tool-hero{ padding: 4rem 1rem 2rem; } .semchat-migrated-tool .tool-hero h1{ font-size: 1.75rem; }
            .semchat-migrated-tool .tool-form-card{ padding: 1.5rem; }
            .semchat-migrated-tool .form-row{ grid-template-columns: 1fr; }
            .semchat-migrated-tool .steps-grid{ grid-template-columns: 1fr; }
            .semchat-migrated-tool .why-grid{ grid-template-columns: 1fr; }
            .semchat-migrated-tool .analysis-grid{ grid-template-columns: 1fr; }
            .semchat-migrated-tool .feedback-grid{ grid-template-columns: 1fr; }
            .semchat-migrated-tool .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
            .semchat-migrated-tool .footer-brand{ grid-column: 1 / -1; }
            .semchat-migrated-tool .footer-bottom{ flex-direction: column; text-align: center; }
            .semchat-migrated-tool .cta-box{ padding: 2.5rem 1.5rem; border-radius: 20px; }
        }
        @media (max-width: 640px) { .semchat-migrated-tool .lang-popup .lang-grid{ grid-template-columns: repeat(2, 1fr); } }
    