/**
 * assets/css/iaindex.css
 * Estilos Oficiales para la Página de Presentación de Joly IA Dental Copilot
 */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-glow: rgba(14, 165, 233, 0.25);
    --secondary: #0f172a;
    --text-muted: #64748b;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --bg-light: #f8fafc;
    --card-border: rgba(226, 232, 240, 0.9);
}

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, button, input, select, textarea {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── HERO IA ── */
.ai-hero {
    position: relative;
    padding: 60px 24px 80px;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.ai-hero-bg-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(139, 92, 246, 0.12) 45%, rgba(248, 250, 252, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

.ai-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(186, 230, 253, 0.9);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}

.ai-pill-badge .sparkle-dot {
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 10px #0ea5e9;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ai-hero h1 {
    font-size: 52px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -1.8px;
    max-width: 950px;
    margin: 0 auto 20px;
}

.ai-hero h1 .gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 40%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-hero p.hero-desc {
    font-size: 18.5px;
    color: #475569;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto 34px;
}

.ai-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-ai-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
    transition: all 0.2s ease;
}

.btn-ai-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
    color: #ffffff;
}

.btn-ai-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.btn-ai-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.btn-ai-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 24px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #a7f3d0;
    transition: all 0.2s ease;
}

.btn-ai-whatsapp:hover {
    background: #d1fae5;
    border-color: #34d399;
    color: #047857;
}

/* ── TIRA DE MÉTRICAS ── */
.ai-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 22px 28px;
    max-width: 1080px;
    margin: 0 auto 60px;
}

.metric-cell {
    text-align: center;
}

