.brand-generator h2{
    font-size: clamp(2rem, 3.2rem, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
	text-align:center;
}
.brand-generator p{
    font-size: clamp(1rem, 1.2rem, 1.25rem);
    margin-top: 20px;
    color: var(--muted);
	text-align:center;
}
    /* ── CHAT WRAPPER ── */
    #brandChat { width:800px;max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

    /* ── MESSAGGI ── */
    .chat-msg { display: flex; align-items: flex-end; gap: 10px; animation: fadeUp 0.3s ease; }
    .chat-msg.user { flex-direction: row-reverse; }

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

    .chat-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
    .avatar-ai   { background: var(--primary, #673ab7); color: #fff; }
    .avatar-user { background: #e2e8f0; color: #334155; }

    .chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
    .bubble-ai   { background: #f1f5f9; color: #1e293b; border-bottom-left-radius: 4px; }
    .bubble-user { background: var(--primary, #673ab7); color: #fff; border-bottom-right-radius: 4px; }

    /* ── TYPING ── */
    .typing-dots { display: flex; gap: 5px; padding: 4px 2px; }
    .typing-dots span { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: bounce 1.2s infinite; }
    .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
    .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes bounce {
        0%, 80%, 100% { transform: translateY(0); }
        40%           { transform: translateY(-6px); }
    }

    /* ── INPUT AREA ── */
    #chatInputArea { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }

    .chat-input-row { display: flex; gap: 8px; }
    .chat-input-row input[type="text"] { flex: 1; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 24px; font-size: 15px; outline: none; transition: border-color 0.2s; }
    .chat-input-row input[type="text"]:focus { border-color: var(--primary, #673ab7); }

    .send-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--primary, #673ab7); color: #fff; border: none; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: opacity 0.2s; }
    .send-btn:hover { opacity: 0.85; }

    /* ── NICHE CHIPS ── */
    .niche-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .niche-chip  { padding: 8px 14px; border: 2px solid #e2e8f0; border-radius: 20px; font-size: 13px; cursor: pointer; background: #fff; transition: all 0.2s; user-select: none; }
    .niche-chip:hover  { border-color: var(--primary, #673ab7); color: var(--primary, #673ab7); }
    .niche-chip.active { border-color: var(--primary, #673ab7); background: var(--primary, #673ab7); color: #fff; }

    .skip-link { font-size: 13px; color: #94a3b8; cursor: pointer; text-align: right; text-decoration: underline; }
    .skip-link:hover { color: #64748b; }

    /* ── RISULTATI IN CHAT ── */
    .results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 4px; width: 100%; }

    .result-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow 0.2s; }
    .result-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    .card-top { display: flex; justify-content: space-between; align-items: flex-start; }
    .result-name { font-weight: 700; font-size: 17px; color: var(--primary, #673ab7); word-break: break-word; }

    .category-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
    .badge-tech      { background: #dbeafe; color: #1d4ed8; }
    .badge-lifestyle { background: #dcfce7; color: #16a34a; }
    .badge-corporate { background: #fef9c3; color: #a16207; }
    .badge-creative  { background: #f3e8ff; color: #7e22ce; }

    .score-bar-wrap { display: flex; align-items: center; gap: 8px; }
    .score-bar      { flex: 1; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
    .score-bar-fill { height: 100%; border-radius: 3px; }
    .score-label    { font-size: 12px; color: #64748b; white-space: nowrap; }

    .card-bottom { display: flex; justify-content: space-between; align-items: center; }
    .score-text  { font-size: 12px; color: #94a3b8; }
    .copy-btn    { background: transparent; color: #64748b; border: 1px solid #cbd5e1; padding: 5px 12px; font-size: 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
    .copy-btn:hover  { background: #e2e8f0; }
    .copy-btn.copied { color: #16a34a; border-color: #16a34a; }

    /* ── RESET ── */
    .restart-btn { margin: 0 auto; display: block; background: transparent; border: 1.5px solid #cbd5e1; color: #64748b; padding: 8px 20px; border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
    .restart-btn:hover { border-color: var(--primary, #673ab7); color: var(--primary, #673ab7); }

    /* ── ADS ── */
    .ad-space { width: 100%; height: 90px; background: #eee; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; border-radius: 8px; }
