.back-link,.demo-badge,.demo-simulation-badge{display:inline-flex;gap:8px}
.autonomy-card,.demo-chat-window,.lawyer-card:hover,.role-card:hover{box-shadow:var(--card-shadow)}
.demo-header{position:relative;padding:160px 2rem 80px;overflow:hidden;background:var(--bg-primary)}
.demo-header-bg{position:absolute;inset:0;overflow:hidden}
.demo-orb{position:absolute;border-radius:50%;filter:blur(80px)}
.demo-orb-1{width:500px;height:500px;background:var(--glow);top:-200px;right:-100px;animation:8s ease-in-out infinite orb-float}
.demo-orb-2{width:400px;height:400px;background:var(--glow-secondary);bottom:-150px;left:-100px;animation:10s ease-in-out infinite reverse orb-float}
.demo-header-content{position:relative;z-index:2;max-width:900px;margin:0 auto;text-align:center}
.back-link{align-items:center;color:var(--text-secondary);font-size:.9rem;margin-bottom:2rem;text-decoration:none;transition:color .3s}
.autonomy-content>p strong{color:#0369a1;font-weight:600}
.back-link:hover{color:var(--accent)}
.back-link svg{width:18px;height:18px}

/* Badge simulation - couleur corrigée pour contraste */
.demo-simulation-badge{align-items:center;padding:10px 18px;background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);border-radius:100px;font-size:.85rem;color:#dc2626;margin-bottom:1.5rem}
.demo-simulation-badge svg{color:#dc2626;flex-shrink:0}

.capability-tag,.demo-badge{border:1px solid var(--border)}
.capability-tag,.demo-badge,.demo-description{color:var(--text-secondary)}
.demo-badge{align-items:center;padding:8px 16px;background:var(--bg-secondary);border-radius:100px;font-size:.9rem;margin-bottom:1.5rem}
.demo-badge-icon{font-size:1.2rem}
.demo-header h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(2.5rem, 6vw, 4rem);font-weight:700;line-height:1.1;margin-bottom:1.5rem}
.lawyer-info h3,.role-header h3{font-weight:600;font-family:'Space Grotesk',sans-serif}
.demo-description{font-size:1.15rem;line-height:1.7;max-width:700px;margin:0 auto 2.5rem}
.demo-capabilities{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.capability-tag{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:var(--bg-tertiary);border-radius:12px;font-size:.85rem;transition:.3s}
.capability-tag:hover{border-color:var(--accent);color:var(--accent)}
.capability-tag svg{width:16px;height:16px}
.demo-autonomy-section,.demo-role-section{padding:4rem 2rem;background:var(--bg-primary)}
.role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;max-width:1000px;margin:0 auto}
.role-card{background:var(--card-bg);border:1px solid var(--border);border-radius:20px;padding:2rem;transition:.3s}
.role-icon,.role-note{display:flex;border-radius:12px}
.role-card.does{border-color:rgba(16,185,129,.3)}
.role-card.doesnt{border-color:rgba(239,68,68,.3)}
.role-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}
.role-icon{width:48px;height:48px;align-items:center;justify-content:center;flex-shrink:0}
.role-icon svg{width:24px;height:24px;color:#fff}
.demo-feature-icon.green,.lawyer-avatar.green,.role-icon.green{background:linear-gradient(135deg,#10b981,#059669)}
.demo-feature-icon.red,.pricing-icon.urgence,.role-icon.red{background:linear-gradient(135deg,#ef4444,#dc2626)}
.role-header h3{font-size:1.25rem;margin:0}
.role-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.role-list li{position:relative;padding-left:24px;font-size:.95rem;color:var(--text-secondary);line-height:1.5}
.role-card.does .role-list li::before{content:'✔';position:absolute;left:0;color:#10b981;font-weight:700}
.role-card.doesnt .role-list li::before{content:'✗';position:absolute;left:0;color:#ef4444;font-weight:700}

/* Role note - couleur corrigée pour contraste */
.role-note{align-items:flex-start;gap:8px;margin-top:1.5rem;padding:1rem;background:rgba(239,68,68,.1);font-size:.85rem;color:#b91c1c;line-height:1.5}
.role-note svg{flex-shrink:0;margin-top:2px;color:#b91c1c}

.demo-expertise-section,.demo-features-section{padding:6rem 2rem;background:var(--bg-secondary)}
.demo-chat-section .section-header,.demo-expertise-section .section-header{margin-bottom:3rem}
.section-subtitle{color:var(--text-muted);font-size:1.05rem;max-width:600px;margin:.75rem auto 0}
.lawyers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto 4rem}
.lawyers-grid.four-cols{grid-template-columns:repeat(4,1fr)}
.lawyer-card{display:flex;gap:1.25rem;background:var(--card-bg);border:1px solid var(--border);border-radius:20px;padding:1.5rem;transition:.4s}
.lawyer-card:hover{transform:translateY(-4px);border-color:var(--accent)}
.lawyers-grid.four-cols .lawyer-card{flex-direction:column;text-align:center;padding:1.5rem 1.25rem}
.lawyer-avatar{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,var(--accent),var(--accent-secondary));display:flex;align-items:center;justify-content:center;font-family:'Space Grotesk',sans-serif;font-size:1.25rem;font-weight:700;color:#fff;flex-shrink:0}
.lawyers-grid.four-cols .lawyer-avatar{width:56px;height:56px;margin:0 auto 1rem;font-size:1.1rem}
.lawyer-avatar.blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}
.lawyer-avatar.purple{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}
.lawyer-info{flex:1;min-width:0}
.lawyer-info h3{font-size:1.1rem;margin-bottom:2px}
.lawyers-grid.four-cols .lawyer-info h3{font-size:1rem}
.lawyer-title{display:block;font-size:.85rem;color:var(--text-muted);margin-bottom:.75rem}
.lawyers-grid.four-cols .lawyer-details .detail{font-size:.75rem}

/* Specialty tag - couleur corrigée pour contraste */
.specialty-tag{font-size:.75rem;padding:4px 10px;background:var(--bg-tertiary);border-radius:100px;font-weight:500;color:#0369a1}

.info-block,.pricing-card{border:1px solid var(--border)}
.lawyers-grid.four-cols .lawyer-title{font-size:.8rem}
.lawyer-specialties{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:.75rem}
.lawyers-grid.four-cols .lawyer-details,.lawyers-grid.four-cols .lawyer-specialties{justify-content:center}

.lawyers-grid.four-cols .specialty-tag{font-size:.7rem;padding:3px 8px}
.lawyer-details{display:flex;flex-wrap:wrap;gap:1rem}

/* Chat status - couleur corrigée */
.demo-chat-status{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-secondary)}
.lawyer-details .detail{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-muted)}

.lawyer-details .detail svg{width:14px;height:14px}
.services-pricing{max-width:1200px;margin:0 auto 4rem}
.pricing-title{font-family:'Space Grotesk',sans-serif;font-size:1.5rem;font-weight:600;text-align:center;margin-bottom:2rem}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1.5rem}
.pricing-card{background:var(--card-bg);border-radius:24px;padding:2rem;position:relative;transition:.4s}
.pricing-amount,.pricing-badge,.pricing-icon{background:linear-gradient(135deg,var(--accent),var(--accent-secondary))}
.demo-feature-card:hover,.pricing-card:hover{transform:translateY(-8px);box-shadow:var(--card-shadow)}
.pricing-card.featured{border:2px solid var(--accent);box-shadow:0 0 40px var(--glow)}
.pricing-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:6px 16px;color:#fff;border-radius:100px;font-size:.75rem;font-weight:600;white-space:nowrap}
.pricing-icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.pricing-icon svg{width:26px;height:26px;color:#fff}
.pricing-card h4{font-family:'Space Grotesk',sans-serif;font-size:1.15rem;font-weight:600;margin-bottom:.5rem}
.pricing-amount{font-family:'Space Grotesk',sans-serif;font-size:2rem;font-weight:700;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.75rem}
.pricing-amount span{font-size:1rem;font-weight:500;opacity:.7}
.pricing-card>p{font-size:.9rem;color:var(--text-muted);line-height:1.5;margin-bottom:1.25rem}
.pricing-features{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.pricing-features li{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-secondary)}
.pricing-features li svg{width:16px;height:16px;color:var(--accent-tertiary);flex-shrink:0}
.cabinet-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}
.info-block{display:flex;align-items:flex-start;gap:1rem;padding:1.5rem;background:var(--card-bg);border-radius:16px;transition:.3s}
.info-block:hover{border-color:var(--accent);box-shadow:0 0 20px var(--glow)}
.info-block>svg{width:24px;height:24px;color:var(--accent);flex-shrink:0}
.info-block h4{font-size:.95rem;font-weight:600;margin-bottom:4px}
.info-block p{font-size:.85rem;color:var(--text-muted);line-height:1.5}
.demo-chat-section{padding:6rem 2rem;background:var(--bg-primary)}
.demo-chat-container{display:grid;grid-template-columns:1fr 320px;gap:2rem;align-items:start;max-width:1000px;margin:0 auto}
.demo-chat-window{background:var(--bg-secondary);border:1px solid var(--border);border-radius:24px;overflow:hidden}
.demo-chat-header{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:var(--bg-tertiary);border-bottom:1px solid var(--border)}
.demo-chat-avatar,.demo-chat-section .chat-avatar.bot,.demo-chat-section .chat-message.user .chat-bubble{background:linear-gradient(135deg,var(--accent),var(--accent-secondary))}
.demo-chat-avatar{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.demo-chat-info{flex:1}
.demo-chat-info h3{font-size:1rem;font-weight:600;margin-bottom:2px}
.demo-chat-status .status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:2s ease-in-out infinite pulse}
.demo-chat-langs{font-size:.9rem;letter-spacing:2px}
#chatMessages,.demo-chat-messages{height:450px;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;background:var(--bg-secondary)}
.demo-chat-messages::-webkit-scrollbar{width:6px}
.demo-chat-messages::-webkit-scrollbar-track{background:0 0}
.demo-chat-messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}
.demo-chat-section .chat-message{display:flex;gap:12px;max-width:90%;animation:.3s forwards demo-messageIn}
@keyframes demo-messageIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.demo-chat-section .chat-message.user{flex-direction:row-reverse;margin-left:auto;max-width:85%}
.demo-chat-section .chat-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
.demo-chat-input input,.demo-chat-section .chat-bubble{padding:12px 16px;color:var(--text-primary);font-size:.95rem}
.demo-chat-section .chat-content{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.demo-chat-section .chat-bubble{border-radius:18px;line-height:1.6;background:var(--card-bg);border:1px solid var(--border);word-wrap:break-word}
.demo-chat-section .chat-message.bot .chat-bubble{border-bottom-left-radius:4px}
.demo-chat-section .chat-message.user .chat-bubble{max-width:100%;color:#fff;border-bottom-right-radius:4px;border:none}
.demo-chat-section .chat-actions,.typing-dots{display:flex;gap:4px}
.demo-chat-section .chat-action-btn{width:28px;height:28px;border:none;background:0 0;color:var(--text-muted);cursor:pointer;border-radius:6px;transition:.2s;display:flex;align-items:center;justify-content:center}
.demo-chat-section .chat-action-btn:hover{background:var(--bg-tertiary);color:var(--accent)}
.demo-chat-section .chat-action-btn.speaking{background:var(--accent);color:#fff}
.demo-chat-section .chat-time{font-size:.75rem;color:var(--text-muted);padding:0 4px}
.demo-chat-section .chat-message.user .chat-time{text-align:right}
.typing-indicator{padding:12px 16px;background:var(--card-bg);border:1px solid var(--border);border-radius:18px 18px 18px 4px}
.typing-dots span{width:8px;height:8px;background:var(--text-muted);border-radius:50%;animation:1.4s infinite typingBounce}
.typing-dots span:nth-child(2){animation-delay:.2s}
.typing-dots span:nth-child(3){animation-delay:.4s}
@keyframes typingBounce{0%,100%,60%{transform:translateY(0)}30%{transform:translateY(-8px)}}
.demo-chat-input{display:flex;align-items:center;gap:12px;padding:1rem 1.5rem;border-top:1px solid var(--border);background:var(--card-bg)}
.demo-chat-input .input-btn.mic,.demo-chat-input input,.demo-suggestions{background:var(--bg-secondary)}
.demo-chat-input input{flex:1;border:1px solid var(--border);border-radius:100px;transition:.3s}
.demo-chat-input .input-btn.mic,.suggestion-btn{color:var(--text-secondary);border:1px solid var(--border)}
.demo-chat-input input:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}
.demo-chat-input input::placeholder{color:var(--text-muted)}
.demo-chat-input .input-btn{width:44px;height:44px;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.3s}
.demo-chat-input .input-btn.mic:hover{background:var(--bg-tertiary);color:var(--accent);border-color:var(--accent)}
.demo-chat-input .input-btn.mic.recording{background:#ef4444;border-color:#ef4444;color:#fff;animation:1s infinite recording-pulse}
@keyframes recording-pulse{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.4)}50%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}
.demo-chat-input .input-btn.send{background:linear-gradient(135deg,var(--accent),var(--accent-secondary));color:#fff}
.demo-chat-input .input-btn.send:hover{transform:scale(1.05);box-shadow:0 4px 15px var(--glow)}
.demo-chat-input .input-btn svg{width:20px;height:20px}
.demo-suggestions{border:1px solid var(--border);border-radius:20px;padding:1.5rem}
.autonomy-card,.demo-feature-card,.suggestion-btn{background:var(--card-bg)}
.demo-suggestions h3{font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--text-secondary)}
.suggestion-list{display:flex;flex-direction:column;gap:10px}
.suggestion-btn{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;font-size:.9rem;text-align:left;cursor:pointer;transition:.3s}
.suggestion-btn:hover{border-color:var(--accent);color:var(--accent);transform:translateX(4px)}
.suggestion-btn svg{width:18px;height:18px;flex-shrink:0;opacity:.6}
.demo-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;max-width:1200px;margin:3rem auto 0}
.demo-feature-card{border:1px solid var(--border);border-radius:24px;padding:2rem;text-align:center;transition:.4s}
.demo-feature-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.demo-feature-icon svg{width:28px;height:28px;color:#fff}
.demo-feature-icon.orange{background:linear-gradient(135deg,#f59e0b,#d97706)}
.demo-feature-icon.blue{background:linear-gradient(135deg,#3b82f6,#2563eb)}
.demo-feature-card h3{font-family:'Space Grotesk',sans-serif;font-size:1.15rem;font-weight:600;margin-bottom:.75rem}
.demo-feature-card p{font-size:.9rem;color:var(--text-muted);line-height:1.6}
.autonomy-card{display:flex;align-items:flex-start;gap:2rem;max-width:1000px;margin:0 auto;padding:2.5rem;border:1px solid var(--border);border-radius:24px}
.autonomy-icon{width:72px;height:72px;border-radius:20px;background:linear-gradient(135deg,var(--accent-tertiary),#34d399);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.autonomy-icon svg{width:32px;height:32px;color:#fff}
.autonomy-content h3{font-family:'Space Grotesk',sans-serif;font-size:1.5rem;font-weight:600;margin-bottom:1rem}
.autonomy-content>p{font-size:1rem;color:var(--text-secondary);line-height:1.7;margin-bottom:1.5rem}
.autonomy-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.75rem}
.autonomy-feature{display:flex;align-items:center;gap:10px;font-size:.9rem;color:var(--text-secondary)}
.autonomy-feature svg{width:18px;height:18px;color:var(--accent-tertiary);flex-shrink:0}

/* Dark mode */
[data-theme="dark"] .demo-simulation-badge{color:#fca5a5}
[data-theme="dark"] .demo-simulation-badge svg{color:#f87171}
[data-theme="dark"] .role-note{color:#fca5a5}
[data-theme="dark"] .role-note svg{color:#f87171}
[data-theme="dark"] .specialty-tag{color:var(--accent)}
[data-theme="dark"] .autonomy-content>p strong{color:var(--accent)}

@media (max-width:1100px){.lawyers-grid.four-cols{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.demo-chat-container{grid-template-columns:1fr}.demo-suggestions{order:-1}}
@media (max-width:768px){.demo-header{padding:140px 1.5rem 60px}.autonomy-features,.cabinet-info,.demo-features-grid,.lawyers-grid,.lawyers-grid.four-cols,.pricing-grid,.role-grid{grid-template-columns:1fr}.lawyer-card,.lawyers-grid.four-cols .lawyer-card{flex-direction:row;text-align:left}.lawyer-avatar,.lawyers-grid.four-cols .lawyer-avatar{margin:0;width:56px;height:56px}.lawyer-details,.lawyer-specialties,.lawyers-grid.four-cols .lawyer-details,.lawyers-grid.four-cols .lawyer-specialties{justify-content:flex-start}.demo-chat-section .chat-message{max-width:95%!important;gap:8px}.demo-chat-section .chat-message.user{max-width:92%!important}.demo-chat-section .chat-bubble{max-width:100%!important}#chatMessages,.demo-chat-messages{height:380px;padding:1rem}.demo-chat-header,.demo-chat-input{padding:.75rem 1rem}.demo-chat-section .chat-avatar{width:32px;height:32px;font-size:.9rem}.demo-chat-input{gap:8px}.demo-chat-input input{padding:10px 14px;font-size:.9rem;flex:1;min-width:0}.demo-chat-input .input-btn{width:40px;height:40px;flex-shrink:0}.demo-chat-avatar{width:40px;height:40px;font-size:1.2rem}.demo-chat-info h3{font-size:.9rem}.demo-chat-langs{display:none}.demo-autonomy-section,.demo-chat-section,.demo-expertise-section,.demo-features-section,.demo-role-section{padding:4rem 1.5rem}.autonomy-card{flex-direction:column;text-align:center;padding:2rem}.autonomy-icon{margin:0 auto}.autonomy-feature{justify-content:center}.demo-simulation-badge{font-size:.75rem;padding:8px 14px}}
@media (max-width:380px){.demo-chat-section .chat-message{max-width:98%!important}.demo-chat-section .chat-avatar{width:28px;height:28px;font-size:.8rem}#chatMessages,.demo-chat-messages{padding:.75rem}.demo-chat-section .chat-bubble{padding:10px 12px;font-size:.9rem}.demo-chat-input{padding:.5rem .75rem;gap:6px}.demo-chat-input input{padding:8px 12px;font-size:.85rem}.demo-chat-input .input-btn{width:36px;height:36px}.demo-chat-input .input-btn svg{width:18px;height:18px}}