.metric-cell .num {
    font-size: 28px;
    font-weight: 900;
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.metric-cell .lbl {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

/* ── SECCIÓN SIMULADOR EN TIEMPO REAL ── */
.simulator-section {
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 20px;
}

.section-tag {
    text-align: center;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-subheading {
    text-align: center;
    font-size: 16.5px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* Selector de Escenarios */
.prompt-pills-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.prompt-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.prompt-pill:hover {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0284c7;
}

.prompt-pill.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* ── CONSOLA DE SIMULACIÓN CINEMATOGRÁFICA EN VIVO (ESTILO WHITE SAAS) ── */
.simulator-console {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Barra Superior de Control de Video / Demostración en Vivo */
.video-player-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.video-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: blinkRec 1s infinite;
}

@keyframes blinkRec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.video-timer {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.video-timeline-steps {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-step {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.timeline-step.active {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #7dd3fc;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.timeline-step.done {
    color: #059669;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.video-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-video-control {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-video-control:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-video-control.active-audio {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

/* Cuerpo de la Consola Dividida */
.console-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 500px;
}

/* Lado Izquierdo: Entrada de Voz / Comando del Doctor */
.console-input-pane {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.console-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.console-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #0284c7;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.voice-scenario-title {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.voice-input-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 20px;
    color: #0f172a;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 16px;
    min-height: 145px;
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #0284c7;
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.voice-mic-active {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.wave-bar {
    width: 3px;
    background: #0284c7;
    border-radius: 3px;
    animation: soundWave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 16px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 8px; animation-delay: 0.15s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.trigger-simulation-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border: none;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
    transition: all 0.2s ease;
    width: 100%;
}

.trigger-simulation-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
}

/* Lado Derecho: Salida de Joly en Tiempo Real */
.console-output-pane {
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    background: #ffffff;
}

.output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.joly-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 12.5px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

/* Tarjeta de Contenido de Salida */
.joly-output-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.65;
    min-height: 330px;
    position: relative;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

/* Mini Widgets Visuales Interactivos */
.mini-visual-widget {
    margin-top: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    animation: fadeInWidget 0.4s ease forwards;
}

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

/* =========================================================================
   ODONTOGRAMA ANATÓMICO Y FDI REAL (ESPEJO EXACTO DE CLINENT)
   ========================================================================= */
.mini-odontogram-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.real-odo-tooth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    transition: all 0.25s ease;
    min-width: 76px;
}

.real-odo-tooth.highlight-active {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 4px 12px rgba(14, 165, 233, 0.12);
    transform: translateY(-2px);
}

.real-odo-tooth.highlight-warning {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

.real-odo-tooth.highlight-danger {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
}

.real-odo-tooth-num {
    font-size: 12px;
    font-weight: 900;
    color: #334155;
    letter-spacing: 0.3px;
}

/* SILUETA ANATÓMICA REAL DEL ODONTOGRAMA (img_odontograma/) */
.real-odo-silueta-box {
    position: relative;
    width: 54px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.real-odo-silueta-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.real-odo-silueta-img.rotar-sup {
    transform: rotate(180deg);
}

.real-odo-tooth.estado-extraida .real-odo-silueta-img {
    opacity: 0.22 !important;
    filter: grayscale(100%) !important;
}

.real-odo-tooth.highlight-active .real-odo-silueta-img {
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.5));
}

.real-odo-tooth.highlight-danger .real-odo-silueta-img {
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.45));
}

.real-odo-svg-wrap {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-odo-svg {
    width: 32px;
    height: 32px;
    display: block;
}

.real-odo-svg polygon {
    fill: #ffffff;
    stroke: #cbd5e1;
    stroke-width: 2;
    transition: all 0.25s ease;
}

/* CARAS Y PROCEDIMIENTOS CLÍNICOS REALES DE CLINENT */
.real-odo-svg polygon.cara-resina {
    fill: #0284c7 !important;
    stroke: #0369a1 !important;
}

.real-odo-svg polygon.cara-caries {
    fill: #ef4444 !important;
    stroke: #dc2626 !important;
}

.real-odo-svg polygon.cara-sellante {
    fill: #10b981 !important;
    stroke: #059669 !important;
}

.real-odo-overlay-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    z-index: 5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.real-odo-overlay-symbol.symbol-extraida {
    color: #ef4444;
    font-size: 22px;
}

.real-odo-overlay-symbol.symbol-fractura {
    color: #dc2626;
    font-size: 18px;
}

.real-odo-tooth.estado-extraida .real-odo-svg {
    opacity: 0.35;
    filter: grayscale(1);
}

.real-odo-status-label {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

.label-resina { background: #e0f2fe; color: #0284c7; }
.label-caries { background: #fee2e2; color: #b91c1c; }
.label-fractura { background: #fee2e2; color: #b91c1c; }
.label-extraida { background: #f1f5f9; color: #64748b; }
.label-sano { background: #f8fafc; color: #94a3b8; }

/* Barra de progreso inferior de video (Scrubber) */
.video-scrubber-track {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.video-scrubber-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    box-shadow: 0 0 8px #0ea5e9;
    transition: width 0.1s linear;
}

.output-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tag-soap { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.tag-finance { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.tag-whatsapp { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.tag-recipe { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.soap-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 9px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.soap-key {
    color: #0284c7;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}

.soap-val {
    color: #334155;
    font-size: 13.5px;
    line-height: 1.55;
}

.live-action-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}

.action-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 12px;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

/* ── SECCIÓN 4 PILARES CLÍNICOS ── */
.ai-features-grid {
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(14, 165, 233, 0.15);
    border-color: #bae6fd;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.f-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ── SECCIÓN ANTES VS CON JOLY ── */
.comparison-section {
    max-width: 1040px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.comparison-table-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th {
    padding: 18px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 800;
}

.comp-table th.col-feature { background: #f8fafc; color: #475569; width: 40%; }
.comp-table th.col-without { background: #fff1f2; color: #e11d48; width: 30%; }
.comp-table th.col-with { background: #f0f9ff; color: #0284c7; width: 30%; }

.comp-table td {
    padding: 16px 24px;
    font-size: 14px;
    border-top: 1px solid #f1f5f9;
    line-height: 1.5;
}

.comp-table td.col-without {
    background: #fffafa;
    color: #64748b;
}

.comp-table td.col-with {
    background: #fbfdff;
    color: #0f172a;
    font-weight: 600;
}

/* ── FAQ IA ── */
.ai-faq-section {
    max-width: 860px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.faq-item-ai {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.15s ease;
}

.faq-q-btn {
    width: 100%;
    padding: 18px 22px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-q-btn:hover {
    color: var(--primary);
}

.faq-ans-content {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
    display: none;
}

.faq-item-ai.open .faq-ans-content {
    display: block;
}

.faq-item-ai.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform 0.2s ease;
    color: #94a3b8;
}

/* ── CTA BANNER FINAL ── */
.ai-cta-banner {
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 20px;
}

.banner-inner {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
    border: 1px solid #bae6fd;
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 20px 45px -10px rgba(14, 165, 233, 0.12);
    position: relative;
    overflow: hidden;
}

.banner-inner h2 {
    font-size: 38px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.banner-inner p {
    font-size: 17px;
    color: #475569;
    max-width: 660px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .ai-hero h1 { font-size: 36px; }
    .ai-hero p.hero-desc { font-size: 16px; }
    .ai-metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .console-body-grid { grid-template-columns: 1fr; }
    .console-input-pane { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .ai-features-grid { grid-template-columns: 1fr; }
    .banner-inner h2 { font-size: 28px; }
    .comp-table { font-size: 13px; }
    .comp-table th, .comp-table td { padding: 12px 14px; }
}

@media (max-width: 600px) {
    .ai-metrics-bar { grid-template-columns: 1fr; }
    .mini-odontogram-row { justify-content: center; }
    .video-timeline-steps { display: none; }
    .prompt-pills-wrap { gap: 6px; }
    .prompt-pill { font-size: 11.5px; padding: 6px 10px; }
}
